WordPress.org

WordPress build repository browser

Changeset 40749


Ignore:
Timestamp:
06/13/17 02:33:42 (2 months ago)
Author:
DrewAPicture
Message:

Docs: Clarify that get_the_author_meta() can also return an empty string.

h/t aurovrata.
See #41017

Built from https://develop.svn.wordpress.org/trunk@40899

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r40241 r40749  
    120120 * @param string $field selects the field of the users record. 
    121121 * @param int $user_id Optional. User ID. 
    122  * @return string The author's field from the current author's DB object. 
     122 * @return string The author's field from the current author's DB object, otherwise an empty string. 
    123123 */ 
    124124function get_the_author_meta( $field = '', $user_id = false ) { 
  • trunk/wp-includes/version.php

    r40748 r40749  
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '4.9-alpha-40898'; 
     7$wp_version = '4.9-alpha-40899'; 
    88 
    99/** 
Note: See TracChangeset for help on using the changeset viewer.