[wp-trac] [WordPress Trac] #57777: Twenty Twenty: Deprecation warnings on PHP 8.1 because of `wp_add_inline_style()`
WordPress Trac
noreply at wordpress.org
Thu Feb 23 22:36:01 UTC 2023
#57777: Twenty Twenty: Deprecation warnings on PHP 8.1 because of
`wp_add_inline_style()`
---------------------------+---------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+---------------------
Comment (by sabernhardt):
These functions are pluggable, so you technically could have anything in
the output.
I have not set up a site with PHP 8.1 to test
[https://github.com/sabernhardt/wordpress-develop/pull/20/files my patch],
but the conditional statements could be more thorough and check all three
instances of each function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57777#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list