diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 7212ae71ad..6e88828cef 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -1540,7 +1540,7 @@ class WP_Http_Cookie { if ( empty( $this->name ) || empty( $this->value ) ) return ''; - return $this->name . '=' . urlencode( $this->value ); + return $this->name . '=' . apply_filters( 'wp_http_cookie_value', $this->value, $this-name ); } /**