Making WordPress.org

Changeset 14567


Ignore:
Timestamp:
10/24/2025 06:46:08 AM (4 months ago)
Author:
dd32
Message:

Plugin Directory: Use the correct variables after the code was moved around in [14565].

See #8018.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

    r14565 r14567  
    768768            // Log plugin-check timing out.
    769769            $zip_name   = reset( $_FILES )['name'] ?? '';
    770             $output     = implode( "\n", $output );
    771770            $debug      = '';
    772             if ( $output || $stderr ) {
    773                 $debug = trim( "{$output}\n===\n{$stderr}", "\n=" );
     771            if ( $result['output'] || $result['stderr'] ) {
     772                $debug = trim( "{$result['output']}\n===\n{$result['stderr']}", "\n=" );
    774773                $debug = "\n```{$debug}```";
    775774            }
Note: See TracChangeset for help on using the changeset viewer.