Making WordPress.org

Changeset 6252


Ignore:
Timestamp:
12/08/2017 05:42:42 PM (9 years ago)
Author:
obenland
Message:

Plugins: Restore some formatting changes

See #3310.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r6251 r6252  
    6868                else :
    6969                        $plugin_sections = Template::get_plugin_sections();
     70
    7071                        foreach ( array( 'description', 'screenshots', 'installation', 'faq', 'reviews', 'developers', 'changelog' ) as $section_slug ) :
    7172                                if ( ! isset( $content[ $section_slug ] ) ) {
     
    9192
    9293                                $section_no_read_mores = array( 'description', 'screenshots', 'installation', 'faq', 'reviews' );
    93                                 // If the FAQ section is the newer `<dl>` form, no need to do readmore for it.
     94                                // If the FAQ section is the newer `<dl>` form, no need to do read-more for it.
    9495                                if ( false !== stripos( $section_content, '<dl>' ) ) {
    9596                                        $section_no_read_mores[] = 'faq';
Note: See TracChangeset for help on using the changeset viewer.