Changeset 36915 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 03/09/2016 11:43:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r36912 r36915 1923 1923 ) ); 1924 1924 1925 // Add a setting to hide header text if the theme isn't supporting the feature itself. 1926 // @todo 1927 if ( ! current_theme_supports( 'custom-header' ) ) { 1925 // Add a setting to hide header text if the theme doesn't support custom headers. 1926 if ( ! current_theme_supports( 'custom-header', 'header-text' ) ) { 1928 1927 $this->add_setting( 'header_text', array( 1928 'theme_supports' => array( 'custom-logo', 'header-text' ), 1929 1929 'default' => 1, 1930 1930 'sanitize_callback' => 'absint', 1931 'transport' => 'postMessage',1932 1931 ) ); 1933 1932
Note: See TracChangeset
for help on using the changeset viewer.