Hide press this for subscribers. Fixes #8432.

git-svn-id: https://develop.svn.wordpress.org/trunk@9988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2008-11-30 22:20:59 +00:00
parent 36f809cde8
commit 12e31d0401
1 changed files with 2 additions and 1 deletions

View File

@ -77,12 +77,13 @@ if ( ! $is_opera ) {
} ?>
</div>
<?php if ( current_user_can('publish_posts') ) : ?>
<div class="tool-box">
<h3 class="title"><?php _e('Press This') ?></h3>
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
<p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
</div>
<?php endif; ?>
</div>
<?php
include('admin-footer.php');