WordPress.org

Ready to get started?Download WordPress

Forums

images in the comments section? (2 posts)

  1. Anonymous
    Unregistered
    Posted 9 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.
    tom

  2. Anonymous
    Unregistered
    Posted 9 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

Tags

No tags yet.