WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] IMG tag in comments breaks numbering sequence (2 posts)

  1. Blogesque
    Member
    Posted 7 years ago #

    I'm not sure that title is really clear, so go to this link to see what I mean.

    http://www.blogesque.com/?p=473#comment-1012

    The comment before to the one with the image is #11, so the next one should be #12. Instead, it's #5 and is indented further than the rest of the comments are.

    To allow the IMG function, I added the following to MY-HACKS.PHP (the first 3 were already there):


    $allowedtags = Array(
    'ol' => array(),
    'ul' => array(),
    'li' => array(),
    'img' => array(),
    'src' => array(),
    'border' => array(),
    'vspace' => array(),
    'hspace' => array(),
    'align' => array(),
    'title' => array(),
    );
    define('CUSTOM_TAGS', true);

    This is the only change I made, and I didn't mess with KSES itself at all. What's causing this?

  2. Blogesque
    Member
    Posted 7 years ago #

    Never mind, I figured it out. Missing tag. Duh.

Topic Closed

This topic has been closed to new replies.

About this Topic