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:
Geoff Taylor
2025-11-15 19:02:41 -05:00
committed by GitHub
parent 57af02500e
commit bde70cb72e
16 changed files with 648 additions and 65 deletions
+3 -3
View File
@@ -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
*/