WordPress.org

Make WordPress Core

Ticket #26794: 26794.diff

File 26794.diff, 1.6 KB (added by celloexpressions, 8 years ago)

Remove Press This from Settings->Writing (code is duplicated on tools.php)

  • wp-admin/options-writing.php

     
    119119?>
    120120</table>
    121121
    122 <h3 class="title"><?php _e('Press This') ?></h3>
    123 <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>
    124 <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>
    125 <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>
    126 <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>
    127 <div class="pressthis-code" style="display:none;">
    128         <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>
    129         <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p>
    130 </div>
    131 
    132122<?php
    133123/** This filter is documented in wp-admin/options.php */
    134124if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {