From 8aac1fc44720ff5b037544eb400b8b231a4e9612 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 18 Mar 2010 19:06:57 +0000 Subject: [PATCH] Use h3 (not h2) to break up sections on custom header/bg screens. Move div.updated message to right after the h2, as JS will move it there anyway. git-svn-id: https://develop.svn.wordpress.org/trunk@13751 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/custom-background.php | 21 +++++++++++---------- wp-admin/custom-header.php | 17 ++++++++++------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 242d9925b3..6563658322 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -218,16 +218,17 @@ class Custom_Background { * @since unknown */ function step_1() { - if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> -
-

Visit your site to see how it looks.'), home_url()); ?>

-
- - +?>

- + +
+

Visit your site to see how it looks.'), home_url()); ?>

+
+

admin_image_div_callback ) { @@ -250,7 +251,7 @@ class Custom_Background { if ( get_background_image() ) : ?> -

+

@@ -316,7 +317,7 @@ if ( get_background_image() ) : ?> -

+


@@ -327,7 +328,7 @@ if ( get_background_image() ) : ?> -

+

diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 949e7cfe2b..81906f31c8 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -357,16 +357,19 @@ class Custom_Image_Header { */ function step_1() { $this->process_default_headers(); - if ( isset($_GET['updated']) && $_GET['updated'] ) { ?> -
-

Visit your site to see how it looks.'), home_url()); ?>

-
- + ?>

+ +
+

Visit your site to see how it looks.'), home_url()); ?>

+
+default_headers) ) : ?>

@@ -404,7 +407,7 @@ else: endif; ?>
-

%1$d x %2$d pixels will be used as-is.'), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); ?>

+

%1$d x %2$d pixels will be used as-is.'), HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT); ?>


@@ -419,7 +422,7 @@ endif;
-

+