Changeset 47785 for trunk/src/wp-admin/async-upload.php
- Timestamp:
- 05/12/2020 06:30:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/async-upload.php
r47198 r47785 43 43 $id = intval( $_REQUEST['attachment_id'] ); 44 44 $post = get_post( $id ); 45 if ( 'attachment' != $post->post_type ) {45 if ( 'attachment' !== $post->post_type ) { 46 46 wp_die( __( 'Invalid post type.' ) ); 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.