Skip to content

Commit

Permalink
allow editor can save draft
Browse files Browse the repository at this point in the history
  • Loading branch information
rambuvn committed Nov 17, 2014
1 parent 323a71d commit a1b950f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/templates/default/answer-submit-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="form-buttons">
<input type="submit" name="submit-answer" id="submit-answer" value="<?php _e( 'Add answer','dwqa' ); ?>" class="dwqa-btn dwqa-btn-primary" />

<?php if ( current_user_can( 'manage_options' ) ) { ?>
<?php if ( current_user_can( 'edit_posts' ) ) { ?>
<input type="submit" name="submit-answer" id="save-draft-answer" value="<?php _e( 'Save draft','dwqa' ); ?>" class="dwqa-btn dwqa-btn-default" />
<?php } ?>
</div>
Expand Down

0 comments on commit a1b950f

Please sign in to comment.