[wp-trac] [WordPress Trac] #10882: Add default data to get_*_meta()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 30 21:21:24 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):

 agreed... empty string and array are completely useless. in my own apps, I
 return NULL for this kind of stuff, but the WP default seems to be false
 or WP_Error. At any rate, this should be changed.

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


More information about the wp-trac mailing list