From 4ef2ae30fd1f9a2b29b359f6de1d4418bfa53e9a Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 16 May 2010 05:38:14 +0000 Subject: [PATCH] Show updated message after resetting or removing the background image. see #12186. git-svn-id: http://svn.automattic.com/wordpress/trunk@14685 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/custom-background.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index aef330052..aac2dd13c 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -89,6 +89,7 @@ class Custom_Background { check_admin_referer('custom-background-reset', '_wpnonce-custom-background-reset'); remove_theme_mod('background_image'); remove_theme_mod('background_image_thumb'); + $this->updated = true; return; } @@ -97,6 +98,7 @@ class Custom_Background { check_admin_referer('custom-background-remove', '_wpnonce-custom-background-remove'); set_theme_mod('background_image', ''); set_theme_mod('background_image_thumb', ''); + $this->updated = true; return; }