We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb39882 commit 9aa1d1bCopy full SHA for 9aa1d1b
includes/class-migration.php
@@ -182,6 +182,9 @@ public static function maybe_migrate() {
182
if ( \version_compare( $version_from_db, '5.2.0', '<' ) ) {
183
Scheduler::register_schedules();
184
}
185
+ if ( \version_compare( $version_from_db, 'unreleased', '<' ) ) {
186
+ add_action( 'init', 'flush_rewrite_rules', 20 );
187
+ }
188
189
/*
190
* Add new update routines above this comment. ^
0 commit comments