| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: Formidable Forms |
| 4 | 4 | Description: Quickly and easily create drag-and-drop forms |
| 5 | -Version: 6.3 | |
| 5 | +Version: 5.0 | |
| 6 | 6 | Plugin URI: https://formidableforms.com/ |
| 7 | 7 | Author URI: https://formidableforms.com/ |
| 8 | -Author: Strategy11 Form Builder Team | |
| 8 | +Author: Strategy11 | |
| 9 | 9 | Text Domain: formidable |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | /* |
| @@ -26,11 +26,8 @@ | ||
| 26 | 26 | die( 'You are not allowed to call this page directly.' ); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | add_action( 'plugins_loaded', 'load_formidable_forms', 0 ); |
| 30 | -/** | |
| 31 | - * @return void | |
| 32 | - */ | |
| 33 | 30 | function load_formidable_forms() { |
| 34 | 31 | global $frm_vars; |
| 35 | 32 | $frm_vars = array( |
| 36 | 33 | 'load_css' => false, |
| @@ -55,11 +52,8 @@ | ||
| 55 | 52 | |
| 56 | 53 | // Add the autoloader |
| 57 | 54 | spl_autoload_register( 'frm_forms_autoloader' ); |
| 58 | 55 | |
| 59 | -/** | |
| 60 | - * @return void | |
| 61 | - */ | |
| 62 | 56 | function frm_forms_autoloader( $class_name ) { |
| 63 | 57 | // Only load Frm classes here |
| 64 | 58 | if ( ! preg_match( '/^Frm.+$/', $class_name ) || preg_match( '/^FrmPro.+$/', $class_name ) ) { |
| 65 | 59 | return; |
| @@ -71,10 +65,8 @@ | ||
| 71 | 65 | /** |
| 72 | 66 | * Autoload the Formidable and Pro classes |
| 73 | 67 | * |
| 74 | 68 | * @since 3.0 |
| 75 | - * | |
| 76 | - * @return void | |
| 77 | 69 | */ |
| 78 | 70 | function frm_class_autoloader( $class_name, $filepath ) { |
| 79 | 71 | $deprecated = array( 'FrmEntryFormat', 'FrmPointers', 'FrmEDD_SL_Plugin_Updater' ); |
| 80 | 72 | $is_deprecated = in_array( $class_name, $deprecated ) || preg_match( '/^.+Deprecate/', $class_name ); |
| @@ -104,11 +96,8 @@ | ||
| 104 | 96 | } |
| 105 | 97 | } |
| 106 | 98 | |
| 107 | 99 | add_action( 'activate_' . FrmAppHelper::plugin_folder() . '/formidable.php', 'frm_maybe_install' ); |
| 108 | -/** | |
| 109 | - * @return void | |
| 110 | - */ | |
| 111 | 100 | function frm_maybe_install() { |
| 112 | 101 | if ( get_transient( FrmWelcomeController::$option_name ) !== 'no' ) { |
| 113 | 102 | set_transient( FrmWelcomeController::$option_name, FrmWelcomeController::$menu_slug, 60 ); |
| 114 | 103 | } |