Changeset 47550 for trunk/src/wp-admin/edit.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r47233 r47550 14 14 } 15 15 16 if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ) ) ) {16 if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ), true ) ) { 17 17 wp_die( __( 'Sorry, you are not allowed to edit posts in this post type.' ) ); 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.