Changeset 59267 for trunk/src/wp-includes/comment.php
- Timestamp:
- 10/21/2024 11:05:53 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r59120 r59267 2278 2278 } 2279 2279 2280 $commentdata['comment_approved'] = wp_allow_comment( $commentdata, $wp_error ); 2281 2280 2282 $commentdata = wp_filter_comment( $commentdata ); 2281 2283 2282 $commentdata['comment_approved'] = wp_allow_comment( $commentdata, $wp_error ); 2284 if ( ! in_array( $commentdata['comment_approved'], array( 'trash', 'spam' ), true ) ) { 2285 // Validate the comment again after filters are applied to comment data. 2286 $commentdata['comment_approved'] = wp_allow_comment( $commentdata, $wp_error ); 2287 } 2283 2288 2284 2289 if ( is_wp_error( $commentdata['comment_approved'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.