[wp-trac] [WordPress Trac] #36934: Use of get_the_excerpt($post) is broken if post has no excerpt and you are inside a loop

WordPress Trac noreply at wordpress.org
Fri Sep 30 03:23:08 UTC 2016


#36934: Use of get_the_excerpt($post) is broken if post has no excerpt and you are
inside a loop
-------------------------------------------------+-------------------------
 Reporter:  magicroundabout                      |       Owner:
     Type:  defect (bug)                         |  boonebgorges
 Priority:  normal                               |      Status:  reviewing
Component:  Formatting                           |   Milestone:  4.7
 Severity:  normal                               |     Version:  4.5
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests 4.7-early                                |     Focuses:  template
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 In [changeset:"38679"]:
 {{{
 #!CommitTicketReference repository="" revision="38679"
 Tests: Move `get_the_excerpt()` tests to their own file.

 See #36934. Fixes #38196.
 }}}

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


More information about the wp-trac mailing list