Make WordPress Core

Changeset 56658


Ignore:
Timestamp:
09/22/2023 01:16:42 AM (15 months ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [56657].

See #57913.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r56657 r56658  
    23402340    if ( $wp_current_db_version < 56657 ) {
    23412341        // Enable attachment pages.
    2342         update_option( 'wp_media_use_attachment_pages', 1 );
     2342        update_option( 'wp_attachment_pages_enabled', 1 );
    23432343    }
    23442344}
Note: See TracChangeset for help on using the changeset viewer.