Ticket #10973: 10973.showactive.diff
File 10973.showactive.diff, 766 bytes (added by , 16 years ago) |
---|
-
wp-admin/update-core.php
160 160 <tbody class="plugins"> 161 161 <?php 162 162 foreach ( (array) $plugins as $plugin_file => $plugin_data) { 163 $status = is_plugin_active($plugin_file) ? 'active' : 'inactive'; 163 164 echo " 164 <tr class=' active'>165 <tr class='$status'> 165 166 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th> 166 167 <td class='plugin-title'><strong>{$plugin_data->Name}</strong>" . sprintf(__('You are running version %1$s. Upgrade to %2$s.'), $plugin_data->Version, $plugin_data->update->new_version) . "</td> 167 168 </tr>";