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:
parent
36f809cde8
commit
12e31d0401
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user