[wp-trac] Re: [WordPress Trac] #8776: Deprecate all get_the_author_ and the_author_

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 2 00:51:17 GMT 2009


#8776: Deprecate all get_the_author_ and the_author_
--------------------------------------+-------------------------------------
 Reporter:  thee17                    |        Owner:  anonymous
     Type:  enhancement               |       Status:  new      
 Priority:  normal                    |    Milestone:  2.8      
Component:  Template                  |      Version:  2.8      
 Severity:  normal                    |   Resolution:           
 Keywords:  needs-patch dev-feedback  |  
--------------------------------------+-------------------------------------
Comment (by DD32):

 ..Er, Typos of variable corrected: (But still untested other than in my
 mind)
 {{{
 function the_author_meta($field) {
         global $authordata;
         return isset($authordata->$$field) ? $authordata->$$field : '';
 }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8776#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list