- Timestamp:
- 06/25/2024 03:09:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-stack-event.php
r58304 r58558 58 58 59 59 /** 60 * Indicates if the stack element is a real or virtual node. 61 * 62 * @since 6.6.0 63 * 64 * @var string 65 */ 66 public $provenance; 67 68 /** 60 69 * Constructor function. 61 70 * 62 * @param WP_HTML_Token $token Token associated with stack event, always an opening token. 63 * @param string $operation One of self::PUSH or self::POP. 71 * @since 6.6.0 72 * 73 * @param WP_HTML_Token $token Token associated with stack event, always an opening token. 74 * @param string $operation One of self::PUSH or self::POP. 75 * @param string $provenance "virtual" or "real". 64 76 */ 65 public function __construct( $token, $operation ) { 66 $this->token = $token; 67 $this->operation = $operation; 77 public function __construct( $token, $operation, $provenance ) { 78 $this->token = $token; 79 $this->operation = $operation; 80 $this->provenance = $provenance; 68 81 } 69 82 }
Note:
See TracChangeset
for help on using the changeset viewer.