[wp-trac] [WordPress Trac] #14941: dynamic unloading and loading of plugins
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 6 20:18:34 UTC 2010
#14941: dynamic unloading and loading of plugins
-----------------------------+----------------------------------------------
Reporter: madtownlems | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: Future Release
Component: Multisite | Version: 3.0
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment(by MattyRob):
The issue here is that any plugin that acts when a post is inserted into
the database on a multiuser site with Site Wide Tags is going to fire
twice because SWT uses switch_to_blog() to change to a 'central' blog and
adds the post there also (duplicating the post essentially but on another
blog).
Because switch_to_blog() only changes the database the plugins from the
'switched' site remain active and they get fired off a second time.
Maybe we need to look at checking $switched if SWT is installed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14941#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list