Hide press this for subscribers. Fixes #8432.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-11-30 22:20:59 +00:00
parent 4e638f02fd
commit 086dccd3bd
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');