Make WordPress Core

Changeset 10790


Ignore:
Timestamp:
03/15/2009 01:09:25 PM (17 years ago)
Author:
azaozz
Message:

Add some styling to plugins descriptions when installing

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin-install.php

    r10788 r10790  
    251251    $plugins_allowedtags = array('a' => array('href' => array(),'title' => array(), 'target' => array()),
    252252                                'abbr' => array('title' => array()),'acronym' => array('title' => array()),
    253                                 'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array());
     253                                'code' => array(), 'pre' => array(), 'em' => array(),'strong' => array(),
     254                                'ul' => array(), 'ol' => array(), 'li' => array(), 'p' => array(), 'br' => array());
    254255
    255256?>
     
    344345                    </div>
    345346                </td>
    346                 <td class="desc"><p><?php echo $description, $author; ?></p></td>
     347                <td class="desc"><?php echo $description, $author; ?></td>
    347348                <td class="action-links"><?php if ( !empty($action_links) ) echo implode(' | ', $action_links); ?></td>
    348349            </tr>
  • trunk/wp-admin/wp-admin.css

    r10641 r10790  
    1414    margin: 0 4px;
    1515    padding: 0;
     16}
     17
     18.plugins .desc p {
     19    margin: 0 0 10px;
     20}
     21
     22.plugins td.desc {
     23    line-height: 1.5em;
     24}
     25
     26.plugins .desc ul,
     27.plugins .desc ol {
     28    margin: 0 0 0 2em;
     29}
     30
     31.plugins .desc ul {
     32    list-style-type: disc;
    1633}
    1734
Note: See TracChangeset for help on using the changeset viewer.