Skip to content

Commit

Permalink
Update \WPEmerge\* function usage to have leading slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
atanas-dev committed Sep 1, 2019
1 parent cd81e29 commit cda0b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Theme/Theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function partial( $partial, $child = '', $context = [] ) {

$templates[] = "partials/${partial}.php";

WPEmerge\render( $templates, $context );
\WPEmerge\render( $templates, $context );
}

/**
Expand Down

0 comments on commit cda0b8a

Please sign in to comment.