[wp-trac] [WordPress Trac] #56329: Unescaped 'self_admin_url()' in themes-install.php and plugin-install.php file

WordPress Trac noreply at wordpress.org
Wed Aug 3 09:52:29 UTC 2022


#56329: Unescaped 'self_admin_url()' in themes-install.php and plugin-install.php
file
-----------------------------+-------------------------------
 Reporter:  krishaweb        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  coding-standards
-----------------------------+-------------------------------

Comment (by audrasjb):

 Hello and welcome to WordPress Trac!

 Thank you for opening this ticket. I'm only wondering whether
 `self_admin_url()` can return anything else than an URL 🤔 If so, adding
 `esc_url()` would be useless.

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


More information about the wp-trac mailing list