You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
864 B
PHTML
27 lines
864 B
PHTML
8 months ago
|
<?php
|
||
|
/**
|
||
|
* "Revisions are disabled" notice in the Form Builder Revisions panel.
|
||
|
*
|
||
|
* @since 1.7.3
|
||
|
*/
|
||
|
|
||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
$url = wpforms_utm_link(
|
||
|
'https://wpforms.com/docs/how-to-use-form-revisions-in-wpforms/#enable-post-revisions',
|
||
|
'Builder Revisions',
|
||
|
'Revisions Disabled Notice'
|
||
|
);
|
||
|
?>
|
||
|
|
||
|
<div class='wpforms-revisions-notice wpforms-revisions-notice-error'>
|
||
|
<h2><?php esc_html_e( 'Form Revisions Are Disabled', 'wpforms-lite' ); ?></h2>
|
||
|
<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>
|
||
|
|
||
|
<a href="<?php echo esc_url( $url ); ?>" target='_blank' rel='noopener noreferrer' class='button button-primary button-large'>
|
||
|
<?php esc_html_e( 'Learn How', 'wpforms-lite' ); ?>
|
||
|
</a>
|
||
|
</div>
|