Making WordPress.org

Changeset 3348


Ignore:
Timestamp:
06/14/2016 08:52:48 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Support markdown in plugin short descriptions.

See #1724

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-readme-parser.php

    r3326 r3348  
    243243
    244244        // Markdownify!
    245         $this->sections       = array_map( array( $this, 'parse_markdown' ), $this->sections );
    246         $this->upgrade_notice = array_map( array( $this, 'parse_markdown' ), $this->upgrade_notice );
     245        $this->short_description = $this->parse_markdown( $this->short_description );
     246        $this->sections          = array_map( array( $this, 'parse_markdown' ), $this->sections );
     247        $this->upgrade_notice    = array_map( array( $this, 'parse_markdown' ), $this->upgrade_notice );
    247248
    248249        if ( isset( $this->sections['screenshots'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.