i18n: Don't use esc_attr_e() on a variable.

Props yoavf.
Fuxes #42935.

Built from https://develop.svn.wordpress.org/trunk@42413


git-svn-id: http://core.svn.wordpress.org/trunk@42244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse
2017-12-20 05:35:50 +00:00
parent a5e2908bbd
commit 1caa918dbc
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ function wp_dashboard_right_now() {
echo ' hidden';
}
?>
"><a href="edit-comments.php?comment_status=moderated" aria-label="<?php esc_attr_e( $aria_label ); ?>"><?php echo $text; ?></a></li>
"><a href="edit-comments.php?comment_status=moderated" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php echo $text; ?></a></li>
<?php
}