WordPress.org

Support

Support » How-To and Troubleshooting » URLs in comments stripped

URLs in comments stripped

  • Hello there, I’m using WordPress 1.5.2 and URLs in the comments (in the form of a href) get stripped for no apparent reason.

    My kses.php file seems to be right:

    // You can override this in your my-hacks.php file
    if (!CUSTOM_TAGS) {
    $allowedtags = array(
    'a' => array(
    'href' => array(),
    'title' => array()
    ),
    'abbr' => array('title' => array()),
    'acronym' => array('title' => array()),
    'b' => array(),
    'blockquote' => array('cite' => array()),
    // 'br' => array(),
    'code' => array(),
    // 'del' => array('datetime' => array()),
    // 'dd' => array(),
    // 'dl' => array(),
    // 'dt' => array(),
    'em' => array(),
    'i' => array(),
    // 'ins' => array('datetime' => array(), 'cite' => array()),
    // 'li' => array(),
    // 'ol' => array(),
    // 'p' => array(),
    // 'q' => array(),
    'strike' => array(),
    'strong' => array(),
    // 'sub' => array(),
    // 'sup' => array(),
    // 'u' => array(),
    // 'ul' => array(),
    );

    So the question is… what’s wrong here?

    I’d appreciate your help — thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URLs in comments stripped’ is closed to new replies.