Add AYS to "Install Now" link in plugin installer. fixes #11050

git-svn-id: https://develop.svn.wordpress.org/trunk@13951 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-04-02 23:27:23 +00:00
parent 5cd6b0f327
commit 5615e1ba93
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
switch ( $status['status'] ) {
case 'install':
if ( $status['url'] )
$action_links[] = '<a href="' . $status['url'] . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __('Install Now') . '</a>';
$action_links[] = '<a class="install-now" href="' . $status['url'] . '" title="' . esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __('Install Now') . '</a>';
break;
case 'update_available':
if ( $status['url'] )