Changeset 24063
- Timestamp:
- 04/22/2013 09:07:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r24034 r24063 131 131 $post_format_set_class = ''; 132 132 $post_format_options = ''; 133 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( ' show_post_format_ui', true, $post ) ) {133 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) { 134 134 wp_enqueue_script( 'post-formats' ); 135 135 wp_enqueue_script( 'wp-mediaelement' ); … … 451 451 452 452 // post format fields 453 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( ' show_post_format_ui', true, $post ) )453 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_post_format_ui', true, $post ) ) 454 454 require_once( './includes/post-formats.php' ); 455 455
Note: See TracChangeset
for help on using the changeset viewer.