• Resolved thobruk

    (@thobruk)


    The CSS doesn’t seem to load for the Trustindex widget. This used to work, but since a recent update it no longer works correctly.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter thobruk

    (@thobruk)

    Looks like the issue appears to be that the CSS is being called from /wp-admin/admin-ajax.php even in non-admin contexts. Normally one might expect css to come from somewhere in /wp-content/ . We do not allow access to /wp-admin/ urls to non-admin users.

    Plugin Support tomwolf

    (@tomwolfhun)

    Hello @thobruk,

    Can you send me the content of Troubleshooting’s tab?
    How did you block wp-admin.php from unidentified users? Loading CSS is handled to logged in and unath users as well. So you have to look deeper somewhere here for the reasons.

    check_ajax_referer() is runnable for you?

    Waiting for your reply,
    Tom
    Trustindex

    Thread Starter thobruk

    (@thobruk)

    We blocked access to anything that starts with /wp-admin/ to people outside our VPN. Your code does this to fetch the css:

    <link rel=’stylesheet’ id=’ti-widget-css-google-css’ href=’https://www.aaespeakers.com/wp-admin/admin-ajax.php?action=widget_css_google&#8217; type=’text/css’ media=’all’ />

    For some reason, it is fetching the css via the admin-ajax module, rather than fetching it from a simple path e.g. /wp-content/plugins/whatever. This may be deliberate, but I am not sure it needs to use the admin-ajax endpoint to serve something that could be handled at the webserver level much more efficiently.

    Plugin Support tomwolf

    (@tomwolfhun)

    Ok, @thobruk, we got your point.

    We will figure out something to solve this issue. But it will be in the next year. Thank
    you for your patience. (This method is because of cache plugins, but will see what else could come …)

    I will get back to you soon. Until that you can save that CSS to a physically individual file and include it in your theme.
    Tom
    Trustindex

    @thobruk see this thread: https://www.ads-software.com/support/topic/in-the-last-update-the-widget-has-disappeared/

    Seems like 7.9 fixes the css being loaded via Ajax issue (which I was also experiencing – thanks for raising this!)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upgrade problem with CSS loading’ is closed to new replies.