PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
← All changes | js/usces_admin.js +2 -22 2.12.22.12.4 View file →
@@ -1139,33 +1139,13 @@
1139 1139
1140 1140 };
1141 1141
1142 1142 uscesInformation = {
1143 + // `url` is set by every caller below; no default is kept here on purpose.
1144 + // The former default pointed at a plain-HTTP welcart.com endpoint.
1143 1145 settings: {
1144 - url: 'http://www.welcart.com/util/welcart_information.php',
1145 1146 type: 'POST',
1146 1147 cache: false
1147 - },
1148 -
1149 - getinfo : function() {
1150 - var s = uscesInformation.settings;
1151 - s.data = "v=" + encodeURIComponent(uscesL10n.version);
1152 - s.data += "&wcid=" + encodeURIComponent(uscesL10n.wcid);
1153 - s.data += "&wcurl=" + encodeURIComponent(uscesL10n.USCES_PLUGIN_URL);
1154 - s.data += "&locale=" + encodeURIComponent(uscesL10n.locale);
1155 - s.data += "&theme=" + encodeURIComponent(uscesL10n.theme);
1156 - s.data += "&wcex=";
1157 - var de = '';
1158 - for( var i = 0; i < uscesL10n.wcex.length; i++) {
1159 - s.data += de + encodeURIComponent(uscesL10n.wcex[i]);
1160 - de =',';
1161 - }
1162 - $.ajax( s ).done(function( data ){
1163 - $("#wc_information").html( data );
1164 - }).fail(function( msg ){
1165 - $("#wc_information").html( 'error : ' + msg );
1166 - });
1167 - return false;
1168 1148 },
1169 1149
1170 1150 getinfo2 : function() {
1171 1151 var s = uscesInformation.settings;