Make "refresh subscriptions" nonce available to WooCommerce Admin
This commit is contained in:
parent
69929ba050
commit
3320f581f3
|
@ -234,6 +234,9 @@ class Settings {
|
|||
$settings['allowMarketplaceSuggestions'] = WC_Marketplace_Suggestions::allow_suggestions();
|
||||
$settings['connectNonce'] = wp_create_nonce( 'connect' );
|
||||
$settings['wcpay_welcome_page_connect_nonce'] = wp_create_nonce( 'wcpay-connect' );
|
||||
$settings['wc_helper_nonces'] = array(
|
||||
'refresh' => wp_create_nonce( 'refresh' ),
|
||||
);
|
||||
|
||||
$settings['features'] = $this->get_features();
|
||||
|
||||
|
|
Loading…
Reference in New Issue