[wp-trac] [WordPress Trac] #9674: Better support for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 19 05:02:12 UTC 2010
#9674: Better support for custom post types
------------------------------------+---------------------------------------
Reporter: wnorris | Owner: ryan
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch tested early |
------------------------------------+---------------------------------------
Comment(by jfarthing84):
All administration areas that need to check whether or not they should
handle a post type should check against the 'public' argument rather than
the 'show_ui' argument. The 'show_ui' argument is only related to the
context of WordPress creating a default UI for it.
However, if a plugin wishes to create it's own UI but use the built-in WP
pages for submission, it get's rejected because 'show_ui' is false. I
believe this is the purpose for the 'public' variable and the difference
between the two.
I notice specifically two areas where this should be changed: 'wp-admin
/edit-tags.php' and 'wp-admin/includes/template.php'.
I have attached a patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:234>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list