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:
Boone Gorges 2015-09-28 15:10:27 +00:00
parent 635d3bb34e
commit ae60606ff8
2 changed files with 2 additions and 2 deletions

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(

View File

@ -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.