Changeset 12374
- Timestamp:
- 12/11/2009 05:18:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r12204 r12374 174 174 $compat = ''; 175 175 } 176 if ( isset($plugin_data->update->upgrade_notice) ) { 177 $upgrade_notice = '<br />' . strip_tags($plugin_data->update->upgrade_notice); 178 } else { 179 $upgrade_notice = ''; 180 } 176 181 echo " 177 182 <tr class='active'> 178 183 <th scope='row' class='check-column'><input type='checkbox' name='checked[]' value='" . esc_attr($plugin_file) . "' /></th> 179 <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) . $compat . "</td>184 <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) . $compat . $upgrade_notice . "</td> 180 185 </tr>"; 181 186 }
Note: See TracChangeset
for help on using the changeset viewer.