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:
parent
4e638f02fd
commit
086dccd3bd
|
@ -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