mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Typo fixes from mdawaffe. fixes #3474
git-svn-id: https://develop.svn.wordpress.org/trunk@4664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -561,7 +561,7 @@ function add_link() {
|
||||
|
||||
function edit_link( $link_id = '' ) {
|
||||
if (!current_user_can( 'manage_links' ))
|
||||
wp_die( __( 'Cheatin&8217; uh?' ));
|
||||
wp_die( __( 'Cheatin’ uh?' ));
|
||||
|
||||
$_POST['link_url'] = wp_specialchars( $_POST['link_url'] );
|
||||
$_POST['link_url'] = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $_POST['link_url']) ? $_POST['link_url'] : 'http://' . $_POST['link_url'];
|
||||
|
||||
Reference in New Issue
Block a user