Skip to content

Commit

Permalink
Obey editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jun 10, 2021
1 parent fd04991 commit 96261d5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Shortcodes/ListPostsShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static function apply($params, $content) {
$postType = $params['type']; //what kind of post are we querying
unset($params['type']); //don't need this any more

$manager = PostTypeManager::get();
$manager = PostTypeManager::get();

if(!$manager->postTypeIsRegistered($postType)){
if(defined('WP_DEBUG') && WP_DEBUG) {
Expand All @@ -40,4 +40,4 @@ static function apply($params, $content) {
}
}
}
}
}
4 changes: 2 additions & 2 deletions src/Util/AdminUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ protected static function addAdminStyles($postTypes)
if (isset($icons[$type])) {
$pattern = preg_replace('/{post_type}/', $postType, $pattern);
echo $pattern . ' {
background: url(' . get_bloginfo('template_url') . '/images/' . $icons[$type] . ') no-repeat center center !important;
}';
background: url(' . get_bloginfo('template_url') . '/images/' . $icons[$type] . ') no-repeat center center !important;
}';
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Views/PostView.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public function __construct($args = [])
}


}
}
2 changes: 1 addition & 1 deletion src/Views/RssItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ public function render($args = [])
<?php
}

}
}
2 changes: 1 addition & 1 deletion src/Views/SimplePost.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public function render($args = [])

<?php
}
}
}

0 comments on commit 96261d5

Please sign in to comment.