[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:01:06 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 swissspidy):

 @flixos90 not at my computer right now, so that return type is purely
 based on what static analysis / IDE provides. Since intput buffers could
 be modified by something else, I wouldn‘t rely on a string return type
 personally

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57777#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list