Skip to content

Commit

Permalink
add prefix to body class
Browse files Browse the repository at this point in the history
fixes #126
  • Loading branch information
LC43 committed Feb 28, 2017
1 parent 9e5b2ce commit a1bcd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-qtranslate-slug.php
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public function qtranslate_slug_header_extended(){
* @param array $classes list of classes
*/
public function qts_body_class( $classes ) {
$classes[] = call_user_func($this->get_plugin_prefix() . 'getLanguage');
$classes[] = 'qts_' . esc_attr( call_user_func($this->get_plugin_prefix() . 'getLanguage') );
return $classes;
}

Expand Down

0 comments on commit a1bcd4d

Please sign in to comment.