WordPress/wp-admin
Andrea Fercia 7b45746001 Menus: Fix the Custom Links text fallback.
When adding a Custom Link and leaving the "Link Text" field empty, WordPress used to set a default fallback text: "Menu Item".

The changes in [36379] broke this behavior making the fallback text: ` (Pending)`, with a leading space.

Pending major refactoring of the Menus page (which is going to use a block-based user interface) this change just restores the original behavior by adding the fallback text to the related AJAX response.

Props christophherr, Fencer04, thakkarhardik, backermann1978, audrasjb.
Fixes #38415.

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


git-svn-id: http://core.svn.wordpress.org/trunk@45538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-03 12:19:56 +00:00
..
css Customize: Make the color picker close when clicking on the empty area on the right. 2019-08-02 17:09:57 +00:00
images Build: Minify images 2019-02-25 15:21:52 +00:00
includes Menus: Fix the Custom Links text fallback. 2019-08-03 12:19:56 +00:00
js 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
maint Upgrade/Install: Bring some consistency to installation screen styles. 2019-07-25 19:11:55 +00:00
network Users: Deprecate update_user_status() in favor of wp_update_user(). 2019-08-01 11:28:54 +00:00
user Code is Poetry. 2017-11-30 23:11:00 +00:00
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 Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-header.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
admin-post.php Admin: Use is_user_logged_in() instead of wp_validate_auth_cookie() in admin-post.php. 2019-01-16 05:41:50 +00:00
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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
edit-form-blocks.php Editor: Replace external Classic Editor plugin URL with a link to Add Plugins screen with Classic Editor pre-selected. 2019-07-18 01:33:57 +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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
install.php Upgrade/Install: Bring some consistency to installation screen styles. 2019-07-25 19:11:55 +00:00
link-add.php Code is Poetry. 2017-11-30 23:11:00 +00:00
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: prevent sorting of the load array in the query string when passing the script handles to load-scripts.php and load-styles.php. 2019-05-28 02:43:55 +00:00
load-styles.php Script loader: prevent sorting of the load array in the query string when passing the script handles to load-scripts.php and load-styles.php. 2019-05-28 02:43:55 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
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 Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-sites.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-themes.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-upgrade-network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-users.php Code is Poetry. 2017-11-30 23:11:00 +00:00
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 I18N: Update translator comments after [45674]. 2019-07-25 22:52:56 +00:00
options-head.php Code is Poetry. 2017-11-30 23:11:00 +00:00
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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +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 Administration: Improve the accuracy of is_block_editor(). 2019-04-17 01:56:52 +00:00
post.php Coding Standards: Fix all WordPress.WhiteSpace.PrecisionAlignment issues. 2019-07-05 05:21:56 +00:00
press-this.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
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 Code is Poetry. 2017-11-30 23:11:00 +00:00
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 I18N: Update translator comments after [45674]. 2019-07-25 22:52:56 +00:00
site-health-info.php Site Health: Replace "harddrive" with "device" on Site Health Info screen. 2019-07-16 22:19:55 +00:00
site-health.php Site health: Introduce view_site_health_checks capability. 2019-06-10 07:42:52 +00:00
term.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +00:00
update.php Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged. 2019-07-09 05:45:58 +00:00
upgrade-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
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 General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article. 2019-07-25 22:45:57 +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