Sergey Biryukov 37b995b2bb 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.
Merges [45727] to the 5.2 branch.
Fixes #38415.
Built from https://develop.svn.wordpress.org/branches/5.2@45828


git-svn-id: http://core.svn.wordpress.org/branches/5.2@45639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-19 03:56:53 +00:00
..
2019-02-25 15:21:52 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00
2019-04-08 22:59:56 +00:00