WordPress.org

Make WordPress Core

Changeset 6515


Ignore:
Timestamp:
12/28/07 21:19:44 (7 years ago)
Author:
westi
Message:

Better documentation for the_author props darkdragon

File:
1 edited

Legend:

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

    r6479 r6515  
    2525 * the_author() - Echo the name of the author of the current post in the Loop. 
    2626 * 
     27 * The behavior of this function is based off of old functionality predating get_the_author(). 
     28 * This function is not deprecated, but is designed to echo the value from get_the_author() 
     29 * and as an result of any old theme that might still use the old behavior will also 
     30 * pass the value from get_the_author(). 
     31 * 
     32 * The normal, expected behavior of this function is to echo the author and not return it. 
     33 * However, backwards compatiability has to be maintained. 
     34 * 
    2735 * @since 0.71 
    2836 * @see get_the_author() 
    29  * @deprecated Use get_the_author() 
    3037 * 
    3138 * @param string $deprecated Deprecated. 
Note: See TracChangeset for help on using the changeset viewer.