[wp-trac] [WordPress Trac] #62085: HTML API: Stop counting no-op seek operations against the quota.
WordPress Trac
noreply at wordpress.org
Thu Sep 19 21:52:28 UTC 2024
#62085: HTML API: Stop counting no-op seek operations against the quota.
-------------------------+--------------------
Reporter: dmsnell | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.7
Component: HTML API | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+--------------------
The HTML Tag Processor limits how many times `seek()` may be called. This
is in place to guard against accidental infinite loops introduced by code
which might bounce between bookmarks in an unintentional cycle.
Some code might call `seek()` on a bookmark where the internal cursor
already is. Since a seek to the current locations involves essentially no
processing, and is less likely to be the result of an unseen cycle, the
HTML Tag Processor should ignore these calls against the quota.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62085>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list