Ticket #6528 (closed defect (bug): duplicate)
get_adjacent_post no longer excluding categories as expected in WP 2.5
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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
Note: See
TracTickets for help on using
tickets.
