Skip to content

Commit 7eeab1f

Browse files
committed
Autoload debug
1 parent e7a436c commit 7eeab1f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Dispatch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function __construct(array $url_callbacks, $priority = 5) {
3333

3434
foreach($url_callbacks as $url_key => $callback) {
3535

36-
if ( $wp_query->get( $this->query_var_name($url_key) ) ){
36+
if ($wp_query->get( $this->query_var_name($url_key))) {
3737

3838
$wp_query->is_home = false;
3939

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@
88
"email": "tim@thefold.co.nz"
99
}
1010
],
11+
"autoload": {
12+
"psr-4": {
13+
"TheFold\\WordPress\\":"/"
14+
}
15+
}
1116
"require": {}
1217
}

0 commit comments

Comments
 (0)