Skip to content

Commit

Permalink
conditional loading isn't necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
jmau111 committed May 5, 2023
1 parent a2de160 commit 159c45a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jm-twitter-cards.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
'public/Particular',
];

foreach ($dependencies as $rel_path) {
require JM_TC_DIR . "$rel_path.php";
foreach ($dependencies as $file) {
require JM_TC_DIR . "$file.php";
}

if (defined('WP_CLI') && WP_CLI) {
Expand Down

0 comments on commit 159c45a

Please sign in to comment.