Changeset 59453
- Timestamp:
- 11/22/2024 07:17:35 PM (9 days ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r59043 r59453 416 416 */ 417 417 function array_key_first( array $array ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.arrayFound 418 if ( empty( $array ) ) { 419 return null; 420 } 421 418 422 foreach ( $array as $key => $value ) { 419 423 return $key; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r59115 r59453 1650 1650 } 1651 1651 } 1652 1653 return null; 1652 1654 } 1653 1655
Note: See TracChangeset
for help on using the changeset viewer.