Use correct 'page_id' parameter in `get_page_of_comment()`.
See #34057. Built from https://develop.svn.wordpress.org/trunk@34660 git-svn-id: http://core.svn.wordpress.org/trunk@34624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
635d3bb34e
commit
ae60606ff8
|
@ -877,7 +877,7 @@ function get_page_of_comment( $comment_ID, $args = array() ) {
|
|||
|
||||
$comment_args = array(
|
||||
'type' => $args['type'],
|
||||
'post_ID' => $comment->comment_post_ID,
|
||||
'post_id' => $comment->comment_post_ID,
|
||||
'fields' => 'ids',
|
||||
'status' => 'approve',
|
||||
'date_query' => array(
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34659';
|
||||
$wp_version = '4.4-alpha-34660';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue