[wp-trac] [WordPress Trac] #58467: `wp_get_global_styles`: return the standard format for CSS Custom Properties

WordPress Trac noreply at wordpress.org
Wed Jun 21 08:35:14 UTC 2023


#58467: `wp_get_global_styles`: return the standard format for CSS Custom
Properties
--------------------------------------+------------------------
 Reporter:  oandregal                 |       Owner:  oandregal
     Type:  defect (bug)              |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.3
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by spacedmonkey):

 @oandregal Do you mind changing `0 === strpos( $value, $prefix )` to
 `str_contains`? We are trying to get rid of usage of `strpos`. See #58206.

 CC @SergeyBiryukov

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


More information about the wp-trac mailing list