[wp-trac] [WordPress Trac] #21797: get_the_excerpt() causing PHP notices. Undefined variable $post and Trying to get property of non object

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 5 19:54:09 UTC 2012


#21797: get_the_excerpt() causing PHP notices. Undefined variable $post and Trying
to get property of non object
------------------------------+---------------------
 Reporter:  c3mdigital        |       Owner:  ryan
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Warnings/Notices  |     Version:  trunk
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21767]:
 {{{
 #!CommitTicketReference repository="" revision="21767"
 Restore  in get_the_excerpt(). Props c3mdigital. fixes #21797
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21797#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list