[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 21:46:23 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: | Focuses:
---------------------------+---------------------
Comment (by flixos90):
@swissspidy I know this isn't the main concern here, but can you clarify
in which circumstances `twentytwenty_get_customizer_css()` could return
`false`? I fail to see it when looking at the code. Wouldn't
`ob_get_clean()` always return a string as long as there is an output
buffer (which there will be given the unconditional `ob_start()` call
before)?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57777#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list