Fix PHP coding style based on feedback
This commit is contained in:
@ -50,11 +50,11 @@ class AutomatedLatestContent {
|
|||||||
$used_posts = array();
|
$used_posts = array();
|
||||||
$rendered_posts = array();
|
$rendered_posts = array();
|
||||||
|
|
||||||
foreach ($args['blocks'] as $block) {
|
foreach($args['blocks'] as $block) {
|
||||||
$posts = $alc->getPosts($block, $used_posts);
|
$posts = $alc->getPosts($block, $used_posts);
|
||||||
$rendered_posts[] = $alc->transformPosts($block, $posts);
|
$rendered_posts[] = $alc->transformPosts($block, $posts);
|
||||||
|
|
||||||
foreach ($posts as $post) {
|
foreach($posts as $post) {
|
||||||
$used_posts[] = $post->ID;
|
$used_posts[] = $post->ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user