Making WordPress.org

Changeset 14074


Ignore:
Timestamp:
09/24/2024 02:23:21 AM (7 months ago)
Author:
dd32
Message:

Plugin Directory: Plugin Check: Pass the slug to plugin check.

Props rabmalin.
See https://github.com/WordPress/plugin-check/pull/650.
See #7778.

File:
1 edited

Legend:

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

    r14069 r14074  
    684684            'timeout 30 ' . // Timeout after 30s if plugin-check is not done.
    685685            WPCLI . ' --url=https://wordpress.org/plugins ' .
    686             ' plugin check --error-severity=7 --warning-severity=6 --categories=plugin_repo ' .
    687             '--format=json ' . escapeshellarg( $this->plugin_root ),
     686            'plugin check ' .
     687            '--error-severity=7 --warning-severity=6 --categories=plugin_repo --format=json ' .
     688            '--slug=' . escapeshellarg( $this->plugin_slug ) . ' ' .
     689            escapeshellarg( $this->plugin_root ),
    688690            $output,
    689691            $return_code
Note: See TracChangeset for help on using the changeset viewer.