[wp-trac] [WordPress Trac] #29663: next_post_link & previous_post_link Category exclude broken

WordPress Trac noreply at wordpress.org
Sun Sep 21 19:59:03 UTC 2014

#29663: next_post_link & previous_post_link Category exclude broken
 Reporter:  gabrieldiggs       |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  4.0.1
Component:  Posts, Post Types  |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  template
Changes (by wonderboymusic):

 * keywords:   => reporter-feedback


 I am having a hard time reproducing this - the only way I could get it to
 break is if the default category is different than Uncategorized,
 Uncategorized is deleted, and the post has no category relationships
 (since `category` is the default taxonomy) - the SQL will try to join on
 the taxonomy/post relationships, and if you didn't change the taxonomy, it
 will be category.

 Can you please describe more about your setup:

 * What is your default category?
 * Does "Uncategorized" still exist?
 * What term does `115` represent?
 * Is `115` present in the category taxonomy?
 * Do you have posts what that term as a category assigned to them?

Ticket URL: <https://core.trac.wordpress.org/ticket/29663#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list