Home Forums Weaver Xtreme Theme Split: Genericons font being loaded in frontend when not needed

  • This topic has 12 replies, 4 voices, and was last updated 1 year ago by User.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #73821
    randym56
    Participant

    I am using the cosmic late template and need to simply turn off the use of genericons. I am getting this error message:

    downloadable font: rejected by sanitizer (font-family: “Genericons” style:normal weight:400 stretch:100 src index:0) source: https://myweb.com/wp-content/themes/weaver-xtreme/assets/css/fonts/genericons/Genericons.eot

    Is there an admin function for me to turn the loading off? If so, where is it. If not, where in the code is the CSS loaded so I can manually turn it off?

    #73823
    scrambler
    Moderator

    what is “the cosmic late template”??

    Is that from a plugin?

    And please provide a link to your site

     

    #73826
    Weaver
    Keymaster

    Cosmic Late is one of Weaver’s subthemes – not really a template.

    I don’t know what the sanitizer is?

    The genericons font is used for the icons in post header info.

    There is no reason I can think of that there should be anything for there to be a problem.

    #75881
    hkp
    Participant

    @Weaver

    Was checking on other things and found this Error Message again which is on each post and page and has been for years and years. As it does not seem to slow the site or cause issues, I’ve ignored it.

    On my search for the reason for the error message, it led me to this forum post.

    This is what I got when inspecting one of my menu titles:

    downloadable font: rejected by sanitizer (font-family: "Genericons" style:normal weight:400 stretch:100 src index:0) source: https: // www.hiskingdomprophecy.com/ wp-content/themes/weaver-xtreme/assets/css/fonts/genericons/Genericons.eot

    FYI, DuckDuckGo AI Assist says “This message indicates that a font file named “Genericons” was not accepted by a security feature called a sanitizer, which checks files for safety before they can be used. This could be due to the font file containing potentially harmful elements or being improperly formatted.”

    Regards and thanks!

    #75883
    Weaver
    Keymaster

    Just where are you seeing the message?

    As far as I know, the theme always loads the Genericons.ttf file. The theme uses them for post format icons, for example. It is not a big file, with little overhead.

    I don’t seen any error messages from the Firefox debug tool.

    #75885
    Private Reply
    Weaver
    Keymaster
    This reply has been marked as private.
    #75886
    User
    Moderator

    @Weaver

    FYI, and for what it’s worth, when I do an “Inspect” on the word “About” on the top left of the home page, then it produces the following:

    https://res.cloudinary.com/home-test/image/upload/v1756348172/Xtreme-Insprct.jpg

    Test was using Firefox.

    Regards and thanks!

    #75887
    Private Reply
    Weaver
    Keymaster
    This reply has been marked as private.
    #75888
    Private Reply
    User
    Moderator
    This reply has been marked as private.
    #75889
    Private Reply
    Weaver
    Keymaster
    This reply has been marked as private.
    #75891
    Private Reply
    User
    Moderator
    This reply has been marked as private.
    #75904
    Private Reply
    Weaver
    Keymaster
    This reply has been marked as private.
    #75907
    Private Reply
    User
    Moderator
    This reply has been marked as private.
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.