Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 9 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * Reference template file for deactivation handler dialog. |
| 4 | * |
| 5 | * This file is not used directly. Copy this file to your plugin and modify it to suit your needs. |
| 6 | * |
| 7 | * @package automattic/jetpack-plugin-deactivation |
| 8 | */ |
| 9 | |
| 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | exit( 0 ); // Exit if accessed directly |
| 12 | } |
| 13 | ?> |
| 14 | <main class="jp-plugin-deactivation__dialog__content"> |
| 15 | <h1><?php esc_html_e( 'Are you sure you want to deactivate?', 'jetpack-plugin-deactivation' ); ?></h1> |
| 16 | <p class="big"><?php esc_html_e( 'Before you go...', 'jetpack-plugin-deactivation' ); ?></p> |
| 17 | <p><?php esc_html_e( "We'd really love your feedback on our plugin.", 'jetpack-plugin-deactivation' ); ?></p> |
| 18 | <p><?php esc_html_e( "Just temporarily deactivating, or don't fancy giving feedback? No problem.", 'jetpack-plugin-deactivation' ); ?></p> |
| 19 | </main> |
| 20 | <footer class="jp-plugin-deactivation__dialog__actions"> |
| 21 | <button |
| 22 | type="button" |
| 23 | class="jp-plugin-deactivation__button" |
| 24 | data-jp-plugin-deactivation-action="close" |
| 25 | ><?php esc_html_e( 'Cancel', 'jetpack-plugin-deactivation' ); ?></button> |
| 26 | <button |
| 27 | type="button" |
| 28 | data-jp-plugin-deactivation-action="deactivate" |
| 29 | class="jp-plugin-deactivation__button jp-plugin-deactivation__button--outline jp-plugin-deactivation__button--destructive" |
| 30 | ><?php esc_html_e( 'Deactivate', 'jetpack-plugin-deactivation' ); ?></button> |
| 31 | </footer> |
| 32 | |
| 33 | <style> |
| 34 | /* Add your custom style for the dialog if any */ |
| 35 | </style> |