Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r17984 r17322  
    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 
    202201        if ( ! current_user_can('update_plugins') )
    203202            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 );
     
    206205        else
    207206            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) );
    208 
    209         do_action( "in_plugin_update_message-$file", $plugin_data, $r );
    210 
    211         echo '</div></td></tr>';
    212     }
     207    }
     208
     209    do_action( "in_plugin_update_message-$file", $plugin_data, $r );
     210
     211    echo '</div></td></tr>';
    213212}
    214213
Note: See TracChangeset for help on using the changeset viewer.