44 *
55 * @package WordPress
66 * @subpackage HTML-API
7- * @since {WP_VERSION}
7+ * @since 6.4.0
88 */
99
1010/**
2020 * > is manipulated in a random access fashion as part of the handling
2121 * > for misnested tags).
2222 *
23- * @since {WP_VERSION}
23+ * @since 6.4.0
2424 *
2525 * @access private
2626 *
@@ -50,7 +50,7 @@ class WP_HTML_Open_Elements {
5050 /**
5151 * Reports if a specific node is in the stack of open elements.
5252 *
53- * @since {WP_VERSION}
53+ * @since 6.4.0
5454 *
5555 * @param WP_HTML_Token $token Look for this node in the stack.
5656 * @return bool Whether the referenced node is in the stack of open elements.
@@ -69,7 +69,7 @@ public function contains_node( $token ) {
6969 /**
7070 * Returns how many nodes are currently in the stack of open elements.
7171 *
72- * @since {WP_VERSION}
72+ * @since 6.4.0
7373 *
7474 * @return int How many node are in the stack of open elements.
7575 */
@@ -81,7 +81,7 @@ public function count() {
8181 * Returns the node at the end of the stack of open elements,
8282 * if one exists. If the stack is empty, returns null.
8383 *
84- * @since {WP_VERSION}
84+ * @since 6.4.0
8585 *
8686 * @return WP_HTML_Token|null Last node in the stack of active formatting elements, if one exists, otherwise null.
8787 */
@@ -99,7 +99,7 @@ public function current_node() {
9999 * This function skips checking for the termination list because there
100100 * are no supported elements which appear in the termination list.
101101 *
102- * @since {WP_VERSION}
102+ * @since 6.4.0
103103 *
104104 * @see https://html.spec.whatwg.org/#has-an-element-in-the-specific-scope
105105 *
@@ -120,7 +120,7 @@ public function has_element_in_specific_scope( $tag_name, $termination_list ) {
120120 /**
121121 * Returns whether a particular element is in scope.
122122 *
123- * @since {WP_VERSION}
123+ * @since 6.4.0
124124 *
125125 * @see https://html.spec.whatwg.org/#has-an-element-in-scope
126126 *
@@ -139,7 +139,7 @@ public function has_element_in_scope( $tag_name ) {
139139 /**
140140 * Returns whether a particular element is in BUTTON scope.
141141 *
142- * @since {WP_VERSION}
142+ * @since 6.4.0
143143 *
144144 * @see https://html.spec.whatwg.org/#has-an-element-in-button-scope
145145 *
@@ -158,7 +158,7 @@ public function has_element_in_button_scope( $tag_name ) {
158158 /**
159159 * Returns whether a P is in BUTTON scope.
160160 *
161- * @since {WP_VERSION}
161+ * @since 6.4.0
162162 *
163163 * @see https://html.spec.whatwg.org/#has-an-element-in-button-scope
164164 *
@@ -171,7 +171,7 @@ public function has_p_in_button_scope() {
171171 /**
172172 * Pops a node off of the stack of open elements.
173173 *
174- * @since {WP_VERSION}
174+ * @since 6.4.0
175175 *
176176 * @see https://html.spec.whatwg.org/#stack-of-open-elements
177177 *
@@ -201,7 +201,7 @@ public function pop() {
201201 * Repeatedly pop nodes off of the stack of open elements
202202 * until one of the given tag name has been popped.
203203 *
204- * @since {WP_VERSION}
204+ * @since 6.4.0
205205 *
206206 * @see WP_HTML_Open_Elements::pop
207207 *
@@ -223,7 +223,7 @@ public function pop_until( $tag_name ) {
223223 /**
224224 * Pushes a node onto the stack of open elements.
225225 *
226- * @since {WP_VERSION}
226+ * @since 6.4.0
227227 *
228228 * @see https://html.spec.whatwg.org/#stack-of-open-elements
229229 *
@@ -246,7 +246,7 @@ public function push( $stack_item ) {
246246 /**
247247 * Removes a specific node from the stack of open elements.
248248 *
249- * @since {WP_VERSION}
249+ * @since 6.4.0
250250 *
251251 * @param WP_HTML_Token $token The node to remove from the stack of open elements.
252252 * @return bool Whether the node was found and removed from the stack of open elements.
@@ -280,7 +280,7 @@ public function remove_node( $token ) {
280280 * To start with the most-recently added element and walk towards the top,
281281 * @see WP_HTML_Open_Elements::walk_up
282282 *
283- * @since {WP_VERSION}
283+ * @since 6.4.0
284284 */
285285 public function walk_down () {
286286 $ count = count ( $ this ->stack );
@@ -307,7 +307,7 @@ public function walk_down() {
307307 * To start with the first added element and walk towards the bottom,
308308 * @see WP_HTML_Open_Elements::walk_down
309309 *
310- * @since {WP_VERSION}
310+ * @since 6.4.0
311311 */
312312 public function walk_up () {
313313 for ( $ i = count ( $ this ->stack ) - 1 ; $ i >= 0 ; $ i -- ) {
0 commit comments