We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff3582 commit e2bff23Copy full SHA for e2bff23
includes/admin/feedzy-rss-feeds-admin.php
@@ -2521,8 +2521,10 @@ public function add_black_friday_data( $configs ) {
2521
*/
2522
public function validate_feed() {
2523
try {
2524
- if ( ! isset( $_POST['nonce'] ) ||
2525
- ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), FEEDZY_BASEFILE ) ) {
+ if (
+ ! isset( $_POST['nonce'] ) ||
2526
+ ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), FEEDZY_BASEFILE )
2527
+ ) {
2528
wp_send_json_error( array( 'message' => __( 'Security check failed.', 'feedzy-rss-feeds' ) ) );
2529
}
2530
0 commit comments