mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Plugin Installer: Disable 'Latest Version Installed' buttons.
props paulwilde. see #26952. git-svn-id: https://develop.svn.wordpress.org/trunk@27677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -442,10 +442,10 @@ function install_plugin_information() {
|
||||
echo '<a class="button button-primary right" href="' . $status['url'] . '" target="_parent">' . __('Install Update Now') .'</a>';
|
||||
break;
|
||||
case 'newer_installed':
|
||||
echo '<a class="button button-primary right">' . sprintf(__('Newer Version (%s) Installed'), $status['version']) . '</a>';
|
||||
echo '<a class="button button-primary right disabled">' . sprintf(__('Newer Version (%s) Installed'), $status['version']) . '</a>';
|
||||
break;
|
||||
case 'latest_installed':
|
||||
echo '<a class="button button-primary right">' . __('Latest Version Installed') . '</a>';
|
||||
echo '<a class="button button-primary right disabled">' . __('Latest Version Installed') . '</a>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user