WordPress.org

Forums

[Plugin: Comment Form Quicktags] What is purpose of the code tag? (2 posts)

  1. CallUp
    Member
    Posted 5 years ago #

    I was just curious what is the purpose of the code tag? Does it allow your users to run javascript and programs within their comments?

    Thanks for your help.

    http://wordpress.org/extend/plugins/comment-form-quicktags/

  2. Regen
    Member
    Posted 5 years ago #

    The code tag cannot run any program such as Javascript. Instead, the script tag is used for this purpose.
    The code tag is used for showing that its content is not text but code.
    WordPress removes the script tags so there is no security problem.

Topic Closed

This topic has been closed to new replies.

About this Topic