Support » Requests and Feedback » Tags are shown even though the post is protected

  • In my theme I display the tags under each post. I have a protected post and I just noticed that you can see the tags even though you don’t have access to the post (you haven’t typed in the password).

    Isn’t this somewhat of a “security breach”? Isn’t it logical that if I want to protect a post I don’t want the tags for that post to be public?

    Can I put an if statement around the “get_the_tag_list” to prevent tags from displaying under protected posts?

  • The topic ‘Tags are shown even though the post is protected’ is closed to new replies.