Ticket #17492: patch.diff
| File patch.diff, 448 bytes (added by , 14 years ago) |
|---|
-
formatting.php
old new 1856 1856 * @param string $text The excerpt. If set to empty an excerpt is generated. 1857 1857 * @return string The excerpt. 1858 1858 */ 1859 function wp_trim_excerpt($text ) {1859 function wp_trim_excerpt($text = '') { 1860 1860 $raw_excerpt = $text; 1861 1861 if ( '' == $text ) { 1862 1862 $text = get_the_content('');