notice-disabled.php
21 lines
| 1 | <?php |
| 2 | /** |
| 3 | * "Revisions are disabled" notice in the Form Builder Revisions panel. |
| 4 | * |
| 5 | * @since 1.7.3 |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | ?> |
| 12 | |
| 13 | <div class='wpforms-revisions-notice wpforms-revisions-notice-error'> |
| 14 | <h2><?php esc_html_e( 'Form Revisions Are Disabled', 'wpforms-lite' ); ?></h2> |
| 15 | <p><?php esc_html_e( 'It appears that revisions are disabled on your WordPress installation. You can enable revisions for WPForms while leaving posts revisions disabled.', 'wpforms-lite' ); ?></p> |
| 16 | |
| 17 | <a href="https://wpforms.com/docs/how-to-use-form-revisions-in-wpforms/#enable-post-revisions" target='_blank' rel='noopener noreferrer' class='button button-primary button-large'> |
| 18 | <?php esc_html_e( 'Learn How', 'wpforms-lite' ); ?> |
| 19 | </a> |
| 20 | </div> |
| 21 |