Make WordPress Core

Ticket #15047: t15047-removes-unneeded-string.diff

File t15047-removes-unneeded-string.diff, 2.9 KB (added by demetris, 16 years ago)

Removes unneeded string on updater screens

  • wp-admin/includes/class-wp-upgrader.php

     
    10461046
    10471047                $update_actions = apply_filters('update_plugin_complete_actions', $update_actions, $this->plugin);
    10481048                if ( ! empty($update_actions) )
    1049                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
     1049                        $this->feedback(implode(' | ', (array)$update_actions));
    10501050        }
    10511051
    10521052        function before() {
     
    12011201
    12021202                $update_actions = apply_filters('update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info);
    12031203                if ( ! empty($update_actions) )
    1204                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
     1204                        $this->feedback(implode(' | ', (array)$update_actions));
    12051205        }
    12061206}
    12071207
     
    12321232
    12331233                $update_actions = apply_filters('update_bulk_theme_complete_actions', $update_actions, $this->theme_info);
    12341234                if ( ! empty($update_actions) )
    1235                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
     1235                        $this->feedback(implode(' | ', (array)$update_actions));
    12361236        }
    12371237}
    12381238
     
    12981298                }
    12991299                $install_actions = apply_filters('install_plugin_complete_actions', $install_actions, $this->api, $plugin_file);
    13001300                if ( ! empty($install_actions) )
    1301                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
     1301                        $this->feedback(implode(' | ', (array)$install_actions));
    13021302        }
    13031303}
    13041304
     
    13651365
    13661366                $install_actions = apply_filters('install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info);
    13671367                if ( ! empty($install_actions) )
    1368                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
     1368                        $this->feedback(implode(' | ', (array)$install_actions));
    13691369        }
    13701370}
    13711371
     
    14191419
    14201420                $update_actions = apply_filters('update_theme_complete_actions', $update_actions, $this->theme);
    14211421                if ( ! empty($update_actions) )
    1422                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
     1422                        $this->feedback(implode(' | ', (array)$update_actions));
    14231423        }
    14241424}
    14251425
  • wp-admin/update-core.php

     
    341341                        show_message( __('Installation Failed') );
    342342        } else {
    343343                show_message( __('WordPress updated successfully') );
    344                 show_message( '<strong>' . __('Actions:') . '</strong> <a href="' . esc_url( admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
     344                show_message( '<a href="' . esc_url( admin_url() ) . '">' . __('Go to Dashboard') . '</a>' );
    345345        }
    346346        echo '</div>';
    347347}