Changeset 2621 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme-parser/compat.php
- Timestamp:
- 02/25/2016 10:49:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme-parser/compat.php
r2501 r2621 40 40 } 41 41 42 $result = parent::parse_readme_contents( $contents );42 $result = parent::parse_readme_contents( $contents ); 43 43 $result->sections = array_map( array( 'WPorg_Readme', 'filter_text' ), $result->sections ); 44 44 … … 73 73 * @access protected 74 74 * 75 * @param string $desc 75 * @param string $description 76 76 * @return string 77 77 */ 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 ); 81 81 82 return $desc ;82 return $description; 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.