[wp-trac] [WordPress Trac] #10882: Add default data to get_*_meta()
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 30 19:09:22 UTC 2009
#10882: Add default data to get_*_meta()
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.9
Severity: major | Keywords: commit
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
Regarding this:
"We don't need this - the function already had clear defined behaviour and
it didn't conform to it.
The example code shared above relied on a bug in the code."
the shocking part to me, by the way, is the number of times where I've
wondered why in the bloody hell get_post_meta() and its user_meta
equivalent weren't returning false as a response in order to highlight
that a key did not exist.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10882#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list