Changeset 14566
- Timestamp:
- 10/24/2025 06:15:07 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-plugin-updates-pcp.php
r14565 r14566 203 203 } 204 204 205 /** 206 * Notifies a Slack channel about the PCP results. 207 * 208 * @param object $plugin The plugin post object. 209 * @param array $results The results from PCP. 210 * @param string $tag The tag that was scanned. 211 */ 205 212 public static function notify_slack_channel( $plugin, $results, $tag ) { 206 213 … … 306 313 * Sends a plugin through Plugin Check. 307 314 * 315 * @param string $plugin_slug The plugin slug. 316 * @param string $path The local path to the plugin. 317 * @param string $tag The tag being scanned. 318 * @param string $mode The mode to run plugin-check in. 'new' or 'update'. 308 319 * @return array The results of the plugin check. 309 320 */ … … 329 340 '--error-severity=7 --warning-severity=6 --include-low-severity-errors ' . 330 341 '--categories=plugin_repo --format=json ' . 331 // '--mode=' . escapeshellarg( $mode ) . ' ' . // Not implemented yet.342 '--mode=' . escapeshellarg( $mode ) . ' ' . 332 343 '--slug=' . escapeshellarg( $plugin_slug ) . ' ' . 333 344 escapeshellarg( $path );
Note: See TracChangeset
for help on using the changeset viewer.