wordpress-develop/src/wp-admin
Sergey Biryukov 32ca843154 Plugins: When loading a plugin in a "sandbox" on activation, do it once.
This avoids a fatal error if the plugin is already included, e.g. in unit tests.

Follow-up to [50787].

See #31104.

git-svn-id: https://develop.svn.wordpress.org/trunk@50788 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-25 13:19:54 +00:00
..
css Build/Test Tools: Remove Internet Explorer 11 from the browserslist. 2021-04-22 22:56:40 +00:00
images Help/About: WordPress 5.7 About Page. 2021-02-23 18:39:13 +00:00
includes Plugins: When loading a plugin in a "sandbox" on activation, do it once. 2021-04-25 13:19:54 +00:00
maint Database: Check the correct value for displaying the "Successfully repaired table" or "Failed to repair" messages on Database Repair screen. 2020-12-04 15:48:15 +00:00
network Code Modernization: Bring consistency to preparing some fields on Network Settings screen: 2021-04-20 14:47:02 +00:00
user Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
_index.php Help/About: Add Site Health Status dashboard widget to the Help → Content tab. 2020-11-10 19:03:12 +00:00
about.php Help/About: Run image comparison script after all assets have loaded. 2021-03-15 19:49:50 +00:00
admin-ajax.php Login and Registration: Improve the UX of the Reset Password screen. 2021-02-02 18:11:26 +00:00
admin-footer.php Coding Standards: Use strict comparison for JS fragment in some admin files. 2021-03-18 14:11:55 +00:00
admin-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
admin-header.php Block Editor: Remove the .is-dark-theme body class from the admin header. 2021-02-02 13:03:37 +00:00
admin-post.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
admin.php Upgrade/Install: Don't trigger database upgrade on Ajax requests via wp-admin/async-upload.php. 2020-07-22 12:54:22 +00:00
async-upload.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:30:38 +00:00
authorize-application.php App Passwords: Extract Basic Auth check into a reusable filterable function. 2021-01-24 02:56:18 +00:00
comment.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:35:41 +00:00
credits.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:36:55 +00:00
custom-background.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
custom-header.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
customize.php Docs: Correct documentation for customize_controls_head hook and _customizer_mobile_viewport_meta() function. 2020-07-10 11:34:41 +00:00
edit-comments.php Quick/Bulk Edit: By the power vested in me, I hereby declare the top bulk actions and the bottom bulk actions joined forever in MatrimonyScript. 2021-01-07 16:21:09 +00:00
edit-form-advanced.php Editor: Use a consistent way to retrieve post ID on Edit Post screens. 2021-04-09 11:29:58 +00:00
edit-form-blocks.php Editor: Abstract block editor configuration 2021-04-21 05:10:56 +00:00
edit-form-comment.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:35:41 +00:00
edit-link-form.php Posts, Post Types: Update the styling of the legacy Links editing screen. 2021-02-16 18:47:39 +00:00
edit-tag-form.php Docs: Correct comment format in wp-admin/edit-tags.php, remove extra space. 2021-04-18 14:27:59 +00:00
edit-tags.php Docs: Correct comment format in wp-admin/edit-tags.php, remove extra space. 2021-04-18 14:27:59 +00:00
edit.php Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:31:49 +00:00
erase-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:02:47 +00:00
export-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:02:47 +00:00
export.php External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:30:39 +00:00
freedoms.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:36:55 +00:00
import.php I18N: Add context to some plugin and theme strings for consistency. 2020-07-20 23:12:33 +00:00
index.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
install-helper.php Docs: Improve documentation for functions in wp-admin/install-helper.php per the documentation standards. 2020-05-12 18:38:02 +00:00
install.php Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:11:11 +00:00
link-add.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
link-manager.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:17:52 +00:00
link-parse-opml.php XML-RPC: Explicitly unset the reference to the parser resource after calling xml_parser_free() to avoid memory leaks in PHP 7.0.0 or higher. 2020-07-05 15:20:16 +00:00
link.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:25:10 +00:00
load-scripts.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:35:34 +00:00
load-styles.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:35:34 +00:00
media-new.php Coding standards: Modify escaping functions to avoid potential false positives. 2020-10-29 18:00:58 +00:00
media-upload.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:30:38 +00:00
media.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:35:34 +00:00
menu-header.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:25:10 +00:00
menu.php Docs: Update the reference to Appearance → Theme Editor admin menu item in the inline documentation. 2020-12-18 15:44:26 +00:00
moderation.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-admin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-delete-site.php Docs: Various docblock improvements related to user and site signup functionality. 2020-09-30 21:52:27 +00:00
ms-edit.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-options.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-sites.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-themes.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-upgrade-network.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
ms-users.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
my-sites.php Coding Standards: Use strict comparison in some wp-admin files. 2020-05-12 18:30:03 +00:00
nav-menus.php Administration: Better targeting for required form field highlighting. 2020-10-23 15:03:37 +00:00
network.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:36:36 +00:00
options-discussion.php General: Update code for readability and inclusion 2020-07-23 03:12:49 +00:00
options-general.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:35:41 +00:00
options-head.php Administration: Replace legacy updated message type in add_settings_error() calls with success. 2019-08-16 00:38:42 +00:00
options-media.php Docs: Correct and clarify an inline comment about the upload_url_path and upload_path options in wp-admin/options-media.php. 2020-06-01 11:20:16 +00:00
options-permalink.php Permalinks: Don't show "You should update your .htaccess file now" message when saving permalink settings on Multisite. 2020-08-02 12:55:56 +00:00
options-privacy.php Coding Standards: Removing unnecessary parentheses from require_once in wp-admin/options-privacy.php. 2021-04-01 15:34:32 +00:00
options-reading.php Feeds: Rename "Summary" to "Excerpt" in Reading Settings. 2021-04-12 22:32:11 +00:00
options-writing.php Docs: Second pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2020-12-29 20:12:42 +00:00
options.php Coding Standards: Add missing semicolon to some endif keywords. 2021-03-21 13:03:14 +00:00
plugin-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:02:12 +00:00
plugin-install.php Accessibility: Plugins: Accessibility and CSS improvements for the Plugins pages. 2020-07-03 08:49:23 +00:00
plugins.php Plugins: Check if _error_nonce is set before attempting to verify it. 2020-11-23 13:34:21 +00:00
post-new.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:40:52 +00:00
post.php Block Editor: Use a unique name for the nonce of the custom fields toggle form. 2021-02-08 21:37:34 +00:00
press-this.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
privacy-policy-guide.php Privacy: Redesign the Privacy settings pages. 2021-02-02 20:12:39 +00:00
privacy.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:36:55 +00:00
profile.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
revision.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:51:52 +00:00
setup-config.php Coding Standards: Fix minor, inline spacing issue in wp-admin/setup-config.php. 2021-04-21 18:29:58 +00:00
site-health-info.php Site Health: Support custom sub-menus and pages. 2021-04-17 01:12:25 +00:00
site-health.php Site Health: Remove Ajax requests from dashboard widget. 2021-04-17 11:27:35 +00:00
term.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:00:44 +00:00
theme-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:02:12 +00:00
theme-install.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:30:38 +00:00
themes.php Coding Standards: Give a variable in wp-admin/themes.php a more meaningful name. 2021-04-10 11:59:19 +00:00
tools.php Privacy: Redesign the Privacy settings pages. 2021-02-02 20:12:39 +00:00
update-core.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:28:32 +00:00
update.php Upgrade/Install: Ensure cleanup after canceled update. 2020-07-10 06:06:46 +00:00
upgrade-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
upgrade.php Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:11:11 +00:00
upload.php Coding Standards: Split long printf() calls for search results for better readability. 2020-10-23 17:17:52 +00:00
user-edit.php Users: Give the Password Reset table row its own wrapper class. 2021-02-23 14:33:07 +00:00
user-new.php Coding Standards: Remove unused $current_role variable from Add New User form. 2020-10-24 12:47:50 +00:00
users.php Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:31:49 +00:00
widgets.php Accessibility: Widgets: Add a "Cancel" link when editing a widget in accessibility mode. 2020-10-09 15:51:34 +00:00