Ticket #21391: 21391.diff
File 21391.diff, 1.6 KB (added by , 13 years ago) |
---|
-
wp-includes/post.php
56 56 'edit_item' => __( 'Edit Media' ), 57 57 ), 58 58 'public' => true, 59 'show_ui' => false,59 'show_ui' => true, 60 60 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 61 '_edit_link' => ' media.php?attachment_id=%d', /* internal use only. don't use this when registering your own post type. */61 '_edit_link' => 'post.php?post=%d', /* internal use only. don't use this when registering your own post type. */ 62 62 'capability_type' => 'post', 63 63 'map_meta_cap' => true, 64 64 'hierarchical' => false, … … 66 66 'query_var' => false, 67 67 'show_in_nav_menus' => false, 68 68 'delete_with_user' => true, 69 'supports' => array( ' comments', 'author' ),69 'supports' => array( 'title', 'excerpt', 'author', 'custom-fields' ), 70 70 ) ); 71 71 72 72 register_post_type( 'revision', array( -
wp-admin/edit-form-advanced.php
334 334 335 335 </div> 336 336 <?php } ?> 337 338 <?php if ( post_type_supports($post_type, 'image_editor') ) { ?> 339 340 <div id="postdivrich" class="postarea"> 341 <p style="width:100%; padding: 40px 0; text-align: center; border: 1px solid #ddd; ">This would be the awesome new image editor!</p> 342 </div> 343 344 <?php }; ?> 345 337 346 </div><!-- /post-body-content --> 338 347 339 348 <div id="postbox-container-1" class="postbox-container">