[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 18:26:54 UTC 2012


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

 * severity:  minor => major


Comment:

 Tested and works :) Makes my custom excerpts come back nicely ;)

 Bumping severity since this 'bug' also caused the_excerpt() to totally
 ignore any and all custom excerpts. Which is teh bad.

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


More information about the wp-trac mailing list