[wp-trac] [WordPress Trac] #19882: Make $key parameter optional in get_post_meta()

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 24 01:39:32 UTC 2012


#19882: Make $key parameter optional in get_post_meta()
-------------------------+-----------------------------
 Reporter:  scribu       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 get_post_meta() is a trivial wrapper around get_metadata()

 In get_metadata(), the $key parameter is optional, but in get_post_meta()
 it's not.

 This should be fixed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19882>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list