Entry Id verification failed. Hash does not match.
-
The custom_field variable is created twice, once with the entry ID and a hashed entry ID and the other with the entry ID and the current timestamp.
Line 751 – $custom_field = $entry[‘id’] . ‘|’ . wp_hash( $entry[‘id’] );
Line 772 – $custom_field = $entry[‘id’] . ‘-‘ . $time_stamp;In the get_entry function, there is a validation to ensure the entry ID has not been tampered with:
Line 1667 – list( $entry_id, $hash ) = explode( ‘|’, $custom_field );
Line 1668 – $hash_matches = wp_hash( $entry_id ) == $hash;The second setting of $custom_field on line 772 is causing the issue. Is the line on 772 safe to remove?
- The topic ‘Entry Id verification failed. Hash does not match.’ is closed to new replies.