Changeset 32526
- Timestamp:
- 05/21/2015 08:09:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r32116 r32526 19 19 * 20 20 * @param string $deprecated Deprecated. 21 * @return string The author's display name.21 * @return string|null The author's display name. 22 22 */ 23 23 function get_the_author($deprecated = '') { … … 54 54 * @param string $deprecated Deprecated. 55 55 * @param string $deprecated_echo Deprecated. Use get_the_author(). Echo the string or return it. 56 * @return string The author's display name, from get_the_author().56 * @return string|null The author's display name, from get_the_author(). 57 57 */ 58 58 function the_author( $deprecated = '', $deprecated_echo = true ) { … … 71 71 * @since 2.8.0 72 72 * 73 * @return string The author's display name.73 * @return string|null The author's display name. 74 74 */ 75 75 function get_the_modified_author() { … … 89 89 90 90 /** 91 * Display the name of the author who last edited the current post. 91 * Display the name of the author who last edited the current post, 92 * if the author's ID is available. 92 93 * 93 94 * @since 2.8.0 94 95 * 95 96 * @see get_the_author() 96 * @return string The author's display name, from get_the_modified_author().97 97 */ 98 98 function the_modified_author() { … … 163 163 * If the author has a home page set, return an HTML link, otherwise just return the 164 164 * author's name. 165 * 166 * @return string|null An HTML link if the author's url exist in user meta, 167 * else the result of get_the_author(). 165 168 */ 166 169 function get_the_author_link() { … … 221 224 * @since 1.2.0 222 225 * @param string $deprecated Deprecated. 226 * 227 * @return false|null 223 228 */ 224 229 function the_author_posts_link($deprecated = '') {
Note: See TracChangeset
for help on using the changeset viewer.