Skip to content

Commit ddb5195

Browse files
authored
Change deprecated method is_graphql_http_request (#667)
to is_graphql_http_request
1 parent ae56a35 commit ddb5195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-woocommerce-filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function setup() {
4444
* @return string
4545
*/
4646
public static function woocommerce_session_handler( $session_class ) {
47-
if ( \WPGraphQL\Router::is_graphql_request() ) {
47+
if ( \WPGraphQL\Router::is_graphql_http_request() ) {
4848
$session_class = '\WPGraphQL\WooCommerce\Utils\QL_Session_Handler';
4949
}
5050

0 commit comments

Comments
 (0)