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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-04-02 23:27:23 +00:00
parent d23bb077c3
commit e7486800d9
4 changed files with 8 additions and 3 deletions

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'] )