Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xili-language/xili-includes/class-xili-language.php
Original file line number Diff line number Diff line change
Expand Up @@ -2187,7 +2187,7 @@ public function xiliml_language_wp() {
// to fixe event in WP 3.4 - 2.7.1
public function xili_test_lang_perma() {
global $xl_permalinks_rules;
$this->lang_perma = ( class_exists( 'XL_Permalinks_Rules' ) && method_exists( $xl_permalinks_rules, 'insert_lang_tag_root' ) ); // 2.9.23 - must have instanciation in theme
$this->lang_perma = ( class_exists( 'XL_Permalinks_Rules' ) && ! empty( $xl_permalinks_rules ) && method_exists( $xl_permalinks_rules, 'insert_lang_tag_root' ) ); // 2.9.23 - must have instanciation in theme
$this->lpr = '-'; // 2.16.6
}

Expand Down