Fix incorrect global post object when field is fields => 'id=>parent
for WP_Query.
#41828
coding-standards.yml
on: pull_request
PHP coding standards
/
Run coding standards checks
19s
JavaScript coding standards
/
Run coding standards checks
58s
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
6 errors
PHP coding standards / Run coding standards checks
Process completed with exit code 1.
|
PHP coding standards / Run coding standards checks:
src/wp-includes/class-wp-query.php#L3674
Assignments must be the first block of code on a line
|
PHP coding standards / Run coding standards checks:
src/wp-includes/class-wp-query.php#L3678
Assignments must be the first block of code on a line
|
PHP coding standards / Run coding standards checks:
src/wp-includes/class-wp-query.php#L3678
Using short ternaries is not allowed as they are rarely used correctly
|
PHP coding standards / Run coding standards checks:
src/wp-includes/class-wp-query.php#L3681
Assignments must be the first block of code on a line
|
PHP coding standards / Run coding standards checks
Process completed with exit code 1.
|