Title: Code cleanliness issues
Last modified: October 17, 2025

---

# Code cleanliness issues

 *  Resolved [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/)
 * (@volkmar-kantor)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/code-cleanliness-issues/)
 * I noticed you have the following statement in your `location-weather-pro\includes\
   Blocks\build\index.css`
 *     ```wp-block-code
       .components-panel__body.block-editor-block-inspector__advanced{display:none}
       ```
   
 * This is very bad as it hiddes the visibility of the advanced settings on EVERY
   block.
   Can you please fix this fast.
 * Also you are loading a lot of CSS and JS on every page, even if your blocks or
   shortcodes are not present on the page, which is a huge issue if one try to optimize
   the page for performance – could you optimize that?
    -  This topic was modified 7 months, 1 week ago by [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/).

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

 *  Plugin Support [Pulak Ahmed](https://wordpress.org/support/users/pulak00/)
 * (@pulak00)
 * [7 months, 1 week ago](https://wordpress.org/support/topic/code-cleanliness-issues/#post-18687569)
 * Hi [@volkmar-kantor](https://wordpress.org/support/users/volkmar-kantor/),
 * Thank you for bringing this to our attention.
 * We sincerely apologize for the inconvenience caused. You are absolutely right—
   the CSS rule in `location-weather-pro/includes/Blocks/build/index.css` unintentionally
   affects the visibility of advanced settings for all Gutenberg blocks. We’ve identified
   the issue and will correct it in the next update so that it only targets our 
   block’s settings panel.
 * Regarding the loading of CSS and JS files, we completely understand your concern
   about performance optimization. We’re currently reviewing and improving our asset-
   loading process to ensure that scripts and styles are only enqueued when our 
   block or shortcode is actually used on a page. This enhancement will be included
   in an upcoming release.
 * We truly appreciate your valuable feedback. It helps us make the plugin more 
   efficient and user-friendly.
 * Thanks!
 *  [morewebwork](https://wordpress.org/support/users/morewebwork/)
 * (@morewebwork)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/code-cleanliness-issues/#post-18709322)
 * Same issue here. When will there be an update?
   Its urgent! Thanks.
 *  Plugin Support [Pulak Ahmed](https://wordpress.org/support/users/pulak00/)
 * (@pulak00)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/code-cleanliness-issues/#post-18710388)
 * Hello [@morewebwork](https://wordpress.org/support/users/morewebwork/),
 * Hope you are doing great today!
 * You would be happy to know that the issue has been addressed. We are very close
   to releasing the next plugin update, and the next update will resolve the issue.
 * In the meantime, if you are interested in testing the beta version of the next
   plugin update, we suggest you open a support ticket **[here](https://shapedplugin.com/create-new-ticket/)**.
 * Thank you.
 *  Plugin Support [Pulak Ahmed](https://wordpress.org/support/users/pulak00/)
 * (@pulak00)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/code-cleanliness-issues/#post-18726562)
 * Hello [@volkmar-kantor](https://wordpress.org/support/users/volkmar-kantor/) 
   and [@morewebwork](https://wordpress.org/support/users/morewebwork/),
 * We have released a new version of the plugin that includes the necessary fix.
   We recommend updating to the latest version, and we hope this will resolve the
   issue permanently.
 * Thank you.

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

The topic ‘Code cleanliness issues’ is closed to new replies.

 * ![](https://ps.w.org/location-weather/assets/icon-256x256.gif?rev=3500401)
 * [Location Weather – WordPress Weather Forecast, AQI, Temperature and Weather Widget](https://wordpress.org/plugins/location-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/location-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/location-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/location-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/location-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/location-weather/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Pulak Ahmed](https://wordpress.org/support/users/pulak00/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/code-cleanliness-issues/#post-18726562)
 * Status: resolved