[wp-trac] [WordPress Trac] #12661: In TwentyTen Theme, use of Post Thumbnail in Content Area instead of as Header Replacement

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 21 19:49:27 UTC 2010


#12661: In TwentyTen Theme, use of Post Thumbnail in Content Area instead of as
Header Replacement
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:  iammattthomas
     Type:  defect (bug)  |      Status:  assigned     
 Priority:  normal        |   Milestone:  3.0          
Component:  Themes        |     Version:  3.0          
 Severity:  normal        |    Keywords:               
--------------------------+-------------------------------------------------

Comment(by mikeschinkel):

 Oops, used a helper function which I didn't include.  Here it is:

 {{{
 function get_value($value,$default) {
         if (is_null($value) || empty($value))
                 return $default;
         else
                 return $value;
 }
 }}}

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


More information about the wp-trac mailing list