Skip to content

Commit b95e402

Browse files
committed
Restore private stack properties to private
1 parent d5a7d5c commit b95e402

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/html-api/class-wp-html-active-formatting-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class WP_HTML_Active_Formatting_Elements {
4141
*
4242
* @var WP_HTML_Token[]
4343
*/
44-
public $stack = array();
44+
private $stack = array();
4545

4646
/**
4747
* Reports if a specific node is in the stack of active formatting elements.

src/wp-includes/html-api/class-wp-html-open-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class WP_HTML_Open_Elements {
4949
*
5050
* @var bool
5151
*/
52-
public $has_p_in_button_scope = false;
52+
private $has_p_in_button_scope = false;
5353

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

0 commit comments

Comments
 (0)