get_post() returns last post id for a not found url
For a 404 url the get_post() always returns the last post.
or when I prints the get_the_ID()response it gives me the post id of the last post.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Thank you for registering with WPTricks