Make WordPress Core

Ticket #25496: 25496.2.diff

File 25496.2.diff, 2.4 KB (added by dougwollison, 12 years ago)

Shortened description, also copied over "grammatical fixes" from original patch.

  • wp-admin/tools.php

     
    3939<?php if ( current_user_can('edit_posts') ) : ?>
    4040<div class="tool-box">
    4141        <h3 class="title"><?php _e('Press This') ?></h3>
    42         <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p>
     42        <p><?php _e('Press This is a bookmarklet &mdash; a little app that runs in your browser and lets you grab bits of the web.');?></p>
    4343
    44         <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p>
    45         <p class="description"><?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>
     44        <p><?php _e('Use Press This to clip text, images, and videos from any web page. Then use the Press This entry box to add or edit text before you save or publish it in a post on your site.'); ?></p>
     45        <p class="description"><?php _e('Drag-and-drop the following link to your bookmarks bar or right-click it to add it to your favorites for a posting shortcut.') ?></p>
    4646        <p class="pressthis"><a onclick="return false;" oncontextmenu="if(window.navigator.userAgent.indexOf('WebKit')!=-1||window.navigator.userAgent.indexOf('MSIE')!=-1){jQuery('.pressthis-code').show().find('textarea').focus().select();return false;}" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e('Press This') ?></span></a></p>
    4747        <div class="pressthis-code" style="display:none;">
    48         <p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p>
     48        <p class="description"><?php _e('If your bookmarks toolbar is hidden, copy the code below, open your Bookmarks manager, create a new bookmark, type Press This into the name field, and paste the code into the URL field.') ?></p>
    4949        <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p>
    5050        </div>
    5151</div>
     
    6464endif;
    6565endif;
    6666
     67/**
     68 * Fires before the end of the tool-box wrapper.
     69 *
     70 * @since 2.8.0
     71 */
    6772do_action( 'tool_box' );
    6873?>
    6974</div>