Make WordPress Core

Changeset 24148


Ignore:
Timestamp:
05/01/2013 02:27:07 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Avoid an undefined variable notice. props sc0ttkclark. see #24236.

File:
1 edited

Legend:

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

    r24099 r24148  
    131131$post_format = '';
    132132$post_format_options = '';
     133$show_post_format_ui = false;
    133134if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) {
    134135    wp_enqueue_script( 'post-formats' );
Note: See TracChangeset for help on using the changeset viewer.