You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most (if not all) qtranslate-slug's css classes are prefixed with qts_ and i would suggest that the prefix should also be used for the language in the body classes:
sadly, i could not find out where the value is being used and cannot create a correct pull request (but my supposition is that the value is never used... and the filter could simply be removed).
in my local copy i've patched the code as suggested above and i will try to see if anything breaks.
The text was updated successfully, but these errors were encountered:
aoloe
changed the title
avoid adding a (non prefixed) two letters language code to the body css classes
do not add a (non prefixed) two letters language code to the body css classes
Nov 28, 2016
at
https://github.com/not-only-code/qtranslate-slug/blob/trunk/includes/class-qtranslate-slug.php#L572
the current language is added as a two letters language code to the body classes.
this clashes
most (if not all) qtranslate-slug's css classes are prefixed with
qts_
and i would suggest that the prefix should also be used for the language in the body classes:or even better
sadly, i could not find out where the value is being used and cannot create a correct pull request (but my supposition is that the value is never used... and the filter could simply be removed).
in my local copy i've patched the code as suggested above and i will try to see if anything breaks.
The text was updated successfully, but these errors were encountered: