Ticket #18560: plugin-install.diff

File plugin-install.diff, 1.9 KB (added by trepmal, 21 months ago)

typo fixes

  • wp-admin/includes/plugin-install.php

     
    1212 * It is possible for a plugin to override the Plugin API result with three 
    1313 * filters. Assume this is for plugins, which can extend on the Plugin Info to 
    1414 * offer more choices. This is very powerful and must be used with care, when 
    15  * overridding the filters. 
     15 * overriding the filters. 
    1616 * 
    1717 * The first filter, 'plugins_api_args', is for the args and gives the action as 
    1818 * the second parameter. The hook for 'plugins_api_args' must ensure that an 
     
    3535                $args->per_page = 24; 
    3636 
    3737        // Allows a plugin to override the WordPress.org API entirely. 
    38         // Use the filter 'plugins_api_result' to mearly add results. 
     38        // Use the filter 'plugins_api_result' to merely add results. 
    3939        // Please ensure that a object is returned from the following filters. 
    4040        $args = apply_filters('plugins_api_args', $args, $action); 
    4141        $res = apply_filters('plugins_api', false, $action, $args); 
     
    9797        if ( is_wp_error($api_tags) ) { 
    9898                echo $api_tags->get_error_message(); 
    9999        } else { 
    100                 //Set up the tags in a way which can be interprated by wp_generate_tag_cloud() 
     100                //Set up the tags in a way which can be interpreted by wp_generate_tag_cloud() 
    101101                $tags = array(); 
    102102                foreach ( (array)$api_tags as $tag ) 
    103103                        $tags[ $tag['name'] ] = (object) array( 
     
    134134} 
    135135 
    136136/** 
    137  * Upload from zip 
     137 * Upload from zip. 
    138138 * @since 2.8.0 
    139139 * 
    140140 * @param string $page 
     
    175175 * @since 3.0.0 
    176176 */ 
    177177function install_plugin_install_status($api, $loop = false) { 
    178         // this function is called recursivly, $loop prevents futhur loops. 
     178        // this function is called recursively, $loop prevents further loops. 
    179179        if ( is_array($api) ) 
    180180                $api = (object) $api; 
    181181