Ticket #6528 (new defect)

Opened 1 month ago

Last modified 1 month ago

get_adjacent_post no longer excluding categories as expected in WP 2.5

Reported by: nonhocapito Assigned to: anonymous
Priority: high Milestone: 2.6
Component: General Version: 2.5
Severity: normal Keywords: category, exclusion, link, post, adjacent
Cc:

Description

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

04/01/08 18:34:07 changed by lloydbudd

  • milestone set to 2.6.

04/02/08 17:36:06 changed by filosofo

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