Skip to content

Commit

Permalink
Improve escaping.
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjohn authored and westonruter committed Feb 11, 2018
1 parent 20c3944 commit 4ced14c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ private function render_entry( $id = '', $type = '', $config = '' ) {
<p>
<?php
wp_nonce_field( 'analytics-options', 'analytics-options' );
submit_button( __( 'Save', 'amp' ), 'primary', 'save', false );
submit_button( esc_html__( 'Save', 'amp' ), 'primary', 'save', false );
if ( $is_existing_entry ) {
submit_button( __( 'Delete', 'amp' ), 'delete button-primary', $id_base . '[delete]', false );
submit_button( esc_html__( 'Delete', 'amp' ), 'delete button-primary', esc_attr( $id_base . '[delete]' ), false );
}
?>
</p>
Expand Down

0 comments on commit 4ced14c

Please sign in to comment.