Hi,
WordPress 5.2 running Primer theme.
Running PHP version: 7.2.15
WP Admin Graphic Password (by SiteGuarding.com) Version 1.8
Theme My Login Version 7.0.14
When plugin activated, and under settings i set graphic password, it doesn’t prompt me at all to enter graphic password, so I enter username, password, and captcha, and it says graphic password is incorrect. Disabling plugin remedies that.
]]>| testing on localhost Windows |
my plugins folder is moved to a diff location instead of default ‘/wp-content/plugins’.
now the problem is that the images are not being shown.
now looking at the image URL, its pointing to ‘/wp-content/plugins/wp-admin-graphic-password/images/..’.
so obviously, the issues wit plugins_url()
.
i added define( 'WP_PLUGIN_URL', __DIR__ . '\plugins' );
to my wp-config.php and thats fixed.
also i added sanitization code for effin windows:
$image_url = plugins_url('images/', __FILE__);
foreach ( array('imagepath', 'image', 'image_url') as $var ) {
$$var = str_replace('\\' ,'/', $$var); // sanitize for Win
}
but now the images are not fetched at all (earlier it was showing broken-image/improper URL). i echoed $image_url and thats proper.
so now am guessing that theres something going on in SG_PrintCells()
or other fn that i am unaware of..
but i left debugging here.. wud be good if theres a fix for this..
cheers..
]]>Does the image or any other part of this script connect or call to an external or 3rd-party service?
]]>