[wp-trac] [WordPress Trac] #56235: Use a variable for home URL on Permalink Settings screen

WordPress Trac noreply at wordpress.org
Sat Jul 16 20:26:26 UTC 2022


#56235: Use a variable for home URL on Permalink Settings screen
-------------------------+-----------------------------
 Reporter:  sabernhardt  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  Permalinks   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by SergeyBiryukov):

 It looks like `esc_url()` might not be needed here, as the value is not
 used in an `href` or `src` tag. However, `home_url()` does appear to be a
 more common way of retrieving the home URL across the admin.

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


More information about the wp-trac mailing list