Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Sep 1, 2023

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.

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.
@dmsnell dmsnell force-pushed the html-api/store-current-token-in-html-processor-state branch from 365ae89 to 41e0f0b Compare September 5, 2023 17:54
@ockham
Copy link
Contributor

ockham commented Sep 12, 2023

Committed to Core in https://core.trac.wordpress.org/changeset/56558.

@ockham ockham closed this Sep 12, 2023
@dmsnell dmsnell deleted the html-api/store-current-token-in-html-processor-state branch September 12, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants