Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

HEALTH_CHECK_PLUGIN_URL definition generating “//” in URL paths

$
0
0

Replies: 0

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 are 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.


Viewing all articles
Browse latest Browse all 59525

Trending Articles