Make WordPress Core

Changeset 47007


Ignore:
Timestamp:
12/23/2019 05:58:02 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the note about the CORE_UPGRADE_SKIP_NEW_BUNDLED constant in $_new_bundled_files global description.

In order to tell WordPress not to install new bundled themes on update, CORE_UPGRADE_SKIP_NEW_BUNDLED should be set to true, as the name suggests, not false.

Follow-up to [39064].

Props tomgreer, knutsp, crdunst.
See #49056.

File:
1 edited

Legend:

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

    r46696 r47007  
    808808 *              upgrade. New themes are now installed again. To disable new
    809809 *              themes from being installed on upgrade, explicitly define
    810  *              CORE_UPGRADE_SKIP_NEW_BUNDLED as false.
     810 *              CORE_UPGRADE_SKIP_NEW_BUNDLED as true.
    811811 * @global array $_new_bundled_files
    812812 * @var array
Note: See TracChangeset for help on using the changeset viewer.