[wp-trac] [WordPress Trac] #52813: Pass the scheme to all the `*_url` filters

WordPress Trac noreply at wordpress.org
Mon Apr 26 19:15:55 UTC 2021


#52813: Pass the scheme to all the `*_url` filters
-------------------------+---------------------
 Reporter:  johnbillion  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.8
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------

Comment (by desrosj):

 [attachment:"52813.diff"] looks good to me. I think it would be beneficial
 to document the default value to be more clear, though.

 For example, the default scheme for `admin_url`, `network_admin_url`, and
 `user_admin_url` is `admin` (which obeys which obeys `force_ssl_admin()`
 and `is_ssl()`), but `includes_url` uses a `null` default.

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


More information about the wp-trac mailing list