WordPress.org

Make WordPress Core

Ticket #24059: 24059.diff

File 24059.diff, 472 bytes (added by wonderboymusic, 12 months ago)
  • wp-admin/edit-form-advanced.php

    diff --git wp-admin/edit-form-advanced.php wp-admin/edit-form-advanced.php
    index 09e9706..6ee6b25 100644
    if ( post_type_supports( $post_type, 'post-formats' ) && apply_filters( 'enable_ 
    179179                ) 
    180180        ); 
    181181 
     182        $all_post_formats = apply_filters( 'all_post_formats', $all_post_formats ); 
     183 
    182184        foreach ( $all_post_formats as $slug => $attr ) { 
    183185                $class = ''; 
    184186                if ( $post_format == $slug ) {