File tree Expand file tree Collapse file tree 3 files changed +52
-52
lines changed Expand file tree Collapse file tree 3 files changed +52
-52
lines changed Original file line number Diff line number Diff line change 4
4
*
5
5
* @package WordPress
6
6
* @subpackage HTML
7
- * @since 6.1 .0
7
+ * @since 6.2 .0
8
8
*/
9
9
10
10
/**
13
13
* This class is for internal usage of the WP_HTML_Tag_Processor class.
14
14
*
15
15
* @access private
16
- * @since 6.1 .0
16
+ * @since 6.2 .0
17
17
*
18
18
* @see WP_HTML_Tag_Processor
19
19
*/
20
20
class WP_HTML_Attribute_Token {
21
21
/**
22
22
* Attribute name.
23
23
*
24
- * @since 6.1 .0
24
+ * @since 6.2 .0
25
25
* @var string
26
26
*/
27
27
public $ name ;
28
28
29
29
/**
30
30
* Attribute value.
31
31
*
32
- * @since 6.1 .0
32
+ * @since 6.2 .0
33
33
* @var int
34
34
*/
35
35
public $ value_starts_at ;
36
36
37
37
/**
38
38
* How many bytes the value occupies in the input HTML.
39
39
*
40
- * @since 6.1 .0
40
+ * @since 6.2 .0
41
41
* @var int
42
42
*/
43
43
public $ value_length ;
44
44
45
45
/**
46
46
* The string offset where the attribute name starts.
47
47
*
48
- * @since 6.1 .0
48
+ * @since 6.2 .0
49
49
* @var int
50
50
*/
51
51
public $ start ;
52
52
53
53
/**
54
54
* The string offset after the attribute value or its name.
55
55
*
56
- * @since 6.1 .0
56
+ * @since 6.2 .0
57
57
* @var int
58
58
*/
59
59
public $ end ;
60
60
61
61
/**
62
62
* Whether the attribute is a boolean attribute with value `true`.
63
63
*
64
- * @since 6.1 .0
64
+ * @since 6.2 .0
65
65
* @var bool
66
66
*/
67
67
public $ is_true ;
68
68
69
69
/**
70
70
* Constructor.
71
71
*
72
- * @since 6.1 .0
72
+ * @since 6.2 .0
73
73
*
74
74
* @param string $name Attribute name.
75
75
* @param int $value_start Attribute value.
You can’t perform that action at this time.
0 commit comments