Changeset 39993 for branches/4.7/src/wp-includes/class-wp-comment.php
- Timestamp:
- 01/26/2017 04:56:21 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-wp-comment.php
r38381 r39993 192 192 global $wpdb; 193 193 194 if ( ! is_numeric( $id ) || $id != floor( $id ) || ! $id ) { 194 $comment_id = (int) $id; 195 if ( ! $comment_id ) { 195 196 return false; 196 197 } 197 198 $comment_id = (int) $id;199 198 200 199 $_comment = wp_cache_get( $comment_id, 'comment' );
Note: See TracChangeset
for help on using the changeset viewer.