[wp-trac] Re: [WordPress Trac] #8657: add filter to get_post_status() to allow overriding the status of objects

WordPress Trac wp-trac at lists.automattic.com
Mon May 11 15:51:38 GMT 2009


#8657: add filter to get_post_status() to allow overriding the status of objects
-------------------------+--------------------------------------------------
 Reporter:  DD32         |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.8      
Component:  General      |     Version:  2.7      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by Denis-de-Bernardy):

 true. we could use is_numeric instead.

 var_dump(is_numeric("1.0")); // true

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


More information about the wp-trac mailing list