Changeset 41695 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 10/03/2017 12:24:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r41268 r41695 253 253 $plugin_data = (object) _get_plugin_data_markup_translate( $plugin_file, (array) $plugin_data, false, true ); 254 254 255 $icon = '<span class="dashicons dashicons-admin-plugins"></span>'; 256 if ( ! empty( $plugin_data->update->icons['default'] ) ) { 257 $icon = '<img src="' . esc_url( $plugin_data->update->icons['default'] ) . '" alt="" />'; 258 } 259 255 260 // Get plugin compat for running version of WordPress. 256 261 if ( isset($plugin_data->update->tested) && version_compare($plugin_data->update->tested, $cur_wp_version, '>=') ) { … … 303 308 </td> 304 309 <td class="plugin-title"><p> 310 <?php echo $icon; ?> 305 311 <strong><?php echo $plugin_data->Name; ?></strong> 306 312 <?php
Note: See TracChangeset
for help on using the changeset viewer.