[wp-trac] [WordPress Trac] #33763: Post types with show_ui set to false should not be accessible via the admin area
WordPress Trac
noreply at wordpress.org
Fri Sep 18 03:34:13 UTC 2015
#33763: Post types with show_ui set to false should not be accessible via the admin
area
----------------------------------+-----------------------------
Reporter: johnbillion | Owner: johnbillion
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses: administration
----------------------------------+-----------------------------
Comment (by dd32):
[34177] has broken the ability to get a link to Revisions.
`get_edit_post_link( $revision_id )` => `$post_type = 'revision'` => the
Revision post type is not a `show_ui => true` post type.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33763#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list