Changeset 50558 for trunk/src/wp-includes/comment.php
- Timestamp:
- 03/21/2021 12:39:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r50533 r50558 219 219 $_comment = apply_filters( 'get_comment', $_comment ); 220 220 221 if ( OBJECT == $output ) {221 if ( OBJECT === $output ) { 222 222 return $_comment; 223 } elseif ( ARRAY_A == $output ) {223 } elseif ( ARRAY_A === $output ) { 224 224 return $_comment->to_array(); 225 } elseif ( ARRAY_N == $output ) {225 } elseif ( ARRAY_N === $output ) { 226 226 return array_values( $_comment->to_array() ); 227 227 }
Note: See TracChangeset
for help on using the changeset viewer.