HEALTH_CHECK_PLUGIN_URL definition generating “//” in URL paths
-
Hi:
The Page referenced above is not accessible on the Internet and the admin portal is secured.The definition of the HEALTH_CHECK_PLUGIN_URL variable appears to end with a trailing forward-slash.
The Pubic Function enqueue_styles then uses this variable with a path definition as in the following:
plugins_url( ‘/health-check/assets/css/health-check-troubleshooting-mode.css’ ), array(), HEALTH_CHECK_TROUBLESHOOTING_MODE_PLUGIN_VERSION )We seeing the following within the Health-Check Plugin Home Page in the WP-Admin Dashboard:
<script src=”https://www.statravel.co.uk/travel-blog/wp-content/plugins/health-check//assets/javascript/health-check.js?ver=1.2.5″ type=”text/javascript”></script>.
As a company, we filter and discard any requests with “//” in the path, but we cannot do that as it breaks the Plugin Dashboard.If you could help us get this use only a single forward slash, I would be very appreciative.
The page I need help with: [log in to see the link]
- The topic ‘HEALTH_CHECK_PLUGIN_URL definition generating “//” in URL paths’ is closed to new replies.