diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css index 108601112f..c913dc8cbf 100644 --- a/src/wp-admin/css/press-this.css +++ b/src/wp-admin/css/press-this.css @@ -1251,9 +1251,6 @@ html { } } -.alert.is-hidden { - display: none; -} .alert.is-error:before { background: red; } diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index dab007d568..2bd392aea5 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -14,6 +14,9 @@ */ class WP_Press_This { + // Used to trigger the bookmarklet update notice. + public $version = 8; + private $images = array(); private $embeds = array(); @@ -38,12 +41,6 @@ class WP_Press_This { */ public function site_settings() { return array( - /* - * Used to trigger the bookmarklet update notice. Needs to be set here and in - * get_shortcut_link() in wp-includes/link-template.php. - */ - 'version' => '8', - /** * Filter whether or not Press This should redirect the user in the parent window upon save. * @@ -1323,9 +1320,17 @@ class WP_Press_This {
- your bookmarklet to the latest version!' ), admin_url( 'tools.php' ) ); ?> -
+ version > $data['v'] ) { + ?> ++ your bookmarklet to the latest version!' ), admin_url( 'tools.php' ) ); ?> +
+