[wp-trac] [WordPress Trac] #51903: Check if plugin is making changes in permalinks and call flush_rules with it activation/deactivation

WordPress Trac noreply at wordpress.org
Tue Dec 1 09:50:37 UTC 2020


#51903: Check if plugin is making changes in permalinks and call flush_rules with
it activation/deactivation
-------------------------+-----------------------------
 Reporter:  oglekler     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Often happened problem, where is necessary to call flush_rules, for
 example, if Yoast was installed 'sitemap_index.xml', will return 404
 error, if Yoast will be uninstalled wp-sitemap.xml will return 404 error
 because in 'rewrite_rules' will be still present previous rules and
 user/site manager can have no idea that he/she needs to go and flush these
 rules manually.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51903>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list