diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index b30555afe6..82132e3ed6 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -721,7 +721,7 @@ p.customize-section-description { .customize-control-background .current, .customize-control-cropped_image .current, .customize-control-site_icon .current, -.customize-control-site_logo .current, +.customize-control-custom_logo .current, .customize-control-header .current { margin-bottom: 8px; } @@ -763,9 +763,9 @@ p.customize-section-description { .customize-control-site_icon .remove-button, .customize-control-site_icon .default-button, .customize-control-site_icon .upload-button, -.customize-control-site_logo .remove-button, -.customize-control-site_logo .default-button, -.customize-control-site_logo .upload-button, +.customize-control-custom_logo .remove-button, +.customize-control-custom_logo .default-button, +.customize-control-custom_logo .upload-button, .customize-control-header button.new, .customize-control-header button.remove { white-space: normal; @@ -779,7 +779,7 @@ p.customize-section-description { .customize-control-background .current .container, .customize-control-cropped_image .current .container, .customize-control-site_icon .current .container, -.customize-control-site_logo .current .container, +.customize-control-custom_logo .current .container, .customize-control-header .current .container { overflow: hidden; -webkit-border-radius: 2px; @@ -793,7 +793,7 @@ p.customize-section-description { .customize-control-background .current .container, .customize-control-cropped_image .current .container, .customize-control-site_icon .current .container, -.customize-control-site_logo .current .container, +.customize-control-custom_logo .current .container, .customize-control-image .current .container { min-height: 40px; } @@ -822,7 +822,7 @@ p.customize-section-description { .customize-control-background .inner, .customize-control-cropped_image .inner, .customize-control-site_icon .inner, -.customize-control-site_logo .inner, +.customize-control-custom_logo .inner, .customize-control-header .inner { display: none; position: absolute; @@ -838,7 +838,7 @@ p.customize-section-description { .customize-control-background .inner, .customize-control-cropped_image .inner, .customize-control-site_icon .inner, -.customize-control-site_logo .inner, +.customize-control-custom_logo .inner, .customize-control-image .inner { display: block; min-height: 40px; @@ -850,7 +850,7 @@ p.customize-section-description { .customize-control-background .inner, .customize-control-cropped_image .inner, .customize-control-site_icon .inner, -.customize-control-site_logo.inner, +.customize-control-custom_logo.inner, .customize-control-header .inner, .customize-control-header .inner .dashicons { line-height: 20px; @@ -994,8 +994,8 @@ p.customize-section-description { .customize-control-cropped_image .default-button, .customize-control-site_icon .remove-button, .customize-control-site_icon .default-button, -.customize-control-site_logo .remove-button, -.customize-control-site_logo .default-button, +.customize-control-custom_logo .remove-button, +.customize-control-custom_logo .default-button, .customize-control-header .remove { float: left; margin-right: 3px; @@ -1007,7 +1007,7 @@ p.customize-section-description { .customize-control-background .upload-button, .customize-control-cropped_image .upload-button, .customize-control-site_icon .upload-button, -.customize-control-site_logo .upload-button, +.customize-control-custom_logo .upload-button, .customize-control-header .new { float: right; } diff --git a/src/wp-admin/includes/admin.php b/src/wp-admin/includes/admin.php index 5b749f966e..eab7eb97b3 100644 --- a/src/wp-admin/includes/admin.php +++ b/src/wp-admin/includes/admin.php @@ -72,7 +72,7 @@ require_once(ABSPATH . 'wp-admin/includes/user.php'); /** WordPress Site Icon API */ require_once(ABSPATH . 'wp-admin/includes/class-wp-site-icon.php'); -/** WordPress Site Logo API */ +/** WordPress Custom Logo API */ require_once(ABSPATH . 'wp-admin/includes/class-wp-site-logo.php'); /** WordPress Update Administration API */ diff --git a/src/wp-admin/includes/class-wp-site-logo.php b/src/wp-admin/includes/class-wp-site-logo.php index d1cc15d184..517fded36b 100644 --- a/src/wp-admin/includes/class-wp-site-logo.php +++ b/src/wp-admin/includes/class-wp-site-logo.php @@ -1,6 +1,6 @@ - +