Make WordPress Core


Ignore:
Timestamp:
10/26/2010 05:18:49 PM (16 years ago)
Author:
ryan
Message:

Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r15898 r15977  
    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
    … …  
    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}
    … …  
    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}
    … …  
    13011301                $install_actions = apply_filters('install_plugin_complete_actions', $install_actions, $this->api, $plugin_file);
    13021302                if ( ! empty($install_actions) )
    1303                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
     1303                        $this->feedback(implode(' | ', (array)$install_actions));
    13041304        }
    13051305}
    … …  
    13681368                $install_actions = apply_filters('install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info);
    13691369                if ( ! empty($install_actions) )
    1370                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$install_actions));
     1370                        $this->feedback(implode(' | ', (array)$install_actions));
    13711371        }
    13721372}
    … …  
    14221422                $update_actions = apply_filters('update_theme_complete_actions', $update_actions, $this->theme);
    14231423                if ( ! empty($update_actions) )
    1424                         $this->feedback('<strong>' . __('Actions:') . '</strong> ' . implode(' | ', (array)$update_actions));
     1424                        $this->feedback(implode(' | ', (array)$update_actions));
    14251425        }
    14261426}
Note: See TracChangeset for help on using the changeset viewer.