Skip to content

Commit 05e9d88

Browse files
Fix PHP 8.2+ dynamic property deprecation warnings in Kucrut_Form_Field class
Co-authored-by: HardeepAsrani <2649903+HardeepAsrani@users.noreply.github.com>
1 parent 965af14 commit 05e9d88

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

includes/library/form-fields.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ abstract class Kucrut_Form_Field {
7575
'multiple',
7676
);
7777

78+
/**
79+
* URL path to this directory
80+
*
81+
* @since 0.1.0
82+
* @var string
83+
* @access protected
84+
*/
85+
protected static $url_path;
86+
7887
/**
7988
* Holds allowed html tags
8089
*
@@ -114,6 +123,15 @@ abstract class Kucrut_Form_Field {
114123
*/
115124
protected $attributes = array();
116125

126+
/**
127+
* Holds field arguments
128+
*
129+
* @since 0.1.0
130+
* @var object
131+
* @access protected
132+
*/
133+
protected $args;
134+
117135

118136
/**
119137
* Loader

0 commit comments

Comments
 (0)