Merge pull request #846 from IanDelMar/patch-1
Update functions.php - thx @IanDelMar
This commit is contained in:
commit
9ce8163f8f
|
@ -27,7 +27,7 @@ $understrap_includes = array(
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $understrap_includes as $file ) {
|
foreach ( $understrap_includes as $file ) {
|
||||||
$filepath = locate_template( '/inc' . $file );
|
$filepath = locate_template( 'inc' . $file );
|
||||||
if ( ! $filepath ) {
|
if ( ! $filepath ) {
|
||||||
trigger_error( sprintf( 'Error locating /inc%s for inclusion', $file ), E_USER_ERROR );
|
trigger_error( sprintf( 'Error locating /inc%s for inclusion', $file ), E_USER_ERROR );
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue