Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#59268 closed enhancement (fixed)

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

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

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.


3 years 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
3 years ago

  • Owner set to Bernhard Reiter
  • Resolution → fixed
  • Status new → 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
3 years ago

  • Milestone Awaiting Review → 6.4
Note: See TracTickets for help on using tickets.