Make WordPress Core

Ticket #34030: 34030.update-core.patch

File 34030.update-core.patch, 993 bytes (added by ocean90, 11 years ago)

5 plugins: Time: -0.3s, Memory: -0.1M

  • src/wp-admin/update-core.php

     
    252252
    253253        <tbody class="plugins">
    254254<?php
    255         foreach ( (array) $plugins as $plugin_file => $plugin_data) {
    256                 $info = plugins_api('plugin_information', array('slug' => $plugin_data->update->slug ));
     255        foreach ( (array) $plugins as $plugin_file => $plugin_data ) {
     256                $info = plugins_api( 'plugin_information', array(
     257                        'slug' => $plugin_data->update->slug,
     258                        'fields' => array(
     259                                'short_description' => false,
     260                                'sections' => false,
     261                                'requires' => false,
     262                                'rating' => false,
     263                                'ratings' => false,
     264                                'downloaded' => false,
     265                                'downloadlink' => false,
     266                                'last_updated' => false,
     267                                'added' => false,
     268                                'tags' => false,
     269                                'homepage' => false,
     270                                'donate_link' => false,
     271                        ),
     272                ) );
    257273                if ( is_wp_error( $info ) ) {
    258274                        $info = false;
    259275                }