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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wp-admin/includes/class-custom-image-header.php b/src/wp-admin/includes/class-custom-image-header.php
index 54be1d90e4..3716b55909 100644
--- a/src/wp-admin/includes/class-custom-image-header.php
+++ b/src/wp-admin/includes/class-custom-image-header.php
@@ -951,7 +951,7 @@ endif;
<p class="submit">
<?php submit_button( __( 'Crop and Publish' ), 'primary', 'submit', false ); ?>
<?php
- if ( isset( $oitar ) && 1 === $oitar
+ if ( 1 === $oitar
&& ( current_theme_supports( 'custom-header', 'flex-height' )
|| current_theme_supports( 'custom-header', 'flex-width' ) )
) {