• In front-page.php
    get_theme_mod( 'colormag_hide_blog_front', 0 )
    return an empty string of the option is unset not zero

    therefor
    0 == get_theme_mod( 'colormag_hide_blog_front', 0 )
    evaluates to false in PHP 8 if the option is unset where it should be true

    patched with :
    1 != get_theme_mod( 'colormag_hide_blog_front', 0 )

    • This topic was modified 4 years, 1 month ago by brbrbr.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @brbrbr,

    Sorry for the delayed response,

    The query has been forwarded to the developer and they are looking on it. Will get back to you once the developer comes with an appropriate solutions.

    Regards,
    ThemeGrill Support Team

    Thread Starter brbrbr

    (@brbrbr)

    Appears to be fixed in today’s release

    thanks

    Hi @brbrbr,

    Glad the issue is solved. Let me know for other queries in the future too and we will get back to you.

    Regards,
    ThemeGrill Support Team

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

The topic ‘colormag_hide_blog_front is empty string’ is closed to new replies.