Make WordPress Core

Ticket #44225: 44225.diff

File 44225.diff, 636 bytes (added by subrataemfluence, 7 years ago)
  • plugin.php

    diff --git a/plugin.php /src/wp-admin/includes/plugin.php
    index 7e660f0..05bb9cb 100755
    old new function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup 
    143143        }
    144144
    145145        // Sanitize fields
    146         $allowed_tags      = $allowed_tags_in_links = array(
     146
     147        $allowed_tags_in_links = array(
    147148                'abbr'    => array( 'title' => true ),
    148149                'acronym' => array( 'title' => true ),
    149150                'code'    => true,
    150151                'em'      => true,
    151152                'strong'  => true,
    152153        );
     154
     155        $allowed_tags      = $allowed_tags_in_links;
    153156        $allowed_tags['a'] = array(
    154157                'href'  => true,
    155158                'title' => true,