Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
e2ca83d
HTML API: Fix grammar in WP_HTML_Active_Formatting_Elements::count() …
sirreal Jun 1, 2026
10fa6c9
HTML API: Fix grammar in WP_HTML_Open_Elements::count() docblock.
sirreal Jun 1, 2026
cedb241
HTML API: Add missing comma in WP_HTML_Processor class docblock.
sirreal Jun 1, 2026
40af083
HTML API: Add missing comma in WP_HTML_Processor::get_last_error() do…
sirreal Jun 1, 2026
ef2f483
HTML API: Fix punctuation in WP_HTML_Processor::expects_closer() docb…
sirreal Jun 1, 2026
4db0be7
HTML API: Fix punctuation in serialize_token() docblock.
sirreal Jun 1, 2026
e292a93
HTML API: Fix capitalization of "HTML" in WP_HTML_Tag_Processor docbl…
sirreal Jun 1, 2026
91414a6
HTML API: Remove extra word in WP_HTML_Tag_Processor docblock.
sirreal Jun 1, 2026
1ce6d3f
HTML API: Fix typo "do no exist" in WP_HTML_Tag_Processor docblock.
sirreal Jun 1, 2026
abfbfa0
HTML API: Remove duplicate word in QUIRKS_MODE description.
sirreal Jun 1, 2026
7a14a38
HTML API: Fix typo "closing to tag" in WP_HTML_Tag_Processor.
sirreal Jun 1, 2026
50cd2f2
HTML API: Fix subject-verb agreement in replacement sorting comment.
sirreal Jun 1, 2026
3d93924
HTML API: Fix verb tense in funky comments docblock.
sirreal Jun 1, 2026
b1e6c4a
Tests: HTML API: Fix typo "case-insentivity" in test_next_tag_lowerca…
sirreal Jun 1, 2026
98baee0
Tests: HTML API: Fix typo "unpected" in serialize assertion.
sirreal Jun 1, 2026
685c767
Tests: HTML API: Fix typo "Deprectated" in breadcrumbs test.
sirreal Jun 1, 2026
220bef0
Tests: HTML API: Fix typo "instriction" in comment test data.
sirreal Jun 1, 2026
e0a0e97
Tests: HTML API: Fix grammar "Verifies what when" to "Verifies that w…
sirreal Jun 1, 2026
41f520b
Tests: HTML API: Fix typo "BLOCKQOUTE" in list element tests.
sirreal Jun 1, 2026
ceebce8
Tests: HTML API: Fix typo "Compete document" in bookmark test data.
sirreal Jun 1, 2026
96d81fe
Tests: HTML API: Fix typo "subesequent" in remove_class assertion mes…
sirreal Jun 1, 2026
5a35fcf
Tests: HTML API: Fix grammar "why modifying" to "when modifying".
sirreal Jun 1, 2026
8b6b3e9
docs: fix src/wp-includes/html-api/class-wp-html-attribute-token.php
sirreal Jun 1, 2026
bc2ac1b
docs: fix src/wp-includes/html-api/class-wp-html-decoder.php
sirreal Jun 1, 2026
2861d93
docs: fix src/wp-includes/html-api/class-wp-html-doctype-info.php
sirreal Jun 1, 2026
d749176
docs: fix src/wp-includes/html-api/class-wp-html-open-elements.php
sirreal Jun 1, 2026
e10db88
docs: fix src/wp-includes/html-api/class-wp-html-processor.php
sirreal Jun 1, 2026
cbd9b41
docs: fix src/wp-includes/html-api/class-wp-html-tag-processor.php
sirreal Jun 1, 2026
7ffb517
docs: fix src/wp-includes/html-api/class-wp-html-token.php
sirreal Jun 1, 2026
3b7debd
docs: fix tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php
sirreal Jun 1, 2026
e65f38b
docs: fix tests/phpunit/tests/html-api/wpHtmlTagProcessor.php
sirreal Jun 1, 2026
9d9494b
Merge branch 'html-api/docs-review-fix' into html-api/docs-fixes
sirreal Jun 1, 2026
f3cab0d
Fix carriage return and line feed symbols
sirreal Jun 1, 2026
251ace2
Correct array|Generator type
sirreal Jun 1, 2026
af2c0dc
Use preferred get_updated_html() method in docs
sirreal Jun 1, 2026
9f9939c
Merge branch 'trunk' into html-api/docs-fixes
sirreal Jun 2, 2026
93fe077
Merge branch 'trunk' into html-api/docs-fixes
sirreal Jun 8, 2026
b5a7592
Merge branch 'trunk' into html-api/docs-fixes
sirreal Jun 9, 2026
bc98388
Merge branch 'trunk' into html-api/docs-fixes
sirreal Jun 9, 2026
00014ea
Use detailed Generator type annotation
sirreal Jun 16, 2026
944ebc3
Merge branch 'trunk' into html-api/docs-fixes
sirreal Jun 16, 2026
c1cc035
Improve document mode description and correctness
sirreal Jun 16, 2026
d3c7b82
remove redundant doctype compat mode language
sirreal Jun 16, 2026
4588a38
Remove some comma additions
sirreal Jun 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
HTML API: Fix punctuation in serialize_token() docblock.
Adds commas to separate the conditions in the compound conditional describing when an empty string is returned.
  • Loading branch information
sirreal committed Jun 1, 2026
commit 4db0be79cde4d15a90fb3dacdaf65ca4b8858376
2 changes: 1 addition & 1 deletion src/wp-includes/html-api/class-wp-html-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ public function serialize(): ?string {
* Serializes the currently-matched token.
*
* This method produces a fully-normative HTML string for the currently-matched token,
* if able. If not matched at any token or if the token doesn't correspond to any HTML
* if able. If not matched at any token, or if the token doesn't correspond to any HTML,
* it will return an empty string (for example, presumptuous end tags are ignored).
*
* @see static::serialize()
Expand Down