g.error).call(g,a.message)};g.convert=c;g.init=function(a){A=a._("Error");q=a._("Warning");s=a._("Notice");B=a._("OK");setTimeout(n,1E3);returng};returng}({},v,x));m.register("$8",function(g,e,E){functionl(a){varb=h("<pre>"+a+"</pre>").text();b&&(b=b.replace(/[\r\n]+/g,"\n").replace(/(^|\n)\s+/g,"$1").replace(/\s+$/,""));b||(b=a)||(b="Blank response from server");returnb}functiond(a){return(a=a.split(/[\r\n]/)[0])?(a=a.replace(/ +in +\S+ on line \d+/,""),a=a.replace(/^[()! ]+Fatal error:\s*/,
"")):t._("Server returned invalid data")}functionc(a){e.console&&console.error&&console.error('No nonce for "'+a+'"');return""}functionb(a,b,f){a[b]=f}functiona(a,b,f){a.push({name:b,value:f})}functionf(a,b,f){a.append(b,f)}functionn(a,b,f,c){functionn(b,c,w){if("abort"!==c){vars=k||{_:function(a){returna}},y=b.status,e=b.responseText,p=l(e),g=b.getResponseHeader("Content-Type")||"text/html",A=b.getResponseHeader("Content-Length")||e.length;"success"===c&&w?r.error(w):(r.error(d(p)+".\n"+
s._("Check console output for debugging information")),r.debug("Ajax failure for "+a,{status:y,error:c,message:w,output:e}),"parsererror"===c&&(w="Response not JSON"),r.log([s._("Provide the following text when reporting a problem")+":","----","Status "+y+' "'+(w||s._("Unknown error"))+'" ('+g+" "+A+" bytes)",p,"===="].join("\n")));f&&f.call&&f(b,c,w);z=b}}c.url=A;c.dataType="json";varr=m.require("$7","notices.js").clear();z=null;returnh.ajax(c).fail(n).done(function(a,f,w){varc=a&&a.data,k=a&&
"")):t._("Server returned invalid data")}functionc(a){e.console&&console.error&&console.error('No nonce for "'+a+'"');return""}functionb(a,b,f){a[b]=f}functiona(a,b,f){a.push({name:b,value:f})}functionf(a,b,f){a.append(b,f)}functionn(a,b,f,c){functionn(b,c,w){if("abort"!==c){vars=k||{_:function(a){returna}},y=b.status||0,e=b.responseText,p=l(e),g=b.getResponseHeader("Content-Type")||"Unknown type",A=b.getResponseHeader("Content-Length")||e.length;"success"===c&&w?r.error(w):(r.error(d(p)+
".\n"+s._("Check console output for debugging information")),r.debug("Ajax failure for "+a,{status:y,error:c,message:w,output:e}),"parsererror"===c&&(w="Response not JSON"),r.log([s._("Provide the following text when reporting a problem")+":","----","Status "+y+' "'+(w||s._("Unknown error"))+'" ('+g+" "+A+" bytes)",p,"===="].join("\n")));f&&f.call&&f(b,c,w);z=b}}c.url=A;c.dataType="json";varr=m.require("$7","notices.js").clear();z=null;returnh.ajax(c).fail(n).done(function(a,f,w){varc=a&&a.data,
ace:m.require("$16","ace.js").strf("php"),ref:m.require("$17","refs.js")};D.apis=m.require("$18","apis.js");D.fs=m.require("$19","fsconn.js");h("#loco-admin.wrap table.wp-list-table").each(function(g,e){m.require("$20","tables.js").init(e)});D.validate=function(g){return"2.4.5"!==(/^\d+\.\d+\.\d+/.exec(g&&g[0]||"")&&RegExp.lastMatch)?(D.notices.warn("admin.js is the wrong version (2.4.5). Please empty all relevant caches and reload this page."),!1):!0}})(window,document,window.jQuery);
\ No newline at end of file
ace:m.require("$16","ace.js").strf("php"),ref:m.require("$17","refs.js")};D.apis=m.require("$18","apis.js");D.fs=m.require("$19","fsconn.js");h("#loco-admin.wrap table.wp-list-table").each(function(g,e){m.require("$20","tables.js").init(e)});D.validate=function(g){return"2.4.6"!==(/^\d+\.\d+\.\d+/.exec(g&&g[0]||"")&&RegExp.lastMatch)?(D.notices.warn("admin.js is the wrong version (2.4.6). Please empty all relevant caches and reload this page."),!1):!0}})(window,document,window.jQuery);
$where=' `t`.`post_parent` = 0 AND langs.`object_id` IS NOT NULL';
$params['join']=' LEFT JOIN `'.$wpdb->prefix.'term_relationships` AS `langs` ON `langs`.`object_id` = `t`.`ID` AND `langs`.`term_taxonomy_id` = '.$langID;
$where=' `t`.`post_parent` = '.$team->ID.' AND langs.`object_id` IS NOT NULL';
if($enabled):
$params['join']=' LEFT JOIN `'.$wpdb->prefix.'term_relationships` AS `langs` ON `langs`.`object_id` = `t`.`ID` AND `langs`.`term_taxonomy_id` = '.$langID;