[wp-trac] [WordPress Trac] #46865: get_the_excerpt() can have side effect of outputting HTML when excerpt is empty

WordPress Trac noreply at wordpress.org
Wed Apr 10 12:33:26 UTC 2019


#46865: get_the_excerpt() can have side effect of outputting HTML when excerpt is
empty
--------------------------+------------------------------
 Reporter:  tmdesigned    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by tmdesigned):

 * keywords:   => close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 I believe this is actually a PHP error being generated in the_content
 filters, as disabling xdebug/wp_debug resolved the issue. As such I am
 closing the ticket.

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


More information about the wp-trac mailing list