← All changes
|
includes/admin/upgrades/views/plugins-update-section.php
+2
-6
2.3.2
→
4.17.0
View file →
| @@ -6,12 +6,8 @@ | ||
| 6 | 6 | } |
| 7 | 7 | |
| 8 | 8 | ob_start(); |
| 9 | 9 | foreach ( $plugins as $plugin_data ) { |
| 10 | - if ( 'active' != $plugin_data['Status'] || 'add-on' != $plugin_data['Type'] ) { | |
| 11 | - continue; | |
| 12 | - } | |
| 13 | - | |
| 14 | 10 | $plugin_name = $plugin_data['Name']; |
| 15 | 11 | $author_name = $plugin_data['Author']; |
| 16 | 12 | |
| 17 | 13 | // Link the plugin name to the plugin URL if available. |
| @@ -52,9 +48,9 @@ | ||
| 52 | 48 | |
| 53 | 49 | echo sprintf( |
| 54 | 50 | ' – %s – %s', |
| 55 | 51 | sprintf( _x( 'by %s', 'by author', 'give' ), wp_kses( $author_name, wp_kses_allowed_html( 'post' ) ) ), |
| 56 | - sprintf( __( '(Latest Version: %s)' ), $plugin_data['update']->new_version ) | |
| 52 | + sprintf( __( '(Latest Version: %s)', 'give' ), $plugin_data['update']->new_version ) | |
| 57 | 53 | ); |
| 58 | 54 | ?> |
| 59 | 55 | </td> |
| 60 | 56 | </tr> |
| @@ -63,5 +59,5 @@ | ||
| 63 | 59 | echo sprintf( |
| 64 | 60 | '<table><tbody>%s</tbody></table>', |
| 65 | 61 | ob_get_clean() |
| 66 | 62 | ); |
| 67 | -?> | |
| 63 | +?> | |