WordPress.org

Make WordPress Core

Changeset 17984


Ignore:
Timestamp:
05/22/11 21:24:32 (3 years ago)
Author:
nacin
Message:

Move the closing tags inside the same conditional in wp_plugin_update_row. props mitchoyoshitaka, fixes #17536.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update.php

    r17322 r17984  
    199199    if ( is_network_admin() || !is_multisite() ) { 
    200200        echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">'; 
     201 
    201202        if ( ! current_user_can('update_plugins') ) 
    202203            printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version ); 
     
    205206        else 
    206207            printf( __('There is a new version of %1$s available. <a href="%2$s" class="thickbox" title="%3$s">View version %4$s details</a> or <a href="%5$s">update automatically</a>.'), $plugin_name, esc_url($details_url), esc_attr($plugin_name), $r->new_version, wp_nonce_url( self_admin_url('update.php?action=upgrade-plugin&plugin=') . $file, 'upgrade-plugin_' . $file) ); 
    207     } 
    208  
    209     do_action( "in_plugin_update_message-$file", $plugin_data, $r ); 
    210  
    211     echo '</div></td></tr>'; 
     208 
     209        do_action( "in_plugin_update_message-$file", $plugin_data, $r ); 
     210 
     211        echo '</div></td></tr>'; 
     212    } 
    212213} 
    213214 
Note: See TracChangeset for help on using the changeset viewer.