WordPress.org

Make WordPress Core

Ticket #17977: kses-patch.diff

File kses-patch.diff, 358 bytes (added by joostdevalk, 7 years ago)

Patch of KSES filter to allow rel attribute on links.

  • wp-includes/kses.php

     
    403403        $allowedtags = array(
    404404                'a' => array(
    405405                        'href' => array (),
     406                        'rel' => array (),
    406407                        'title' => array ()),
    407408                'abbr' => array(
    408409                        'title' => array ()),