Press This: check the bookmarklet version and add the update notice from PHP.

Fixes #31942.

git-svn-id: https://develop.svn.wordpress.org/trunk@32106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2015-04-10 21:07:42 +00:00
parent 1de9bc1670
commit 301bb0b9da
4 changed files with 16 additions and 18 deletions
+2 -1
View File
@@ -2600,7 +2600,8 @@ function paginate_comments_links($args = array()) {
function get_shortcut_link() {
global $is_IE, $wp_version;
$bookmarklet_version = '8';
include_once( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
$bookmarklet_version = $GLOBALS['wp_press_this']->version;
$link = '';
if ( $is_IE ) {