Make WordPress Core

Changeset 17666


Ignore:
Timestamp:
04/20/2011 05:43:01 PM (13 years ago)
Author:
markjaquith
Message:

Do not allow the Press This links to be click-activated when they are meant to be dragged. fixes #17192. see #17184

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r17665 r17666  
    9090<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>
    9191<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>
    92 <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo esc_attr(__('Press This')) ?>"><span><?php _e('Press This') ?></span></a></p>
     92<p class="pressthis"><a onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo esc_attr(__('Press This')) ?>"><span><?php _e('Press This') ?></span></a></p>
    9393
    9494<?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?>
  • trunk/wp-admin/tools.php

    r17662 r17666  
    3535    <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>
    3636    <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>
    37     <p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo esc_attr(__('Press This')) ?>"><span><?php _e('Press This') ?></span></a></p>
     37    <p class="pressthis"><a onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo esc_attr(__('Press This')) ?>"><span><?php _e('Press This') ?></span></a></p>
    3838</div>
    3939<?php
Note: See TracChangeset for help on using the changeset viewer.