Double slashes in assets URI
-
Hi.
I see CloudFlare rule blocking some requests while in WP admin panel. That is happening because there is a double slash in images URIs of Maintenance plugin’s icon in the admin panel. File in question – wp-content / plugins / maintenance / includes / admin.php
$mtnc_variable->options_page = add_menu_page(__(‘Maintenance’, ‘maintenance’), __(‘Maintenance’, ‘maintenance’), ‘manage_options’, ‘maintenance’, ‘mtnc_manage_options’, MTNC_URI . ‘/images/icon-small.png‘);
You can recreate this issue by opening WP admin panel and chrome console. Check the icon-small.png path.
I have removed that one slash before IMAGE and CloudFlare doesn’t block anything now. I hope you will include this as a permanent solution in your next update.
Thank you
With regards, Alex
- The topic ‘Double slashes in assets URI’ is closed to new replies.