[wp-trac] [WordPress Trac] #51042: Post missing excerpt

WordPress Trac noreply at wordpress.org
Mon Aug 17 16:19:04 UTC 2020


#51042: Post missing excerpt
--------------------------+-----------------------------
 Reporter:  riaanlom      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Formats  |    Version:  5.5
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 If post doesn't have an excerpt, expected outcome is for it to be
 generated from the post content.

 wp-includes/formatting.php
 function wp_trim_excerpt line 3811

 {{{
 if ( '' === $text )
 }}}


 Previous versions of WP used == instead of === . The strict comparison
 operator returns an empty excerpt

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51042>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list