WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/24/2009 11:47:49 PM (12 years ago)
Author:
ryan
Message:

Trim tailing whitespace

File:
1 edited

Legend:

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

    r11416 r11450  
    8181
    8282/**
    83  * Retrieve the requested data of the author of the current post. 
    84  * @link http://codex.wordpress.org/Template_Tags/the_author_meta 
    85  * @since 2.8.0 
     83 * Retrieve the requested data of the author of the current post.
     84 * @link http://codex.wordpress.org/Template_Tags/the_author_meta
     85 * @since 2.8.0
    8686 * @uses $authordata The current author's DB object (if $user_id not specified).
    87  * @param string $field selects the field of the users record. 
     87 * @param string $field selects the field of the users record.
    8888 * @param int $user_id Optional. User ID.
    89  * @return string The author's field from the current author's DB object. 
     89 * @return string The author's field from the current author's DB object.
    9090 */
    9191function get_the_author_meta($field = '', $user_id = false) {
     
    9797    $field = strtolower($field);
    9898    $user_field = "user_$field";
    99    
     99
    100100    if ( 'id' == $field )
    101101        $value = isset($authordata->ID) ? (int)$authordata->ID : 0;
     
    109109
    110110/**
    111  * Retrieve the requested data of the author of the current post. 
    112  * @link http://codex.wordpress.org/Template_Tags/the_author_meta 
    113  * @since 2.8.0 
    114  * @param string $field selects the field of the users record. 
     111 * Retrieve the requested data of the author of the current post.
     112 * @link http://codex.wordpress.org/Template_Tags/the_author_meta
     113 * @since 2.8.0
     114 * @param string $field selects the field of the users record.
    115115 * @param int $user_id Optional. User ID.
    116  * @echo string The author's field from the current author's DB object. 
     116 * @echo string The author's field from the current author's DB object.
    117117 */
    118118function the_author_meta($field = '', $user_id = false) {
Note: See TracChangeset for help on using the changeset viewer.