Changeset 58762 for branches/6.6/src/wp-includes/comment-template.php
- Timestamp:
- 07/18/2024 05:56:35 PM (7 months ago)
- Location:
- branches/6.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.6
- Property svn:mergeinfo changed
/trunk merged: 58755-58756
- Property svn:mergeinfo changed
-
branches/6.6/src/wp-includes/comment-template.php
r58335 r58762 25 25 $comment = get_comment( $comment_id ); 26 26 27 $comment_id = ! empty( $comment->comment_ID ) ? $comment->comment_ID : (string) $comment_id; 27 if ( ! empty( $comment->comment_ID ) ) { 28 $comment_id = $comment->comment_ID; 29 } elseif ( is_scalar( $comment_id ) ) { 30 $comment_id = (string) $comment_id; 31 } else { 32 $comment_id = ''; 33 } 28 34 29 35 if ( empty( $comment->comment_author ) ) {
Note: See TracChangeset
for help on using the changeset viewer.