Merge pull request #846 from IanDelMar/patch-1

Update functions.php - thx @IanDelMar
This commit is contained in:
Holger 2018-11-12 10:05:27 +01:00 committed by GitHub
commit 9ce8163f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ $understrap_includes = array(
);
foreach ( $understrap_includes as $file ) {
$filepath = locate_template( '/inc' . $file );
$filepath = locate_template( 'inc' . $file );
if ( ! $filepath ) {
trigger_error( sprintf( 'Error locating /inc%s for inclusion', $file ), E_USER_ERROR );
}