PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 1.07.11
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v1.07.11
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / deprecated.php

deprecated.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 1.07.11, at deprecated.php

35 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // 1.07.02
4 define('FRM_PATH', dirname( __FILE__ ));
5
6 global $frm_siteurl; //deprecated: use FrmAppHelper::site_url()
7 $frm_siteurl = site_url();
8 if(is_ssl() and (!preg_match('/^https:\/\/.*\..*$/', $frm_siteurl) or !preg_match('/^https:\/\/.*\..*$/', WP_PLUGIN_URL))){
9 $frm_siteurl = str_replace('http://', 'https://', $frm_siteurl);
10 define('FRM_URL', str_replace('http://', 'https://', WP_PLUGIN_URL.'/formidable'));
11 }else{
12 define('FRM_URL', WP_PLUGIN_URL.'/formidable'); //deprecated: use FrmAppHelper::plugin_url()
13 }
14
15 global $frm_version, $frm_ajax_url;
16 $frm_version = FrmAppHelper::plugin_version(); //deprecated: use FrmAppHelper::plugin_version()
17 $frm_ajax_url = admin_url('admin-ajax.php');
18
19 global $frmpro_is_installed;
20 $frmpro_is_installed = FrmAppController::pro_is_installed();
21
22 // 1.07.05
23 if ( class_exists('FrmProEntry') ) {
24 global $frmpro_entry;
25 global $frmpro_entry_meta;
26 global $frmpro_field;
27 global $frmpro_form;
28
29 $frmpro_entry = new FrmProEntry();
30 $frmpro_entry_meta = new FrmProEntryMeta();
31 $frmpro_field = new FrmProField();
32 $frmpro_form = new FrmProForm();
33
34 new FrmProDb();
35 }