Making WordPress.org


Ignore:
Timestamp:
02/25/2016 10:49:24 PM (10 years ago)
Author:
obenland
Message:

Plugins Directory: Formatting update.

  • Updates phpdocs throughout the plugin.
  • Breaks out classes into their own files.
  • Some minor namespace-related tweaks.

See #1584.

File:
1 edited

Legend:

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

    r2501 r2621  
    4040        }
    4141
    42         $result = parent::parse_readme_contents( $contents );
     42        $result           = parent::parse_readme_contents( $contents );
    4343        $result->sections = array_map( array( 'WPorg_Readme', 'filter_text' ), $result->sections );
    4444
     
    7373     * @access protected
    7474     *
    75      * @param string $desc
     75     * @param string $description
    7676     * @return string
    7777     */
    78     protected static function trim_short_desc( &$desc ) {
    79         $desc = self::sanitize_text( $desc );
    80         parent::trim_short_desc( $desc );
     78    protected static function trim_short_desc( &$description ) {
     79        $description = self::sanitize_text( $description );
     80        parent::trim_short_desc( $description );
    8181
    82         return $desc;
     82        return $description;
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.