| @@ -263,8 +263,9 @@ | ||
| 263 | 263 | /** |
| 264 | 264 | * Localize admin scripts. |
| 265 | 265 | * |
| 266 | 266 | * @since 2.25.3 Add nonce for payment note AJAX requests. |
| 267 | + * @since 4.15.4 Add nonce for give_set_notification_status AJAX request. | |
| 267 | 268 | */ |
| 268 | 269 | public function admin_localize_scripts() { |
| 269 | 270 | |
| 270 | 271 | global $post; |
| @@ -393,10 +394,12 @@ | ||
| 393 | 394 | 'give_donation_import_nonce' => wp_create_nonce('give_donation_import'), |
| 394 | 395 | 'give_subscription_import' => 'give_subscription_import', |
| 395 | 396 | 'give_subscription_import_nonce' => wp_create_nonce('give_subscription_import'), |
| 396 | 397 | 'core_settings_import' => 'give_core_settings_import', |
| 397 | - 'give_insert_payment_note_nonce' => wp_create_nonce('give_insert_payment_note'), | |
| 398 | - 'give_delete_payment_note_nonce' => wp_create_nonce('give_delete_payment_note'), | |
| 398 | + 'core_settings_import_nonce' => wp_create_nonce('give_core_settings_import'), | |
| 399 | + 'give_insert_payment_note_nonce' => wp_create_nonce('give_insert_payment_note'), | |
| 400 | + 'give_delete_payment_note_nonce' => wp_create_nonce('give_delete_payment_note'), | |
| 401 | + 'give_set_notification_status_nonce' => wp_create_nonce('give_set_notification_status'), | |
| 399 | 402 | 'setting_not_save_message' => __( 'Changes you made may not be saved.', 'give' ), |
| 400 | 403 | 'give_donation_amounts' => [ |
| 401 | 404 | 'minimum' => apply_filters( 'give_donation_minimum_limit', 1 ), |
| 402 | 405 | 'maximum' => apply_filters( 'give_donation_maximum_limit', 999999.99 ), |