• Resolved Nikita_Sp

    (@nikitasp)


    Hi!

    Thank you for the update about polylang compatibility again!
    You have one more issue in the updated source.

    The error in the file includes/header.php near line 54.
    The thing is if the styles are turned OFF – there is an array items (lines 123-124) so line 54 works in all ways:

    if ( ! empty( $style_array ) ) {

    There is empty item $style_array['name'] and $style_array['extra_css'].
    So you should check name item than, like:

    if ( $style_array['name'] != '' ) {

    Or, just don’t set it on line 123-124.
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disabling styles not working properly’ is closed to new replies.