Ticket #9674: 9674_pluralcaps.diff
File 9674_pluralcaps.diff, 570 bytes (added by , 15 years ago) |
---|
-
wp-admin/post-new.php
49 49 } 50 50 51 51 // Show post form. 52 if ( current_user_can('edit_' . $post_type_object->capability_type . 's') ){52 if ( ( $post_type == 'edit' && current_user_can('edit_' . $post_type_object->capability_type . 's') ) || current_user_can( 'edit_' . $post_type_object->capability_type ) ) { 53 53 $post = get_default_post_to_edit( $post_type ); 54 54 include('edit-form-advanced.php'); 55 55 }