mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
feat: Add Store API Cart-Token compatibility and session handler improvements (#954)
* feat: Add Store API Cart-Token compatibility and session handler improvements * chore: Linter compliances met * chore: linter compliances met * chore: linter compliances met
This commit is contained in:
@@ -299,7 +299,7 @@ if ( ! function_exists( 'woographql_create_nonce' ) ) :
|
||||
/**
|
||||
* Creates WPGraphQL for WooCommerce session transfer nonces.
|
||||
*
|
||||
* @param string|int $action Nonce name.
|
||||
* @param string|-1 $action Nonce name.
|
||||
*
|
||||
* @return string The nonce.
|
||||
*/
|
||||
@@ -316,8 +316,8 @@ if ( ! function_exists( 'woographql_verify_nonce' ) ) :
|
||||
/**
|
||||
* Validate WPGraphQL for WooCommerce session transfer nonces.
|
||||
*
|
||||
* @param string $nonce Nonce to validated.
|
||||
* @param integer|string $action Nonce name.
|
||||
* @param string $nonce Nonce to validated.
|
||||
* @param string|-1 $action Nonce name.
|
||||
*
|
||||
* @return false|int
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user