diff --git a/Lib/Appsero/Insights.php b/Lib/Appsero/Insights.php index 95f4e59b9..efc99c5b8 100644 --- a/Lib/Appsero/Insights.php +++ b/Lib/Appsero/Insights.php @@ -65,7 +65,7 @@ public function __construct($client, $name = null, $file = null) /** * Don't show the notice * - * @return \self + * @return self */ public function hide_notice() { @@ -77,7 +77,7 @@ public function hide_notice() /** * Add plugin data if needed * - * @return \self + * @return self */ public function add_plugin_data() { @@ -91,7 +91,7 @@ public function add_plugin_data() * * @param array $data * - * @return \self + * @return self */ public function add_extra($data = []) { @@ -105,7 +105,7 @@ public function add_extra($data = []) * * @param string $text * - * @return \self + * @return self */ public function notice($text = '') { diff --git a/Lib/invisible_recaptcha.php b/Lib/invisible_recaptcha.php index 5f32073b2..ec365aa69 100644 --- a/Lib/invisible_recaptcha.php +++ b/Lib/invisible_recaptcha.php @@ -16,12 +16,13 @@ * */ +#[AllowDynamicProperties] class Invisible_Recaptcha{ private static $_signupUrl = "https://www.google.com/recaptcha/admin"; public function __construct( $site_key, $secret_key ){ - + if ( $secret_key == null || $secret_key == "" ) { die("To use reCAPTCHA you must get an API key from " . self::$_signupUrl . ""); @@ -32,7 +33,7 @@ public function __construct( $site_key, $secret_key ){ ); } - + public function verifyResponse($recaptcha){ $remoteIp = $this->getIPAddress(); diff --git a/admin/class-admin-settings.php b/admin/class-admin-settings.php index 9c3a1cea6..1aaa7163b 100644 --- a/admin/class-admin-settings.php +++ b/admin/class-admin-settings.php @@ -3,26 +3,28 @@ /** * WPUF settings */ + +#[AllowDynamicProperties] class WPUF_Admin_Settings { /** * Settings API * - * @var \WeDevs_Settings_API + * @var WeDevs_Settings_API */ private $settings_api; /** * Static instance of this class * - * @var \self + * @var self */ private static $_instance; /** * Public instance of this class * - * @var \self + * @var self */ public $subscribers_list_table_obj; diff --git a/admin/form-builder/assets/js/components/field-visibility/template.php b/admin/form-builder/assets/js/components/field-visibility/template.php index e560d002e..661c65781 100644 --- a/admin/form-builder/assets/js/components/field-visibility/template.php +++ b/admin/form-builder/assets/js/components/field-visibility/template.php @@ -13,7 +13,9 @@
- +