1jQuery(document).ready(function ($) { 2 $("#verify-it-form").on("submit", function (e) { 3 e.preventDefault(); 4 5 var pluginKey = $("#plugin-key").val(); 6 7 if (pluginKey) { 8 // Perform the API request 9 $.ajax({ 10 url: `https://app.verifyid.dk/api/user/${pluginKey}`, 11 method: "GET", 12 success: function (response) { 13 $.post( 14 ajaxurl, 15 { 16 action: "verify_it_save_user_data", 17 plugin_key: pluginKey, 18 user_name: response.name, 19 user_email: response.email, 20 }, 21 function () { 22 location.reload(); 23 } 24 ); 25 }, 26 error: function () { 27 Swal.fire({ 28 icon: "error", 29 title: "Fejl", 30 text: "Kunne ikke bekræfte nøglen. Prøv venligst igen.", 31 }); 32 }, 33 }); 34 } 35 }); 36});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.