[wp-trac] [WordPress Trac] #35031: wp_old_slug_redirect() in 4.4 redirecting existing posts
WordPress Trac
noreply at wordpress.org
Thu Jan 7 19:23:15 UTC 2016
#35031: wp_old_slug_redirect() in 4.4 redirecting existing posts
------------------------------------------------+-----------------------
Reporter: douglsmith | Owner: pento
Type: defect (bug) | Status: reopened
Priority: highest omg bbq | Milestone: 4.4.1
Component: Query | Version: 4.4
Severity: critical | Resolution:
Keywords: has-patch fixed-major dev-feedback | Focuses:
------------------------------------------------+-----------------------
Changes (by cbaldelomar):
* keywords: has-patch fixed-major => has-patch fixed-major dev-feedback
* status: closed => reopened
* resolution: fixed =>
Comment:
The following addition in "includes/query.php"
{{{
if ( get_queried_object() ) {
return;
}
}}}
Causes a static home page with pagination links not to work and always
redirects to the home page.
Example Permalink: http://dev.wordpress.org/page/2/
This does not work on a static home page that has a posts shortcode
inserted that uses paginate_links(), or any post that uses the page links
tag <!--nextpage-->
https://codex.wordpress.org/Styling_Page-Links
https://codex.wordpress.org/Function_Reference/paginate_links
Still researching a solution to this problem. But I wanted to make
everyone aware of it as this is a critical bug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35031#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list