[wp-trac] [WordPress Trac] #28817: WP4.0-beta1 - string concatenation for $page_title in add_submenu_page() is broken

WordPress Trac noreply at wordpress.org
Fri Jul 11 01:02:35 UTC 2014


#28817: WP4.0-beta1 - string concatenation for $page_title in add_submenu_page() is
broken
------------------------------+-----------------------------
 Reporter:  harmr             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  high              |   Milestone:  4.0
Component:  Administration    |     Version:  trunk
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Well, `sanitize_html_class()` doesn't allow for multiple classes. Let's at
 least use `esc_attr()`.

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


More information about the wp-trac mailing list