[wp-trac] [WordPress Trac] #22413: get_the_excerpt() missing a check on $post->post_excerpt

WordPress Trac noreply at wordpress.org
Sat Jun 28 04:00:29 UTC 2014


#22413: get_the_excerpt() missing a check on $post->post_excerpt
------------------------------+-----------------------------
 Reporter:  johnjamesjacoby   |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  closed
 Priority:  low               |   Milestone:  4.0
Component:  Warnings/Notices  |     Version:
 Severity:  minor             |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"28880"]:
 {{{
 #!CommitTicketReference repository="" revision="28880"
 If the `get_the_excerpt()` is called out of bounds of a global `$post`,
 return ''.

 Fixes #22413.
 }}}

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


More information about the wp-trac mailing list