[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
Mon Mar 16 01:26:41 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:  reopened
 Priority:  normal                               |   Milestone:  5.4
Component:  Menus                                |     Version:  5.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  ui,
  testing                                        |  administration
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:9 stiofansisland]:
 > Now in the edit menu screen it is escaped which causes issues:
 > [[Image(https://i.imgur.com/cYbF6sz.png)]]
 >
 > It would be nice to keep the hints but if not an option then esc_html()
 should be replaced with wp_strip_all_tags()

 Thanks for catching that! Since we're in late RC stage for 5.4, going with
 the latter option for now seems safer.

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


More information about the wp-trac mailing list