fix syntax typo
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 4m3s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m12s
Unit Testing / phpunit (7.0) (push) Failing after 4m54s
Unit Testing / phpunit (7.2) (push) Failing after 4m41s
Unit Testing / phpunit (7.3) (push) Failing after 5m14s
Unit Testing / phpunit (7.4) (push) Failing after 5m11s
Unit Testing / phpunit (8.0) (push) Failing after 5m8s
Unit Testing / phpunit (8.1) (push) Failing after 4m59s
Unit Testing / phpunit (8.2) (push) Failing after 5m7s
Unit Testing / phpunit (latest) (push) Failing after 4m54s

This commit is contained in:
André Menrath 2023-11-29 23:53:51 +01:00
parent ebb747368d
commit 628f3611d2

View file

@ -168,7 +168,7 @@ class Collection {
);
foreach ( $posts as $post ) {
$response['orderedItems'][] = $object = Transformers_Manager::instance()->transform( $post );
$response['orderedItems'][] = Transformers_Manager::instance()->transform( $post );
}
$rest_response = new WP_REST_Response( $response, 200 );