Changeset 58742
- Timestamp:
- 07/17/2024 12:51:34 AM (8 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-token-map.php
r58281 r58742 521 521 * @since 6.6.0 522 522 * 523 * @param string $text String in which to search for a lookup key. 524 * @param int $offset Optional. How many bytes into the string where the lookup key ought to start. Default 0. 525 * @param ?int &$matched_token_byte_length Optional. Holds byte-length of found token matched, otherwise not set. Default null. 526 * @param string $case_sensitivity Optional. Pass 'ascii-case-insensitive' to ignore ASCII case when matching. Default 'case-sensitive'. 523 * @param string $text String in which to search for a lookup key. 524 * @param int $offset Optional. How many bytes into the string where the lookup key ought to start. Default 0. 525 * @param int|null &$matched_token_byte_length Optional. Holds byte-length of found token matched, otherwise not set. Default null. 526 * @param string $case_sensitivity Optional. Pass 'ascii-case-insensitive' to ignore ASCII case when matching. Default 'case-sensitive'. 527 * 527 528 * @return string|null Mapped value of lookup key if found, otherwise `null`. 528 529 */ -
trunk/src/wp-includes/functions.php
r58715 r58742 7498 7498 * @since 6.6.0 7499 7499 * 7500 * @param ?string $blog_charset Slug representing a text character encoding, or "charset". 7501 * E.g. "UTF-8", "Windows-1252", "ISO-8859-1", "SJIS". 7500 * @param string|null $blog_charset Optional. Slug representing a text character encoding, or "charset". 7501 * E.g. "UTF-8", "Windows-1252", "ISO-8859-1", "SJIS". 7502 * Default value is to infer from "blog_charset" option. 7502 7503 * @return bool Whether the slug represents the UTF-8 encoding. 7503 7504 */ -
trunk/src/wp-includes/html-api/class-wp-html-open-elements.php
r58677 r58742 500 500 * @since 6.5.0 Accepts $above_this_node to start traversal above a given node, if it exists. 501 501 * 502 * @param ?WP_HTML_Token $above_this_node Start traversing above this node, if provided and if the node exists. 502 * @param WP_HTML_Token|null $above_this_node Optional. Start traversing above this node, 503 * if provided and if the node exists. 503 504 */ 504 505 public function walk_up( $above_this_node = null ) { -
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r58714 r58742 242 242 * @since 6.6.0 243 243 * 244 * @var ?WP_HTML_Stack_Event244 * @var WP_HTML_Stack_Event|null 245 245 */ 246 246 private $current_element = null; … … 249 249 * Context node if created as a fragment parser. 250 250 * 251 * @var ?WP_HTML_Token251 * @var WP_HTML_Token|null 252 252 */ 253 253 private $context_node = null; … … 753 753 * SVG and MathML namespace. 754 754 * 755 * @param ?WP_HTML_Token $node Node to examine instead of current node, if provided. 756 * @return bool Whether to expect a closer for the currently-matched node, 757 * or `null` if not matched on any token. 755 * @param WP_HTML_Token|null $node Optional. Node to examine, if provided. 756 * Default is to examine current node. 757 * @return bool|null Whether to expect a closer for the currently-matched node, 758 * or `null` if not matched on any token. 758 759 */ 759 760 public function expects_closer( $node = null ) { -
trunk/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php
r58733 r58742 276 276 * Represents which section of the test case is being parsed. 277 277 * 278 * @var ?string278 * @var string|null 279 279 */ 280 280 $state = null;
Note: See TracChangeset
for help on using the changeset viewer.