[wp-trac] [WordPress Trac] #18041: Custom background preview doesn't show default background

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 13 10:28:32 UTC 2011


#18041: Custom background preview doesn't show default background
--------------------------+------------------------------
 Reporter:  billerickson  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback => has-patch
 * version:  3.2 => 3.0


Comment:

 Would have to check that it's proper behavior, but looks like a good
 start. So, get_theme_mod()'s second parameter is the default. We can
 simply do `get_theme_mod( 'background_image_thumb', get_background_image()
 );`

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


More information about the wp-trac mailing list