Make WordPress Core

Changeset 32122


Ignore:
Timestamp:
04/14/2015 05:44:08 AM (10 years ago)
Author:
azaozz
Message:

Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
Props kraftbj. Fixes #31968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r32106 r32122  
    13231323                <?php
    13241324
    1325                 if ( empty( $data['v'] ) || $this->version > $data['v'] ) {
     1325                if ( isset( $data['v'] ) && $this->version > $data['v'] ) {
    13261326                    ?>
    13271327                    <p class="alert is-notice">
Note: See TracChangeset for help on using the changeset viewer.