Typo in verify_nonce()

This commit is contained in:
Gregory K 2013-09-25 08:12:48 -04:00
parent ef49977905
commit 4ff46b96e0
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ final class WooCommerce {
*/
public function verify_nonce( $action, $method = '_POST', $error_message = false ) {
_deprecated_function( 'Woocommerce->verify_nonce', '2.1', 'WC_Nonce_Helper->verify_nonce' );
return wp_verify_nonce( $$_method[ '_wpnonce' ], 'woocommerce-' . $action );
return wp_verify_nonce( $$method[ '_wpnonce' ], 'woocommerce-' . $action );
}
/**