Skip to content

Commit

Permalink
scraping error text while in normal operation v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg-Git committed Sep 28, 2024
1 parent ee07336 commit 10cf660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@ function wp_start_scraping_edited_file_errors() {
$key = substr( sanitize_key( wp_unslash( $_REQUEST['wp_scrape_key'] ) ), 0, 32 );
$nonce = wp_unslash( $_REQUEST['wp_scrape_nonce'] );

if ( empty( $_REQUEST['wp_scrape_key'] ) || empty( $_REQUEST['wp_scrape_nonce'] ) ) {
if ( empty( $key ) || empty( $nonce ) ) {
return;
}

Expand Down

0 comments on commit 10cf660

Please sign in to comment.