WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2009 03:39:20 PM (11 years ago)
Author:
ryan
Message:

Allow registering post image support per post type. fixes #11364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r12343 r12350  
    9999
    100100add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'side', 'core');
    101 if ( current_theme_supports( 'post-images' ) )
     101if ( current_theme_supports( 'post-images', 'post' ) )
    102102    add_meta_box('postimagediv', __('Post Image'), 'post_image_meta_box', 'post', 'side', 'low');
    103103add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', 'post', 'normal', 'core');
Note: See TracChangeset for help on using the changeset viewer.