[wp-trac] [WordPress Trac] #10882: Add default data to get_*_meta()
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 30 22:49:44 UTC 2009
#10882: Add default data to get_*_meta()
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.9
Severity: normal | Keywords: commit
-------------------------------+--------------------------------------------
Changes (by dd32):
* type: defect (bug) => enhancement
* severity: major => normal
Comment:
> IMHO it should return false or WP_Error in case of erro
The output of the function has been defined as such for a long time, thats
what its purpose is. Its a Function for theme developers, If they ask for
a string, they get a string, if they ask for an array, They get an array,
Simple as that.
Can we please keep future comments related to the return of the said
functions to the other ticket - #10803? Keep this ticket on topic for
adding a default output.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10882#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list