[wp-trac] [WordPress Trac] #46747: Recent Comments widget can add duplicate ID to page

WordPress Trac noreply at wordpress.org
Sun May 5 13:40:43 UTC 2019


#46747: Recent Comments widget can add duplicate ID to page
--------------------------------------+-----------------------
 Reporter:  mbrailer                  |       Owner:  audrasjb
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.3
Component:  Widgets                   |     Version:  5.1
 Severity:  minor                     |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------

Comment (by birgire):

 ps: I was just wondering if the {{{widget_id}}} argument can be changed
 via some filter?

 I didn't find a way, by quickly skimming through the widget code for
 {{{WP_Widget_Recent_Comments}}}  and {{{WP_Widget}}}, but just wanted to
 be sure :-)

 If we find a way then I think we should escape it with {{{esc_attr()}}}.

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


More information about the wp-trac mailing list