summaryrefslogtreecommitdiffstatshomepage
path: root/src/wp-admin/includes/class-custom-image-header.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/wp-admin/includes/class-custom-image-header.php')
-rw-r--r--src/wp-admin/includes/class-custom-image-header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wp-admin/includes/class-custom-image-header.php b/src/wp-admin/includes/class-custom-image-header.php
index a8264d5bb7..fe0a2e5015 100644
--- a/src/wp-admin/includes/class-custom-image-header.php
+++ b/src/wp-admin/includes/class-custom-image-header.php
@@ -281,7 +281,7 @@ class Custom_Image_Header {
* or 'uploaded' (for the Uploaded Images control).
*/
public function show_header_selector( $type = 'default' ) {
- if ( 'default' == $type ) {
+ if ( 'default' === $type ) {
$headers = $this->default_headers;
} else {
$headers = get_uploaded_header_images();
@@ -359,7 +359,7 @@ class Custom_Image_Header {
if ( ! checked )
return;
text_color = $('#text-color');
- if ( '' == text_color.val().replace('#', '') ) {
+ if ( '' === text_color.val().replace('#', '') ) {
text_color.val( default_color );
pickColor( default_color );
} else {