WordPress/wp-admin/includes
Sergey Biryukov 08f5a1b098 Upgrade/Install: Remove parsing of readme.txt files for plugin or theme requirements.
This affects:
* `validate_plugin_requirements()`
* `validate_theme_requirements()`

Historically, the `Requires PHP` header was introduced in #meta2952 for the Plugin Directory first, so at the time it made sense to have it defined in the same place as `Requires at least`, which only existed in `readme.txt`. 

Since parsing of PHP and WordPress requirements was later added to WordPress core, the core should retrieve all the necessary data from the main plugin or theme file and not from `readme.txt`, which only contains the data meant for the Plugin or Theme Directory.

The recommended place for `Requires PHP` and `Requires at least` headers is as follows:
* The plugin's main PHP file
* The theme's `style.css` file

The place for the `Tested up to` header remains in `readme.txt` for the time being, as it's not used by WordPress core.

Follow-up to [44978], [45546], [47573], [47574], [meta5841], [meta9050].

Props afragen, Otto42, joyously, williampatton, audrasjb.
Fixes #48520. See #48515, #meta2952, #meta4514, #meta4621.
Built from https://develop.svn.wordpress.org/trunk@51092


git-svn-id: http://core.svn.wordpress.org/trunk@50701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-08 10:13:00 +00:00
..
admin-filters.php
admin.php
ajax-actions.php General: Avoid unnecessary calls to update_user_option(). 2021-05-24 19:59:57 +00:00
bookmark.php Administration: Improve the message about installing the Link Manager plugin to use legacy Links screen. 2021-05-25 20:14:59 +00:00
class-automatic-upgrader-skin.php Docs: Miscellaneous docblock updates. 2021-05-07 20:16:00 +00:00
class-bulk-plugin-upgrader-skin.php
class-bulk-theme-upgrader-skin.php
class-bulk-upgrader-skin.php
class-core-upgrader.php Coding Standards: Use strict comparison in wp-admin/includes/class-core-upgrader.php. 2021-04-04 16:49:09 +00:00
class-custom-background.php Coding Standards: Use strict comparison in wp-admin/includes/class-custom-background.php. 2021-04-13 18:01:04 +00:00
class-custom-image-header.php Coding Standards: Use strict comparison in wp-admin/includes/class-custom-image-header.php. 2021-04-13 19:05:04 +00:00
class-file-upload-upgrader.php
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php
class-pclzip.php Filesystem API: Make sure to only call fread() on non-empty files in the PclZip library. 2021-02-16 18:42:03 +00:00
class-plugin-installer-skin.php I18N: Combine escaping and translation functions. 2021-05-19 18:10:59 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php
class-theme-installer-skin.php I18N: Combine escaping and translation functions. 2021-05-19 18:10:59 +00:00
class-theme-upgrader-skin.php
class-theme-upgrader.php
class-walker-category-checklist.php
class-walker-nav-menu-checklist.php
class-walker-nav-menu-edit.php Coding Standards: Further update the code for bulk menu items deletion to better follow WordPress coding standards. 2021-05-25 19:14:57 +00:00
class-wp-ajax-upgrader-skin.php
class-wp-application-passwords-list-table.php Application Passwords: Allow enter key to submit profile form. 2021-06-07 23:49:58 +00:00
class-wp-automatic-updater.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-automatic-updater.php. 2021-04-16 12:01:15 +00:00
class-wp-comments-list-table.php Coding Standards: Fix a whitespace at end of line issue in wp-admin/includes/class-wp-comments-list-table.php. 2021-05-03 14:10:00 +00:00
class-wp-community-events.php
class-wp-debug-data.php Site Health: Include more ImageMagick/Imagick information in the Media Handling section. 2021-05-05 19:21:59 +00:00
class-wp-filesystem-base.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-direct.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ftpext.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ssh2.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-importer.php Coding Standards: Remove unnecessary unset() calls in WP_Importer methods. 2021-04-08 11:12:08 +00:00
class-wp-internal-pointers.php
class-wp-links-list-table.php Posts, Post Types: Introduce "Filter by date" and "Filter by category" as post type and taxonomy labels, respectively. 2021-02-01 14:13:00 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Docs: Improve spelling in [50516]. 2021-03-09 23:22:06 +00:00
class-wp-media-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-posts-list-table.php. 2021-05-03 13:57:04 +00:00
class-wp-ms-sites-list-table.php
class-wp-ms-themes-list-table.php Themes: Add an indication of whether a theme is a child theme on network admin Themes screen. 2021-05-24 19:04:56 +00:00
class-wp-ms-users-list-table.php
class-wp-plugin-install-list-table.php Plugins: Add support for Update URI header. 2021-05-17 17:04:01 +00:00
class-wp-plugins-list-table.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-posts-list-table.php. 2021-05-03 13:57:04 +00:00
class-wp-privacy-data-export-requests-list-table.php
class-wp-privacy-data-removal-requests-list-table.php
class-wp-privacy-policy-content.php Privacy: Print screen reader text for the "Copy suggested policy text..." action button. 2021-03-25 20:21:04 +00:00
class-wp-privacy-requests-table.php Privacy: Introduce manage_{$this->screen->id}_custom_column action in WP_Privacy_Requests_Table::column_default(). 2021-02-02 16:44:04 +00:00
class-wp-screen.php
class-wp-site-health-auto-updates.php Site Health: Make sure the submit_button() function is available in request_filesystem_credentials(). 2021-05-24 19:24:57 +00:00
class-wp-site-health.php Site Health: Remove unnecessary function_exists() checks from WP_Site_Health::get_tests(). 2021-06-03 11:14:56 +00:00
class-wp-site-icon.php Media: Avoid suppressing errors when using getimagesize(). 2021-02-02 16:53:04 +00:00
class-wp-terms-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-terms-list-table.php. 2021-04-21 18:53:00 +00:00
class-wp-theme-install-list-table.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
class-wp-themes-list-table.php
class-wp-upgrader-skin.php
class-wp-upgrader-skins.php
class-wp-upgrader.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-upgrader.php. 2021-03-21 12:12:07 +00:00
class-wp-users-list-table.php Users: Coding standards fixes after [50228]. 2021-02-05 14:43:03 +00:00
comment.php Coding Standards: Use strict comparison in wp-admin/includes/comment.php. 2021-04-06 13:45:09 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2021-03-19 15:42:04 +00:00
credits.php Coding Standards: Use strict comparison in wp-admin/includes/credits.php. 2021-04-06 13:47:02 +00:00
dashboard.php Site Health, Privacy: Combine shared CSS for Site Health & Privacy Settings 2021-05-26 01:53:57 +00:00
deprecated.php Code Modernization: Correct expected data type for WP_User_Search::$page property. 2021-03-22 22:42:04 +00:00
edit-tag-messages.php
export.php Coding Standards: Simplify the check for parent terms in export_wp(). 2021-04-11 13:44:13 +00:00
file.php Site Health: Make sure the submit_button() function is available in request_filesystem_credentials(). 2021-05-24 19:24:57 +00:00
image-edit.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
image.php Media: Move retrieving WebP image size information into wp_getimagesize(). 2021-05-05 18:47:57 +00:00
import.php
list-table.php
media.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
menu.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
meta-boxes.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
misc.php
ms-admin-filters.php
ms-deprecated.php
ms.php Docs: Document the usage of $pagenow global in a few functions. 2021-02-22 19:18:12 +00:00
nav-menu.php General: Avoid unnecessary calls to update_user_option(). 2021-05-24 19:59:57 +00:00
network.php Coding Standards: Adds spacing so define() statements displayed when creating a network. 2021-05-11 17:10:02 +00:00
noop.php
options.php
plugin-install.php Plugins: Escape the currently installed version number on Add Plugins screen. 2021-05-07 13:49:58 +00:00
plugin.php Upgrade/Install: Remove parsing of readme.txt files for plugin or theme requirements. 2021-06-08 10:13:00 +00:00
post.php Posts, Post Types: Improve post_exists() query. 2021-05-26 02:17:56 +00:00
privacy-tools.php Privacy: Ensure "Export Personal Data" does not generate invalid JSON. 2021-04-14 21:28:08 +00:00
revision.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
schema.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
screen.php Coding Standards: Use strict comparison in wp-admin/includes/screen.php. 2021-05-09 20:27:02 +00:00
taxonomy.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:04:04 +00:00
template.php Administration: Improve the message about installing the Link Manager plugin to use legacy Links screen. 2021-05-25 20:14:59 +00:00
theme-install.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
theme.php Docs: Use correct @since tag notation. 2021-05-07 18:26:02 +00:00
translation-install.php
update-core.php Coding Standards: Use strict comparison in wp-admin/includes/update-core.php. 2021-04-23 14:51:05 +00:00
update.php Plugins: Add support for Update URI header. 2021-05-17 17:04:01 +00:00
upgrade.php Make new WordPress installations use blocks in widget areas instead of widgets 2021-06-08 01:55:57 +00:00
user.php General: Avoid unnecessary calls to update_user_option(). 2021-05-24 19:59:57 +00:00
widgets.php Widgets: Make sure WP_Widget constructor creates a correct classname value for a namespaced widget class. 2021-05-24 09:51:56 +00:00