Skip to content

Commit fb4e505

Browse files
committed
Fix notice
1 parent 679e3d2 commit fb4e505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-includes/local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ public function sync_to_wordpress_org_overview() {
938938
$modified_after = $last_submission;
939939
}
940940
}
941-
if ( wp_verify_nonce( $_POST['_wpnonce'], 'sync_translations' ) && isset( $_POST['modified_after'] ) ) {
941+
if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'sync_translations' ) && isset( $_POST['modified_after'] ) ) {
942942
$modified_after = $_POST['modified_after'];
943943
} elseif ( isset( $_GET['modified_after'] ) ) {
944944
$modified_after = $_GET['modified_after'];

0 commit comments

Comments
 (0)