Changeset 42811 for branches/4.9/src/wp-admin/media-upload.php
- Timestamp:
- 03/09/2018 12:14:20 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
- Property svn:mergeinfo changed
/trunk merged: 42648,42719
- Property svn:mergeinfo changed
-
branches/4.9/src/wp-admin/media-upload.php
r38307 r42811 35 35 if ( isset( $action ) && $action == 'edit' && !$ID ) { 36 36 wp_die( 37 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .37 '<h1>' . __( 'Something went wrong.' ) . '</h1>' . 38 38 '<p>' . __( 'Invalid item ID.' ) . '</p>', 39 39 403 … … 43 43 if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post' , $_REQUEST['post_id'] ) ) { 44 44 wp_die( 45 '<h1>' . __( ' Cheatin’ uh?' ) . '</h1>' .45 '<h1>' . __( 'You need a higher level of permission.' ) . '</h1>' . 46 46 '<p>' . __( 'Sorry, you are not allowed to edit this item.' ) . '</p>', 47 47 403
Note: See TracChangeset
for help on using the changeset viewer.