Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327

git-svn-id: https://develop.svn.wordpress.org/trunk@24264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2013-05-15 20:43:09 +00:00
parent a5ab9e5dca
commit 22b2023e4b
5 changed files with 37 additions and 22 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ $format_meta = get_post_format_meta( $post_ID );
wp_nonce_field( 'show-post-format-ui_' . $post_type, 'show_post_format_ui_nonce', false );
?>
<div class="wp-post-format-ui<?php if ( ! $show_post_format_ui ) echo ' no-ui' ?>">
<div class="wp-post-format-ui">
<div class="post-formats-fields">
<input type="hidden" name="post_format" id="post_format" value="<?php echo esc_attr( $post_format ); ?>" />