WordPress.org

Make WordPress Core

Ticket #24236: 24236.patch

File 24236.patch, 927 bytes (added by SergeyBiryukov, 22 months ago)
  • wp-admin/edit-form-advanced.php

     
    422422<div id="poststuff"> 
    423423<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>"> 
    424424<div id="post-body-content"<?php echo $format_class; ?>> 
     425<?php if ( ! empty( $all_post_formats ) ) : ?> 
    425426<div class="wp-post-format-ui<?php if ( ! $show_post_format_ui ) echo ' no-ui' ?>"> 
    426427        <div class="post-format-change"><span class="icon <?php echo esc_attr( 'wp-format-' . $post_format ); ?>"></span> <span class="post-format-description"><?php echo $all_post_formats[$post_format]['description']; ?></span></div> 
    427428</div> 
     429<?php endif; ?> 
    428430<?php if ( post_type_supports($post_type, 'title') ) { ?> 
    429431<div id="titlediv"> 
    430432<div id="titlewrap">