Changeset 61566
- Timestamp:
- 01/30/2026 12:51:46 PM (4 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
class-wp-http-requests-response.php (modified) (1 diff)
-
class-wp-http.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-http-requests-response.php
r61403 r61566 156 156 * @since 4.6.0 157 157 * 158 * @return WP_H TTP_Cookie[] List of cookie objects.158 * @return WP_Http_Cookie[] List of cookie objects. 159 159 */ 160 160 public function get_cookies() { -
trunk/src/wp-includes/class-wp-http.php
r61435 r61566 162 162 * @type string|false $message HTTP response message. 163 163 * } 164 * @type WP_H TTP_Cookie[] $cookies Array of cookies set by the server.164 * @type WP_Http_Cookie[] $cookies Array of cookies set by the server. 165 165 * @type string|null $filename Optional. Filename of the response. 166 166 * @type WP_HTTP_Requests_Response|null $http_response Response object. … … 805 805 public static function buildCookieHeader( &$r ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid 806 806 if ( ! empty( $r['cookies'] ) ) { 807 // Upgrade any name => value cookie pairs to WP_H TTP_Cookie instances.807 // Upgrade any name => value cookie pairs to WP_Http_Cookie instances. 808 808 foreach ( $r['cookies'] as $name => $value ) { 809 809 if ( ! is_object( $value ) ) {
Note: See TracChangeset
for help on using the changeset viewer.