[wp-trac] [WordPress Trac] #29118: Registering rewrite rules is hard, so let's introduce remove_rewrite_rule.

WordPress Trac noreply at wordpress.org
Fri Jun 3 14:25:06 UTC 2016


#29118: Registering rewrite rules is hard, so let's introduce remove_rewrite_rule.
---------------------------+------------------------------
 Reporter:  ericlewis      |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by jsherk):

 If using the INIT hook to add_rewrite_rule, will this potentially add the
 same rule multiple times to the queue until flush_rewrite_rules() is
 called, and then will it get added multiple times (and therefore have to
 be removed multiple times)?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29118#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list