-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Backport: Avoid warning for non-string class attributes. #71594
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
Backport: Avoid warning for non-string class attributes. #71594
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
bd1ecb6 to
d994faf
Compare
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Github-PR: 71594 Github-PR-URL: #71594 Branch-name: backport/block-supports-background-non-string-attribute-check
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Github-PR: 71594 Github-PR-URL: #71594 Branch-name: backport/block-supports-background-non-string-attribute-check
d994faf to
8ca7cfa
Compare
|
Flaky tests detected in 54564ab. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/17633178357
|
Mamaduka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @dmsnell!
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Github-PR: 71594 Github-PR-URL: #71594 Branch-name: backport/block-supports-background-non-string-attribute-check
8ca7cfa to
2ef54b7
Compare
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Co-authored-by: George Mamadashvili <[email protected]> Github-PR: 71594 Github-PR-URL: #71594 Branch-name: backport/block-supports-background-non-string-attribute-check Trac-ticket: 59622
2ef54b7 to
54564ab
Compare
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Co-authored-by: George Mamadashvili <[email protected]> Github-PR: 71594 Github-PR-URL: WordPress#71594 Branch-name: backport/block-supports-background-non-string-attribute-check Trac-ticket: 59622
Trac ticket: Core-59622 This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the `class` attribute when rendering background support for blocks. This check avoids issuing a warning when a boolean `true` value of the attribute is passed on to `str_ends_with()`. Co-authored-by: Tonya Mork <[email protected]> Co-authored-by: Peter Wilson <[email protected]> Co-authored-by: Jon Surrell <[email protected]> Co-authored-by: George Mamadashvili <[email protected]> Github-PR: 71594 Github-PR-URL: WordPress/gutenberg#71594 Branch-name: backport/block-supports-background-non-string-attribute-check Trac-ticket: 59622 Source: WordPress/gutenberg@54564ab
Trac ticket: Core-59622
This is a backport of WordPress/wordpress-develop#5486, which introduces an additional check for non-string values of the
classattribute when rendering background support for blocks.This check avoids issuing a warning when a boolean
truevalue of the attribute is passed on tostr_ends_with().