WordPress.org

Make WordPress Core

Changeset 16188


Ignore:
Timestamp:
11/04/2010 06:02:24 PM (9 years ago)
Author:
markjaquith
Message:

Limit post format UI to posts only, for now. see #14746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r16175 r16188  
    156156
    157157<?php
     158if ( 'post' == $post->post_type && current_theme_supports( 'post-formats' ) ) :
    158159$post_formats = get_theme_support( 'post-formats' );
    159160
     
    180181</div>
    181182</div><?php // /misc-pub-section ?>
    182 <?php endif; ?>
     183<?php endif; endif; ?>
    183184
    184185
Note: See TracChangeset for help on using the changeset viewer.