Performance: remove or cache update checks
-
I noticed this plugin is making a remote request to http://api.ww.wp.xz.cn/plugins/info/1.0/microsoft-clarity.json to check if it’s running the latest version which is slowing down the admin area.
This request is run on every admin page using admin_init (which also fires on ajax requests):add_action('admin_init', 'check_if_installed_plugin_version_is_latest');Would it be possible to remove this code or if it’s really necessary for the update message to show, cache it for 24 hours in a transient?
You must be logged in to reply to this topic.