[wp-trac] [WordPress Trac] #56849: Modify `_config_wp_home()` and `_config_wp_siteurl()` to become pre_option filters

WordPress Trac noreply at wordpress.org
Mon Jan 23 17:03:38 UTC 2023


#56849: Modify `_config_wp_home()` and `_config_wp_siteurl()` to become pre_option
filters
------------------------------------+---------------------
 Reporter:  flixos90                |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  6.2
Component:  Options, Meta APIs      |     Version:  2.2
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------

Comment (by costdev):

 Also, here's some usage of the `option_home` and `option_siteurl` filters:

 - [https://wpdirectory.net/search/01GQFS5QRCKXBCF31687CSZXEJ option_home]
 - [https://wpdirectory.net/search/01GQFS9189EGKGEQST6JD8Q7EA
 option_siteurl]

 Provided we run the `options_[$option]` filters, these should be fine.

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


More information about the wp-trac mailing list