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

WordPress Trac noreply at wordpress.org
Wed May 22 20:46:51 UTC 2013


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

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  3.6 =>


Comment:

 All WP_Post objects should have a post_excerpt.  If a plugin goes out of
 it's way to unset this, they should get the notice when they try to access
 it.

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


More information about the wp-trac mailing list