Changeset 8787
- Timestamp:
- 05/13/2019 10:07:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/inc/class-importer.php
r8786 r8787 433 433 $markdown = trim( $markdown ); 434 434 435 // Steal the first sentence as the excerpt435 // Use the first sentence as the excerpt. 436 436 $excerpt = ''; 437 437 if ( preg_match( '/^(.+)/', $markdown, $matches ) ) { 438 438 $excerpt = $matches[1]; 439 $markdown = preg_replace( '/^(.+)/', '', $markdown );440 439 } 441 440
Note: See TracChangeset
for help on using the changeset viewer.