[wp-trac] [WordPress Trac] #49374: Use get_post_states to denote special pages on the added menu item accordions

WordPress Trac noreply at wordpress.org
Tue Mar 17 19:19:19 UTC 2020


#49374: Use get_post_states to denote special pages on the added menu item
accordions
-------------------------------------------------+-------------------------
 Reporter:  garrett-eclipse                      |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  Menus                                |     Version:  5.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit     |     Focuses:  ui,
  fixed-major dev-reviewed                       |  administration
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47465" 47465]:
 {{{
 #!CommitTicketReference repository="" revision="47465"
 Menus: When adding a label for special pages in `wp_setup_nav_menu_item()`
 strip all HTML tags, as the label is escaped on output.

 Follow-up to [47211], [47213].

 Props stiofansisland.
 Reviewed by whyisjake, SergeyBiryukov.
 Merges [47458] to the 5.4 branch.
 Fixes #49374.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49374#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list