Press This: change the Publish button text to Submit for Review for contributors (like on the Edit Post screen).

Props stephdau, DrewAPicture. Fixes #31658.

git-svn-id: https://develop.svn.wordpress.org/trunk@31798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-03-16 21:06:01 +00:00
parent eb9cf72a1b
commit b91de55ede
1 changed files with 1 additions and 1 deletions

View File

@ -1315,7 +1315,7 @@ class WP_Press_This {
<div class="post-actions"> <div class="post-actions">
<button type="button" class="button-subtle draft-button"><?php _e( 'Save Draft' ); ?></button> <button type="button" class="button-subtle draft-button"><?php _e( 'Save Draft' ); ?></button>
<button type="button" class="button-subtle preview-button"><?php _e( 'Preview' ); ?></button> <button type="button" class="button-subtle preview-button"><?php _e( 'Preview' ); ?></button>
<button type="button" class="button-primary publish-button"><?php _e( 'Publish' ); ?></button> <button type="button" class="button-primary publish-button"><?php echo ( current_user_can( 'publish_posts' ) ) ? __( 'Publish' ) : __( 'Submit for Review' ); ?></button>
</div> </div>
</div> </div>
</form> </form>