images in the comments section? (2 posts)

  1. Anonymous
    Posted 11 years ago #

    does anyone know if it is possible to insert images in the comments with use of
    img src tag?
    basically what I am asking is what I need to do to make the img src tag allowable
    in the comments postings.

  2. Anonymous
    Posted 11 years ago #

    you need to edit the wp-includes/kses.php file and add an entry like this to the array of allowed html code.
    'img' => array(
    'src' => array(),
    'title' => array(),
    'alt' => array()),
    apparently you could redfine the whole thing in my-hacks.php if you like and not touch your kses.php.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.