From 67502b3dcdc6d9cff3e1ddc3ef8405504f8c9253 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 23 Dec 2019 17:58:02 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@47007 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 375cac2d449f..f5092eec3abb 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -807,7 +807,7 @@ * @since 4.7.0 New themes were not automatically installed for 4.4-4.6 on * upgrade. New themes are now installed again. To disable new * themes from being installed on upgrade, explicitly define - * CORE_UPGRADE_SKIP_NEW_BUNDLED as false. + * CORE_UPGRADE_SKIP_NEW_BUNDLED as true. * @global array $_new_bundled_files * @var array * @name $_new_bundled_files