Changeset 55987
- Timestamp:
- 06/22/2023 02:12:09 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r55986 r55987 3496 3496 $token_in = '|'; 3497 3497 $token_out = '--'; 3498 if ( 0 === strpos( $value, $prefix ) ) {3498 if ( str_starts_with( $value, $prefix ) ) { 3499 3499 $unwrapped_name = str_replace( 3500 3500 $token_in, … … 3520 3520 3521 3521 foreach ( $tree as $key => $data ) { 3522 if ( is_string( $data ) && 0 === strpos( $data, $prefix ) ) {3522 if ( is_string( $data ) && str_starts_with( $data, $prefix ) ) { 3523 3523 $tree[ $key ] = self::convert_custom_properties( $data ); 3524 3524 } elseif ( is_array( $data ) ) {
Note: See TracChangeset
for help on using the changeset viewer.