WordPress/wp-content/themes
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
..
twentyeleven Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentyfifteen Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
twentyfourteen Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentynineteen Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentyseventeen Twenty Seventeen: Mark one more screen reader string with a translator comment. 2023-02-24 15:26:18 +00:00
twentysixteen Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
twentyten Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentythirteen Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentytwelve Coding Standards: Use strict comparison in bundled themes' PHP files. 2023-02-24 06:23:23 +00:00
twentytwenty 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
twentytwentyone Help/About: Use a consistent capitalization for "Support forums" links across WP Admin. 2023-02-23 11:13:22 +00:00
twentytwentythree Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
twentytwentytwo Help/About: Use the new `/documentation/` URLs for HelpHub links in Bundled Themes. 2023-02-23 10:49:19 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00