Ticket #31763: 31763.diff
File 31763.diff, 812 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-press-this.php
1009 1009 1010 1010 if ( ! empty( $data['u'] ) && $oembed->get_provider( $data['u'], array( 'discover' => false ) ) ) { 1011 1011 $default_html['embed'] = '<p>[embed]' . $data['u'] . '[/embed]</p>'; 1012 if ( ! empty( $data['s'] ) ) { 1013 // If the user actually selected some text, do quote it. 1014 $default_html['quote'] = '<blockquote>%1$s</blockquote>'; 1015 } 1012 1016 } else { 1013 1017 $default_html['quote'] = '<blockquote>%1$s</blockquote>'; 1014 1018 $default_html['link'] = '<p>' . _x( 'Source:', 'Used in Press This to indicate where the content comes from.' ) .