WordPress/wp-content/themes/twentytwenty/classes
Felix Arntz 26ab805ad4 Twenty Twenty: Avoid PHP warnings in 8.1 due to incorrect usage of `wp_add_inline_style()`.
This changeset adjusts the logic to use a more defensive approach, to avoid passing potentially invalid values to `wp_add_inline_style()`.

Props flixos90, mukesh27, costdev, swissspidy, poena, sabernhardt.
Fixes #57777.

Built from https://develop.svn.wordpress.org/trunk@55427


git-svn-id: http://core.svn.wordpress.org/trunk@54960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-02-27 17:32:18 +00:00
..
class-twentytwenty-customize.php Bundled Theme: Ensure logo displays in Customizer previewer. 2021-11-05 22:20:58 +00:00
class-twentytwenty-non-latin-languages.php Twenty Twenty: Avoid PHP warnings in 8.1 due to incorrect usage of `wp_add_inline_style()`. 2023-02-27 17:32:18 +00:00
class-twentytwenty-script-loader.php Twenty Twenty: Add missing documentation for some filters. 2021-07-03 09:14:58 +00:00
class-twentytwenty-separator-control.php Twenty Twenty: Add missing documentation for some filters. 2021-07-03 09:14:58 +00:00
class-twentytwenty-svg-icons.php Bundled Themes: Add Mastodon domains for menu item icons. 2023-01-13 13:19:13 +00:00
class-twentytwenty-walker-comment.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-twentytwenty-walker-page.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00