Skip to content

Commit

Permalink
Restore private stack properties to private
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Nov 6, 2024
1 parent d5a7d5c commit b95e402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WP_HTML_Active_Formatting_Elements {
*
* @var WP_HTML_Token[]
*/
public $stack = array();
private $stack = array();

/**
* Reports if a specific node is in the stack of active formatting elements.
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/html-api/class-wp-html-open-elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class WP_HTML_Open_Elements {
*
* @var bool
*/
public $has_p_in_button_scope = false;
private $has_p_in_button_scope = false;

/**
* A function that will be called when an item is popped off the stack of open elements.
Expand Down

0 comments on commit b95e402

Please sign in to comment.