Changeset 53187 for trunk/src/wp-includes/author-template.php
- Timestamp:
- 04/15/2022 01:45:25 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r53147 r53187 87 87 * @since 2.8.0 88 88 * 89 * @return string|void The author's display name .89 * @return string|void The author's display name, empty string if unkown. 90 90 */ 91 91 function get_the_modified_author() { … … 100 100 * @since 2.8.0 101 101 * 102 * @param string $display_name The author's display name .102 * @param string $display_name The author's display name, empty string if unkown. 103 103 */ 104 return apply_filters( 'the_modified_author', $last_user ->display_name);104 return apply_filters( 'the_modified_author', $last_user ? $last_user->display_name : '' ); 105 105 } 106 106 }
Note: See TracChangeset
for help on using the changeset viewer.