Skip to content

Commit f9767f9

Browse files
committed
Fixed issue in logic which determined if this was a valid request to delete an entry.
1 parent dbe7806 commit f9767f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp-post-content-merge-tags/gppcmt-delete-entry-link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
$allowed_form_ids = array( 123 );
2424

25-
if ( ! isset( $_GET['gppcmt-action'] ) || $_GET['gppcmt-action'] === 'delete' || isset( $_GET['eid'] ) || $_GET['eid'] ) {
25+
if ( ! isset( $_GET['gppcmt-action'] ) || $_GET['gppcmt-action'] !== 'delete' || ! isset( $_GET['eid'] ) || ! $_GET['eid'] ) {
2626
return;
2727
}
2828

0 commit comments

Comments
 (0)