[wp-trac] [WordPress Trac] #36915: Permalinks broken after 4.5 Rewrite rules
WordPress Trac
noreply at wordpress.org
Mon May 23 17:13:22 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 fatorbinario):
Ok guys a important update in this ticket.
Another theme have the same bug "Axioma".
And to make the links work on both i had to replace the new
'''update_option''' function with the old one before 4.5 which is
'''delete_option'''. So this is how it should be on line 1813:
delete_option('rewrite_rules');
$this->wp_rewrite_rules();
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36915#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list