Changeset 33662 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 08/20/2015 04:35:21 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/ajax-actions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r33655 r33662 358 358 'supplemental' => array( 359 359 'status' => $comment ? $comment->comment_approved : '', 360 'postId' => $comment ? $comment->comment_post_ID : '', 360 361 'time' => $time 361 362 ) … … 399 400 'supplemental' => array( 400 401 'status' => $comment ? $comment->comment_approved : '', 402 'postId' => $comment ? $comment->comment_post_ID : '', 401 403 'total_items_i18n' => sprintf( _n( '%s item', '%s items', $total ), number_format_i18n( $total ) ), 402 404 'total_pages' => ceil( $total / $per_page ), … … 1043 1045 1044 1046 if ( $comment_auto_approved ) 1045 $response['supplemental'] = array( 'parent_approved' => $parent->comment_ID );1047 $response['supplemental'] = array( 'parent_approved' => $parent->comment_ID, 'parent_post_id' => $parent->comment_post_ID ); 1046 1048 1047 1049 $x = new WP_Ajax_Response();
Note: See TracChangeset
for help on using the changeset viewer.