mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 14:17:06 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user