WordPress/wp-admin/includes
hellofromTonya 7341083c81 Update/Install: Deactivate Gutenberg plugin version older than 14.1.
Resolves a fatal error due to `get_template_hierarchy()` due to incompatible older Gutenberg versions.

[54269] introduced this new function for 6.1. The function was introduced in Gutenberg 13.9.0. However, it was not guarded to protect the plugin from when the function was loaded in Core. Gutenberg 14.1.0 added the `function_exists()` guard to protect the plugin from the fatal error.

Minimum compatible version:
This commit changes the Gutenberg minimum compatible version number to 14.1. For versions older than 14.1, the plugin will deactivate when upgrading Core to 6.1 or newer.

Function rename:
Past commits renamed the upgrade function by changing Core's version number. This commit renames the function to be generic, i.e. `_upgrade_core_deactivate_incompatible_plugins()` and adopts the `@since [reason]` strategy to track historical changes to the function. 

Follow-up to [54269], [52199], [52166], [52165], [51180].

Props namithjawahar, hellofromTonya, azaozz, desrosj, ironprogrammer.
Fixes #56985.
Built from https://develop.svn.wordpress.org/trunk@54789


git-svn-id: http://core.svn.wordpress.org/trunk@54341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-11-10 12:22:18 +00:00
..
admin-filters.php Editor: Refresh nones for metaboxes after reauthentication. 2022-09-11 20:46:10 +00:00
admin.php
ajax-actions.php Media: Refactor search by filename within the admin. 2022-10-17 11:19:11 +00:00
bookmark.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
class-automatic-upgrader-skin.php
class-bulk-plugin-upgrader-skin.php Code Modernization: Explicitly declare all properties in WP_Ajax_Upgrader_Skin. 2022-08-29 12:46:10 +00:00
class-bulk-theme-upgrader-skin.php Code Modernization: Explicitly declare all properties in WP_Ajax_Upgrader_Skin. 2022-08-29 12:46:10 +00:00
class-bulk-upgrader-skin.php
class-core-upgrader.php Administration: Replace "can not" with "cannot" after [53131]. 2022-04-11 11:50:01 +00:00
class-custom-background.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-custom-image-header.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-file-upload-upgrader.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-ftp-pure.php
class-ftp-sockets.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-ftp.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-ftp.php. 2022-03-26 15:28:08 +00:00
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
class-pclzip.php
class-plugin-installer-skin.php Code Modernization: Replace phpversion() function calls with PHP_VERSION constant. 2022-05-20 17:38:14 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php Code Modernization: Replace phpversion() function calls with PHP_VERSION constant. 2022-05-20 17:38:14 +00:00
class-theme-installer-skin.php Code Modernization: Replace phpversion() function calls with PHP_VERSION constant. 2022-05-20 17:38:14 +00:00
class-theme-upgrader-skin.php
class-theme-upgrader.php Code Modernization: Replace phpversion() function calls with PHP_VERSION constant. 2022-05-20 17:38:14 +00:00
class-walker-category-checklist.php
class-walker-nav-menu-checklist.php
class-walker-nav-menu-edit.php Menus: Use more appropriate escaping functions in class Walker_Nav_Menu_Edit. 2022-07-05 08:06:17 +00:00
class-wp-ajax-upgrader-skin.php Code Modernization: Explicitly declare all properties in WP_Ajax_Upgrader_Skin. 2022-08-29 12:46:10 +00:00
class-wp-application-passwords-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-automatic-updater.php Upgrade/Install: Add plugin URL to the automatic update email. 2022-09-19 20:28:11 +00:00
class-wp-comments-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-community-events.php Administration: Guard against false transient key in get_cached_events(). 2022-09-27 18:57:13 +00:00
class-wp-debug-data.php Bootstrap/Load: Confirm the value of WP_ENVIRONMENT_TYPE before using. 2022-09-20 02:24:12 +00:00
class-wp-filesystem-base.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-filesystem-direct.php Coding Standards: Rename the $file parameter to $path in some WP_Filesystem_* methods. 2022-08-09 11:33:10 +00:00
class-wp-filesystem-ftpext.php Upgrade/Install: Make WP_Filesystem_FTPext::size() return false on failure. 2022-08-16 13:41:14 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Rename the $file parameter to $path in some WP_Filesystem_* methods. 2022-08-09 11:33:10 +00:00
class-wp-filesystem-ssh2.php Coding Standards: Rename the $file parameter to $path in some WP_Filesystem_* methods. 2022-08-09 11:33:10 +00:00
class-wp-importer.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-internal-pointers.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-links-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-media-list-table.php Docs: Document the usage of $wp_query global in WP_Media_List_Table::display_rows(). 2022-10-21 13:35:21 +00:00
class-wp-ms-sites-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-ms-themes-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-ms-users-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-plugin-install-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-plugins-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-post-comments-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-posts-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-privacy-data-export-requests-list-table.php Privacy: Fix "Retry" action after a personal data export failure. 2022-03-10 19:22:01 +00:00
class-wp-privacy-data-removal-requests-list-table.php
class-wp-privacy-policy-content.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-privacy-requests-table.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:08:10 +00:00
class-wp-screen.php Help/About: Typo correction in Dashboard Screen Options. 2022-10-22 07:05:16 +00:00
class-wp-site-health-auto-updates.php Site Health: Fix incorrect message about the status of WP_AUTO_UPDATE_CORE. 2022-09-27 10:18:12 +00:00
class-wp-site-health.php Docs: Fix $cache_headers param type in site_status_page_cache_supported_cache_headers. 2022-10-12 13:43:15 +00:00
class-wp-site-icon.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-terms-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-theme-install-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-themes-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
class-wp-upgrader-skin.php Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:47:14 +00:00
class-wp-upgrader-skins.php
class-wp-upgrader.php Upgrade/Install: Add a conditional to facilitate testing of the Rollbacks feature project. 2022-10-18 20:39:18 +00:00
class-wp-users-list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
comment.php Docs: Use third-person singular verbs for function descriptions in wp-admin/includes/comment.php, as per docblocks standards. 2022-07-20 22:15:10 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2022-09-19 23:24:11 +00:00
credits.php Help/About: Don't output empty <span> tags on Credits screen. 2021-10-19 23:09:00 +00:00
dashboard.php Administration: Remove role="img" from decorative SVG images. 2022-11-01 11:05:16 +00:00
deprecated.php Media: Remove attachment_fields_to_save filter and deprecate image_attachment_fields_to_save(). 2022-04-20 08:13:10 +00:00
edit-tag-messages.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
export.php Docs: Various docblock improvements in Export Administration API, as per docs standards. 2022-07-29 08:14:12 +00:00
file.php Upgrade/Install: Provide dirpath in error messages when _unzip_file_pclzip() cannot create directories. 2022-10-10 12:48:14 +00:00
image-edit.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
image.php Media: Revert WebP generation. 2022-09-19 22:53:10 +00:00
import.php Docs: Various docblock improvements in Importer Administration API, as per docs standards. 2022-07-29 09:22:10 +00:00
list-table.php Administration: Remove private delegation from list tables. 2022-10-04 03:47:15 +00:00
media.php Media: Change alt attribute field to textarea in media library. 2022-09-20 04:02:10 +00:00
menu.php Coding Standards: Correct the $items_count variable in add_menu_classes(). 2022-04-17 14:44:07 +00:00
meta-boxes.php Revisions: Use wp_get_latest_revision_id_and_total_count() where appropriate. 2022-08-05 13:39:11 +00:00
misc.php Site health: 2022-09-14 22:19:14 +00:00
ms-admin-filters.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms-deprecated.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
ms.php Networks and Sites: Officially remove global terms. 2022-09-20 02:51:09 +00:00
nav-menu.php Menus: Use correct parameter in _wp_nav_menu_meta_box_object(). 2022-04-19 15:59:10 +00:00
network.php Administration: Add labels to read-only form fields. 2022-07-21 09:04:14 +00:00
noop.php
options.php External Libraries: Further fix jQuery deprecations in WordPress core. 2021-11-30 17:18:01 +00:00
plugin-install.php Coding standards: Properly escape URLs returned by self_admin_url() calls. 2022-08-05 06:12:10 +00:00
plugin.php Docs: Remove code tags from WordPress function names within inline documentation. 2022-08-11 13:55:08 +00:00
post.php Media: Refactor search by filename within the admin. 2022-10-17 11:19:11 +00:00
privacy-tools.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
revision.php Docs: Fix typo in a comment in wp_prepare_revisions_for_js(). 2022-11-04 10:10:14 +00:00
schema.php Networks and Sites: Store main site id of a network in network options. 2022-09-20 14:26:10 +00:00
screen.php
taxonomy.php Docs: Use third-person singular verbs for function descriptions in the Taxonomy Administration API. 2022-06-16 23:39:08 +00:00
template.php Docs: Various improvements and corrections to inline docs. 2022-09-20 20:32:09 +00:00
theme-install.php Coding standards: Properly escape URLs returned by self_admin_url() calls. 2022-08-05 06:00:09 +00:00
theme.php Text Changes: Update @since mentions for [54786] changes. 2022-11-10 12:10:11 +00:00
translation-install.php Docs: Fix incorrect type in translations_api and translations_api_result docblocks. 2022-01-27 21:15:03 +00:00
update-core.php Update/Install: Deactivate Gutenberg plugin version older than 14.1. 2022-11-10 12:22:18 +00:00
update.php I18N: Revert [54469]. 2022-10-11 10:05:16 +00:00
upgrade.php Docs: Document the usage of globals in upgrade_550() and upgrade_560(). 2022-11-03 13:38:17 +00:00
user.php Text Changes: Improve consistency of admin error notices. 2022-06-02 15:05:13 +00:00
widgets.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00