Support » Plugins » images in the comments section?

  • trc4949

    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.

Viewing 1 replies (of 1 total)
  • Anonymous

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘images in the comments section?’ is closed to new replies.