[wp-trac] [WordPress Trac] #7121: Wordpress default theme does use correct background

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 11 16:23:11 GMT 2008


#7121: Wordpress default theme does use correct background
----------------------------+-----------------------------------------------
 Reporter:  christmasboy81  |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.5.2    
Component:  General         |     Version:  2.5.1    
 Severity:  minor           |    Keywords:           
----------------------------+-----------------------------------------------
 In 2.5 and 2.5.1, for the main page, the default theme (kubrick) uses
 kubrickbgwide.jpg for the background and not kubrickbg-ltr.jpg, like it
 should.

 I did some research and the problem is in wp-
 content/themes/default/header.php and was broken in revision 6711, which
 was to fix ticket 3155.

 The offending line is 17 and is currently
 {{{
 if ( !empty($withcomments) && !is_single() ) {
 }}}

 In the previous revision (6195) it was
 {{{
 if ( !$withcomments && !is_single() ) {
 }}}

 I think the correct change would be the following (although I know hardly
 anything about PHP or wordpress)

 {{{
 if ( empty($withcomments) && !is_single() ) {
 }}}

 This problem has been reported several times on the wordpress support
 forums. http://wordpress.org/support/topic/167648?replies=5
 http://wordpress.org/support/topic/165580?replies=1
 http://wordpress.org/support/topic/178600?replies=2

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7121>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list