WordPress/wp-admin/includes
Peter Wilson f6fae87e73 Upgrade/Install: Validate source & destination values in WP_Ugrader.
Adds a missing string and some additional validation of paths in the upgrader class.

Follow up to [56992].

Props costdev, jipmoors, karlijnbok, swissspidy, afragen, mukesh27.
Fixes #59712.


Built from https://develop.svn.wordpress.org/trunk@58022


git-svn-id: http://core.svn.wordpress.org/trunk@57488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-04-18 03:17:13 +00:00
..
admin-filters.php Script Loader: Replace hardcoded output of style tags with calls to wp_add_inline_style. 2023-09-25 17:06:34 +00:00
admin.php General: add nonce for block theme preview activation. 2023-07-11 05:03:23 +00:00
ajax-actions.php Docs: Add a description for the $wp_embed global. 2024-03-06 05:05:12 +00:00
bookmark.php Docs: Various improvements in Bookmark Administration API function descriptions, as per docblocks standards. 2023-05-03 10:03:21 +00:00
class-automatic-upgrader-skin.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
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 Administration: Use wp_admin_notice() more in /wp-admin/includes/. 2023-09-17 15:23:22 +00:00
class-core-upgrader.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-09 19:52:24 +00:00
class-custom-background.php Docs: Improve documentation for Custom_Image_Header and Custom_Background constructors. 2023-12-07 15:14:27 +00:00
class-custom-image-header.php Media: Accessibility: Copy attachment properties on site icon crop. 2024-03-02 20:15:13 +00:00
class-file-upload-upgrader.php Upload: Add links back to installer pages. 2024-03-07 05:58:15 +00:00
class-ftp-pure.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp-sockets.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-ftp.php Filesystem API: Fix typo in ftp_base::restore(). 2024-02-12 12:07:10 +00:00
class-language-pack-upgrader-skin.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_Upgrader_Skin::error(). 2021-09-09 13:59:56 +00:00
class-language-pack-upgrader.php I18N: Ensure .l10n.php files are deleted when upgrading language packs. 2024-01-30 10:30:20 +00:00
class-pclzip.php Docs: Fix a few typos in wp-admin/includes/class-pclzip.php. 2024-03-31 05:52:15 +00:00
class-plugin-installer-skin.php Docs: Update various HelpHub links to avoid unnecessary redirections. 2024-03-08 22:38:08 +00:00
class-plugin-upgrader-skin.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 06:34:27 +00:00
class-plugin-upgrader.php Plugin Dependencies: Remove auto-deactivation and bootstrapping logic. 2024-02-20 07:27:06 +00:00
class-theme-installer-skin.php Docs: Update various HelpHub links to avoid unnecessary redirections. 2024-03-08 22:38:08 +00:00
class-theme-upgrader-skin.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
class-theme-upgrader.php Upgrade/Install: Check theme compatibility during bulk upgrades. 2024-01-08 23:19:16 +00:00
class-walker-category-checklist.php Docs: Wrap inline @see tags in curly braces. 2023-08-24 09:01:16 +00:00
class-walker-nav-menu-checklist.php Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-walker-nav-menu-edit.php Coding Standards: Restore more descriptive variable names in a few class methods. 2023-09-14 12:46:20 +00:00
class-wp-ajax-upgrader-skin.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-wp-application-passwords-list-table.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-automatic-updater.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00
class-wp-comments-list-table.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-community-events.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:23:18 +00:00
class-wp-debug-data.php Site Health: Include site ID in debug data on multisite installations. 2024-01-07 16:09:21 +00:00
class-wp-filesystem-base.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-filesystem-direct.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-filesystem-ftpext.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-filesystem-ftpsockets.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-filesystem-ssh2.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-importer.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-importer.php. 2023-08-14 09:59:20 +00:00
class-wp-internal-pointers.php Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards. 2023-06-14 12:57:20 +00:00
class-wp-links-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-list-table-compat.php Docs: Add missing descriptions for _WP_List_Table_Compat methods. 2020-11-14 16:54:08 +00:00
class-wp-list-table.php General: Consistently cast return value to int in functions that use ceil(). 2024-02-17 15:24:08 +00:00
class-wp-media-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-ms-sites-list-table.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
class-wp-ms-themes-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-ms-users-list-table.php Docs: Fix typo in the ms_user_list_site_class filter description. 2023-11-15 09:33:26 +00:00
class-wp-plugin-install-list-table.php Plugins: Fix an overlap issue with plugin cards dependencies notice. 2024-03-05 14:27:10 +00:00
class-wp-plugins-list-table.php Plugins: Improve plugin dependency admin notices. 2024-03-05 06:27:09 +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: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +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 Coding Standards: Remove superfluous blank lines at the end of various classes. 2023-09-08 09:32:23 +00:00
class-wp-privacy-policy-content.php Privacy: Update default privacy page content to use latest block markup. 2024-02-29 12:17:08 +00:00
class-wp-privacy-requests-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-screen.php Administration: Remove invalid attribute maxlength on number input. 2024-01-11 17:44:12 +00:00
class-wp-site-health-auto-updates.php Coding Standards: Upgrade WPCS to version 3.0.0. 2023-09-26 00:27:12 +00:00
class-wp-site-health.php Database: Remove back-compat for database servers that don't support utf8mb4. 2024-04-04 15:13:14 +00:00
class-wp-site-icon.php Media: Accessibility: Copy attachment properties on site icon crop. 2024-03-02 20:15:13 +00:00
class-wp-terms-list-table.php Administration: Switch order of label/checkbox in WP_List_Table. 2023-09-22 19:58:16 +00:00
class-wp-theme-install-list-table.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
class-wp-themes-list-table.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
class-wp-upgrader-skin.php Upgrade/Install: Add port number to target origin when decrementing update counts. 2023-12-01 01:35:28 +00:00
class-wp-upgrader-skins.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-wp-upgrader.php Upgrade/Install: Validate source & destination values in WP_Ugrader. 2024-04-18 03:17:13 +00:00
class-wp-users-list-table.php Docs: Correct some typos in docblocks and inline comments. 2024-01-10 11:57: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 Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
dashboard.php I18N: Add Translator comments for Planet URLs. 2024-02-08 20:36:14 +00:00
deprecated.php Docs: Correct some typos in docblocks and inline comments. 2024-01-10 11:57:15 +00:00
edit-tag-messages.php Docs: Various inline documentation corrections and improvements. 2021-12-07 12:20:02 +00:00
export.php Code Modernization: Fix implicit nullable parameter type deprecation on PHP 8.4. 2024-04-15 20:03:09 +00:00
file.php Docs: Update @since version for wp_zip_file_is_valid(). 2024-04-11 14:28:14 +00:00
image-edit.php Media: enable AVIF support. 2024-02-02 17:48:15 +00:00
image.php Media: Accessibility: Copy attachment properties on site icon crop. 2024-03-02 20:15:13 +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 General: Consistently cast return value to int in functions that use ceil(). 2024-02-17 15:24:08 +00:00
menu.php Docs: Replace incorrect @private tags. 2023-11-06 09:27:23 +00:00
meta-boxes.php I18N: Improve translator comments for strings containing date formats. 2023-11-26 16:43:30 +00:00
misc.php General: Increase the minimum supported version of PHP to 7.2.24. 2024-04-11 21:11:16 +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 Upload: Add missing escaping in upload_space_setting(). 2023-12-08 21:26:29 +00:00
nav-menu.php General: Consistently cast return value to int in functions that use ceil(). 2024-02-17 15:24:08 +00:00
network.php Docs: Update various HelpHub links to avoid unnecessary redirections. 2024-03-08 22:38:08 +00:00
noop.php Themes: Fix fatal error in load-styles.php. 2023-09-21 01:27:26 +00:00
options.php Site icon: Polish up Site Icon on the general settings screen. 2024-02-26 20:18:09 +00:00
plugin-install.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
plugin.php Coding Standards: Remove some extra trailing spaces. 2024-03-05 11:54:13 +00:00
post.php Coding Standards: Rename the $postid parameter to $post_id in `has_meta(). 2024-03-20 19:07:12 +00:00
privacy-tools.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
revision.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
schema.php Media: enable AVIF support. 2024-02-02 17:48:15 +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 Coding Standards: Use strict comparison in wp-admin/includes/taxonomy.php. 2023-03-10 07:04:20 +00:00
template.php Docs: Consistently document the $body_id global as a string. 2023-12-11 12:11:22 +00:00
theme-install.php Upgrade/Install: Improve localized strings related to plugin/theme installation and activation. 2024-02-26 20:35:08 +00:00
theme.php Coding Standards: Remove some extra trailing spaces. 2024-03-05 11:54:13 +00:00
translation-install.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:51:14 +00:00
update-core.php Upgrade/Install: Update the $_old_files array for 6.5. 2024-04-01 16:38:18 +00:00
update.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
upgrade.php Docs: Add a description for the $table_prefix global. 2024-03-07 06:11:11 +00:00
user.php Docs: Improve some DocBlocks and inline comments per the documentation standards. 2023-11-17 13:29:26 +00:00
widgets.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:28:26 +00:00