WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #16808


Ignore:
Timestamp:
03/09/11 20:33:58 (3 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16808 – Description

    initial v2  
    44 
    55When accessing an admin page located at post-new.php with a custom post type on a user that's in a custom role that has the available permission to "Add New", you get "You do not have sufficient permissions to access this page." 
    6  
     6{{{ 
    77                $post_caps = array( 'delete_post' => 'argus_admin', ); 
    88                $visitor_caps = $post_caps; 
     
    3535                 
    3636                register_post_type( 'visitor', $v_args ); 
    37  
     37}}} 
    3838I've tested it with 3.0.4 and it worked flawlessly. However, when in 3.1, it doesn't want to work.