diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 01a0432e0..fc231c4c3 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -89,10 +89,7 @@ class Custom_Background { * @since unknown */ function js_includes() { - $step = $this->step(); - - if ( 1 == $step ) - wp_enqueue_script('farbtastic'); + wp_enqueue_script('farbtastic'); } /** @@ -101,10 +98,7 @@ class Custom_Background { * @since unknown */ function css_includes() { - $step = $this->step(); - - if ( 1 == $step ) - wp_enqueue_style('farbtastic'); + wp_enqueue_style('farbtastic'); } /** @@ -153,6 +147,8 @@ class Custom_Background { else set_theme_mod('background_color', ''); } + + $this->updated = true; } /** @@ -161,9 +157,7 @@ class Custom_Background { * @since unknown */ function js() { - $step = $this->step(); - if ( 1 == $step ) - $this->js_1(); + $this->js_1(); } /** @@ -234,13 +228,11 @@ class Custom_Background {
Visit your site to see how it looks.'), home_url()); ?>