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-page-form.php

    r12343 r12350  
    8181add_meta_box('commentstatusdiv', __('Discussion'), 'post_comment_status_meta_box', 'page', 'normal', 'core');
    8282add_meta_box('slugdiv', __('Page Slug'), 'post_slug_meta_box', 'page', 'normal', 'core');
    83 if ( current_theme_supports( 'post-images' ) )
     83if ( current_theme_supports( 'post-images', 'page' ) )
    8484    add_meta_box('postimagediv', __('Page Image'), 'post_image_meta_box', 'page', 'side', 'low');
    8585
Note: See TracChangeset for help on using the changeset viewer.