Commit 41eb5be2 authored by Andrew Nacin's avatar Andrew Nacin
Browse files

We shall call it WP_Adjacent_Post instead. see #26937.

Built from https://develop.svn.wordpress.org/trunk@27287


git-svn-id: https://core.svn.wordpress.org/trunk@27143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 7fbbad50
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1133,7 +1133,7 @@ function get_adjacent_post( $in_same_term = false, $excluded_terms = '', $previo
		$excluded_terms = array();
	}

	$adjacent = new WP_Get_Adjacent_Post( array(
	$adjacent = new WP_Adjacent_Post( array(
		'post'           => get_post(),
		'previous'       => $previous,
		'taxonomy'       => $taxonomy,
@@ -1151,7 +1151,7 @@ function get_adjacent_post( $in_same_term = false, $excluded_terms = '', $previo
 * next post based on the criteria specified. Supports retrieving posts with the
 * same taxonomy terms and posts that lack specific terms.
 */
class WP_Get_Adjacent_Post {
class WP_Adjacent_Post {
	public $adjacent_post = null;

	protected $current_post   = false;