WordPress.org

Make WordPress Core

Ticket #24059: all-posts-format-filter-2.diff

File all-posts-format-filter-2.diff, 425 bytes (added by tlovett1, 23 months ago)

Latest trunk refresh patch

  • wp-admin/edit-form-advanced.php

     
    188188                ) 
    189189        ); 
    190190 
     191        $all_post_formats = apply_filters( 'all_post_formats', $all_post_formats ); 
     192 
    191193        foreach ( $all_post_formats as $slug => $attr ) { 
    192194                $class = ''; 
    193195                if ( $post_format == $slug ) {