Do not allow the Press This links to be click-activated when they are meant to be dragged. fixes #17192. see #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b08340a572
commit
cefee535db
|
@ -89,7 +89,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_link_category
|
||||||
<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>
|
<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>
|
||||||
<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>
|
<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>
|
||||||
<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><?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 esc_attr(__('Press This')) ?>"><span><?php _e('Press This') ?></span></a></p>
|
<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>
|
||||||
|
|
||||||
<?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?>
|
<?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?>
|
||||||
<h3><?php _e('Post via e-mail') ?></h3>
|
<h3><?php _e('Post via e-mail') ?></h3>
|
||||||
|
|
|
@ -34,7 +34,7 @@ require_once('./admin-header.php');
|
||||||
|
|
||||||
<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>
|
<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>
|
||||||
<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>
|
<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>
|
||||||
<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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
|
|
Loading…
Reference in New Issue