[wp-trac] [WordPress Trac] #21711: Twenty Twelve: use get_queried_object instead of the_post/rewind_posts in author archives

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 28 09:25:45 UTC 2012


#21711: Twenty Twelve: use get_queried_object instead of the_post/rewind_posts in
author archives
---------------------------+------------------------------
 Reporter:  kovshenin      |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 > `if ( isset( $author->description ) && ! empty( $author->description )
 )`

 `! empty()` would be enough.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21711#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list