• Hi!

    It seems like this plugin flushes the rewrite rules on every request – line 589 in function mcm_register_media_taxonomy in class-wp-mcm-plugin.php is called on init. I’m not too sure it needs to be called on every request, maybe it can be moved to a save_post hook?
    Do you have a git repo for this plugin somewhere? I could send you a pull request if necessary.

Viewing 1 replies (of 1 total)
  • Plugin Author DeBAAT

    (@debaat)

    Hai Dominik,
    Performing the action on every request might be an overkill indeed.
    However, I do need it in some cases, e.g. when another taxonomy is selected in the settings page. At the moment, I cannot determine in which cases exactly so I would like to keep it that way for now.
    Any other suggestions are welcome.
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Flushing the rewrite rules on every request’ is closed to new replies.