WordPress.org

Make WordPress Core

Ticket #23534: 23534.patch

File 23534.patch, 489 bytes (added by ethitter, 5 years ago)
  • wp-admin/edit-form-advanced.php

     
    127127}
    128128
    129129// post format
     130$format_class = '';
    130131if ( post_type_supports( $post_type, 'post-formats' ) ) {
    131132        wp_enqueue_script( 'post-formats' );
    132133        $post_format = get_post_format();
    133         $format_class = '';
     134
    134135        if ( ! $post_format )
    135136                $post_format = 'standard';
    136137