Tags are shown even though the post is protected (1 post)

  1. Hannes
    Posted 7 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic