Making WordPress.org

Changeset 3553


Ignore:
Timestamp:
06/22/2016 02:49:47 PM (9 years ago)
Author:
dd32
Message:

Plugin Directory: Cut down the length of the short_description after we've transformed and stripped any HTML and markdown.

See #1724

File:
1 edited

Legend:

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

    r3477 r3553  
    320320        // Sanitize and trim the short_description to match requirements.
    321321        $this->short_description = $this->sanitize_text( $this->short_description );
    322         $this->short_description = $this->trim_length( $this->short_description, 150 );
    323322        $this->short_description = $this->parse_markdown( $this->short_description );
    324323        $this->short_description = wp_strip_all_tags( $this->short_description );
     324        $this->short_description = $this->trim_length( $this->short_description, 150 );
    325325
    326326        if ( isset( $this->sections['screenshots'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.