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

WordPress Trac noreply at wordpress.org
Tue Aug 18 15:08:35 UTC 2020


#51042: Post missing excerpt
--------------------------+-----------------------------
 Reporter:  riaanlom      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5.1
Component:  Post Formats  |     Version:  5.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48817" 48817]:
 {{{
 #!CommitTicketReference repository="" revision="48817"
 Formatting: Make the check for empty text in `wp_trim_excerpt()` more
 resilient.

 This addresses a regression in [47808], which caused excerpts to be
 generated from post content if an empty string is passed, but not for
 other values considered empty, e.g. `null` or `false`.

 Props riaanlom, laxman-prajapati, SergeyBiryukov.
 Fixes #51042.
 }}}

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


More information about the wp-trac mailing list