WordPress/wp-admin/includes
dmsnell 76c06eb274 Debug Data: Encode section ordering in debug info.
During a refactor to modularize the debug data class, it came up that the ordering of the sections inside of the returned debug info is relevant to existing UIs, as they iterate the array, which happens in insertion order.

This patch presets each section at the start to ensure that the ordering remains consistent even as code within the method is rearranged. As the mini-project progresses, this assignment will be the final place all the sections are referenced.

Developed in https://github.com/WordPress/wordpress-develop/pull/7289
Discussed in https://core.trac.wordpress.org/ticket/61648

Props apermo, dmsnell, sergeybiryukov.
See #61648.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-09-06 19:50:19 +00:00
..
admin-filters.php
admin.php
ajax-actions.php Options: Fix some default autoload values used in core. 2024-06-14 15:21:10 +00:00
bookmark.php
class-automatic-upgrader-skin.php
class-bulk-plugin-upgrader-skin.php Docs: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-bulk-theme-upgrader-skin.php Docs: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-bulk-upgrader-skin.php Docs: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-core-upgrader.php Upgrade/Install: Remove the download authenticity message from Core/Plugins/Themes updates. 2024-06-04 06:30:16 +00:00
class-custom-background.php Docs: Correct the order of @since and @var annotations. 2024-09-06 14:36:19 +00:00
class-custom-image-header.php Docs: Correct the order of @since and @var annotations. 2024-09-06 14:36:19 +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
class-ftp-sockets.php
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 Docs: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-language-pack-upgrader.php I18N: Actually add all the files for [58061], not just the test fixtures. 2024-04-30 08:39:07 +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: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-plugin-upgrader-skin.php
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: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +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 Bulk/Quick Edit: Remove duplicate HTML IDs from post list tables. 2024-08-13 23:37:16 +00:00
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 Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
class-wp-automatic-updater.php Upgrade/Install: Disable maintenance mode when core auto-update fails. 2024-06-18 14:41:05 +00:00
class-wp-comments-list-table.php Coding Standards: Bring some consistency to setting up comment moderation links. 2024-08-12 21:28:13 +00:00
class-wp-community-events.php
class-wp-debug-data.php Debug Data: Encode section ordering in debug info. 2024-09-06 19:50:19 +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
class-wp-internal-pointers.php
class-wp-links-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-media-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-sites-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-themes-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-ms-users-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-plugin-install-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-plugins-list-table.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Bulk/Quick Edit: Remove duplicate HTML IDs from post list tables. 2024-08-13 23:37:16 +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 Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
class-wp-privacy-requests-table.php
class-wp-screen.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
class-wp-site-health-auto-updates.php Site Health: Check if the directories are allowed when testing for a VCS checkout. 2024-08-21 22:23:16 +00:00
class-wp-site-health.php Site Health: Correct the check for disk space available to safely perform updates. 2024-08-19 15:21: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 Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
class-wp-theme-install-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-themes-list-table.php Docs: Add missing description for the display_rows() method in list table classes. 2024-07-17 15:43:15 +00:00
class-wp-upgrader-skin.php Docs: Add missing documentation for various upgrade/install class methods. 2024-05-02 17:20:10 +00:00
class-wp-upgrader-skins.php
class-wp-upgrader.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +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
continents-cities.php
credits.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
dashboard.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19: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
export.php Code Modernization: Fix implicit nullable parameter type deprecation on PHP 8.4. 2024-04-15 20:03:09 +00:00
file.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
image-edit.php Media: Fix viewport scrolling and code style in image rotation. 2024-08-28 16:45:11 +00:00
image.php Media: Automatically convert HEIC images to JPEG 2024-08-05 04:13:15 +00:00
import.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
list-table.php
media.php Docs: Correct DocBlock formatting for activate_tinymce_for_media_description. 2024-06-09 22:53:14 +00:00
menu.php
meta-boxes.php I18N: Correctly output the None translatable strings. 2024-07-21 18:58:16 +00:00
misc.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php Docs: Update a HelpHub link on Edit Site screen to avoid unnecessary redirection. 2024-05-11 14:47:06 +00:00
nav-menu.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
network.php Bootstrap/Load: Take the port number into consideration when determining whether a subdomain installation of Multisite is allowed. 2024-05-09 23:09:13 +00:00
noop.php
options.php Site icon: Polish up Site Icon on the general settings screen. 2024-02-26 20:18:09 +00:00
plugin-install.php Docs: Remove unsupported values in plugins_api() DocBlocks. 2024-08-09 00:18:16 +00:00
plugin.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
post.php Posts, Post Types: Check if the post type exists in _admin_notice_post_locked(). 2024-09-03 22:43:14 +00:00
privacy-tools.php
revision.php Docs: Various improvements and corrections to inline documentation. 2024-02-16 21:47:12 +00:00
schema.php Upgrade/Install: Use an empty string for the default “Post via email” password. 2024-08-23 23:17:13 +00:00
screen.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +00:00
taxonomy.php
template.php Docs: Add missing description for a few globals in the admin. 2024-06-15 12:34:13 +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 General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
translation-install.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
update-core.php Options, Meta APIs: Explicitly pass $autoload parameter to when potentially adding new options. 2024-09-03 18:19:14 +00:00
update.php General: Introduce wp_get_wp_version() to get unmodified version. 2024-07-27 00:27:16 +00:00
upgrade.php Coding Standards: Use strict comparison in wp-admin/includes/upgrade.php. 2024-09-05 14:59:14 +00:00
user.php
widgets.php