[wp-trac] [WordPress Trac] #29107: WP_Rewrite::flush_rules() should not delete 'rewrite_rules' option

WordPress Trac noreply at wordpress.org
Sun Jan 10 19:01:15 UTC 2016


#29107: WP_Rewrite::flush_rules() should not delete 'rewrite_rules' option
---------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                   |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.5
Component:  Rewrite Rules                    |     Version:  2.0.1
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * owner:   => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36254"]:
 {{{
 #!CommitTicketReference repository="" revision="36254"
 Rewrite: Ensure `WP_Rewrite::flush_rules()` does not delete the
 'rewrite_rules' option.

 Instead, the option gets updated to an empty string.
 Adds unit tests.

 Props SergeyBiryukov, jesin, voldemortensen.
 Fixes #29107.
 }}}

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


More information about the wp-trac mailing list