mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 23:27:04 +00:00
Administration: Add missing escaping for a few strings used as HTML attributes.
Follow-up to [47209], [50997], [51006]. Props kowsar89, riccardodicurti, audrasjb, krupalpanchal, SergeyBiryukov. Fixes #57093. git-svn-id: https://develop.svn.wordpress.org/trunk@54834 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -332,7 +332,7 @@ if ( isset( $_GET['editwidget'] ) && $_GET['editwidget'] ) {
|
||||
<div class="widget-control-actions">
|
||||
<div class="alignleft">
|
||||
<?php if ( ! isset( $_GET['addnew'] ) ) : ?>
|
||||
<input type="submit" name="removewidget" id="removewidget" class="button-link button-link-delete widget-control-remove" value="<?php _e( 'Delete' ); ?>" />
|
||||
<input type="submit" name="removewidget" id="removewidget" class="button-link button-link-delete widget-control-remove" value="<?php esc_attr_e( 'Delete' ); ?>" />
|
||||
<span class="widget-control-close-wrapper">
|
||||
| <a href="widgets.php" class="button-link widget-control-close"><?php _e( 'Cancel' ); ?></a>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user