please use WP_CONTENT_URL constant instead of hardcoded path
-
Hello, today I started using your plugin and like it very much!
But there’s one issue:
In the osom-modal-login.php on line 167 you’re hardcoding a wp-content url (for an image path). As it it possible to change the wp-content directoy name via constant WP_CONTENT_URL in wp-config.php, and concerned webmasters use this for security reason, the path doesn’t work this way. So please, could you use the constant instead? like this:<img src="<?php echo WP_CONTENT_URL;?>/plugins/osom-modal-login/assets/img/close.svg">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘please use WP_CONTENT_URL constant instead of hardcoded path’ is closed to new replies.