[wp-trac] [WordPress Trac] #26674: The get_tag_regex() function is a too greedy when searching for a closing tag.
WordPress Trac
noreply at wordpress.org
Sun Feb 1 12:42:35 UTC 2026
#26674: The get_tag_regex() function is a too greedy when searching for a closing
tag.
-------------------------------------+---------------------
Reporter: kopepasah | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Formatting | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+---------------------
Changes (by r1k0):
* keywords: has-patch needs-testing needs-refresh => has-patch needs-
refresh
Comment:
The [https://core.trac.wordpress.org/attachment/ticket/26674/26674.patch
patch] fails to apply. Testing is not necessary at this time, removed
`needs-testing` and a refresh is more appropriate.
=== Error:
{{{
Running
"patch:https://core.trac.wordpress.org/attachment/ticket/26674/26674.patch"
(patch) task
patching file wp-includes/functions.php
Hunk #1 FAILED at 4116.
1 out of 1 hunk FAILED -- saving rejects to file wp-
includes/functions.php.rej
can't find file to patch at input line 21
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|
|
|
|Index: tests/phpunit/tests/media.php
|===================================================================
|--- tests/phpunit/tests/media.php (revision 26862)
|+++ tests/phpunit/tests/media.php (working copy)
--------------------------
File to patch:
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26674#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list