We shall call it WP_Adjacent_Post instead. see #26937.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-02-26 17:17:13 +00:00
parent 5154c27f82
commit a0dab307b7
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;