[wp-trac] [WordPress Trac] #11839: Two notices in post_custom()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 28 04:19:33 UTC 2010


#11839: Two notices in post_custom()
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Template      |     Version:  2.9.1    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by dd32):

 I've gone with returning (bool)false.

 {{{'' == false == null}}} for displaying in a string, they'd all display
 as nothing, but given that bools cant be returned from the post_meta i do
 not believe, it seems to be the best choice in this case.

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


More information about the wp-trac mailing list