Ticket #23929: 23929.2.patch
| File 23929.2.patch, 890 bytes (added by , 13 years ago) |
|---|
-
wp-admin/edit-form-advanced.php
128 128 129 129 // post format 130 130 $format_class = ''; 131 if ( post_type_supports( $post_type, 'post-formats' ) ) {131 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_post_format_ui', true, $post ) ) { 132 132 wp_enqueue_script( 'post-formats' ); 133 133 wp_enqueue_script( 'wp-mediaelement' ); 134 134 wp_enqueue_style( 'wp-mediaelement' ); … … 439 439 } 440 440 441 441 // post format fields 442 if ( post_type_supports( $post_type, 'post-formats' ) )442 if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'show_post_format_ui', true, $post ) ) 443 443 require_once( './includes/post-formats.php' ); 444 444 445 445 if ( post_type_supports($post_type, 'editor') ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)