| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | |
| 17 | 17 | update_option('easy_footnotes_options', $updateOptions); |
| 18 | 18 | |
| 19 | 19 | ?> |
| 20 | - <div class="updated"><p><strong><?php _e('Options saved.' ); ?></strong></p></div> | |
| 20 | + <div class="updated"><p><strong><?php esc_html_e('Options saved.' ); ?></strong></p></div> | |
| 21 | 21 | <?php |
| 22 | 22 | } else { |
| 23 | 23 | //Normal page display |
| 24 | 24 | $easyFootnoteLabel = $footnoteOptions['footnoteLabel']; |
| @@ -26,20 +26,20 @@ | ||
| 26 | 26 | } |
| 27 | 27 | ?> |
| 28 | 28 | |
| 29 | 29 | <div class="wrap"> |
| 30 | - <?php echo "<h2>" . __( 'Easy Footnotes Settings', 'easy_footnotes_trdom' ) . "</h2>"; ?> | |
| 30 | + <?php echo "<h2>" . esc_html__( 'Easy Footnotes Settings', 'easy_footnotes_trdom' ) . "</h2>"; ?> | |
| 31 | 31 | |
| 32 | 32 | <form name="easy_footnotes_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>"> |
| 33 | 33 | <input type="hidden" name="easy_footnote_hidden" value="Y"> |
| 34 | - <?php echo "<h4>" . __( 'Easy Footnotes Settings', 'easy_footnotes_trdom' ) . "</h4>"; ?> | |
| 35 | - <p><?php _e("Want to add a label to your footnotes section at the bottom of your post? Just enter some text here and check the box and you're good to go."); ?></p> | |
| 36 | - <p><?php _e("Easy Footnotes Label: "); ?><input type="text" name="easy_footnotes_label" value="<?php echo $easyFootnoteLabel; ?>" size="20"></p> | |
| 34 | + <?php echo "<h4>" . esc_html__( 'Easy Footnotes Settings', 'easy_footnotes_trdom' ) . "</h4>"; ?> | |
| 35 | + <p><?php esc_html_e("Want to add a label to your footnotes section at the bottom of your post? Just enter some text here and check the box and you're good to go."); ?></p> | |
| 36 | + <p><?php esc_html_e("Easy Footnotes Label: "); ?><input type="text" name="easy_footnotes_label" value="<?php echo esc_attr($easyFootnoteLabel); ?>" size="20"></p> | |
| 37 | 37 | |
| 38 | - <p><?php _e("Insert Easy Footnotes Label: "); ?><input type="checkbox" name="easy_footnote_check" <?php if ($easyFootnoteCheck === true) { echo 'checked'; } ?> size="20"><?php _e(""); ?></p> | |
| 38 | + <p><?php esc_html_e("Insert Easy Footnotes Label: "); ?><input type="checkbox" name="easy_footnote_check" <?php checked($easyFootnoteCheck); ?> size="20"><?php esc_html_e(""); ?></p> | |
| 39 | 39 | |
| 40 | 40 | <p class="submit"> |
| 41 | - <input type="submit" name="Submit" value="<?php _e('Update Options', 'easy_footnotes_trdom' ) ?>" /> | |
| 41 | + <input type="submit" name="Submit" value="<?php esc_attr_e('Update Options', 'easy_footnotes_trdom' ) ?>" /> | |
| 42 | 42 | </p> |
| 43 | 43 | </form> |
| 44 | 44 | |
| 45 | 45 | <div class="easy-footnotes-shortcode-hint"> |