Title: Upgrade problem with CSS loading
Last modified: December 20, 2021

---

# Upgrade problem with CSS loading

 *  Resolved [thobruk](https://wordpress.org/support/users/thobruk/)
 * (@thobruk)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupgrade-problem-with-css-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [thobruk](https://wordpress.org/support/users/thobruk/)
 * (@thobruk)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15181231)
 * 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](https://wordpress.org/support/users/tomwolfhun/)
 * (@tomwolfhun)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15184046)
 * Hello [@thobruk](https://wordpress.org/support/users/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](https://wordpress.org/support/users/thobruk/)
 * (@thobruk)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15184575)
 * 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](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](https://wordpress.org/support/users/tomwolfhun/)
 * (@tomwolfhun)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15186247)
 * Ok, [@thobruk](https://wordpress.org/support/users/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
 *  [C Green](https://wordpress.org/support/users/cgreen177/)
 * (@cgreen177)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15264847)
 * [@thobruk](https://wordpress.org/support/users/thobruk/) see this thread: [https://wordpress.org/support/topic/in-the-last-update-the-widget-has-disappeared/](https://wordpress.org/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.

 * ![](https://ps.w.org/wp-reviews-plugin-for-google/assets/icon-256x256.png?rev
   =2721569)
 * [Widgets for Google Reviews](https://wordpress.org/plugins/wp-reviews-plugin-for-google/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-reviews-plugin-for-google/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/reviews/)

## Tags

 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * 5 replies
 * 3 participants
 * Last reply from: [C Green](https://wordpress.org/support/users/cgreen177/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/upgrade-problem-with-css-loading/#post-15264847)
 * Status: resolved