| @@ -11,17 +11,10 @@ | ||
| 11 | 11 | |
| 12 | 12 | add_submenu_page( 'formidable', 'Formidable | ' . __( 'Global Settings', 'formidable' ), __( 'Global Settings', 'formidable' ), 'frm_change_settings', 'formidable-settings', 'FrmSettingsController::route' ); |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | - /** | |
| 16 | - * Include license box template on demand. | |
| 17 | - * | |
| 18 | - * @return void | |
| 19 | - */ | |
| 20 | 15 | public static function license_box() { |
| 21 | - if ( ! current_user_can( 'activate_plugins' ) ) { | |
| 22 | - return; | |
| 23 | - } | |
| 16 | + $a = FrmAppHelper::simple_get( 't', 'sanitize_title', 'general_settings' ); | |
| 24 | 17 | include( FrmAppHelper::plugin_path() . '/classes/views/frm-settings/license_box.php' ); |
| 25 | 18 | } |
| 26 | 19 | |
| 27 | 20 | public static function display_form( $errors = array(), $message = '' ) { |
| @@ -380,11 +373,11 @@ | ||
| 380 | 373 | wp_send_json( $results ); |
| 381 | 374 | } |
| 382 | 375 | |
| 383 | 376 | /** |
| 384 | - * @deprecated 6.0 use FrmSettingsController::captcha_settings(). | |
| 377 | + * @deprecated x.x use FrmSettingsController::captcha_settings(). | |
| 385 | 378 | */ |
| 386 | 379 | public static function recaptcha_settings() { |
| 387 | - _deprecated_function( __FUNCTION__, '6.0', 'FrmSettingsController::captcha_settings()' ); | |
| 380 | + _deprecated_function( __FUNCTION__, 'x.x', 'FrmSettingsController::captcha_settings()' ); | |
| 388 | 381 | self::captcha_settings(); |
| 389 | 382 | } |
| 390 | 383 | } |