[wp-hackers] User Capabilities
    Michael D Adams 
    mikea at turbonet.com
       
    Mon Jul 18 00:23:37 GMT 2005
    
    
  
On Jul 17, 2005, at 3:54 PM, Owen Winkler wrote:
> No, this resolves to the general capability 'edit_posts'.  Just  
> remember to pass the post ID as a second parameter to the  
> current_user_can() function, like:
>
> current_user_can('edit_posts', $post_id)
Do you mean 'edit_posts' or 'edit_post'  (plural or singular)?  It  
seems 'edit_post' is the the meta capability we're looking for here.
--Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050718/563a2cbe/attachment.html
    
    
More information about the wp-hackers
mailing list