From 53ee6ed22cabd7f9e53017a2a72dade41493509c Mon Sep 17 00:00:00 2001 From: Matt Wiebe Date: Thu, 21 Nov 2024 15:55:16 -0600 Subject: [PATCH] changelog? --- CHANGELOG.md | 6 ------ README.md | 17 +++++++++-------- includes/functions.php | 2 +- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff5f0a2b3..76b60ae66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Dev - XXXX-XX-XX -## 4.2.2 - 2024-11-21 - -### Added - -* add a `pre_activitypub_get_upload_baseurl` filter - ### Improved * Outsource Constants to a separate file diff --git a/README.md b/README.md index d2c3e37bf..852a44059 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # ActivityPub # -**Contributors:** [automattic](https://profiles.wordpress.org/automattic/), [pfefferle](https://profiles.wordpress.org/pfefferle/), [mediaformat](https://profiles.wordpress.org/mediaformat/), [mattwiebe](https://profiles.wordpress.org/mattwiebe/), [akirk](https://profiles.wordpress.org/akirk/), [jeherve](https://profiles.wordpress.org/jeherve/), [nuriapena](https://profiles.wordpress.org/nuriapena/), [cavalierlife](https://profiles.wordpress.org/cavalierlife/) -**Tags:** OStatus, fediverse, activitypub, activitystream -**Requires at least:** 5.5 -**Tested up to:** 6.7 -**Stable tag:** 4.2.1 -**Requires PHP:** 7.0 -**License:** MIT -**License URI:** http://opensource.org/licenses/MIT +**Contributors:** [automattic](https://profiles.wordpress.org/automattic/), [pfefferle](https://profiles.wordpress.org/pfefferle/), [mediaformat](https://profiles.wordpress.org/mediaformat/), [mattwiebe](https://profiles.wordpress.org/mattwiebe/), [akirk](https://profiles.wordpress.org/akirk/), [jeherve](https://profiles.wordpress.org/jeherve/), [nuriapena](https://profiles.wordpress.org/nuriapena/), [cavalierlife](https://profiles.wordpress.org/cavalierlife/) +**Tags:** OStatus, fediverse, activitypub, activitystream +**Requires at least:** 5.5 +**Tested up to:** 6.7 +**Stable tag:** 4.2.1 +**Requires PHP:** 7.0 +**License:** MIT +**License URI:** http://opensource.org/licenses/MIT The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format. @@ -155,6 +155,7 @@ For reasons of data protection, it is not possible to see the followers of other ### Dev ### * Improved: Outsource Constants to a separate file +* Added: `pre_activitypub_get_upload_baseurl` filter ### 4.2.1 ### diff --git a/includes/functions.php b/includes/functions.php index 8a269dc41..9cc1b8aa5 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1493,7 +1493,7 @@ function get_upload_baseurl() { /** * Filters the upload base URL. * - * @param string \wp_upload_dir()['baseurl'] The upload base URL. + * @param string \wp_get_upload_dir()['baseurl'] The upload base URL. */ return apply_filters( 'activitypub_get_upload_baseurl', $upload_dir['baseurl'] ); }