[wp-trac] [WordPress Trac] #12069: Siteurl filter for upgrades in multisite mode
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 28 20:43:54 UTC 2010
#12069: Siteurl filter for upgrades in multisite mode
-------------------------+--------------------------------------------------
Reporter: axelseaa | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Multisite | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Replying to [comment:2 axelseaa]:
> If it was converted to get_blog_option - how would I only have a filter
apply to the upgrade page and not other calls? Everything else works fine
- the only time I need to hook into modify it is when performing the
upgrade.
-1 on a dedicated filter. It needs to be converted to use the API anyway.
When that happens, multiple hooks become available that can filter the
option value. (You limit something to a page by checking what page you're
on.) Additionally, you can easily filter via wp_remote_get() as it stands
now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12069#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list