Make WordPress Core

Ticket #27365: 27365.diff

File 27365.diff, 880 bytes (added by chrisbliss18, 11 years ago)

Proposed fix to allow relevant return values for the bulk_upgrade functions.

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

     
    584584                                )
    585585                        ) );
    586586
    587                         $results[$plugin] = $this->result;
     587                        $results[$plugin] = $result;
    588588
    589589                        // Prevent credentials auth screen from displaying multiple times
    590590                        if ( false === $result )
     
    967967                                ),
    968968                        ) );
    969969
    970                         $results[$theme] = $this->result;
     970                        $results[$theme] = $result;
    971971
    972972                        // Prevent credentials auth screen from displaying multiple times
    973973                        if ( false === $result )
     
    12221222
    12231223                        $result = $this->run( $options );
    12241224
    1225                         $results[] = $this->result;
     1225                        $results[] = $result;
    12261226
    12271227                        // Prevent credentials auth screen from displaying multiple times.
    12281228                        if ( false === $result )