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:
parent
eb9cf72a1b
commit
b91de55ede
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue