Changeset 38076 for trunk/src/wp-admin/edit.php
- Timestamp:
- 07/17/2016 04:04:50 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r37914 r38076 11 11 12 12 if ( ! $typenow ) 13 wp_die( __( 'Invalid post type ' ) );13 wp_die( __( 'Invalid post type.' ) ); 14 14 15 15 if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ) ) ) { … … 33 33 34 34 if ( ! $post_type_object ) 35 wp_die( __( 'Invalid post type ' ) );35 wp_die( __( 'Invalid post type.' ) ); 36 36 37 37 if ( ! current_user_can( $post_type_object->cap->edit_posts ) ) {
Note: See TracChangeset
for help on using the changeset viewer.