Make WordPress Core

Ticket #33682: 33682.diff

File 33682.diff, 658 bytes (added by kraftbj, 10 years ago)

org props ericlewis. modified to use preexisting string.

  • src/wp-admin/includes/bookmark.php

     
    2727 */
    2828function edit_link( $link_id = 0 ) {
    2929        if ( !current_user_can( 'manage_links' ) )
    30                 wp_die( __( 'Cheatin’ uh?' ), 403 );
     30                wp_die(
     31                        '<h1>' . __( 'Cheatin&#8217; uh?' ) . '</h1>' .
     32                        '<p>' . __( 'You do not have sufficient permissions to edit the links for this site.' ) . '</p>',
     33                        403 );
    3134
    3235        $_POST['link_url'] = esc_html( $_POST['link_url'] );
    3336        $_POST['link_url'] = esc_url($_POST['link_url']);