Make WordPress Core

Changeset 9988


Ignore:
Timestamp:
11/30/2008 10:20:59 PM (17 years ago)
Author:
westi
Message:

Hide press this for subscribers. Fixes #8432.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/tools.php

    r9943 r9988  
    7878</div>
    7979
     80<?php if ( current_user_can('publish_posts') ) : ?>
    8081<div class="tool-box">
    8182    <h3 class="title"><?php _e('Press This') ?></h3>
     
    8384    <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
    8485</div>
    85 
     86<?php endif; ?>
    8687</div>
    8788<?php
Note: See TracChangeset for help on using the changeset viewer.