[wp-trac] [WordPress Trac] #17276: custom post type problems needs addressed
WordPress Trac
wp-trac at lists.automattic.com
Thu May 5 03:10:19 UTC 2011
#17276: custom post type problems needs addressed
-------------------------+------------------------------
Reporter: squeeky | Owner: squeeky
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------------------
Comment (by squeeky):
yeah - i think what you are saying about another flag for
register_post_type / 'show_in_widgets' / for that functionality i was
merely was using 'public' => true
BUT now that i think about it, maybe i should be even more focused, and
use 'publicly_queryable' => true
here's my thinking > ??? how and why ??? anyone would want a post type to
be 'publicly_queryable' => true, BUT not want it in widgets I would have
no idea
BUT > i don't need to have an idea why someone would want that --- BECAUSE
IF they don't want to use the widget (as in my examples) then they don't
have to use the widget for their post type(s) - the option is their's
----
but boy oh boy - you got me wondering > i now think the thing to do is use
'publicly_queryable' instead of 'public' (like i did) - hmmm - looks like
i gotta make version 0.4 ;)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17276#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list