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 3 months, 2 weeks ago by  timnolte.
    #85335

    Zed
    Cryout Creations Team

    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 read the available documentation and search the forums before posting.
    #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 Team

    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 read the available documentation and search the forums before posting.
Viewing 4 posts - 1 through 4 (of 4 total)

You need to log in to reply to this topic.