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

WordPress Trac noreply at wordpress.org
Tue Aug 18 19:37:20 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:  commit fixed-major  |     Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"48819" 48819]:
 {{{
 #!CommitTicketReference repository="" revision="48819"
 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.
 Merges [48817] to the 5.5 branch.
 Fixes #51042.
 }}}

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


More information about the wp-trac mailing list