Migrate to caps.

git-svn-id: https://develop.svn.wordpress.org/trunk@2709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-07-13 22:26:26 +00:00
parent 645de9da17
commit 5dbb58cd91
4 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ edCanvas = document.getElementById('content');
<?php
if ('publish' != $post_status || 0 == $post_ID) {
?>
<?php if ( user_can_create_post($user_ID) ) : ?>
<?php if ( current_user_can('publish_posts') ) : ?>
<input name="publish" type="submit" id="publish" tabindex="10" value="<?php _e('Publish') ?>" />
<?php endif; ?>
<?php