[wp-trac] [WordPress Trac] #36915: Permalinks broken after 4.5 Rewrite rules

WordPress Trac noreply at wordpress.org
Sun May 22 20:17:34 UTC 2016


#36915: Permalinks broken after 4.5 Rewrite rules
---------------------------+------------------------------
 Reporter:  fatorbinario   |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  4.5
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by swissspidy):

 Hey there, thanks for your report!

 This was introduced in [36254], see #29107.

 The line in question was changed to `update_option( 'rewrite_rules', ''
 );` on purpose. That function should flush the rewrite rules. Passing
 `$this->rules` instead of an empty string would prevent that.

 > Some of my websites had the permalinks broken after upgrading to 4.5.

 Can you elaborate a bit? What exactly was broken? Was there any error
 message? Something in the log files? Can you reproduce it on another site
 without any plugins active?

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


More information about the wp-trac mailing list