Make WordPress Core

Opened 9 months ago

Closed 8 months ago

Last modified 4 months ago

#59268 closed enhancement (fixed)

HTML API: Store current token reference in HTML Processor state.

Reported by: dmsnell's profile dmsnell Owned by: bernhard-reiter's profile Bernhard Reiter
Milestone: 6.4 Priority: normal
Severity: normal Version: 6.4
Component: HTML API Keywords: has-patch
Focuses: Cc:

Description

The $current_token reference has been stored in the HTML Processor itself, but @bernhardtreiter suggested that we move it into the externalized state so that it can be stored and replaced.

In this patch the reference is moved to that state variable and it should become more possible to save and load state, to resume execution after pausing.

Change History (4)

This ticket was mentioned in PR #5127 on WordPress/wordpress-develop by @dmsnell.


9 months ago
#1

Trac ticket: #59268

The $current_token reference has been stored in the HTML Processor itself, but @bernhardtreiter suggested in #{ticket number} that we move it into the externalized state so that it can be stored and replaced.

In this patch the reference is moved to that state variable and it should become more possible to save and load state, to resume execution after pausing.

#2 @Bernhard Reiter
8 months ago

  • Owner set to Bernhard Reiter
  • Resolution set to fixed
  • Status changed from new to closed

In 56558:

HTML API: Store current token reference in HTML Processor state.

The $current_token reference has been stored in the HTML Processor itself, but I suggested to move it into the externalized state so that it can be stored and replaced.

In this patch the reference is moved to that state variable and it should become more possible to save and load state, to resume execution after pausing.

Props dmsnell.
Fixes #59268.

#4 @swissspidy
4 months ago

  • Milestone changed from Awaiting Review to 6.4
Note: See TracTickets for help on using tickets.