| @@ -1,6 +1,12 @@ | ||
| 1 | +<div class="wrap card" id="wp-reset-ad"> | |
| 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> | |
| 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 | +</div> | |
| 6 | + | |
| 1 | 7 | <div class="wrap card"> |
| 2 | - <h2><?php _e( 'Database Reset', 'wordpress-database-reset' ) ?></h2> | |
| 8 | + <h1><?php _e( 'Database Reset', 'wordpress-database-reset' ) ?></h1> | |
| 3 | 9 | |
| 4 | 10 | <?php include( 'partials/notice.php' ) ?> |
| 5 | 11 | |
| 6 | 12 | <form method="post" id="db-reset-form"> |
| @@ -8,6 +14,28 @@ | ||
| 8 | 14 | <?php include( 'partials/security-code.php' ) ?> |
| 9 | 15 | <?php include( 'partials/submit-button.php' ) ?> |
| 10 | 16 | </form> |
| 11 | 17 | |
| 12 | - <?php include( 'partials/donate.php' ) ?> | |
| 18 | +</div> | |
| 19 | + | |
| 20 | + | |
| 21 | + <div id="wpr-upsell-dialog" style="display: none;" title="WP Reset"> | |
| 22 | + <span class="ui-helper-hidden-accessible"><input type="text"/></span> | |
| 23 | + <div style="padding: 20px; font-size: 15px;"> | |
| 24 | + <ul> | |
| 25 | + <li>Free plugin used on +300,000 sites</li> | |
| 26 | + <li>Simple & easy to use with clear instructions</li> | |
| 27 | + <li>Automatically creates a snapshot on every plugin & theme update</li> | |
| 28 | + <li>Use it to quickly reset any data in WordPress</li> | |
| 29 | + <li>Extremely useful for cleaning demo data from themes & plugins</li> | |
| 30 | + <li>Create Database Snapshot to revert WP to previous states with 1 click</li> | |
| 31 | + <li>Compare current & previous snapshots to see changes done by plugins</li> | |
| 32 | + </ul> | |
| 33 | + <p class="upsell-footer"><a class="button button-primary install-wpr">Install & Activate WP Reset from the WP repository</a></p> | |
| 34 | + </div> | |
| 35 | + </div> | |
| 36 | + | |
| 37 | + <div class="wrap card" id="wp-reset-ad"> | |
| 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> | |
| 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> | |
| 13 | 41 | </div> |