WordPress.org

Make WordPress Core

Changeset 31798


Ignore:
Timestamp:
03/16/2015 09:06:01 PM (7 years ago)
Author:
azaozz
Message:

Press This: change the Publish button text to Submit for Review for contributors (like on the Edit Post screen).
Props stephdau, DrewAPicture. Fixes #31658.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31797 r31798  
    13161316            <button type="button" class="button-subtle draft-button"><?php _e( 'Save Draft' ); ?></button>
    13171317            <button type="button" class="button-subtle preview-button"><?php _e( 'Preview' ); ?></button>
    1318             <button type="button" class="button-primary publish-button"><?php _e( 'Publish' ); ?></button>
     1318            <button type="button" class="button-primary publish-button"><?php echo ( current_user_can( 'publish_posts' ) ) ? __( 'Publish' ) : __( 'Submit for Review' ); ?></button>
    13191319        </div>
    13201320    </div>
Note: See TracChangeset for help on using the changeset viewer.