Changeset 43079
- Timestamp:
- 05/02/2018 12:17:16 AM (6 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/comment.php
r43077 r43079 3152 3152 * @since 4.9.6 3153 3153 * 3154 * @param 3154 * @param array $exporters An array of personal data exporters. 3155 3155 * @return array $exporters An array of personal data exporters. 3156 3156 */ … … 3169 3169 * @since 4.9.6 3170 3170 * 3171 * @param 3172 * @param 3173 * @return array $returnAn array of personal data.3171 * @param string $email_address The comment author email address. 3172 * @param int $page Comment page. 3173 * @return array $return An array of personal data. 3174 3174 */ 3175 3175 function wp_comments_personal_data_exporter( $email_address, $page = 1 ) { 3176 3177 3176 // Limit us to 500 comments at a time to avoid timing out. 3178 3177 $number = 500; … … 3183 3182 $comments = get_comments( 3184 3183 array( 3185 'author_email' => $email_address, 3186 'number' => $number, 3187 'paged' => $page, 3188 'order_by' => 'comment_ID', 3189 'order' => 'ASC', 3184 'author_email' => $email_address, 3185 'number' => $number, 3186 'paged' => $page, 3187 'order_by' => 'comment_ID', 3188 'order' => 'ASC', 3189 'update_comment_meta_cache' => false, 3190 3190 ) 3191 3191 ); … … 3196 3196 'comment_author_url' => __( 'Comment Author URL' ), 3197 3197 'comment_author_IP' => __( 'Comment Author IP' ), 3198 'comment_agent' => __( 'Comment A gent' ),3198 'comment_agent' => __( 'Comment Author User Agent' ), 3199 3199 'comment_date' => __( 'Comment Date' ), 3200 3200 'comment_content' => __( 'Comment Content' ), … … 3215 3215 case 'comment_agent': 3216 3216 case 'comment_date': 3217 $value = $comment-> $key;3217 $value = $comment->{$key}; 3218 3218 break; 3219 3219
Note: See TracChangeset
for help on using the changeset viewer.