Ticket #11476: update-core.php.diff

File update-core.php.diff, 986 bytes (added by sirzooro, 3 years ago)
Line 
1--- update-core.php.ori 2009-12-16 19:49:11.156250000 +0100
2+++ update-core.php     2009-12-17 22:04:24.390625000 +0100
3@@ -175,7 +175,7 @@
4                $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
5                // Get plugin compat for running version of WordPress.
6                if ( isset($info->tested) && version_compare($info->tested, $cur_wp_version, '>=') ) {
7-                       $compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: 100% (according to its author)'), $cur_wp_version);
8+                       $compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: 100%% (according to its author)'), $cur_wp_version);
9                } elseif ( isset($info->compatibility[$cur_wp_version][$plugin_data->update->new_version]) ) {
10                        $compat = $info->compatibility[$cur_wp_version][$plugin_data->update->new_version];
11                        $compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: %2$d%% (%3$d "works" votes out of %4$d total)'), $cur_wp_version, $compat[0], $compat[2], $compat[1]);