Make WordPress Core

Changeset 1996


Ignore:
Timestamp:
12/23/2004 09:52:09 PM (21 years ago)
Author:
saxmatt
Message:

Have get_function return unadulterated data

File:
1 edited

Legend:

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

    r1962 r1996  
    6565
    6666function get_the_author_email() {
    67     global $id,$authordata;    return antispambot($authordata->user_email);
    68 }
     67    global $authordata;
     68    return $authordata->user_email;
     69}
     70
    6971function the_author_email() {
    70     echo get_the_author_email();
     72    echo apply_filters('the_author_email', get_the_author_email() );
    7173}
    7274
Note: See TracChangeset for help on using the changeset viewer.