| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <div class="wrap card" id="wp-reset-ad"> |
| 2 | 2 | <h1>This plugin is being replaced by WP Reset</h1> |
| 3 | - <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a> | |
| 3 | + <a href="#" class="open-wpr-upsell"><img src="<?php echo esc_url(plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE )); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a> | |
| 4 | 4 | <p>We're phasing out support & development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin from the WP repository</a></p> |
| 5 | 5 | </div> |
| 6 | 6 | |
| 7 | 7 | <div class="wrap card"> |
| 8 | - <h1><?php _e( 'Database Reset', 'wordpress-database-reset' ) ?></h1> | |
| 8 | + <h1><?php esc_html_e( 'Database Reset', 'wordpress-database-reset' ) ?></h1> | |
| 9 | 9 | |
| 10 | 10 | <?php include( 'partials/notice.php' ) ?> |
| 11 | 11 | |
| 12 | 12 | <form method="post" id="db-reset-form"> |
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 | </div> |
| 36 | 36 | |
| 37 | 37 | <div class="wrap card" id="wp-reset-ad"> |
| 38 | 38 | <h1>This plugin is being replaced by WP Reset</h1> |
| 39 | - <a href="#" class="open-wpr-upsell"><img src="<?php echo plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE ); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a> | |
| 39 | + <a href="#" class="open-wpr-upsell"><img src="<?php echo esc_url(plugins_url( 'assets/images/wp-reset-icon.png', DB_RESET_FILE )); ?>" alt="WP Reset - used on +300,000 sites" title="WP Reset - used on +300,000 sites"></a> | |
| 40 | 40 | <p>We're phasing out support & development for this plugin because we built the free <a href="#" class="open-wpr-upsell">WP Reset</a> plugin that has a lot more functions, automatic backups when you do resets and it is <b>used by over 300,000 sites</b> daily.<br><br><a href="#" class="open-wpr-upsell button button-primary">Install the free WP Reset plugin from the WP repository</a></p> |
| 41 | 41 | </div> |