[wp-trac] [WordPress Trac] #6528: get_adjacent_post no longer
excluding categories as expected in WP 2.5
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 1 18:00:58 GMT 2008
#6528: get_adjacent_post no longer excluding categories as expected in WP 2.5
-------------------------+--------------------------------------------------
Reporter: nonhocapito | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone:
Component: General | Version: 2.5
Severity: normal | Keywords: category, exclusion, link, post, adjacent
-------------------------+--------------------------------------------------
'''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.
--
Ticket URL: <http://trac.wordpress.org/ticket/6528>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list