Make WordPress Core

Ticket #22442: 22442.diff

File 22442.diff, 559 bytes (added by themedios, 12 years ago)

Diff file for adding target blank in plugins description

  • wp-admin/includes/plugin.php

     
    138138                'em'      => true,
    139139                'strong'  => true,
    140140        );
    141         $allowed_tags['a'] = array( 'href' => true, 'title' => true );
     141        $allowed_tags['a'] = array( 'href' => true, 'title' => true, 'target' => true );
    142142
    143143        // Name is marked up inside <a> tags. Don't allow these.
    144144        // Author is too, but some plugins have used <a> here (omitting Author URI).