[wp-hackers] Please help diagnose custom post type permalink problem

Andrew Nacin wp at andrewnacin.com
Sun Dec 12 05:48:31 UTC 2010

On Sat, Dec 11, 2010 at 8:26 PM, David F. Carr <david at carrcommunications.com
> wrote:

> I include add_action('admin_init', 'flush_rewrite_rules'); to regenerate
> the
> rewrite rules whenever a user is logged in.

Please don't do that. :-( On plugin activation only.

More information about the wp-hackers mailing list