Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 6 years ago

#6528 closed defect (bug) (duplicate)

get_adjacent_post no longer excluding categories as expected in WP 2.5

Reported by: nonhocapito Owned by:
Milestone: Priority: high
Severity: normal Version: 2.5
Component: General Keywords: category, exclusion, link, post, adjacent
Focuses: Cc:


get_adjacent_post ignores the categories submitted for exclusion via the $excluded_categories variable.

You can reproduce this by fixing a previous_post_link indicating a category to be excluded.

Ad es.

previous_post_link('« %link', '%title', false, '2')

category '2' should be excluded, but it won't be.

Change History (4)

#1 @lloydbudd
14 years ago

  • Milestone set to 2.6

#2 @filosofo
14 years ago

I searched but didn't find this ticket before creating #6551.

#3 @ryan
13 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#4 @DrewAPicture
6 years ago

  • Milestone 2.6 deleted
Note: See TracTickets for help on using tickets.