WordPress/wp-admin/includes
Sergey Biryukov 90cbd98c6b Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/plugin.php.
While using reserved PHP keywords as parameter name labels is allowed, in the context of function calls using named parameters in PHP 8.0+, this will easily lead to confusion. To avoid that, it is recommended not to use reserved keywords as function parameter names.

This commit:
* Renames the `$function` parameter to `$callback` in:
 * `add_menu_page()`
 * `add_submenu_page()`
 * `add_management_page()`
 * `add_options_page()`
 * `add_theme_page()`
 * `add_plugins_page()`
 * `add_users_page()`
 * `add_dashboard_page()`
 * `add_posts_page()`
 * `add_media_page()`
 * `add_links_page()`
 * `add_pages_page()`
 * `add_comments_page()`
* Renames the `$echo` parameter to `$display` in `menu_page_url()`.
* Renames the `$parent` parameter to `$parent_page` in `get_admin_page_parent()`.

Follow-up to [52946], [52996], [52997], [52998], [53003], [53014], [53029], [53039], [53116], [53117], [53137], [53174], [53184], [53185], [53192], [53193], [53198], [53203], [53207].

Props jrf, aristath, poena, justinahinon, SergeyBiryukov.
See #55327.
Built from https://develop.svn.wordpress.org/trunk@53215


git-svn-id: http://core.svn.wordpress.org/trunk@52804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-19 12:48:08 +00:00
..
admin-filters.php
admin.php
ajax-actions.php Coding Standards: Rename the $object variable to $attachment in several files. 2022-04-14 15:15:12 +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
class-bulk-theme-upgrader-skin.php
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 Coding Standards: Rename the $object variable to $attachment in several files. 2022-04-14 15:15:12 +00:00
class-custom-image-header.php Coding Standards: Rename the $object variable to $attachment in several files. 2022-04-14 15:15:12 +00:00
class-file-upload-upgrader.php Coding Standards: Rename the $object variable to $attachment in several files. 2022-04-14 15:15:12 +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
class-plugin-upgrader-skin.php
class-plugin-upgrader.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-plugin-upgrader.php. 2022-03-27 14:45:04 +00:00
class-theme-installer-skin.php
class-theme-upgrader-skin.php
class-theme-upgrader.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-theme-upgrader.php. 2022-03-27 14:55:02 +00:00
class-walker-category-checklist.php
class-walker-nav-menu-checklist.php
class-walker-nav-menu-edit.php
class-wp-ajax-upgrader-skin.php
class-wp-application-passwords-list-table.php
class-wp-automatic-updater.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
class-wp-comments-list-table.php Coding Standards: Use esc_url() instead of esc_attr() for some URLs. 2022-03-19 20:31:12 +00:00
class-wp-community-events.php
class-wp-debug-data.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
class-wp-filesystem-base.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-filesystem-base.php. 2022-03-29 13:21:08 +00:00
class-wp-filesystem-direct.php
class-wp-filesystem-ftpext.php
class-wp-filesystem-ftpsockets.php
class-wp-filesystem-ssh2.php
class-wp-importer.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-importer.php. 2022-03-30 10:45:06 +00:00
class-wp-internal-pointers.php
class-wp-links-list-table.php
class-wp-list-table-compat.php
class-wp-list-table.php Docs: Add missing descriptions for WP_List_Table::get_items_per_page() parameters. 2022-03-31 15:25:03 +00:00
class-wp-media-list-table.php Administration: Add a media_date_column_time filter to the media list table date column. 2022-03-18 16:39:02 +00:00
class-wp-ms-sites-list-table.php
class-wp-ms-themes-list-table.php
class-wp-ms-users-list-table.php
class-wp-plugin-install-list-table.php Plugins: Introduce the plugin_install_description filter. 2022-04-05 11:02:01 +00:00
class-wp-plugins-list-table.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 19:59:04 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-posts-list-table.php. 2022-04-09 20:38:04 +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 Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
class-wp-privacy-requests-table.php
class-wp-screen.php Docs: Add missing description for $taxnow global in various functions. 2022-04-04 18:43:02 +00:00
class-wp-site-health-auto-updates.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-site-health.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-site-health.php. 2022-04-10 14:29:04 +00:00
class-wp-site-icon.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-site-icon.php. 2022-04-11 14:21:09 +00:00
class-wp-terms-list-table.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-terms-list-table.php. 2022-04-13 16:14:10 +00:00
class-wp-theme-install-list-table.php Themes: Add version to theme screenshot URL for better browser cache handling. 2022-03-17 22:21:07 +00:00
class-wp-themes-list-table.php Themes: Add version to theme screenshot URL in WP_Themes_List_Table. 2022-03-18 12:44:04 +00:00
class-wp-upgrader-skin.php
class-wp-upgrader-skins.php
class-wp-upgrader.php Administration: Replace "can not" with "cannot" after [53131]. 2022-04-11 11:50:01 +00:00
class-wp-users-list-table.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
comment.php
continents-cities.php
credits.php
dashboard.php Administration: Remove self-reference ("we") in WordPress Admin. 2022-04-11 11:42:04 +00:00
deprecated.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/deprecated.php. 2022-04-14 15:26:09 +00:00
edit-tag-messages.php
export.php
file.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
image-edit.php Media: Enable edits to custom image sizes. 2022-04-12 16:16:08 +00:00
image.php
import.php Coding Standards: Rename the $object variable to $attachment in several files. 2022-04-14 15:15:12 +00:00
list-table.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/list-table.php. 2022-04-15 10:52:11 +00:00
media.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/media.php. 2022-04-17 10:51: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 Docs: Use third-person singular verbs for function descriptions in wp-admin/includes/meta-boxes.php, per the documentation standards. 2022-04-17 17:57:09 +00:00
misc.php Docs: Misc. docblock fixes in wp-admin/includes/mic.php, as per documentation standards. 2022-04-11 21:48:09 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/ms.php. 2022-04-18 10:33:09 +00:00
nav-menu.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/nav-menu.php. 2022-04-18 15:22:08 +00:00
network.php
noop.php
options.php
plugin-install.php Plugins: Move the introduction text from install_dashboard() to display_plugins_table(). 2022-03-15 15:58:02 +00:00
plugin.php Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/plugin.php. 2022-04-19 12:48:08 +00:00
post.php Editor: Make block type aware of the ancestor field 2022-04-06 09:47:09 +00:00
privacy-tools.php
revision.php
schema.php Networks and Sites: Remove duplicate cache entry. 2022-04-06 04:35:00 +00:00
screen.php
taxonomy.php
template.php Docs: Use third-person singular verbs for function descriptions in wp-includes/template.php, per the documentation standards. 2022-03-28 09:45:06 +00:00
theme-install.php Docs: Use third-person singular verbs for function descriptions in wp-admin/includes/theme.php and wp-admin/includes/theme-install.php, per the documentation standards. 2022-03-28 13:17:05 +00:00
theme.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
translation-install.php
update-core.php Administration: Replace "can not" with "cannot" after [53131]. 2022-04-11 11:50:01 +00:00
update.php Docs: Add missing description for $pagenow global in various functions. 2022-04-04 18:26:06 +00:00
upgrade.php Users: Introduce the concept of a large site to single site installations. 2022-03-29 12:42:13 +00:00
user.php Mail: Replace empty site title with domain name in email subjects. 2022-04-04 20:21:00 +00:00
widgets.php