Skip to content

Commit

Permalink
Schedule for 6.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Jun 13, 2023
1 parent 99a86d8 commit bb55b96
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage HTML-API
* @since {WP_VERSION}
* @since 6.4.0
*/

/**
Expand All @@ -26,7 +26,7 @@
* > is associated with the token for which it was created, so that
* > further elements can be created for that token if necessary.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @access private
*
Expand All @@ -37,7 +37,7 @@ class WP_HTML_Active_Formatting_Elements {
/**
* Holds the stack of active formatting element references.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @var WP_HTML_Token[]
*/
Expand All @@ -46,7 +46,7 @@ class WP_HTML_Active_Formatting_Elements {
/**
* Reports if a specific node is in the stack of active formatting elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @param WP_HTML_Token $token Look for this node in the stack.
* @return bool Whether the referenced node is in the stack of active formatting elements.
Expand All @@ -65,7 +65,7 @@ public function contains_node( $token ) {
/**
* Returns how many nodes are currently in the stack of active formatting elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @return int How many node are in the stack of active formatting elements.
*/
Expand All @@ -77,7 +77,7 @@ public function count() {
* Returns the node at the end of the stack of active formatting elements,
* if one exists. If the stack is empty, returns null.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @return WP_HTML_Token|null Last node in the stack of active formatting elements, if one exists, otherwise null.
*/
Expand All @@ -90,7 +90,7 @@ public function current_node() {
/**
* Pushes a node onto the stack of active formatting elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#push-onto-the-list-of-active-formatting-elements
*
Expand All @@ -116,7 +116,7 @@ public function push( $token ) {
/**
* Removes a node from the stack of active formatting elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @param WP_HTML_Token $token Remove this node from the stack, if it's there already.
*/
Expand Down Expand Up @@ -146,7 +146,7 @@ public function remove_node( $token ) {
* To start with the most-recently added element and walk towards the top,
* @see WP_HTML_Active_Formatting_Elements::walk_up
*
* @since {WP_VERSION}
* @since 6.4.0
*/
public function walk_down() {
$count = count( $this->stack );
Expand All @@ -173,7 +173,7 @@ public function walk_down() {
* To start with the first added element and walk towards the bottom,
* @see WP_HTML_Active_Formatting_Elements::walk_down
*
* @since {WP_VERSION}
* @since 6.4.0
*/
public function walk_up() {
for ( $i = count( $this->stack ) - 1; $i >= 0; $i-- ) {
Expand Down
30 changes: 15 additions & 15 deletions src/wp-includes/html-api/class-wp-html-open-elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage HTML-API
* @since {WP_VERSION}
* @since 6.4.0
*/

/**
Expand All @@ -20,7 +20,7 @@
* > is manipulated in a random access fashion as part of the handling
* > for misnested tags).
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @access private
*
Expand Down Expand Up @@ -50,7 +50,7 @@ class WP_HTML_Open_Elements {
/**
* Reports if a specific node is in the stack of open elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @param WP_HTML_Token $token Look for this node in the stack.
* @return bool Whether the referenced node is in the stack of open elements.
Expand All @@ -69,7 +69,7 @@ public function contains_node( $token ) {
/**
* Returns how many nodes are currently in the stack of open elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @return int How many node are in the stack of open elements.
*/
Expand All @@ -81,7 +81,7 @@ public function count() {
* Returns the node at the end of the stack of open elements,
* if one exists. If the stack is empty, returns null.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @return WP_HTML_Token|null Last node in the stack of active formatting elements, if one exists, otherwise null.
*/
Expand All @@ -99,7 +99,7 @@ public function current_node() {
* This function skips checking for the termination list because there
* are no supported elements which appear in the termination list.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#has-an-element-in-the-specific-scope
*
Expand All @@ -120,7 +120,7 @@ public function has_element_in_specific_scope( $tag_name, $termination_list ) {
/**
* Returns whether a particular element is in scope.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#has-an-element-in-scope
*
Expand All @@ -139,7 +139,7 @@ public function has_element_in_scope( $tag_name ) {
/**
* Returns whether a particular element is in BUTTON scope.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#has-an-element-in-button-scope
*
Expand All @@ -158,7 +158,7 @@ public function has_element_in_button_scope( $tag_name ) {
/**
* Returns whether a P is in BUTTON scope.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#has-an-element-in-button-scope
*
Expand All @@ -171,7 +171,7 @@ public function has_p_in_button_scope() {
/**
* Pops a node off of the stack of open elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#stack-of-open-elements
*
Expand Down Expand Up @@ -201,7 +201,7 @@ public function pop() {
* Repeatedly pop nodes off of the stack of open elements
* until one of the given tag name has been popped.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see WP_HTML_Open_Elements::pop
*
Expand All @@ -223,7 +223,7 @@ public function pop_until( $tag_name ) {
/**
* Pushes a node onto the stack of open elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#stack-of-open-elements
*
Expand All @@ -246,7 +246,7 @@ public function push( $stack_item ) {
/**
* Removes a specific node from the stack of open elements.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @param WP_HTML_Token $token The node to remove from the stack of open elements.
* @return bool Whether the node was found and removed from the stack of open elements.
Expand Down Expand Up @@ -280,7 +280,7 @@ public function remove_node( $token ) {
* To start with the most-recently added element and walk towards the top,
* @see WP_HTML_Open_Elements::walk_up
*
* @since {WP_VERSION}
* @since 6.4.0
*/
public function walk_down() {
$count = count( $this->stack );
Expand All @@ -307,7 +307,7 @@ public function walk_down() {
* To start with the first added element and walk towards the bottom,
* @see WP_HTML_Open_Elements::walk_down
*
* @since {WP_VERSION}
* @since 6.4.0
*/
public function walk_up() {
for ( $i = count( $this->stack ) - 1; $i >= 0; $i-- ) {
Expand Down
18 changes: 9 additions & 9 deletions src/wp-includes/html-api/class-wp-html-processor-state.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage HTML-API
* @since {WP_VERSION}
* @since 6.4.0
*/

/**
Expand All @@ -13,7 +13,7 @@
*
* This class is designed for internal use by the HTML processor.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @access private
*
Expand All @@ -38,7 +38,7 @@ class WP_HTML_Processor_State {
/**
* Initial insertion mode for full HTML parser.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#the-initial-insertion-mode
* @see WP_HTML_Processor_State::$insertion_mode
Expand All @@ -50,7 +50,7 @@ class WP_HTML_Processor_State {
/**
* In body insertion mode for full HTML parser.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#parsing-main-inbody
* @see WP_HTML_Processor_State::$insertion_mode
Expand All @@ -64,7 +64,7 @@ class WP_HTML_Processor_State {
*
* This property is initialized in the constructor and never null.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#stack-of-open-elements
*
Expand All @@ -77,7 +77,7 @@ class WP_HTML_Processor_State {
*
* This property is initialized in the constructor and never null.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#list-of-active-formatting-elements
*
Expand All @@ -88,7 +88,7 @@ class WP_HTML_Processor_State {
/**
* Tree construction insertion mode.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#insertion-mode
*
Expand All @@ -99,7 +99,7 @@ class WP_HTML_Processor_State {
/**
* Context node initializing fragment parser, if created as a fragment parser.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see https://html.spec.whatwg.org/#concept-frag-parse-context
*
Expand All @@ -110,7 +110,7 @@ class WP_HTML_Processor_State {
/**
* Constructor - creates a new and empty state value.
*
* @since {WP_VERSION}
* @since 6.4.0
*
* @see WP_HTML_Processor
*/
Expand Down
Loading

0 comments on commit bb55b96

Please sign in to comment.