Media: Use correct option name for attachment pages in `upgrade_640()`.

Follow-up to [56657].

See #57913.
Built from https://develop.svn.wordpress.org/trunk@56658


git-svn-id: http://core.svn.wordpress.org/trunk@56170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-09-22 01:18:18 +00:00
parent 229d32f6d7
commit 2d7e5afa3e
2 changed files with 2 additions and 2 deletions

View File

@ -2339,7 +2339,7 @@ function upgrade_640() {
if ( $wp_current_db_version < 56657 ) {
// Enable attachment pages.
update_option( 'wp_media_use_attachment_pages', 1 );
update_option( 'wp_attachment_pages_enabled', 1 );
}
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-alpha-56657';
$wp_version = '6.4-alpha-56658';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.