Changeset 58245
- Timestamp:
- 05/30/2024 05:21:00 AM (21 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
r58244 r58245 1798 1798 * 1799 1799 * @since 5.9.0 1800 * @since 6.6.0 Added early return if missing scope or selector. 1800 1801 * 1801 1802 * @param string $scope Selector to scope to. … … 1804 1805 */ 1805 1806 public static function scope_selector( $scope, $selector ) { 1807 if ( ! $scope || ! $selector ) { 1808 return $selector; 1809 } 1810 1806 1811 $scopes = explode( ',', $scope ); 1807 1812 $selectors = explode( ',', $selector );
Note: See TracChangeset
for help on using the changeset viewer.