WordPress.org

Make WordPress Core

Changeset 40633


Ignore:
Timestamp:
05/11/2017 07:15:30 PM (14 months ago)
Author:
ocean90
Message:

Plugins: Don't strip line breaks and blockquote elements in the plugin information modal.

Fixes #40679.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r40570 r40633  
    28182818}
    28192819
     2820#plugin-information blockquote {
     2821    border-left: 2px solid #ddd;
     2822    color: #666;
     2823    font-style: italic;
     2824    margin: 1em 0;
     2825    padding: 0 0 0 1em;
     2826}
     2827
    28202828/* rtl:ignore */
    28212829#plugin-information .review {
  • trunk/src/wp-admin/includes/plugin-install.php

    r39325 r40633  
    481481        'code' => array(), 'pre' => array(), 'em' => array(), 'strong' => array(),
    482482        'div' => array( 'class' => array() ), 'span' => array( 'class' => array() ),
    483         'p' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(),
     483        'p' => array(), 'br' => array(), 'ul' => array(), 'ol' => array(), 'li' => array(),
    484484        'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(),
    485         'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() )
     485        'img' => array( 'src' => array(), 'class' => array(), 'alt' => array() ),
     486        'blockquote' => array( 'cite' => true ),
    486487    );
    487488
Note: See TracChangeset for help on using the changeset viewer.