Skip to content

Commit 8676964

Browse files
author
Carlos Capote
committed
Remove unused lines referencing file that doesn't exist ($locale.php)
1 parent d1b3b54 commit 8676964

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

library/translation/translation.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,4 @@
1111

1212
// Adding Translation Option
1313
load_theme_textdomain( 'bonestheme', get_template_directory() .'/library/translation' );
14-
$locale = get_locale();
15-
$locale_file = get_template_directory() ."/library/translation/$locale.php";
16-
if ( is_readable($locale_file) ) require_once($locale_file);
17-
18-
19-
20-
21-
22-
23-
24-
25-
?>
14+
?>

0 commit comments

Comments
 (0)