[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 10:15:44 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 krishaweb):

 Hello @audrasjb,
 Here I found `self_admin_url()` with `esc_url()` function.

 Ref:
 https://github.com/WordPress/WordPress/blob/master/wp-
 admin/about.php#L329#L333
 https://github.com/WordPress/WordPress/blob/master/wp-admin/user-
 edit.php#L246

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


More information about the wp-trac mailing list