WPIntell

Source evidence

SSL issue

CSH Login · support · 2018-11-28T15:53:00+00:00

complaintsentiment
mediumseverity
0.86relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 31 rows with source links

16.1% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jamescorkhillwebcoop unresolved
I had to change wp_enqueue_script(‘cshlg_jquery_validate’, ‘ http://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.js’ ;); to wp_enqueue_script(‘cshlg_jquery_validate’, ‘//ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.js’); array(), false, false); To allow this plugin to work on SSL site without errors Hi Jamescorkhillwebcop, can you please let me know if the above is what caused the “unsafe script” error? When I allowed the unsafe script to run, the login worked but it took off the https. If your code change fixes that, can you please let me know where I make that change? THanks!! I found the line in register-scripts.php but when I make the change as shown, I get the following: Your PHP code changes were rolled back due to an error on line 72 of file wp-content/plugins/csh-login/inc/register-scripts.php. Please fix and try saving again. syntax error, unexpected ‘,’ Any assistance would be greatly helpfulQ Sorry to bother, but the code that worked for me was: wp_enqueue_script(‘cshlg_jquery_validate’, ‘//ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.js’, array(), false, false); thank you for your help in pointing me in the right direction! @pjurado Glad you got it sorted. Happy to help

Comments

4 shown
pjurado 2019-02-06T02:47:00+00:00

Hi Jamescorkhillwebcop, can you please let me know if the above is what caused the “unsafe script” error? When I allowed the unsafe script to run, the login worked but it took off the https. If your code change fixes that, can you please let me know where I make that change? THanks!!

pjurado 2019-02-06T03:07:00+00:00

I found the line in register-scripts.php but when I make the change as shown, I get the following: Your PHP code changes were rolled back due to an error on line 72 of file wp-content/plugins/csh-login/inc/register-scripts.php. Please fix and try saving again. syntax error, unexpected ‘,’ Any assistance would be greatly helpfulQ

pjurado 2019-02-06T03:16:00+00:00

Sorry to bother, but the code that worked for me was: wp_enqueue_script(‘cshlg_jquery_validate’, ‘//ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.js’, array(), false, false); thank you for your help in pointing me in the right direction!

jamescorkhillwebcoop 2019-02-06T09:20:00+00:00

@pjurado Glad you got it sorted. Happy to help