[wp-trac] [WordPress Trac] #21241: Default value for background_image_thumb fails when background_image URL includes a percent sign

WordPress Trac noreply at wordpress.org
Tue Jul 9 20:32:38 UTC 2013


#21241: Default value for background_image_thumb fails when background_image URL
includes a percent sign
--------------------------+-----------------------
 Reporter:  cfinke        |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.6
Component:  Appearance    |     Version:  3.4.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nacin):

 This is goofy. At first I thought this should be added to get_theme_mod(),
 but then I realized that this is specifically the *default* value, which
 by design could take %s, so that's wrong. Then I thought that
 get_background_image() could return %s, but that's *also* wrong because it
 too goes through get_theme_mod(). Just wanted to describe my thought
 process before committing.

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


More information about the wp-trac mailing list