Changes in trunk/wp-admin/includes/update.php [17984:17322]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/update.php
r17984 r17322 199 199 if ( is_network_admin() || !is_multisite() ) { 200 200 echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">'; 201 202 201 if ( ! current_user_can('update_plugins') ) 203 202 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 ); … … 206 205 else 207 206 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>'; 213 212 } 214 213
Note: See TracChangeset
for help on using the changeset viewer.