From 159e67efe2b4d8b96762a5250f80fc6890e97041 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 27 Aug 2013 12:27:10 +0000 Subject: [PATCH] Only show 'Preview' on the custom header screen if there is something to show. props nickmomrik. fixes #14531. Built from https://develop.svn.wordpress.org/trunk@25135 git-svn-id: http://core.svn.wordpress.org/trunk@25115 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/custom-header.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 12288430cd..d572594fe4 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -464,6 +464,7 @@ class Custom_Image_Header { + + +
@@ -490,6 +491,8 @@ class Custom_Image_Header {