[wp-hackers] Network Activate and rewrite rules

scribu scribu at gmail.com
Sun Aug 22 01:19:23 UTC 2010


On Sun, Aug 22, 2010 at 3:09 AM, Theodor Ramisch <
theodor_ramisch at hotmail.com> wrote:

> I'm currently developing a plugin which adds some rewrite rules. Because it
> is recommended not to call flush_rules() on every request, I do this once in
> the activation hook.
>
> If somebody "network activates" the plugin, this hook is only called for
> the current blog. The plugin will be active, but all other blogs are missing
> the rewrite rules.
>
> What is the recommended way to correct this behavior?
>

Tell your users to also install this plugin:

http://wordpress.org/extend/plugins/proper-network-activation/

Also, complain on trac:

http://core.trac.wordpress.org/ticket/14170


-- 
http://scribu.net


More information about the wp-hackers mailing list