Changeset 42648 for trunk/src/wp-admin/media-upload.php
- Timestamp:
- 02/05/2018 02:29:53 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media-upload.php
r42343 r42648 36 36 if ( isset( $action ) && $action == 'edit' && ! $ID ) { 37 37 wp_die( 38 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .38 '<h1>' . __( 'An error has occurred.' ) . '</h1>' . 39 39 '<p>' . __( 'Invalid item ID.' ) . '</p>', 40 40 403 … … 44 44 if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post', $_REQUEST['post_id'] ) ) { 45 45 wp_die( 46 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .46 '<h1>' . __( 'You don’t have permission to do this.' ) . '</h1>' . 47 47 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 48 48 403
Note: See TracChangeset
for help on using the changeset viewer.