mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 21:43:33 +00:00
fix version numbers
This commit is contained in:
parent
7ae3e7383d
commit
3bbcc2cd5c
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ class Migration {
|
||||||
self::migrate_from_2_0_0();
|
self::migrate_from_2_0_0();
|
||||||
}
|
}
|
||||||
if ( version_compare( $version_from_db, '2.3.0', '<' ) ) {
|
if ( version_compare( $version_from_db, '2.3.0', '<' ) ) {
|
||||||
self::migrate_from_2_1_0();
|
self::migrate_from_2_2_0();
|
||||||
}
|
}
|
||||||
|
|
||||||
update_option( 'activitypub_db_version', self::get_target_version() );
|
update_option( 'activitypub_db_version', self::get_target_version() );
|
||||||
|
@ -250,7 +250,7 @@ class Migration {
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private static function migrate_from_2_1_0() {
|
private static function migrate_from_2_2_0() {
|
||||||
// add the ActivityPub capability to all users that can publish posts
|
// add the ActivityPub capability to all users that can publish posts
|
||||||
self::add_activitypub_capability();
|
self::add_activitypub_capability();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue