[wp-hackers] Best practice way for a plugin to use WP_Rewrite
scribu
scribu at gmail.com
Tue Nov 10 15:17:25 UTC 2009
On Tue, Nov 10, 2009 at 4:38 PM, Otto <otto at ottodestruct.com> wrote:
> On Tue, Nov 10, 2009 at 6:20 AM, scribu <scribu at gmail.com> wrote:
> > A "permalink_structure_saved" hook sounds good.
> >
> > Or even better would be if WP wouldn't regenerate the rules when the
> > user doesn't change anything.
>
> Erm.. I thought the flush only happened when the Permalink structure is
> saved.
>
> -Otto
>
That's what I meant: don't flush rules when: a user saves the permalinks,
but without making any changes.
--
http://scribu.net
More information about the wp-hackers
mailing list