- Timestamp:
- 05/01/2018 05:17:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r43042 r43058 3282 3282 * @since 4.9.6 3283 3283 * 3284 * @param 3284 * @param array $exporters An array of personal data exporters. 3285 3285 * @return array $exporters An array of personal data exporters. 3286 3286 */ … … 3299 3299 * @since 4.9.6 3300 3300 * 3301 * @param 3302 * @param 3303 * @return array $returnAn array of personal data.3301 * @param string $email_address The comment author email address. 3302 * @param int $page Comment page. 3303 * @return array $return An array of personal data. 3304 3304 */ 3305 3305 function wp_comments_personal_data_exporter( $email_address, $page = 1 ) { 3306 3307 3306 // Limit us to 500 comments at a time to avoid timing out. 3308 3307 $number = 500; … … 3313 3312 $comments = get_comments( 3314 3313 array( 3315 'author_email' => $email_address, 3316 'number' => $number, 3317 'paged' => $page, 3318 'order_by' => 'comment_ID', 3319 'order' => 'ASC', 3314 'author_email' => $email_address, 3315 'number' => $number, 3316 'paged' => $page, 3317 'order_by' => 'comment_ID', 3318 'order' => 'ASC', 3319 'update_comment_meta_cache' => false, 3320 3320 ) 3321 3321 ); … … 3326 3326 'comment_author_url' => __( 'Comment Author URL' ), 3327 3327 'comment_author_IP' => __( 'Comment Author IP' ), 3328 'comment_agent' => __( 'Comment A gent' ),3328 'comment_agent' => __( 'Comment Author User Agent' ), 3329 3329 'comment_date' => __( 'Comment Date' ), 3330 3330 'comment_content' => __( 'Comment Content' ), … … 3345 3345 case 'comment_agent': 3346 3346 case 'comment_date': 3347 $value = $comment-> $key;3347 $value = $comment->{$key}; 3348 3348 break; 3349 3349
Note: See TracChangeset
for help on using the changeset viewer.