[wp-trac] [WordPress Trac] #54277: values within loop should be escaped properly before echo `wp-admin/theme-install.php`

WordPress Trac noreply at wordpress.org
Sat Oct 16 22:06:42 UTC 2021


#54277: values within loop should be escaped properly before echo `wp-admin/theme-
install.php`
--------------------------+-------------------------------
 Reporter:  sabbirshouvo  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------

Comment (by sabbirshouvo):

 Replying to [comment:1 afragen]:
 > Since it’s a variable, shouldn’t that be `esc_attr()`?

 I've used `wp-admin/includes/theme-install.php line 149` as a reference.

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


More information about the wp-trac mailing list