Use correct 'page_id' parameter in get_page_of_comment().

See #34057.

git-svn-id: https://develop.svn.wordpress.org/trunk@34660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Boone Gorges
2015-09-28 15:09:34 +00:00
parent 6d87c4cecb
commit 05e0a3b97e
2 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -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(