values. */ /* The MD5 hash allows the script to be cached in the browser until the globals happen to change. */ /* For instance, the global variables may change when a User who is logged-in changes their Profile. */ wp_enqueue_script ("ws-plugin--s2member", $s2o . "?ws_plugin__s2member_js_w_globals=" . urlencode ($md5) . "&qcABC=1", array ("jquery", "password-strength-meter"), c_ws_plugin__s2member_utilities::ver_checksum ()); } else /* Else if they are not logged in, we distinguish the JavaScript file by NOT including $md5. */ { /* This essentially creates 2 versions of the script. One while logged in & another when not. */ wp_enqueue_script ("ws-plugin--s2member", $s2o . "?ws_plugin__s2member_js_w_globals=1&qcABC=1", array ("jquery", "password-strength-meter"), c_ws_plugin__s2member_utilities::ver_checksum ()); } /**/ do_action ("ws_plugin__s2member_during_add_js_w_globals", get_defined_vars ()); } /**/ do_action ("ws_plugin__s2member_after_add_js_w_globals", get_defined_vars ()); /**/ return; /* Return for uniformity. */ } } } ?>