mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
229d32f6d7
commit
2d7e5afa3e
@ -2339,7 +2339,7 @@ function upgrade_640() {
|
|||||||
|
|
||||||
if ( $wp_current_db_version < 56657 ) {
|
if ( $wp_current_db_version < 56657 ) {
|
||||||
// Enable attachment pages.
|
// Enable attachment pages.
|
||||||
update_option( 'wp_media_use_attachment_pages', 1 );
|
update_option( 'wp_attachment_pages_enabled', 1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user