PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.74
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.74
1.2.74 1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 All 174 releases
userswp / admin / assets / js / system-status.min.js

system-status.min.js in UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP 1.2.74, at admin/assets/js/system-status.min.js

1 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 jQuery(function($){var uwpSystemStatus={init:function(){$(document.body).on("click","a.debug-report",this.generateReport).on("click","#copy-for-support",this.copyReport).on("aftercopy","#copy-for-support",this.copySuccess)},generateReport:function(){var report="";$(".uwp-status-table thead, .uwp-status-table tbody").each(function(){if($(this).is("thead")){var label=$(this).find("th:eq(0)").data("export-label")||$(this).text();report=report+"\n### "+$.trim(label)+" ###\n\n"}else{$("tr",$(this)).each(function(){var label=$(this).find("td:eq(0)").data("export-label")||$(this).find("td:eq(0)").text();var the_name=$.trim(label).replace(/(<([^>]+)>)/gi,"");var $value_html=$(this).find("td:eq(1)").clone();$value_html.find(".private").remove();$value_html.find(".dashicons-yes").replaceWith("&#10004;");$value_html.find(".dashicons-no-alt, .dashicons-warning").replaceWith("&#10060;");var the_value=$.trim($value_html.text());var value_array=the_value.split(", ");if(value_array.length>1){var temp_line="";$.each(value_array,function(key,line){temp_line=temp_line+line+"\n"});the_value=temp_line}report=report+""+the_name+": "+the_value+"\n"})}});try{$("#debug-report").slideDown();$("#debug-report").find("textarea").val("`"+report+"`").focus().select();$(this).fadeOut();return false}catch(e){console.log(e)}return false},copyReport:function(evt){uwpClearClipboard();uwpSetClipboard($("#debug-report").find("textarea").val(),$(this));evt.preventDefault()},copySuccess:function(){alert("copied!")},copyFail:function(){$(".copy-error").removeClass("hidden");$("#debug-report").find("textarea").focus().select()}};uwpSystemStatus.init();function uwpSetClipboard(data,$el){if("undefined"===typeof $el){$el=jQuery(document)}var $temp_input=jQuery('<textarea style="opacity:0">');jQuery("body").append($temp_input);$temp_input.val(data).select();$el.trigger("beforecopy");try{document.execCommand("copy");$el.trigger("aftercopy")}catch(err){$el.trigger("aftercopyfailure")}$temp_input.remove()}function uwpClearClipboard(){uwpSetClipboard("")}});