Fix PHP coding style based on feedback

This commit is contained in:
Tautvidas Sipavičius
2016-05-31 17:50:38 +03:00
parent e6724b1d4a
commit b4e371302c

View File

@ -50,11 +50,11 @@ class AutomatedLatestContent {
$used_posts = array();
$rendered_posts = array();
foreach ($args['blocks'] as $block) {
foreach($args['blocks'] as $block) {
$posts = $alc->getPosts($block, $used_posts);
$rendered_posts[] = $alc->transformPosts($block, $posts);
foreach ($posts as $post) {
foreach($posts as $post) {
$used_posts[] = $post->ID;
}
}