Changeset 55907
- Timestamp:
- 06/12/2023 11:20:58 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r55727 r55907 790 790 */ 791 791 protected static function append_to_selector( $selector, $to_append, $position = 'right' ) { 792 if ( ! str_contains( $selector, ',' ) ) { 793 return 'right' === $position ? $selector . $to_append : $to_append . $selector; 794 } 792 795 $new_selectors = array(); 793 796 $selectors = explode( ',', $selector );
Note: See TracChangeset
for help on using the changeset viewer.