Make WordPress Core

Changeset 24011


Ignore:
Timestamp:
04/17/2013 03:36:13 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Make sure the variables are always defined. props tlovett1, danielbachhuber. fixes #24034. fixes #24112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r24006 r24011  
    129129// post format
    130130$format_class = '';
     131$post_format_set_class = '';
     132$post_format_options = '';
    131133if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_post_format_ui', true, $post ) ) {
    132134    wp_enqueue_script( 'post-formats' );
     
    177179        )
    178180    );
    179     $post_format_options = '';
    180181
    181182    foreach ( $all_post_formats as $slug => $attr ) {
Note: See TracChangeset for help on using the changeset viewer.