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.

Built from https://develop.svn.wordpress.org/trunk@31129


git-svn-id: http://core.svn.wordpress.org/trunk@31110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-01-10 20:44:22 +00:00
parent 2b6b7c0235
commit aaae4e9df0
2 changed files with 5 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31128';
$wp_version = '4.2-alpha-31129';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.