WordPress/wp-admin
Sergey Biryukov ab0b860db9 Users: When deleting users, exclude the current user from the content existence check.
The current user cannot be deleted, so the check is redundant in that context and should only be done for other users.

Props mt8.biz, SergeyBiryukov.
Fixes #47851.
Built from https://develop.svn.wordpress.org/trunk@45806


git-svn-id: http://core.svn.wordpress.org/trunk@45617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-15 13:06:55 +00:00
..
css Add admin email verification screen. Shown every six months after an admin has logged in. 2019-08-07 00:04:56 +00:00
images Build: Minify images 2019-02-25 15:21:52 +00:00
includes Schema: Add an index to wp_options.autoload. 2019-08-15 07:13:55 +00:00
js Plugins: Adjust the pause before running plugin search AJAX request on "Add Plugins" screen to allow more time for using browser's autocomplete. 2019-08-14 02:02:56 +00:00
maint Upgrade/Install: Bring some consistency to installation screen styles. 2019-07-25 19:11:55 +00:00
network Networks and Sites: Trim site domain when creating a new site on Add New Site screen before further validation. 2019-08-15 01:21:55 +00:00
user
about.php I18N: Update translator comments after [45674]. 2019-07-25 22:52:56 +00:00
admin-ajax.php Administration: In admin-ajax.php, send X-Robots-Tag header earlier, so that it applies before wp_die() when no action parameter was provided. 2019-07-17 01:11:56 +00:00
admin-footer.php Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored. 2019-07-05 01:45:56 +00:00
admin-functions.php
admin-header.php Docs: Add missing description for $current_screen global. 2019-08-04 02:03:55 +00:00
admin-post.php
admin.php Docs: Move the do_mu_upgrade DocBlock out of the preceding if statement. 2019-07-16 13:15:58 +00:00
async-upload.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
comment.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
credits.php Coding Standards: Improve spacing of printf() calls in the admin About pages. 2019-07-19 00:09:58 +00:00
custom-background.php Coding Standards: Move wp-admin/custom-background.php to wp-admin/includes/class-custom-background.php 2019-07-19 04:02:55 +00:00
custom-header.php Coding Standards: Move wp-admin/custom-header.php to wp-admin/includes/class-custom-image-header.php 2019-07-17 06:17:56 +00:00
customize.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
edit-comments.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
edit-form-advanced.php Docs: Add missing description for $post global. 2019-08-04 12:28:56 +00:00
edit-form-blocks.php Docs: Add missing description for $post global. 2019-08-04 12:28:56 +00:00
edit-form-comment.php Accessibility: Improve settings tables and forms after [45403]. 2019-05-25 15:19:53 +00:00
edit-link-form.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
edit-tag-form.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
edit-tags.php Accessibility: Taxonomy: When a new category or tag is being added, show a spinner and noop the button to avoid multiple requests. 2019-07-26 17:46:56 +00:00
edit.php Coding Standards: Use strict comparison in wp-admin/edit.php. 2019-08-07 11:40:55 +00:00
erase-personal-data.php Privacy tools: remove some left-over code and fix inline comment. 2019-06-08 00:30:51 +00:00
export-personal-data.php Privacy tools: remove some left-over code and fix inline comment. 2019-06-08 00:30:51 +00:00
export.php Docs: Add missing description for $wp_locale global. 2019-08-04 01:46:55 +00:00
freedoms.php Coding Standards: Improve spacing of printf() calls in the admin About pages. 2019-07-19 00:09:58 +00:00
import.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
index.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
install-helper.php
install.php Bootstrap/Load: Change "Insufficient Requirements" wp_die() heading to "Requirements Not Met", which is more appropriate for the context it's used in. 2019-08-08 12:54:56 +00:00
link-add.php
link-manager.php Coding Standards: Fix all WordPress.WhiteSpace.PrecisionAlignment issues. 2019-07-05 05:21:56 +00:00
link-parse-opml.php Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations. 2019-07-01 08:01:57 +00:00
link.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
load-scripts.php Script Loader: Send a 400 Bad Request status code in load-scripts.php and load-styles.php if the required load[] parameter is not set. 2019-08-03 22:17:57 +00:00
load-styles.php Script Loader: Send a 400 Bad Request status code in load-scripts.php and load-styles.php if the required load[] parameter is not set. 2019-08-03 22:17:57 +00:00
media-new.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
media-upload.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
media.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
menu-header.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
menu.php Site health: Introduce view_site_health_checks capability. 2019-06-10 07:42:52 +00:00
moderation.php
ms-admin.php
ms-delete-site.php I18N: Use a complete translatable string for the "Delete My Site" email subject. 2019-05-23 22:15:54 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
nav-menus.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
network.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
options-discussion.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
options-general.php Add admin email verification screen. Shown every six months after an admin has logged in. 2019-08-07 00:04:56 +00:00
options-head.php
options-media.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
options-permalink.php I18N: Update translator comments after [45674]. 2019-07-25 22:52:56 +00:00
options-privacy.php Privacy: Remove reinstated wp-admin/options-privacy.php from $_old_files. 2019-05-27 02:40:53 +00:00
options-reading.php Administration: Show a warning in Reading Settings when a Privacy Policy page is accidentally set as a Homepage or Posts page. 2019-08-07 23:03:54 +00:00
options-writing.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
options.php Administration: Display a warning at the top of "All Settings" screen. 2019-08-04 13:03:55 +00:00
plugin-editor.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
plugin-install.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
plugins.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
post-new.php Docs: Add missing description for $post global. 2019-08-04 12:28:56 +00:00
post.php Docs: Add missing description for $post global. 2019-08-04 12:28:56 +00:00
press-this.php
privacy-policy-guide.php Coding Standards: Fix all WordPress.WhiteSpace.PrecisionAlignment issues. 2019-07-05 05:21:56 +00:00
privacy.php Coding Standards: Improve spacing of printf() calls in the admin About pages. 2019-07-19 00:09:58 +00:00
profile.php
revision.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
setup-config.php Docs: Add missing description for $wp_locale global. 2019-08-04 01:46:55 +00:00
site-health-info.php Site Health: Simplify the language in Status Health Info page introduction, add a link to Status page. 2019-08-13 23:35:56 +00:00
site-health.php Site health: Introduce view_site_health_checks capability. 2019-06-10 07:42:52 +00:00
term.php
theme-editor.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
theme-install.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
themes.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
tools.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
update-core.php Docs: Add missing description for $wpdb, $wp_db_version, and $wp_current_db_version globals. 2019-08-04 01:12:56 +00:00
update.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
upgrade-functions.php
upgrade.php Upgrade/Install: Remove debugging artifacts from wp-admin/upgrade.php added in [1229]. 2019-07-14 14:39:57 +00:00
upload.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
user-edit.php Users: Use case-insensitive email address comparison when checking whether "Grant this user super admin privileges" checkbox should be displayed on Edit User screen. 2019-07-28 17:42:55 +00:00
user-new.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
users.php Users: When deleting users, exclude the current user from the content existence check. 2019-08-15 13:06:55 +00:00
widgets.php General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00