Make WordPress Core

Ticket #7908: 7908.diff

File 7908.diff, 2.2 KB (added by DD32, 17 years ago)
  • wp-admin/css/colors-fresh.css

     
    816816        background-color: #cee1ef;
    817817}
    818818
     819#plugin-information pre, #plugin-information code {
     820        background-color: #ededff;
     821}
     822
     823#plugin-information pre {
     824        border: 1px solid #ccc;
     825}
     826
    819827/* inline editor */
    820828.inline-editor input,
    821829.inline-editor textarea,
  • wp-admin/css/plugin-install.css

     
    132132        padding-bottom: 2em;
    133133}
    134134
    135 #plugin-information .updated {
     135#plugin-information .updated,
     136#plugin-information pre {
    136137        margin-right: 215px;
    137138}
     139 No newline at end of file
  • wp-admin/includes/plugin-install.php

     
    255255
    256256        $plugins_allowedtags = array('a' => array('href' => array(),'title' => array(), 'target' => array()),
    257257                                                                'abbr' => array('title' => array()),'acronym' => array('title' => array()),
    258                                                                 'code' => array(),'em' => array(),'strong' => array());
     258                                                                'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array());
    259259
    260260?>
    261261        <div class="tablenav">
     
    381381
    382382        $plugins_allowedtags = array('a' => array('href' => array(), 'title' => array(), 'target' => array()),
    383383                                                                'abbr' => array('title' => array()), 'acronym' => array('title' => array()),
    384                                                                 'code' => array(), 'em' => array(), 'strong' => array(), 'div' => array(),
    385                                                                 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array());
     384                                                                'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(),
     385                                                                'div' => array(), 'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array());
    386386        //Sanitize HTML
    387387        foreach ( (array)$api->sections as $section_name => $content )
    388388                $api->sections[$section_name] = wp_kses($content, $plugins_allowedtags);