.dashboard-widget-finish-setup .progress-wrapper{border:1px solid #757575;border-radius:16px;font-size:.9em;padding:2px 8px 2px 8px;display:inline-block;box-sizing:border-box}.dashboard-widget-finish-setup .progress-wrapper>span{position:relative;top:-3px;color:#757575}.dashboard-widget-finish-setup .description div{margin-top:11px;float:right;width:70%}.dashboard-widget-finish-setup .description img{float:left;width:30%}.dashboard-widget-finish-setup .circle-progress{margin-top:1px;margin-right:-3px}.dashboard-widget-finish-setup .circle-progress circle{stroke:#f0f0f0;stroke-width:1px}.dashboard-widget-finish-setup .circle-progress .bar{stroke:#949494}jQuery(document).ready(function(){let t=jQuery(".um-secure-scan-results"),n=jQuery(".um-secure-scan-content"),e=jQuery("input[data-field_id^='banned_capabilities']");var c={init:function(){t.css({"margin-top":"10px",padding:"10px","padding-bottom":"10px","background-color":"#fff",display:"block","max-height":"200px",height:"500px","overflow-y":"scroll"}),n.on("click",function(e){c.effect(),e.preventDefault(),jQuery(this).prop("disabled",!0),t.empty(),c.log(wp.i18n.__("Scanning site..","ultimate-member")),c.ajax("")}),e.on("change",function(){n.after(' '+wp.i18n.__("You can start the scan now but you must save the settings to apply the selected capabilities after the scan is complete.","ultimate-member")+""),e.off("change")})},ajax:function(e){let a=[];t.parents(".um-form-table").find('input[type="checkbox"][data-field_id^="banned_capabilities_"]:checked').each(function(){a.push(jQuery(this).data("field_id").replace("banned_capabilities_",""))});e={nonce:um_admin_scripts.nonce,capabilities:a,last_scanned_capability:e};wp.ajax.send("um_secure_scan_affected_users",{data:e,success:function(e){e.completed?e.completed&&(t.empty(),c.log(e.recommendations),t.find(".current").removeClass("current"),n.prop("disabled",!1)):(c.ajax(e.last_scanned_capability),c.log(e.message))}})},log:function(e){t.find(".current").removeClass("current"),t.append(''+e+"
")},effect:function(){setInterval(function(){t.find(".current").fadeTo(100,.1).fadeTo(200,1)},1e3)}};c.init()});No direct access allowed