Changeset 60409
- Timestamp:
- 07/04/2025 07:58:58 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-theme-json.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r60055 r60409 2782 2782 foreach ( $theme_json['styles']['blocks'][ $name ]['elements'] as $element => $node ) { 2783 2783 $node_path = array( 'styles', 'blocks', $name, 'elements', $element ); 2784 2784 2785 if ( $include_node_paths_only ) { 2785 2786 $nodes[] = array( … … 2799 2800 if ( isset( $theme_json['styles']['blocks'][ $name ]['elements'][ $element ][ $pseudo_selector ] ) ) { 2800 2801 $node_path = array( 'styles', 'blocks', $name, 'elements', $element ); 2801 if ( $include_node_paths_only ) {2802 $nodes[] = array(2803 'path' => $node_path,2804 );2805 continue;2806 }2807 2802 2808 2803 $nodes[] = array(
Note: See TracChangeset
for help on using the changeset viewer.