Hardcoded wp-content path in consentmanager.php
-
In web/app/plugins/consent-manager/consentmanager.php, the menu icon path is hardcoded to /wp-content/…:
add_menu_page( 'consentmanager options', 'consentmanager', 'manage_options', ConsentManagerMain::getAdminUrlConst(), 'consentManager_display_admin_page', '/wp-content/plugins/consent-manager/assets/images/logo20.png', 80 );This breaks on installations with a custom
WP_CONTENT_DIR/WP_CONTENT_URL.Please make the path dynamic using WordPress functions, e.g.:
$icon_url = plugins_url('assets/images/logo20.png', __FILE__);Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.