Ticket #15047: t15047-removes-unneeded-string.diff
| File t15047-removes-unneeded-string.diff, 2.9 KB (added by , 16 years ago) |
|---|
-
wp-admin/includes/class-wp-upgrader.php
1046 1046 1047 1047 $update_actions = apply_filters('update_plugin_complete_actions', $update_actions, $this->plugin); 1048 1048 if ( ! empty($update_actions) ) 1049 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$update_actions));1049 $this->feedback(implode(' | ', (array)$update_actions)); 1050 1050 } 1051 1051 1052 1052 function before() { … … 1201 1201 1202 1202 $update_actions = apply_filters('update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info); 1203 1203 if ( ! empty($update_actions) ) 1204 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$update_actions));1204 $this->feedback(implode(' | ', (array)$update_actions)); 1205 1205 } 1206 1206 } 1207 1207 … … 1232 1232 1233 1233 $update_actions = apply_filters('update_bulk_theme_complete_actions', $update_actions, $this->theme_info); 1234 1234 if ( ! empty($update_actions) ) 1235 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$update_actions));1235 $this->feedback(implode(' | ', (array)$update_actions)); 1236 1236 } 1237 1237 } 1238 1238 … … 1298 1298 } 1299 1299 $install_actions = apply_filters('install_plugin_complete_actions', $install_actions, $this->api, $plugin_file); 1300 1300 if ( ! empty($install_actions) ) 1301 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$install_actions));1301 $this->feedback(implode(' | ', (array)$install_actions)); 1302 1302 } 1303 1303 } 1304 1304 … … 1365 1365 1366 1366 $install_actions = apply_filters('install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info); 1367 1367 if ( ! empty($install_actions) ) 1368 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$install_actions));1368 $this->feedback(implode(' | ', (array)$install_actions)); 1369 1369 } 1370 1370 } 1371 1371 … … 1419 1419 1420 1420 $update_actions = apply_filters('update_theme_complete_actions', $update_actions, $this->theme); 1421 1421 if ( ! empty($update_actions) ) 1422 $this->feedback( '<strong>' . __('Actions:') . '</strong> ' .implode(' | ', (array)$update_actions));1422 $this->feedback(implode(' | ', (array)$update_actions)); 1423 1423 } 1424 1424 } 1425 1425 -
wp-admin/update-core.php
341 341 show_message( __('Installation Failed') ); 342 342 } else { 343 343 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>' ); 345 345 } 346 346 echo '</div>'; 347 347 }