[wp-trac] [WordPress Trac] #33630: Delete menu - similar strings and HTML

WordPress Trac noreply at wordpress.org
Mon Aug 31 19:16:48 UTC 2015


#33630: Delete menu - similar strings and HTML
--------------------------+-----------------------------
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 - Menu in Customizer

 String: "Delete menu"
 HTML: Button
 https://core.trac.wordpress.org/browser/tags/4.3/src/wp-includes/class-wp-
 customize-control.php#L1585

 - Menu page

 String: "Delete Menu" (both capital letters)
 HTML: Link
 https://core.trac.wordpress.org/browser/tags/4.3/src/wp-admin/nav-
 menus.php#L813

 1) I only wanted to merge same strings, but I found other issues.

 2) Also HTML should be the same (button)?

 3) `{{ data.menu_name }}` as screen reader text does not print anything.

 4) For localization it should be string like `Delete menu <span class
 ="screen-reader-text">%s</span>`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33630>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list