Skip to content

Commit e5e1181

Browse files
authored
Rewrite: Flush rules (#1247)
Let's flush rules one more time for sites where the previous upgrade routine was missed.
1 parent ad5788b commit e5e1181

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

includes/class-migration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ public static function maybe_migrate() {
177177
Scheduler::register_schedules();
178178
\wp_schedule_single_event( \time(), 'activitypub_upgrade', array( 'create_post_outbox_items' ) );
179179
\wp_schedule_single_event( \time() + 15, 'activitypub_upgrade', array( 'create_comment_outbox_items' ) );
180+
add_action( 'init', 'flush_rewrite_rules', 20 );
180181
}
181182

182183
/*

0 commit comments

Comments
 (0)