Changeset 58755 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 07/18/2024 03:08:01 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r58335 r58755 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)