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
This commit is contained in:
Andrew Nacin 2014-02-26 17:16:47 +00:00
parent 34f1504cd9
commit ee8715af6a
1 changed files with 2 additions and 2 deletions

View File

@ -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;