PluginProbe
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.6.1
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.6.1
3.6.1 3.6.0 3.5.3 3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 All 165 releases
everest-forms / includes / admin / views / html-notice-php-deprecation.php
html-notice-php-deprecation.php
48 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin View: Notice - PHP Deprecation
4 *
5 * @package Everest Forms
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11 ?>
12
13 <div class="notice notice-warning is-dismissible inline" id="everest-forms-php-deprecation-notice ">
14 <p>
15 <strong><?php esc_html_e( 'Warning!', 'everest-forms' ); ?></strong>
16 <?php _e( "Your website is running on an outdated version of PHP ( v$php_version ) that might not be supported by <strong>Everest Forms</strong> plugin in future updates.", 'everest-forms' ); //phpcs:ignore ?>
17 </br>
18 <?php
19 echo esc_html__( //phpcs:ignore
20 sprintf( //phpcs:ignore
21 'Please update to at least PHP v%s to ensure compatibility and security.',
22 $base_version
23 ),
24 'everest-forms'
25 );
26 ?>
27 <a href="https://docs.wpeverest.com/everest-forms/docs/php-version-lesser-than-7-2-is-not-supported/" target="_blank"><?php esc_html_e( 'Learn More', 'everest-forms' ); ?> </a>
28 </p>
29 </div>
30
31 <script>
32
33 jQuery( function( $ ) {
34 $(document).ready( function() {
35 var notice_container = $('#everest-forms-php-deprecation-notice');
36 notice_container.find( '.notice-dismiss' ).on( 'click', function(e) {
37 e.preventDefault();
38
39 $.post( ajaxurl, {
40 action: 'everest_forms_php_notice_dismiss',
41 _wpnonce: '<?php echo esc_js( wp_create_nonce( 'php_notice_nonce' ) ); ?>'
42 } );
43 });
44
45 });
46 });
47 </script>
48