PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.2
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.2
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 3 weeks ago html-admin-page-addons.php 1 year ago html-admin-page-builder.php 4 months ago html-admin-page-dashboard.php 2 years ago html-admin-page-entries-view.php 3 weeks ago html-admin-page-export.php 1 year ago html-admin-page-form-migrator.php 2 years ago html-admin-page-form-templates.php 4 months ago html-admin-page-import.php 1 year ago html-admin-page-payments.php 3 weeks ago html-admin-page-setting.php 2 years ago html-admin-page-smart-smtp-setup.php 3 weeks ago html-admin-page-tools-logs.php 2 months ago html-admin-page-tools.php 3 months ago html-admin-settings.php 3 weeks ago html-deactivation-popup.php 3 years ago html-notice-allow-usage.php 2 months ago html-notice-custom.php 3 months ago html-notice-email-failed-notice.php 3 months ago html-notice-php-deprecation.php 3 months ago html-notice-review.php 3 months ago html-notice-survey.php 3 months ago html-notice-update.php 3 months ago html-notice-updated.php 3 months ago html-notice-updating.php 3 months ago
html-admin-page-setting.php
318 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 } elseif ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
113 ?>
114 <tr>
115 <th colspan="2">
116 <?php
117 $plugin_name = esc_html__( 'Everest Form', 'everest-forms' );
118 echo esc_html( $plugin_name );
119 ?>
120 </th>
121 </tr>
122 <tr>
123 <th><?php esc_html_e( 'Version', 'everest-forms' ); ?></th>
124 <td>
125 <?php
126 $plugin_file = WP_PLUGIN_DIR . '/everest-forms/everest-forms.php';
127 if ( file_exists( $plugin_file ) ) {
128 $plugin_data = get_plugin_data( $plugin_file, array( 'Version' => 'Version' ) );
129 if ( ! empty( $plugin_data['Version'] ) ) {
130 $plugin_version = $plugin_data['Version'];
131 echo esc_html( $plugin_version );
132 }
133 } else {
134 $plugin_version = null;
135 }
136 ?>
137 </td>
138 </tr>
139 <?php
140 }
141 ?>
142 <!-- WordPress -->
143 <tr>
144 <th colspan="2">
145 <?php
146 esc_html_e( 'WordPress', 'everest-forms' );
147 ?>
148 </th>
149 </tr>
150 <tr>
151 <th>
152 <?php
153 $plugin_file = WP_PLUGIN_DIR . '/everest-forms/everest-forms.php';
154 $require_wp = get_plugin_data( $plugin_file, array( 'RequiresWP' => 'Requires WP' ) );
155 $min_version_wp = $require_wp['RequiresWP'];
156 esc_html_e( 'Version', 'everest-forms' );
157 if ( is_plugin_active( 'everest-forms-pro/everest-forms-pro.php' ) ) {
158 echo esc_html( '(Min:' . $min_version_wp . ')' );
159 } elseif ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
160 echo ' ';
161 }
162 ?>
163 </th>
164 <td><?php echo esc_html( get_bloginfo( 'version' ) ); ?></td>
165 </tr>
166 <tr>
167 <th><?php esc_html_e( 'MultiSite Enabled', 'everest-forms' ); ?></th>
168 <td><?php echo esc_html( is_multisite() ? 'Yes' : 'No' ); ?></td>
169 </tr>
170 <tr>
171 <th><?php esc_html_e( 'Home URL', 'everest-forms' ); ?></th>
172 <td><?php echo esc_html( home_url() ); ?></td>
173 </tr>
174 <tr>
175 <th><?php esc_html_e( 'Site URL', 'everest-forms' ); ?></th>
176 <td><?php echo esc_html( site_url() ); ?></td>
177 </tr>
178 <tr>
179 <th><?php esc_html_e( 'Theme', 'everest-forms' ); ?></th>
180 <td>
181 <?php
182 $theme = wp_get_theme();
183 echo isset( $theme->name ) && isset( $theme->version ) ? esc_html( $theme->name ) . ' (' . esc_html( $theme->version ) . ')' : '';
184 ?>
185 </td>
186 </tr>
187
188 <tr>
189 <th><?php esc_html_e( 'Plugins', 'everest-forms' ); ?></th>
190 <td>
191 <?php
192 $evf_stats_obj = new \EVF_Stats();
193 $plugin_lists = $evf_stats_obj->get_plugin_lists();
194
195 if ( ! empty( $plugin_lists ) ) {
196 foreach ( $plugin_lists as $plugin_slug => $plugin_data ) {
197 if ( isset( $plugin_data['product_name'] ) && isset( $plugin_data['product_version'] ) ) {
198 echo esc_html( $plugin_data['product_name'] . ' (' . $plugin_data['product_version'] . ')' ) . '<br>';
199 }
200 }
201 } else {
202 esc_html_e( 'No plugin lists available.', 'everest-forms' );
203 }
204 ?>
205 </td>
206 </tr>
207 <tr>
208 <th><?php esc_html_e( 'Max Upload Size', 'everest-forms' ); ?></th>
209 <td>
210 <?php
211 $max_upload_size_bytes = wp_max_upload_size();
212 $max_upload_size_mb = $max_upload_size_bytes / 1024 / 1024;
213 echo esc_html( $max_upload_size_mb ) . ' MB';
214 ?>
215 </td>
216 </tr>
217 <!-- PHP -->
218 <tr>
219 <th colspan="2"><?php esc_html_e( 'PHP', 'everest-forms' ); ?></th>
220 </tr>
221 <tr>
222 <th>
223 <?php
224 $plugin_data = get_plugin_data( $plugin_file, array( 'RequiresPHP' => 'Requires PHP' ) );
225 $min_version_php = $plugin_data['RequiresPHP'];
226 esc_html_e( 'Version', 'everest-forms' );
227 if ( is_plugin_active( 'everest-forms-pro/everest-forms-pro.php' ) ) {
228 echo esc_html( '(Min:' . $min_version_php . ')' );
229 } elseif ( is_plugin_active( 'everest-forms/everest-forms.php' ) ) {
230 echo ' ';
231 }
232 ?>
233 </th>
234 <td><?php echo esc_html( phpversion() ); ?></td>
235 </tr>
236 <tr>
237 <th><?php esc_html_e( 'Default Timezone', 'everest-forms' ); ?></th>
238 <td><?php echo esc_html( date_default_timezone_get() ); ?></td>
239 </tr>
240 <tr>
241 <th><?php esc_html_e( 'Max Execution Time', 'everest-forms' ); ?></th>
242 <td><?php echo esc_html( ini_get( 'max_execution_time' ) ); ?></td>
243 </tr>
244 <tr>
245 <th><?php esc_html_e( 'Memory Limit', 'everest-forms' ); ?></th>
246 <td><?php echo esc_html( ini_get( 'memory_limit' ) ); ?></td>
247 </tr>
248 <tr>
249 <th><?php esc_html_e( 'Max Upload Size', 'everest-forms' ); ?></th>
250 <td><?php echo esc_html( ini_get( 'upload_max_filesize' ) ); ?></td>
251 </tr>
252 <tr>
253 <th><?php esc_html_e( 'Max Input Variables', 'everest-forms' ); ?></th>
254 <td><?php echo esc_html( ini_get( 'max_input_vars' ) ); ?></td>
255 </tr>
256 <tr>
257 <th><?php esc_html_e( 'SMTP Hostname', 'everest-forms' ); ?></th>
258 <td><?php echo esc_html( ini_get( 'SMTP' ) ); ?></td>
259 </tr>
260 <tr>
261 <th><?php esc_html_e( 'SMTP Port', 'everest-forms' ); ?></th>
262 <td><?php echo esc_html( ini_get( 'smtp_port' ) ); ?></td>
263 </tr>
264 <!-- Web Server -->
265 <tr>
266 <th colspan="2"><?php esc_html_e( 'Web Server', 'everest-forms' ); ?></th>
267 </tr>
268 <tr>
269 <th><?php esc_html_e( 'Name', 'everest-forms' ); ?></th>
270 <td>
271 <?php
272 $remote_addr = isset( $_SERVER['SERVER_NAME'] ) ? sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ) : '';
273 echo esc_html( $remote_addr );
274 ?>
275 </td>
276 </tr>
277 <tr>
278 <th><?php esc_html_e( 'IP', 'everest-forms' ); ?></th>
279 <td>
280 <?php
281 $remote_addr = isset( $_SERVER['REMOTE_ADDR'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REMOTE_ADDR'] ) ) : '';
282 echo esc_html( $remote_addr );
283 ?>
284 </td>
285 </tr>
286 <!-- MySQL -->
287 <tr>
288 <th colspan="2"><?php esc_html_e( 'MySQL', 'everest-forms' ); ?></th>
289 </tr>
290 <tr>
291 <th><?php esc_html_e( 'Version', 'everest-forms' ); ?></th>
292 <td>
293 <?php
294 global $wpdb;
295 echo esc_html( $wpdb->db_version() );
296 ?>
297 </td>
298 </tr>
299 <tr>
300 <th><?php esc_html_e( 'Max Allowed Packet', 'everest-forms' ); ?></th>
301 <td>
302 <?php
303 $max_packet_size_bytes = array(
304 'label' => __( 'Max allowed packet size', 'everest-forms' ),
305 'value' => WP_Debug_Data::get_mysql_var( 'max_allowed_packet' ),
306 );
307
308 $info['wp-database']['fields']['max_allowed_packet'] = $max_packet_size_bytes;
309
310 $maxp_mb = isset( $max_packet_size_bytes['value'] ) ? $max_packet_size_bytes['value'] / 1024 / 1024 : '';
311 echo esc_html( $maxp_mb ) . ' MB';
312
313 ?>
314 </td>
315 </tr>
316 </table>
317 </div>
318