Making WordPress.org

Changeset 7697


Ignore:
Timestamp:
09/24/2018 04:10:57 AM (6 years ago)
Author:
dd32
Message:

Plugin Directory: Stop appending the Installation Instructions section to the FAQ as the tab now exists again.

This will take effect for plugins upon their next import (when they make an SVN commit usually).

Fixes #3819.

File:
1 edited

Legend:

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

    r7049 r7697  
    359359            $this->faq             = $this->parse_section( $this->sections['faq'] );
    360360            $this->sections['faq'] = '';
    361         }
    362 
    363         // Prefix Installation Instructions as a FAQ entry
    364         if ( $this->has_unique_installation_instructions() ) {
    365             $this->faq = array_merge(
    366                 array(
    367                     __( 'Installation Instructions', 'wporg-plugins' ) => $this->sections['installation'],
    368                 ),
    369                 $this->faq
    370             );
    371             // unset( $this->sections['installation'] );
    372             $this->sections['faq'] = ''; // Ensure it's set as per faq section above.
    373361        }
    374362
Note: See TracChangeset for help on using the changeset viewer.