Custom CSS Processing Bug

  • Author
    Posts
  • #84890

    Seems there is the same bug in the Kahuna them as in the Anima theme with with includes/custom-styles.php on line 640 there is a missing intval() call.

    
    #header-page-title .entry-title { font-size: <?php echo absint( $kahuna_ftitlessize - 20 ) ?>%; }
    

    Should be:

    
    #header-page-title .entry-title { font-size: <?php echo absint( intval( $kahuna_ftitlessize ) - 20 ) ?>%; }
    

    Also causes a lot of errors in the debug logs.

    Website: www.faithshaping.org

    • This topic was modified 4 years ago by timnolte.
    #85335
    Zed
    Cryout Creations mastermind

    What value is the titles size option currently set to?


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #91361

    I can confirm the bug timnolte posted. After changing the original line 640 to the fixed one, the debugger is no longer showing the bug. The site seems to work without problems after the fix. Hope you guys will integrate the fix in an upcoming update for Anima and Kahuna. I’ve tested the fix on Kahuna 1.5.1, will try on Anima next.

    #94183
    Zed
    Cryout Creations mastermind

    Actually we’ve tracked this down to an incorrect data value (changing its type from number to string) in the options defaults. We’ll get it sorted out in the upcoming updates.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Custom CSS Processing Bug’ is closed to new replies.