mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -58,8 +58,8 @@ function dismissed_updates() {
|
||||
$dismissed = get_core_updates( array( 'dismissed' => true, 'available' => false ) );
|
||||
if ( $dismissed ) {
|
||||
|
||||
$show_text = js_escape(__('Show hidden updates'));
|
||||
$hide_text = js_escape(__('Hide hidden updates'));
|
||||
$show_text = esc_js(__('Show hidden updates'));
|
||||
$hide_text = esc_js(__('Hide hidden updates'));
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user