Changeset 33887
- Timestamp:
- 09/03/2015 08:58:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/bookmark.php
r32654 r33887 27 27 */ 28 28 function edit_link( $link_id = 0 ) { 29 if ( !current_user_can( 'manage_links' ) ) 30 wp_die( __( 'Cheatin’ uh?' ), 403 ); 29 if ( ! current_user_can( 'manage_links' ) ) { 30 wp_die( 31 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 32 '<p>' . __( 'You do not have sufficient permissions to edit the links for this site.' ) . '</p>', 33 403 34 ); 35 } 31 36 32 37 $_POST['link_url'] = esc_html( $_POST['link_url'] );
Note: See TracChangeset
for help on using the changeset viewer.