[wp-trac] [WordPress Trac] #44277: Post type rewrite breaks page url's

WordPress Trac noreply at wordpress.org
Wed May 30 14:30:19 UTC 2018


#44277: Post type rewrite breaks page url's
---------------------------+------------------------------
 Reporter:  garethgillman  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  4.9.6
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by garethgillman):

 The variable is defined in a filter which uses str_replace to change it,
 this works fine and removing the filter doesn't affect the above, as I
 said, adding the variable to the slug breaks the page permalinks across
 the site.

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


More information about the wp-trac mailing list