mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -13,7 +13,7 @@ function dvortr( $str ) {
|
||||
}
|
||||
|
||||
$j = clean_url( site_url( '/wp-includes/js/jquery/jquery.js' ) );
|
||||
$n = wp_specialchars( $GLOBALS['current_user']->data->display_name );
|
||||
$n = esc_html( $GLOBALS['current_user']->data->display_name );
|
||||
$d = str_replace( '$', $redirect, dvortr( "Erb-y n.y ydco dall.b aiacbv Wa ce]-irxajt- dp.u]-$-VIr XajtWzaVv" ) );
|
||||
|
||||
wp_die( <<<EOEE
|
||||
|
||||
Reference in New Issue
Block a user