Ticket #33673: 33673.diff
File 33673.diff, 514 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/nav-menus.php
20 20 21 21 // Permissions Check 22 22 if ( ! current_user_can('edit_theme_options') ) 23 wp_die( __( 'Cheatin’ uh?' ), 403 ); 23 wp_die( 24 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 25 '<p>' . __( 'You are not allowed to manage these items.' ) . '</p>', 26 403 ); 24 27 25 28 wp_enqueue_script( 'nav-menu' ); 26 29