[wp-trac] [WordPress Trac] #18215: Wrong method signature: get_post_meta

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 22 14:48:03 UTC 2011


#18215: Wrong method signature: get_post_meta
--------------------------+------------------------
 Reporter:  luis.ferro    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Post Types    |     Version:
 Severity:  minor         |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------
Changes (by dd32):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 > $key is always required, there should be no default value.

 Actually the underlying meta API allows it to be skipped to return all
 meta for a post object.

 There's a duplicate ticket though: #17013

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


More information about the wp-trac mailing list