Go to file
Andrew Nacin add8bc4e57 Add a $taxonomy argument to each of the adjacent post functions.
Each took an array of category (IDs) when to search. Those can now be term IDs and each function now has $taxonomy = 'category' as an optional argument.

Functions affected: get_previous_post(), get_next_post(), get_adjacent_post(), get_adjacent_post_rel_link(), adjacent_posts_rel_link(), next_post_rel_link(), prev_post_rel_link(), get_boundary_post(), get_previous_post_link(), previous_post_link(), get_next_post_link(), next_post_link(), get_adjacent_post_link(), adjacent_post_link().

props ethitter.
finally fixes #17807.


git-svn-id: https://develop.svn.wordpress.org/trunk@25959 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 21:39:51 +00:00
src Add a $taxonomy argument to each of the adjacent post functions. 2013-10-27 21:39:51 +00:00
tests Add a $taxonomy argument to each of the adjacent post functions. 2013-10-27 21:39:51 +00:00
tools/i18n Extract: rename method `extract_entries` to `extract_from_code` 2013-10-26 00:54:27 +00:00
.gitignore Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
Gruntfile.js New grunt copy:version task that removes -src from $wp_version on build. 2013-10-06 10:33:01 +00:00
package.json Use matchdep for Grunt tasks. 2013-09-04 20:50:29 +00:00
phpunit.xml.dist
wp-config-sample.php Move wp-config-sample.php to the root of develop.svn. 2013-08-29 20:45:17 +00:00
wp-tests-config-sample.php Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00