Changeset 59710
- Timestamp:
- 01/26/2025 06:51:35 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r59707 r59710 1180 1180 $comment_date_gmt = $this->_convert_date_gmt( $comment->comment_date_gmt, $comment->comment_date ); 1181 1181 1182 if ( '0' == $comment->comment_approved ) {1182 if ( '0' === $comment->comment_approved ) { 1183 1183 $comment_status = 'hold'; 1184 1184 } elseif ( 'spam' === $comment->comment_approved ) { 1185 1185 $comment_status = 'spam'; 1186 } elseif ( '1' == $comment->comment_approved ) {1186 } elseif ( '1' === $comment->comment_approved ) { 1187 1187 $comment_status = 'approve'; 1188 1188 } else {
Note: See TracChangeset
for help on using the changeset viewer.