Fix logical errors in some comment pagination tests.
The tests included in [34669] contained a couple of problems: * Comments were not always created in the expected order, due to the incorrect use of 'comment_date_gmt'. * 'asc'/'desc' and 'older'/'newer' were confused. * 'default_comments_page=newest' ('last') didn't properly account for the cpage=1 offset. The code itself powering this pagination was correct; it's only the tests that were wrong. See #8071. Built from https://develop.svn.wordpress.org/trunk@34713 git-svn-id: http://core.svn.wordpress.org/trunk@34677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d25ac6bfec
commit
67077ce72a
wp-includes
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34712';
|
||||
$wp_version = '4.4-alpha-34713';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue