diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php index bdf1d7fa40..486ae835be 100644 --- a/wp-admin/includes/bookmark.php +++ b/wp-admin/includes/bookmark.php @@ -26,8 +26,13 @@ function add_link() { * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success. */ function edit_link( $link_id = 0 ) { - if ( !current_user_can( 'manage_links' ) ) - wp_die( __( 'Cheatin’ uh?' ), 403 ); + if ( ! current_user_can( 'manage_links' ) ) { + wp_die( + '

' . __( 'Cheatin’ uh?' ) . '

' . + '

' . __( 'You do not have sufficient permissions to edit the links for this site.' ) . '

', + 403 + ); + } $_POST['link_url'] = esc_html( $_POST['link_url'] ); $_POST['link_url'] = esc_url($_POST['link_url']); diff --git a/wp-includes/version.php b/wp-includes/version.php index b774423c2b..473213cacd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-33886'; +$wp_version = '4.4-alpha-33887'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.