Press This! GRR! (2 posts)

  1. mhains
    Posted 7 years ago #

    I really need the "press this" option to work for contributors. It currently won't let anyone below "author" use the feature.

    Anyone know how to make "Press This" (formerly "Press It") work for contributors who must submit their articles for review?


  2. noel
    Posted 7 years ago #

    In the press this code, it requires users to be able to publish posts.

    On line 10 (in trunk anyways) there is a line that reads:
    if ( ! current_user_can('publish_posts') ) wp_die( __( 'Cheatin’ uh?' ) );

    This makes it so only users that can publish posts are allowed to user press this (makes sense). But, if you want some different functionality, just change the wp-admin/press-this.php file.

    You could replace 'publihs_posts' with 'level_1' etc. Consult ryan's post:

    and the capabilities API:

Topic Closed

This topic has been closed to new replies.

About this Topic