Make WordPress Core

Changeset 20243


Ignore:
Timestamp:
03/21/2012 08:55:58 PM (15 years ago)
Author:
nacin
Message:

Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/custom-header.php

    r20241 r20243  
    209209                }
    210210
    211                 if ( ! isset( $_POST['display-header-text'] ) ) {
     211                if ( isset( $_POST['text-color'] ) && ! isset( $_POST['display-header-text'] ) ) {
    212212                        check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' );
    213213                        set_theme_mod( 'header_textcolor', 'blank' );
Note: See TracChangeset for help on using the changeset viewer.