chrismessina / diso

Automatically exported from code.google.com/p/diso
0 stars 0 forks source link

openid wordpress plugin: progress icon doesn't disappear #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Type a valid openid url in the field for the website.
2. You will see a loading icon that signals an ongoing progress. But it never 
disappears because of an error in the common.php.
3.

What is the expected output? What do you see instead?
The loading icon should disappear after the validation progress.

What version of the product are you using? On what operating system?
Version 3.3.3 on Wordpress 3.0.1 (German Version)

Please provide any additional information below.
Try the following:
In common.php change line 543 to 

echo '{ "valid":' . ( is_url_openid( $_REQUEST['url'] ) ? 'true' : 'false' ) . 
', "nonce":"' . wp_create_nonce('openid_ajax') . '" }';

After that the validation progress works fine and the loading icon disappears.

Original issue reported on code.google.com by mueller....@gmail.com on 28 Sep 2010 at 8:14