[wp-trac] [WordPress Trac] #55539: add_menu_page no longer renders base64 encoded SVG icon

WordPress Trac noreply at wordpress.org
Thu Apr 7 12:52:46 UTC 2022


#55539: add_menu_page no longer renders base64 encoded SVG icon
------------------------------+-----------------------------
 Reporter:  KProvance         |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.0
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"53092" 53092]:
 {{{
 #!CommitTicketReference repository="" revision="53092"
 Administration: Restore the correct escaping function for base64-encoded
 SVG icons in the admin menu.

 Add a comment to clarify the `esc_attr()` usage instead of `esc_url()`.

 Follow-up to [53050].

 Props KProvance, kebbet, w33zy, ocean90, mukesh27.
 Fixes #55539.
 }}}

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


More information about the wp-trac mailing list