Integrate AI Security Module and Enhance WordPress Core with AI Providers #55405
coding-standards.yml
on: pull_request
Coding standards
/
PHP checks
55s
Coding standards
/
JavaScript checks
1m 44s
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
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/analyzer/class-wp-security-analyzer.php#L203
Expected 1 newline at end of file; 0 found
|
|
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#L309
Expected 1 newline at end of file; 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.
|