Skip to content

Integrate AI Security Module and Enhance WordPress Core with AI Providers #55405

Integrate AI Security Module and Enhance WordPress Core with AI Providers

Integrate AI Security Module and Enhance WordPress Core with AI Providers #55405

Triggered via pull request March 26, 2026 08:04
Status Failure
Total duration 1m 48s
Artifacts

coding-standards.yml

on: pull_request
Coding standards  /  PHP checks
55s
Coding standards / PHP checks
Coding standards  /  JavaScript checks
1m 44s
Coding standards / JavaScript checks
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Coding standards / PHP checks: src/wp-includes/ai-security/firewall/class-wp-firewall.php#L487
Using short ternaries is not allowed as they are rarely used correctly
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L727
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d, %3$d, %4$d, %5$d, %6$d, %7$d, %8$d", but got "%s, %d, %d, %d, %d, %d, %d, %d" in 'Security Report for %s Summary: - Total Events: %d - Critical: %d - High: %d - Medium: %d - Low: %d - Blocked IPs: %d - Firewall Rules: %d Log in to your WordPress admin to view full details. --- AI Security powered by WordPress AI Security Edition'.
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L587
When a multi-item array uses associative keys, each value should start on a new line.
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L463
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L396
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L357
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Coding standards / PHP checks: src/wp-includes/ai-security/ai-security.php#L288
Expected 1 spaces before closing parenthesis; 0 found
Coding standards / PHP checks: src/wp-includes/ai-security/logger/class-wp-audit-logger.php#L305
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Coding standards / PHP checks
Process completed with exit code 2.