[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
Thu Dec 18 01:11:39 GMT 2008
#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 | Resolution:
Keywords: hsa-patch |
-------------------------+--------------------------------------------------
Comment (by DD32):
The modification to {{{get_post_type()}}} was made to allow passing of a
$post object to the function, It seems the (int) check was preventing the
$post object being passed as originally intended.
--
Ticket URL: <http://trac.wordpress.org/ticket/8657#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list