Changeset 8679
- Timestamp:
- 04/25/2019 06:28:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/inc/class-importer.php
r8678 r8679 341 341 $markdown = preg_replace( '#^---(.+)---#Us', '', $markdown ); 342 342 343 $markdown = trim( $markdown ); 344 345 $markdown = apply_filters( 'wporg_markdown_before_transform', $markdown, $this->get_post_type() ); 346 343 347 $title = null; 344 348 if ( preg_match( '/^#\s(.+)/', $markdown, $matches ) ) { … … 360 364 $parser->preserve_shortcodes = false; 361 365 $html = $parser->transform( $markdown ); 366 367 $html = apply_filters( 'wporg_markdown_after_transform', $html, $this->get_post_type() ); 368 362 369 $post_data = array( 363 370 'ID' => $post_id,
Note: See TracChangeset
for help on using the changeset viewer.