Make WordPress Core

Changeset 27677


Ignore:
Timestamp:
03/24/2014 03:40:28 AM (10 years ago)
Author:
nacin
Message:

Plugin Installer: Disable 'Latest Version Installed' buttons.

props paulwilde.
see #26952.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r27559 r27677  
    443443                break;
    444444            case 'newer_installed':
    445                 echo '<a class="button button-primary right">' . sprintf(__('Newer Version (%s) Installed'), $status['version']) . '</a>';
     445                echo '<a class="button button-primary right disabled">' . sprintf(__('Newer Version (%s) Installed'), $status['version']) . '</a>';
    446446                break;
    447447            case 'latest_installed':
    448                 echo '<a class="button button-primary right">' . __('Latest Version Installed') . '</a>';
     448                echo '<a class="button button-primary right disabled">' . __('Latest Version Installed') . '</a>';
    449449                break;
    450450        }
Note: See TracChangeset for help on using the changeset viewer.