[wp-trac] [WordPress Trac] #30799: Scrutinizer in 4.2

WordPress Trac noreply at wordpress.org
Sat Jan 10 20:43:14 UTC 2015


#30799: Scrutinizer in 4.2
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.2
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"31129"]:
 {{{
 #!CommitTicketReference repository="" revision="31129"
 Since `get_theme_mod()` returns `false` on failure,
 `$background_image_thumb` can be set to it and checked instead of calling
 `get_background_image()` 3 times in `Custom_Background->admin_page()`.

 See #30799.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30799#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list