[wp-trac] [WordPress Trac] #35084: check for post status in get_page_uri causes issues with permalinks
WordPress Trac
noreply at wordpress.org
Wed Dec 23 10:40:34 UTC 2015
#35084: check for post status in get_page_uri causes issues with permalinks
---------------------------------------------+-----------------------
Reporter: tharsheblows | Owner: netweb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4.1
Component: Permalinks | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-----------------------
Comment (by tharsheblows):
Ah, I see what you're saying. In the unit test in [34001] it seems to
imply that a parent with a post_status of 'trash' should not be in the
permalink but I was not part of that discussion so I'm not sure if that's
correct.
The patch here simply checks if the parent exists and updates the unit
test to completely remove the parent rather than change the post_status to
trash.
This is causing issues in bbPress (and maybe BuddyPress?) so it would be
great if this could be in 4.4.1 - reverting [34001] would sort it and any
of the diffs should work
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35084#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list