WordPress.org

Make WordPress Core

Ticket #18398: 18398.diff

File 18398.diff, 400 bytes (added by jkudish, 3 years ago)
  • wp-includes/formatting.php

     
    18401840 */ 
    18411841function wp_trim_excerpt($text) { 
    18421842        $raw_excerpt = $text; 
    1843         if ( '' == $text ) { 
     1843        if ( '' != $text ) { 
    18441844                $text = get_the_content(''); 
    18451845 
    18461846                $text = strip_shortcodes( $text );