Skip to content

Commit

Permalink
attempt to fix issue introduced in 35a5e48
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Dec 6, 2018
1 parent 771d27c commit 66f0188
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions class-kirki-autoload.php
Expand Up @@ -93,6 +93,8 @@ protected function get_paths( $class_name ) {
$path = dirname( __FILE__ ) . '/modules/';
$path .= strtolower( str_replace( '_', '-', str_replace( 'Kirki_Modules_', '', $class_name ) ) ) . '/';
$paths[] = $path . $filename;
} elseif ( 'Kirki_Fonts' === $class_name ) {
$paths[] = dirname( __FILE__ ) . '/modules/webfonts/class-kirki-fonts.php';
}

if ( isset( $name_parts[0] ) ) {
Expand Down

0 comments on commit 66f0188

Please sign in to comment.