mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 10:09:47 +01:00
Only count top-level comments when calculating threaded pagination.
The change in [34535] did not properly account for threading. See #13939, #11334. Built from https://develop.svn.wordpress.org/trunk@34805 git-svn-id: http://core.svn.wordpress.org/trunk@34770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
198dee542d
commit
cd5cd380e8
@ -881,6 +881,7 @@ function get_page_of_comment( $comment_ID, $args = array() ) {
|
||||
'fields' => 'ids',
|
||||
'count' => true,
|
||||
'status' => 'approve',
|
||||
'parent' => 0,
|
||||
'date_query' => array(
|
||||
array(
|
||||
'column' => "$wpdb->comments.comment_date_gmt",
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34804';
|
||||
$wp_version = '4.4-alpha-34805';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user