PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.3
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.3
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 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / includes / admin / views / html-admin-page-setting.php
everest-forms / includes / admin / views Last commit date
html-admin-header-skeleton.php 2 months ago html-admin-page-addons.php 1 year ago html-admin-page-builder.php 5 months ago html-admin-page-dashboard.php 2 years ago html-admin-page-entries-view.php 2 months ago html-admin-page-export.php 1 year ago html-admin-page-form-migrator.php 2 years ago html-admin-page-form-templates.php 5 months ago html-admin-page-import.php 1 year ago html-admin-page-payments.php 2 months ago html-admin-page-setting.php 1 week ago html-admin-page-smart-smtp-setup.php 2 months ago html-admin-page-tools-logs.php 3 months ago html-admin-page-tools.php 4 months ago html-admin-settings.php 2 months ago html-deactivation-popup.php 3 years ago html-notice-allow-usage.php 3 months ago html-notice-custom.php 4 months ago html-notice-email-failed-notice.php 4 months ago html-notice-php-deprecation.php 4 months ago html-notice-review.php 4 months ago html-notice-survey.php 4 months ago html-notice-update.php 4 months ago html-notice-updated.php 4 months ago html-notice-updating.php 4 months ago
html-admin-page-setting.php
321 lines
1 <?php
2 /**
3 * Admin View: Page - Setting
4 *
5 * @package EverestForms/Admin/Tool/System Info Settings
6 */
7
8 defined( 'ABSPATH' ) || exit;
9 if ( ! class_exists( 'WP_Debug_Data' ) ) {
10 require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php';
11 }
12 ?>
13 <div class="everest-forms-system-info-setting">
14 <button class="everest-forms-system-info-setting-copy"><?php esc_html_e( 'Copy Setting', 'everest-forms' ); ?></button>
15 <table>
16 <?php
17 $license_key = get_option( 'everest-forms-pro_license_key' );
18 if ( defined( 'EFP_PLUGIN_FILE' ) && is_plugin_active( 'everest-forms-pro/everest-forms-pro.php' ) ) {
19 ?>
20 <tr>
21 <th colspan="2">
22 <?php
23 $license_data = get_transient( 'evf_pro_license_plan' );
24 if ( $license_key && $license_data ) {
25 $name = isset( $license_data->item_name ) ? esc_html( $license_data->item_name ) : '-';
26 } else {
27 $name = esc_html__( 'Everest Form Pro', 'everest-forms' );
28 }
29 echo esc_html( $name );
30 ?>
31 </th>
32
33 </tr>
34 <tr>
35 <th><?php esc_html_e( 'Version', 'everest-forms' ); ?></th>
36 <td>
37 <?php
38 $plugin_file =
39 WP_PLUGIN_DIR . '/everest-forms-pro/everest-forms-pro.php';
40 if ( file_exists( $plugin_file ) ) {
41 $plugin_data = get_plugin_data( $plugin_file, array( 'Version' => 'Version' ) );
42 if ( ! empty( $plugin_data['Version'] ) ) {
43 $plugin_version = $plugin_data['Version'];
44 echo esc_html( $plugin_version ) . ' ';
45 }
46 } else {
47 $plugin_version = null;
48 }
49 ?>
50 </td>
51 </tr>
52 <tr>
53 <th><?php esc_html_e( 'Edition', 'everest-forms' ); ?></th>
54 <td>
55 <?php
56 $license_data = get_transient( 'evf_pro_license_plan' );
57
58 if ( $license_key && $license_data ) {
59 $edition = isset( $license_data->item_plan ) ? esc_html__( 'PRO', 'everest-forms' ) : '-';
60 echo esc_html( $edition );
61 } else {
62 echo esc_html__( 'Free', 'everest-forms' );
63 }
64 ?>
65 </td>
66 </tr>
67 <tr>
68 <th><?php esc_html_e( 'License Key', 'everest-forms' ); ?></th>
69 <td>
70 <?php
71 $license_data = get_transient( 'evf_pro_license_plan' );
72
73 if ( $license_key && $license_data ) {
74 $license_key = isset( $license_data->license ) ? esc_html__( 'Licensed', 'everest-forms' ) : '-';
75 echo esc_html( $license_key );
76 } else {
77 echo esc_html__( 'Unlicensed', 'everest-forms' );
78 }
79 ?>
80 </td>
81 </tr>
82 <tr>
83 <th><?php esc_html_e( 'License Activated', 'everest-forms' ); ?></th>
84 <td>
85 <?php
86 $license_data = get_transient( 'evf_pro_license_plan' );
87
88 if ( $license_key && $license_data ) {
89 $license_status = isset( $license_data->success ) ? esc_html__( 'Yes', 'everest-forms' ) : '-';
90 echo esc_html( $license_status );
91 } else {
92 echo esc_html__( 'No', 'everest-forms' );
93 }
94 ?>
95 </td>
96 </tr>
97 <tr>
98 <th><?php esc_html_e( 'License Expires', 'everest-forms' ); ?></th>
99 <td>
100 <?php
101 $license_data = get_transient( 'evf_pro_license_plan' );
102 if ( $license_key && $license_data ) {
103 $expires = isset( $license_data->expires ) ? esc_html( $license_data->expires ) : '-';
104 echo esc_html( $expires );
105 } else {
106 echo esc_html__( '-', 'everest-forms' );
107 }
108 ?>
109 </td>
110 </tr>
111 <?php
112 }
113 if ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
114 ?>
115 <tr>
116 <th colspan="2">
117 <?php
118 $plugin_name = esc_html__( 'Everest Form', 'everest-forms' );
119 echo esc_html( $plugin_name );
120 ?>
121 </th>
122 </tr>
123 <tr>
124 <th><?php esc_html_e( 'Version', 'everest-forms' ); ?></th>
125 <td>
126 <?php
127 $plugin_file = WP_PLUGIN_DIR . '/everest-forms/everest-forms.php';
128 if ( file_exists( $plugin_file ) ) {
129 $plugin_data = get_plugin_data( $plugin_file, array( 'Version' => 'Version' ) );
130 if ( ! empty( $plugin_data['Version'] ) ) {
131 $plugin_version = $plugin_data['Version'];
132 echo esc_html( $plugin_version );
133 }
134 } else {
135 $plugin_version = null;
136 }
137 ?>
138 </td>
139 </tr>
140 <?php
141 }
142 ?>
143 <!-- WordPress -->
144 <tr>
145 <th colspan="2">
146 <?php
147 esc_html_e( 'WordPress', 'everest-forms' );
148 ?>
149 </th>
150 </tr>
151 <tr>
152 <th>
153 <?php
154 $plugin_file = WP_PLUGIN_DIR . '/everest-forms/everest-forms.php';
155 $require_wp = get_plugin_data( $plugin_file, array( 'RequiresWP' => 'Requires WP' ) );
156 $min_version_wp = $require_wp['RequiresWP'];
157 esc_html_e( 'Version', 'everest-forms' );
158 if ( is_plugin_active( 'everest-forms-pro/everest-forms-pro.php' ) ) {
159 echo esc_html( '(Min:' . $min_version_wp . ')' );
160 } elseif ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
161 echo ' ';
162 }
163 ?>
164 </th>
165 <td><?php echo esc_html( get_bloginfo( 'version' ) ); ?></td>
166 </tr>
167 <tr>
168 <th><?php esc_html_e( 'MultiSite Enabled', 'everest-forms' ); ?></th>
169 <td><?php echo esc_html( is_multisite() ? 'Yes' : 'No' ); ?></td>
170 </tr>
171 <tr>
172 <th><?php esc_html_e( 'Home URL', 'everest-forms' ); ?></th>
173 <td><?php echo esc_html( home_url() ); ?></td>
174 </tr>
175 <tr>
176 <th><?php esc_html_e( 'Site URL', 'everest-forms' ); ?></th>
177 <td><?php echo esc_html( site_url() ); ?></td>
178 </tr>
179 <tr>
180 <th><?php esc_html_e( 'Theme', 'everest-forms' ); ?></th>
181 <td>
182 <?php
183 $theme = wp_get_theme();
184 echo isset( $theme->name ) && isset( $theme->version ) ? esc_html( $theme->name ) . ' (' . esc_html( $theme->version ) . ')' : '';
185 ?>
186 </td>
187 </tr>
188
189 <tr>
190 <th><?php esc_html_e( 'Addons', 'everest-forms' ); ?></th>
191 <td>
192 <?php
193 $evf_stats_obj = new \EVF_Stats();
194 $plugin_lists = $evf_stats_obj->get_plugin_lists();
195
196 $active_addons = ! empty( $plugin_lists['active_addons'] ) ? $plugin_lists['active_addons'] : array();
197
198 if ( ! empty( $active_addons ) ) {
199 foreach ( $active_addons as $plugin_slug => $plugin_data ) {
200 if ( isset( $plugin_data['product_name'] ) && isset( $plugin_data['product_version'] ) ) {
201 echo esc_html( $plugin_data['product_name'] . ' (' . $plugin_data['product_version'] . ')' ) . '<br>';
202 }
203 }
204 } else {
205 esc_html_e( 'No Addons lists available.', 'everest-forms' );
206 }
207 ?>
208 </td>
209 </tr>
210 <tr>
211 <th><?php esc_html_e( 'Max Upload Size', 'everest-forms' ); ?></th>
212 <td>
213 <?php
214 $max_upload_size_bytes = wp_max_upload_size();
215 $max_upload_size_mb = $max_upload_size_bytes / 1024 / 1024;
216 echo esc_html( $max_upload_size_mb ) . ' MB';
217 ?>
218 </td>
219 </tr>
220 <!-- PHP -->
221 <tr>
222 <th colspan="2"><?php esc_html_e( 'PHP', 'everest-forms' ); ?></th>
223 </tr>
224 <tr>
225 <th>
226 <?php
227 $plugin_data = get_plugin_data( $plugin_file, array( 'RequiresPHP' => 'Requires PHP' ) );
228 $min_version_php = $plugin_data['RequiresPHP'];
229 esc_html_e( 'Version', 'everest-forms' );
230 if ( is_plugin_active( 'everest-forms-pro/everest-forms-pro.php' ) ) {
231 echo esc_html( '(Min:' . $min_version_php . ')' );
232 } elseif ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
233 echo ' ';
234 }
235 ?>
236 </th>
237 <td><?php echo esc_html( phpversion() ); ?></td>
238 </tr>
239 <tr>
240 <th><?php esc_html_e( 'Default Timezone', 'everest-forms' ); ?></th>
241 <td><?php echo esc_html( date_default_timezone_get() ); ?></td>
242 </tr>
243 <tr>
244 <th><?php esc_html_e( 'Max Execution Time', 'everest-forms' ); ?></th>
245 <td><?php echo esc_html( ini_get( 'max_execution_time' ) ); ?></td>
246 </tr>
247 <tr>
248 <th><?php esc_html_e( 'Memory Limit', 'everest-forms' ); ?></th>
249 <td><?php echo esc_html( ini_get( 'memory_limit' ) ); ?></td>
250 </tr>
251 <tr>
252 <th><?php esc_html_e( 'Max Upload Size', 'everest-forms' ); ?></th>
253 <td><?php echo esc_html( ini_get( 'upload_max_filesize' ) ); ?></td>
254 </tr>
255 <tr>
256 <th><?php esc_html_e( 'Max Input Variables', 'everest-forms' ); ?></th>
257 <td><?php echo esc_html( ini_get( 'max_input_vars' ) ); ?></td>
258 </tr>
259 <tr>
260 <th><?php esc_html_e( 'SMTP Hostname', 'everest-forms' ); ?></th>
261 <td><?php echo esc_html( ini_get( 'SMTP' ) ); ?></td>
262 </tr>
263 <tr>
264 <th><?php esc_html_e( 'SMTP Port', 'everest-forms' ); ?></th>
265 <td><?php echo esc_html( ini_get( 'smtp_port' ) ); ?></td>
266 </tr>
267 <!-- Web Server -->
268 <tr>
269 <th colspan="2"><?php esc_html_e( 'Web Server', 'everest-forms' ); ?></th>
270 </tr>
271 <tr>
272 <th><?php esc_html_e( 'Name', 'everest-forms' ); ?></th>
273 <td>
274 <?php
275 $remote_addr = isset( $_SERVER['SERVER_NAME'] ) ? sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ) : '';
276 echo esc_html( $remote_addr );
277 ?>
278 </td>
279 </tr>
280 <tr>
281 <th><?php esc_html_e( 'IP', 'everest-forms' ); ?></th>
282 <td>
283 <?php
284 $remote_addr = isset( $_SERVER['REMOTE_ADDR'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
285 echo esc_html( $remote_addr );
286 ?>
287 </td>
288 </tr>
289 <!-- MySQL -->
290 <tr>
291 <th colspan="2"><?php esc_html_e( 'MySQL', 'everest-forms' ); ?></th>
292 </tr>
293 <tr>
294 <th><?php esc_html_e( 'Version', 'everest-forms' ); ?></th>
295 <td>
296 <?php
297 global $wpdb;
298 echo esc_html( $wpdb->db_version() );
299 ?>
300 </td>
301 </tr>
302 <tr>
303 <th><?php esc_html_e( 'Max Allowed Packet', 'everest-forms' ); ?></th>
304 <td>
305 <?php
306 $max_packet_size_bytes = array(
307 'label' => __( 'Max allowed packet size', 'everest-forms' ),
308 'value' => WP_Debug_Data::get_mysql_var( 'max_allowed_packet' ),
309 );
310
311 $info['wp-database']['fields']['max_allowed_packet'] = $max_packet_size_bytes;
312
313 $maxp_mb = isset( $max_packet_size_bytes['value'] ) ? $max_packet_size_bytes['value'] / 1024 / 1024 : '';
314 echo esc_html( $maxp_mb ) . ' MB';
315
316 ?>
317 </td>
318 </tr>
319 </table>
320 </div>
321