WordPress.org

Make WordPress Core

Ticket #11485: t11485-stray-paren.diff

File t11485-stray-paren.diff, 789 bytes (added by demetris, 6 years ago)

Removes extra parenthesis from L10n string in update-core.php

  • wp-admin/update-core.php

     
    188188                        $compat = $info->compatibility[$cur_wp_version][$plugin_data->update->new_version]; 
    189189                        $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]); 
    190190                } else { 
    191                         $compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: Unknown)'), $cur_wp_version); 
     191                        $compat = '<br />' . sprintf(__('Compatibility with WordPress %1$s: Unknown'), $cur_wp_version); 
    192192                } 
    193193                // Get plugin compat for updated version of WordPress. 
    194194                if ( $core_update_version ) {