Changeset 9770 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
- Timestamp:
- 04/23/2020 03:23:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
r8843 r9770 509 509 foreach ( $parts as $part ) { 510 510 $part = preg_replace( '/\s+/', ' ', $part ); 511 list( $wordtype, $type, $name, $description ) = explode( ' ', $part , 4 );511 list( $wordtype, $type, $name, $description ) = explode( ' ', $part . ' ', 4 ); // extra spaces ensure we'll always have 4 items. 512 512 $description = trim( $description ); 513 513 $description = self::autolink_references( $description );
Note: See TracChangeset
for help on using the changeset viewer.