From ee8715af6aa70c8494ce3ab50f403e2391a8f28b Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 26 Feb 2014 17:16:47 +0000 Subject: [PATCH] We shall call it WP_Adjacent_Post instead. see #26937. git-svn-id: https://develop.svn.wordpress.org/trunk@27287 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index d21100f457..c63355eab3 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -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;