[wp-trac] [WordPress Trac] #31504: Add new item gives bunch of errors if disabled
WordPress Trac
noreply at wordpress.org
Mon Mar 2 14:18:43 UTC 2015
#31504: Add new item gives bunch of errors if disabled
--------------------------+---------------------------------
Reporter: ozzWANTED | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by ozzWANTED):
NOTE: Actual code was is without /* */
{{{
array(
...
'capability_type' => 'car',
'capabilities' => array(
'create_posts' => false, // Removes support for
the "Add New" function - DOESN'T WORK
'delete_post' => false,
'publish_posts' => false,
),
'map_meta_cap' => true, // Set to false, if users are not
allowed to edit/delete existing posts
...)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31504#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list