diff --git a/wp-admin/custom-header.php b/wp-admin/custom-header.php index 6c16328845..57a4afc2b7 100644 --- a/wp-admin/custom-header.php +++ b/wp-admin/custom-header.php @@ -215,12 +215,6 @@ class Custom_Image_Header { return; } - if ( isset( $_POST['resettext'] ) ) { - check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); - remove_theme_mod('header_textcolor'); - return; - } - if ( isset( $_POST['removeheader'] ) ) { check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); $this->remove_header_image(); @@ -628,24 +622,17 @@ class Custom_Image_Header { '; + if ( $default_color ) + echo ' ' . sprintf( _x( 'Default: %s', 'color' ), $default_color ) . ''; +} ?> - />

- - - - - -

- - - - -