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

Props stephdau, DrewAPicture. Fixes #31658.
Built from https://develop.svn.wordpress.org/trunk@31798


git-svn-id: http://core.svn.wordpress.org/trunk@31780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-16 21:07:27 +00:00
parent c1c29782c9
commit bf34e504dc
2 changed files with 2 additions and 2 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>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-beta1-31797'; $wp_version = '4.2-beta1-31798';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.