Skip to content

Commit

Permalink
Release 5.4.0 (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland authored Mar 3, 2025
1 parent b32dd85 commit 4692cf5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [5.4.0] - 2025-03-03

### Added

Expand Down Expand Up @@ -1361,8 +1361,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* initial

[Unreleased]: https://github.com/Automattic/wordpress-activitypub/compare/5.3.2...trunk
[Unreleased]: https://github.com/Automattic/wordpress-activitypub/compare/5.4.0...trunk
<!-- Add new release below and update "Unreleased" link -->
[5.4.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.3.2...5.4.0
[5.3.2]: https://github.com/Automattic/wordpress-activitypub/compare/5.3.1...5.3.2
[5.3.1]: https://github.com/Automattic/wordpress-activitypub/compare/5.3.0...5.3.1
[5.3.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.2.0...5.3.0
Expand Down
4 changes: 2 additions & 2 deletions activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: ActivityPub
* Plugin URI: https://github.com/Automattic/wordpress-activitypub
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
* Version: 5.3.2
* Version: 5.4.0
* Author: Matthias Pfefferle & Automattic
* Author URI: https://automattic.com/
* License: MIT
Expand All @@ -19,7 +19,7 @@

use WP_CLI;

\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.3.2' );
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.4.0' );

// Plugin related constants.
\define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion includes/class-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static function maybe_migrate() {
if ( \version_compare( $version_from_db, '5.2.0', '<' ) ) {
Scheduler::register_schedules();
}
if ( \version_compare( $version_from_db, 'unreleased', '<' ) ) {
if ( \version_compare( $version_from_db, '5.4.0', '<' ) ) {
\wp_schedule_single_event( \time(), 'activitypub_upgrade', array( 'update_actor_json_slashing' ) );
\wp_schedule_single_event( \time(), 'activitypub_upgrade', array( 'update_comment_author_emails' ) );
\add_action( 'init', 'flush_rewrite_rules', 20 );
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: automattic, pfefferle, mattwiebe, obenland, akirk, jeherve, mediaf
Tags: OStatus, fediverse, activitypub, activitystream
Requires at least: 6.4
Tested up to: 6.7
Stable tag: 5.3.2
Stable tag: 5.4.0
Requires PHP: 7.2
License: MIT
License URI: http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -129,7 +129,7 @@ For reasons of data protection, it is not possible to see the followers of other

== Changelog ==

= Unreleased =
= 5.4.0 =

* Added: Upgrade script to fix Follower json representations with unescaped backslashes.
* Added: Centralized place for sanitization functions.
Expand Down

0 comments on commit 4692cf5

Please sign in to comment.