Make WordPress Core


Ignore:
Timestamp:
04/10/2015 09:07:42 PM (10 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r32042 r32106  
    26012601    global $is_IE, $wp_version;
    26022602
    2603     $bookmarklet_version = '8';
     2603    include_once( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
     2604    $bookmarklet_version = $GLOBALS['wp_press_this']->version;
    26042605    $link = '';
    26052606
Note: See TracChangeset for help on using the changeset viewer.