Skip to content

Conversation

@tjcafferkey
Copy link
Collaborator

Adds hooked blocks metadata attributes to the template content when preparing the response.

Trac ticket: https://core.trac.wordpress.org/ticket/59574


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@tjcafferkey tjcafferkey added the enhancement New feature or request label Mar 28, 2024
@tjcafferkey tjcafferkey self-assigned this Mar 28, 2024
@tjcafferkey tjcafferkey deleted the add-hooked-blocks-metadata-attribute-to-template-response branch March 28, 2024 11:17
ockham pushed a commit that referenced this pull request Aug 21, 2024
…Info screen.

This resolves a fatal error if `strict_types` PHP setting is enabled:
{{{
Argument #1 ($num) must be of type float, string given
}}}

Since the goal of the Site Health Info screen is to display raw values where possible, the `number_format()` call here does not seem to provide any benefit.

Props krishneup, sabernhardt, audrasjb, SergeyBiryukov.
Fixes #60364.

git-svn-id: https://develop.svn.wordpress.org/trunk@58847 602fd350-edb4-49c9-b593-d223f7449a82
ockham pushed a commit that referenced this pull request Nov 12, 2024
…ord()`.

This resolves a "passing null to non-nullable" deprecation notice on PHP 8.1+:
{{{
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated
}}}

Follow-up to [50129], [54477].

Props afragen, peterwilsoncc, SergeyBiryukov.
Fixes #62298.

git-svn-id: https://develop.svn.wordpress.org/trunk@59312 602fd350-edb4-49c9-b593-d223f7449a82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants