Changeset 55650
- Timestamp:
- 04/13/2023 03:41:18 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r54997 r55650 373 373 374 374 // If we have a numeric $capabilities array, spoof a wp_remote_request() associative $args array. 375 if ( $count && count( array_filter( array_keys( $capabilities ), 'is_numeric' ) ) == $count ) {375 if ( $count && count( array_filter( array_keys( $capabilities ), 'is_numeric' ) ) === $count ) { 376 376 $capabilities = array_combine( array_values( $capabilities ), array_fill( 0, $count, true ) ); 377 377 }
Note: See TracChangeset
for help on using the changeset viewer.