Changeset 47808 for trunk/src/wp-includes/author-template.php
- Timestamp:
- 05/16/2020 06:40:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r47550 r47808 350 350 $link = $file . '?author=' . $auth_ID; 351 351 } else { 352 if ( '' == $author_nicename ) {352 if ( '' === $author_nicename ) { 353 353 $user = get_userdata( $author_id ); 354 354 if ( ! empty( $user->user_nicename ) ) { … … 468 468 } 469 469 470 if ( 'list' == $args['style'] ) {470 if ( 'list' === $args['style'] ) { 471 471 $return .= '<li>'; 472 472 } … … 514 514 515 515 $return .= $link; 516 $return .= ( 'list' == $args['style'] ) ? '</li>' : ', ';516 $return .= ( 'list' === $args['style'] ) ? '</li>' : ', '; 517 517 } 518 518
Note: See TracChangeset
for help on using the changeset viewer.