From d88e50df38fa8b402fadb7da80b484aec043b020 Mon Sep 17 00:00:00 2001 From: David Stone Date: Mon, 14 Apr 2025 11:36:46 -0600 Subject: [PATCH] Prep Plugin for release on WordPress.org (#23) * Update translation text domain * Escape everything that should be escaped. * Add nonce checks where needed. * Sanitize all inputs. * Apply Code style changes across the codebase. * Correct many deprecation notices. * Optimize load order of many filters. * Add Proper Build script * Use emojii flags * Fix i18n deprecation notice for translating too early * Put all scripts in footer and load async --- .phpcs.xml.dist | 30 +- assets/css/admin.css | 4 +- assets/css/admin.min.css | 2 +- assets/css/apexcharts.min.css | 2 +- assets/css/flags.css | 1828 +--- assets/css/flags.min.css | 2 +- assets/css/flags/flag-icon.css | 1825 ---- assets/css/flags/flag-icon.min.css | 1 - assets/css/framework.min.css | 2 +- assets/img/flags/1x1/ad.svg | 1 - assets/img/flags/1x1/ae.svg | 1 - assets/img/flags/1x1/af.svg | 1 - assets/img/flags/1x1/ag.svg | 1 - assets/img/flags/1x1/ai.svg | 1 - assets/img/flags/1x1/al.svg | 1 - assets/img/flags/1x1/am.svg | 1 - assets/img/flags/1x1/ao.svg | 1 - assets/img/flags/1x1/aq.svg | 1 - assets/img/flags/1x1/ar.svg | 1 - assets/img/flags/1x1/as.svg | 1 - assets/img/flags/1x1/at.svg | 1 - assets/img/flags/1x1/au.svg | 1 - assets/img/flags/1x1/aw.svg | 1 - assets/img/flags/1x1/ax.svg | 1 - assets/img/flags/1x1/az.svg | 1 - assets/img/flags/1x1/ba.svg | 1 - assets/img/flags/1x1/bb.svg | 1 - assets/img/flags/1x1/bd.svg | 1 - assets/img/flags/1x1/be.svg | 1 - assets/img/flags/1x1/bf.svg | 1 - assets/img/flags/1x1/bg.svg | 1 - assets/img/flags/1x1/bh.svg | 1 - assets/img/flags/1x1/bi.svg | 1 - assets/img/flags/1x1/bj.svg | 1 - assets/img/flags/1x1/bl.svg | 1 - assets/img/flags/1x1/bm.svg | 1 - assets/img/flags/1x1/bn.svg | 1 - assets/img/flags/1x1/bo.svg | 1 - assets/img/flags/1x1/bq.svg | 1 - assets/img/flags/1x1/br.svg | 1 - assets/img/flags/1x1/bs.svg | 1 - assets/img/flags/1x1/bt.svg | 1 - assets/img/flags/1x1/bv.svg | 1 - assets/img/flags/1x1/bw.svg | 1 - assets/img/flags/1x1/by.svg | 1 - assets/img/flags/1x1/bz.svg | 1 - assets/img/flags/1x1/ca.svg | 1 - assets/img/flags/1x1/cc.svg | 1 - assets/img/flags/1x1/cd.svg | 1 - assets/img/flags/1x1/cf.svg | 1 - assets/img/flags/1x1/cg.svg | 1 - assets/img/flags/1x1/ch.svg | 1 - assets/img/flags/1x1/ci.svg | 1 - assets/img/flags/1x1/ck.svg | 1 - assets/img/flags/1x1/cl.svg | 1 - assets/img/flags/1x1/cm.svg | 1 - assets/img/flags/1x1/cn.svg | 1 - assets/img/flags/1x1/co.svg | 1 - assets/img/flags/1x1/cr.svg | 1 - assets/img/flags/1x1/cu.svg | 1 - assets/img/flags/1x1/cv.svg | 1 - assets/img/flags/1x1/cw.svg | 1 - assets/img/flags/1x1/cx.svg | 1 - assets/img/flags/1x1/cy.svg | 1 - assets/img/flags/1x1/cz.svg | 1 - assets/img/flags/1x1/de.svg | 1 - assets/img/flags/1x1/dj.svg | 1 - assets/img/flags/1x1/dk.svg | 1 - assets/img/flags/1x1/dm.svg | 1 - assets/img/flags/1x1/do.svg | 1 - assets/img/flags/1x1/dz.svg | 1 - assets/img/flags/1x1/ec.svg | 1 - assets/img/flags/1x1/ee.svg | 1 - assets/img/flags/1x1/eg.svg | 1 - assets/img/flags/1x1/eh.svg | 1 - assets/img/flags/1x1/er.svg | 1 - assets/img/flags/1x1/es-ca.svg | 1 - assets/img/flags/1x1/es-ga.svg | 1 - assets/img/flags/1x1/es.svg | 1 - assets/img/flags/1x1/et.svg | 1 - assets/img/flags/1x1/eu.svg | 1 - assets/img/flags/1x1/fi.svg | 1 - assets/img/flags/1x1/fj.svg | 1 - assets/img/flags/1x1/fk.svg | 1 - assets/img/flags/1x1/fm.svg | 1 - assets/img/flags/1x1/fo.svg | 1 - assets/img/flags/1x1/fr.svg | 1 - assets/img/flags/1x1/ga.svg | 1 - assets/img/flags/1x1/gb-eng.svg | 1 - assets/img/flags/1x1/gb-nir.svg | 1 - assets/img/flags/1x1/gb-sct.svg | 1 - assets/img/flags/1x1/gb-wls.svg | 1 - assets/img/flags/1x1/gb.svg | 1 - assets/img/flags/1x1/gd.svg | 1 - assets/img/flags/1x1/ge.svg | 1 - assets/img/flags/1x1/gf.svg | 1 - assets/img/flags/1x1/gg.svg | 1 - assets/img/flags/1x1/gh.svg | 1 - assets/img/flags/1x1/gi.svg | 1 - assets/img/flags/1x1/gl.svg | 1 - assets/img/flags/1x1/gm.svg | 1 - assets/img/flags/1x1/gn.svg | 1 - assets/img/flags/1x1/gp.svg | 1 - assets/img/flags/1x1/gq.svg | 1 - assets/img/flags/1x1/gr.svg | 1 - assets/img/flags/1x1/gs.svg | 51 - assets/img/flags/1x1/gt.svg | 1 - assets/img/flags/1x1/gu.svg | 17 - assets/img/flags/1x1/gw.svg | 1 - assets/img/flags/1x1/gy.svg | 1 - assets/img/flags/1x1/hk.svg | 1 - assets/img/flags/1x1/hm.svg | 1 - assets/img/flags/1x1/hn.svg | 1 - assets/img/flags/1x1/hr.svg | 1 - assets/img/flags/1x1/ht.svg | 1 - assets/img/flags/1x1/hu.svg | 1 - assets/img/flags/1x1/id.svg | 1 - assets/img/flags/1x1/ie.svg | 1 - assets/img/flags/1x1/il.svg | 1 - assets/img/flags/1x1/im.svg | 1 - assets/img/flags/1x1/in.svg | 1 - assets/img/flags/1x1/io.svg | 1 - assets/img/flags/1x1/iq.svg | 1 - assets/img/flags/1x1/ir.svg | 1 - assets/img/flags/1x1/is.svg | 1 - assets/img/flags/1x1/it.svg | 1 - assets/img/flags/1x1/je.svg | 1 - assets/img/flags/1x1/jm.svg | 1 - assets/img/flags/1x1/jo.svg | 1 - assets/img/flags/1x1/jp.svg | 1 - assets/img/flags/1x1/ke.svg | 1 - assets/img/flags/1x1/kg.svg | 1 - assets/img/flags/1x1/kh.svg | 1 - assets/img/flags/1x1/ki.svg | 1 - assets/img/flags/1x1/km.svg | 1 - assets/img/flags/1x1/kn.svg | 1 - assets/img/flags/1x1/kp.svg | 1 - assets/img/flags/1x1/kr.svg | 1 - assets/img/flags/1x1/kw.svg | 1 - assets/img/flags/1x1/ky.svg | 1 - assets/img/flags/1x1/kz.svg | 1 - assets/img/flags/1x1/la.svg | 1 - assets/img/flags/1x1/lb.svg | 1 - assets/img/flags/1x1/lc.svg | 1 - assets/img/flags/1x1/li.svg | 1 - assets/img/flags/1x1/lk.svg | 1 - assets/img/flags/1x1/lr.svg | 1 - assets/img/flags/1x1/ls.svg | 1 - assets/img/flags/1x1/lt.svg | 1 - assets/img/flags/1x1/lu.svg | 1 - assets/img/flags/1x1/lv.svg | 1 - assets/img/flags/1x1/ly.svg | 1 - assets/img/flags/1x1/ma.svg | 1 - assets/img/flags/1x1/mc.svg | 1 - assets/img/flags/1x1/md.svg | 1 - assets/img/flags/1x1/me.svg | 1 - assets/img/flags/1x1/mf.svg | 1 - assets/img/flags/1x1/mg.svg | 1 - assets/img/flags/1x1/mh.svg | 1 - assets/img/flags/1x1/mk.svg | 1 - assets/img/flags/1x1/ml.svg | 1 - assets/img/flags/1x1/mm.svg | 1 - assets/img/flags/1x1/mn.svg | 1 - assets/img/flags/1x1/mo.svg | 1 - assets/img/flags/1x1/mp.svg | 1 - assets/img/flags/1x1/mq.svg | 1 - assets/img/flags/1x1/mr.svg | 1 - assets/img/flags/1x1/ms.svg | 1 - assets/img/flags/1x1/mt.svg | 1 - assets/img/flags/1x1/mu.svg | 1 - assets/img/flags/1x1/mv.svg | 1 - assets/img/flags/1x1/mw.svg | 1 - assets/img/flags/1x1/mx.svg | 1 - assets/img/flags/1x1/my.svg | 1 - assets/img/flags/1x1/mz.svg | 1 - assets/img/flags/1x1/na.svg | 1 - assets/img/flags/1x1/nc.svg | 1 - assets/img/flags/1x1/ne.svg | 1 - assets/img/flags/1x1/nf.svg | 1 - assets/img/flags/1x1/ng.svg | 1 - assets/img/flags/1x1/ni.svg | 1 - assets/img/flags/1x1/nl.svg | 1 - assets/img/flags/1x1/no.svg | 1 - assets/img/flags/1x1/np.svg | 1 - assets/img/flags/1x1/nr.svg | 1 - assets/img/flags/1x1/nu.svg | 1 - assets/img/flags/1x1/nz.svg | 1 - assets/img/flags/1x1/om.svg | 1 - assets/img/flags/1x1/pa.svg | 1 - assets/img/flags/1x1/pe.svg | 1 - assets/img/flags/1x1/pf.svg | 1 - assets/img/flags/1x1/pg.svg | 1 - assets/img/flags/1x1/ph.svg | 1 - assets/img/flags/1x1/pk.svg | 1 - assets/img/flags/1x1/pl.svg | 1 - assets/img/flags/1x1/pm.svg | 1 - assets/img/flags/1x1/pn.svg | 1 - assets/img/flags/1x1/pr.svg | 1 - assets/img/flags/1x1/ps.svg | 1 - assets/img/flags/1x1/pt.svg | 1 - assets/img/flags/1x1/pw.svg | 1 - assets/img/flags/1x1/py.svg | 1 - assets/img/flags/1x1/qa.svg | 1 - assets/img/flags/1x1/re.svg | 1 - assets/img/flags/1x1/ro.svg | 1 - assets/img/flags/1x1/rs.svg | 1 - assets/img/flags/1x1/ru.svg | 1 - assets/img/flags/1x1/rw.svg | 1 - assets/img/flags/1x1/sa.svg | 1 - assets/img/flags/1x1/sb.svg | 1 - assets/img/flags/1x1/sc.svg | 1 - assets/img/flags/1x1/sd.svg | 1 - assets/img/flags/1x1/se.svg | 1 - assets/img/flags/1x1/sg.svg | 1 - assets/img/flags/1x1/sh.svg | 1 - assets/img/flags/1x1/si.svg | 1 - assets/img/flags/1x1/sj.svg | 1 - assets/img/flags/1x1/sk.svg | 1 - assets/img/flags/1x1/sl.svg | 1 - assets/img/flags/1x1/sm.svg | 17 - assets/img/flags/1x1/sn.svg | 1 - assets/img/flags/1x1/so.svg | 1 - assets/img/flags/1x1/sr.svg | 1 - assets/img/flags/1x1/ss.svg | 1 - assets/img/flags/1x1/st.svg | 1 - assets/img/flags/1x1/sv.svg | 1 - assets/img/flags/1x1/sx.svg | 1 - assets/img/flags/1x1/sy.svg | 1 - assets/img/flags/1x1/sz.svg | 1 - assets/img/flags/1x1/tc.svg | 1 - assets/img/flags/1x1/td.svg | 1 - assets/img/flags/1x1/tf.svg | 1 - assets/img/flags/1x1/tg.svg | 1 - assets/img/flags/1x1/th.svg | 1 - assets/img/flags/1x1/tj.svg | 1 - assets/img/flags/1x1/tk.svg | 1 - assets/img/flags/1x1/tl.svg | 1 - assets/img/flags/1x1/tm.svg | 1 - assets/img/flags/1x1/tn.svg | 1 - assets/img/flags/1x1/to.svg | 1 - assets/img/flags/1x1/tr.svg | 1 - assets/img/flags/1x1/tt.svg | 1 - assets/img/flags/1x1/tv.svg | 1 - assets/img/flags/1x1/tw.svg | 1 - assets/img/flags/1x1/tz.svg | 1 - assets/img/flags/1x1/ua.svg | 1 - assets/img/flags/1x1/ug.svg | 1 - assets/img/flags/1x1/um.svg | 1 - assets/img/flags/1x1/un.svg | 1 - assets/img/flags/1x1/us.svg | 1 - assets/img/flags/1x1/uy.svg | 1 - assets/img/flags/1x1/uz.svg | 1 - assets/img/flags/1x1/va.svg | 1 - assets/img/flags/1x1/vc.svg | 1 - assets/img/flags/1x1/ve.svg | 1 - assets/img/flags/1x1/vg.svg | 1 - assets/img/flags/1x1/vi.svg | 1 - assets/img/flags/1x1/vn.svg | 1 - assets/img/flags/1x1/vu.svg | 1 - assets/img/flags/1x1/wf.svg | 1 - assets/img/flags/1x1/ws.svg | 1 - assets/img/flags/1x1/xk.svg | 1 - assets/img/flags/1x1/ye.svg | 1 - assets/img/flags/1x1/yt.svg | 1 - assets/img/flags/1x1/za.svg | 1 - assets/img/flags/1x1/zm.svg | 1 - assets/img/flags/1x1/zw.svg | 1 - assets/img/flags/4x3/ad.svg | 1 - assets/img/flags/4x3/ae.svg | 1 - assets/img/flags/4x3/af.svg | 1 - assets/img/flags/4x3/ag.svg | 1 - assets/img/flags/4x3/ai.svg | 1 - assets/img/flags/4x3/al.svg | 1 - assets/img/flags/4x3/am.svg | 1 - assets/img/flags/4x3/ao.svg | 1 - assets/img/flags/4x3/aq.svg | 1 - assets/img/flags/4x3/ar.svg | 1 - assets/img/flags/4x3/as.svg | 1 - assets/img/flags/4x3/at.svg | 1 - assets/img/flags/4x3/au.svg | 1 - assets/img/flags/4x3/aw.svg | 1 - assets/img/flags/4x3/ax.svg | 1 - assets/img/flags/4x3/az.svg | 1 - assets/img/flags/4x3/ba.svg | 1 - assets/img/flags/4x3/bb.svg | 1 - assets/img/flags/4x3/bd.svg | 1 - assets/img/flags/4x3/be.svg | 1 - assets/img/flags/4x3/bf.svg | 1 - assets/img/flags/4x3/bg.svg | 1 - assets/img/flags/4x3/bh.svg | 1 - assets/img/flags/4x3/bi.svg | 1 - assets/img/flags/4x3/bj.svg | 1 - assets/img/flags/4x3/bl.svg | 1 - assets/img/flags/4x3/bm.svg | 1 - assets/img/flags/4x3/bn.svg | 1 - assets/img/flags/4x3/bo.svg | 1 - assets/img/flags/4x3/bq.svg | 1 - assets/img/flags/4x3/br.svg | 1 - assets/img/flags/4x3/bs.svg | 1 - assets/img/flags/4x3/bt.svg | 1 - assets/img/flags/4x3/bv.svg | 1 - assets/img/flags/4x3/bw.svg | 1 - assets/img/flags/4x3/by.svg | 1 - assets/img/flags/4x3/bz.svg | 1 - assets/img/flags/4x3/ca.svg | 1 - assets/img/flags/4x3/cc.svg | 1 - assets/img/flags/4x3/cd.svg | 1 - assets/img/flags/4x3/cf.svg | 1 - assets/img/flags/4x3/cg.svg | 1 - assets/img/flags/4x3/ch.svg | 1 - assets/img/flags/4x3/ci.svg | 1 - assets/img/flags/4x3/ck.svg | 1 - assets/img/flags/4x3/cl.svg | 1 - assets/img/flags/4x3/cm.svg | 1 - assets/img/flags/4x3/cn.svg | 1 - assets/img/flags/4x3/co.svg | 1 - assets/img/flags/4x3/cr.svg | 1 - assets/img/flags/4x3/cu.svg | 1 - assets/img/flags/4x3/cv.svg | 1 - assets/img/flags/4x3/cw.svg | 1 - assets/img/flags/4x3/cx.svg | 1 - assets/img/flags/4x3/cy.svg | 1 - assets/img/flags/4x3/cz.svg | 1 - assets/img/flags/4x3/de.svg | 1 - assets/img/flags/4x3/dj.svg | 1 - assets/img/flags/4x3/dk.svg | 1 - assets/img/flags/4x3/dm.svg | 1 - assets/img/flags/4x3/do.svg | 1 - assets/img/flags/4x3/dz.svg | 1 - assets/img/flags/4x3/ec.svg | 1 - assets/img/flags/4x3/ee.svg | 1 - assets/img/flags/4x3/eg.svg | 1 - assets/img/flags/4x3/eh.svg | 1 - assets/img/flags/4x3/er.svg | 1 - assets/img/flags/4x3/es-ca.svg | 1 - assets/img/flags/4x3/es-ga.svg | 1 - assets/img/flags/4x3/es.svg | 1 - assets/img/flags/4x3/et.svg | 1 - assets/img/flags/4x3/eu.svg | 1 - assets/img/flags/4x3/fi.svg | 1 - assets/img/flags/4x3/fj.svg | 1 - assets/img/flags/4x3/fk.svg | 1 - assets/img/flags/4x3/fm.svg | 1 - assets/img/flags/4x3/fo.svg | 1 - assets/img/flags/4x3/fr.svg | 1 - assets/img/flags/4x3/ga.svg | 1 - assets/img/flags/4x3/gb-eng.svg | 1 - assets/img/flags/4x3/gb-nir.svg | 1 - assets/img/flags/4x3/gb-sct.svg | 1 - assets/img/flags/4x3/gb-wls.svg | 1 - assets/img/flags/4x3/gb.svg | 1 - assets/img/flags/4x3/gd.svg | 1 - assets/img/flags/4x3/ge.svg | 1 - assets/img/flags/4x3/gf.svg | 1 - assets/img/flags/4x3/gg.svg | 1 - assets/img/flags/4x3/gh.svg | 1 - assets/img/flags/4x3/gi.svg | 1 - assets/img/flags/4x3/gl.svg | 1 - assets/img/flags/4x3/gm.svg | 1 - assets/img/flags/4x3/gn.svg | 1 - assets/img/flags/4x3/gp.svg | 1 - assets/img/flags/4x3/gq.svg | 1 - assets/img/flags/4x3/gr.svg | 1 - assets/img/flags/4x3/gs.svg | 51 - assets/img/flags/4x3/gt.svg | 1 - assets/img/flags/4x3/gu.svg | 17 - assets/img/flags/4x3/gw.svg | 1 - assets/img/flags/4x3/gy.svg | 1 - assets/img/flags/4x3/hk.svg | 1 - assets/img/flags/4x3/hm.svg | 1 - assets/img/flags/4x3/hn.svg | 1 - assets/img/flags/4x3/hr.svg | 1 - assets/img/flags/4x3/ht.svg | 1 - assets/img/flags/4x3/hu.svg | 1 - assets/img/flags/4x3/id.svg | 1 - assets/img/flags/4x3/ie.svg | 1 - assets/img/flags/4x3/il.svg | 1 - assets/img/flags/4x3/im.svg | 1 - assets/img/flags/4x3/in.svg | 1 - assets/img/flags/4x3/io.svg | 1 - assets/img/flags/4x3/iq.svg | 1 - assets/img/flags/4x3/ir.svg | 1 - assets/img/flags/4x3/is.svg | 1 - assets/img/flags/4x3/it.svg | 1 - assets/img/flags/4x3/je.svg | 1 - assets/img/flags/4x3/jm.svg | 1 - assets/img/flags/4x3/jo.svg | 1 - assets/img/flags/4x3/jp.svg | 1 - assets/img/flags/4x3/ke.svg | 1 - assets/img/flags/4x3/kg.svg | 1 - assets/img/flags/4x3/kh.svg | 1 - assets/img/flags/4x3/ki.svg | 1 - assets/img/flags/4x3/km.svg | 1 - assets/img/flags/4x3/kn.svg | 1 - assets/img/flags/4x3/kp.svg | 1 - assets/img/flags/4x3/kr.svg | 1 - assets/img/flags/4x3/kw.svg | 1 - assets/img/flags/4x3/ky.svg | 1 - assets/img/flags/4x3/kz.svg | 1 - assets/img/flags/4x3/la.svg | 1 - assets/img/flags/4x3/lb.svg | 1 - assets/img/flags/4x3/lc.svg | 1 - assets/img/flags/4x3/li.svg | 1 - assets/img/flags/4x3/lk.svg | 1 - assets/img/flags/4x3/lr.svg | 1 - assets/img/flags/4x3/ls.svg | 1 - assets/img/flags/4x3/lt.svg | 1 - assets/img/flags/4x3/lu.svg | 1 - assets/img/flags/4x3/lv.svg | 1 - assets/img/flags/4x3/ly.svg | 1 - assets/img/flags/4x3/ma.svg | 1 - assets/img/flags/4x3/mc.svg | 1 - assets/img/flags/4x3/md.svg | 1 - assets/img/flags/4x3/me.svg | 1 - assets/img/flags/4x3/mf.svg | 1 - assets/img/flags/4x3/mg.svg | 1 - assets/img/flags/4x3/mh.svg | 1 - assets/img/flags/4x3/mk.svg | 1 - assets/img/flags/4x3/ml.svg | 1 - assets/img/flags/4x3/mm.svg | 1 - assets/img/flags/4x3/mn.svg | 1 - assets/img/flags/4x3/mo.svg | 1 - assets/img/flags/4x3/mp.svg | 1 - assets/img/flags/4x3/mq.svg | 1 - assets/img/flags/4x3/mr.svg | 1 - assets/img/flags/4x3/ms.svg | 1 - assets/img/flags/4x3/mt.svg | 1 - assets/img/flags/4x3/mu.svg | 1 - assets/img/flags/4x3/mv.svg | 1 - assets/img/flags/4x3/mw.svg | 1 - assets/img/flags/4x3/mx.svg | 1 - assets/img/flags/4x3/my.svg | 1 - assets/img/flags/4x3/mz.svg | 1 - assets/img/flags/4x3/na.svg | 1 - assets/img/flags/4x3/nc.svg | 1 - assets/img/flags/4x3/ne.svg | 1 - assets/img/flags/4x3/nf.svg | 1 - assets/img/flags/4x3/ng.svg | 1 - assets/img/flags/4x3/ni.svg | 1 - assets/img/flags/4x3/nl.svg | 1 - assets/img/flags/4x3/no.svg | 1 - assets/img/flags/4x3/np.svg | 1 - assets/img/flags/4x3/nr.svg | 1 - assets/img/flags/4x3/nu.svg | 1 - assets/img/flags/4x3/nz.svg | 1 - assets/img/flags/4x3/om.svg | 1 - assets/img/flags/4x3/pa.svg | 1 - assets/img/flags/4x3/pe.svg | 1 - assets/img/flags/4x3/pf.svg | 1 - assets/img/flags/4x3/pg.svg | 1 - assets/img/flags/4x3/ph.svg | 1 - assets/img/flags/4x3/pk.svg | 1 - assets/img/flags/4x3/pl.svg | 1 - assets/img/flags/4x3/pm.svg | 1 - assets/img/flags/4x3/pn.svg | 1 - assets/img/flags/4x3/pr.svg | 1 - assets/img/flags/4x3/ps.svg | 1 - assets/img/flags/4x3/pt.svg | 1 - assets/img/flags/4x3/pw.svg | 1 - assets/img/flags/4x3/py.svg | 1 - assets/img/flags/4x3/qa.svg | 1 - assets/img/flags/4x3/re.svg | 1 - assets/img/flags/4x3/ro.svg | 1 - assets/img/flags/4x3/rs.svg | 1 - assets/img/flags/4x3/ru.svg | 1 - assets/img/flags/4x3/rw.svg | 1 - assets/img/flags/4x3/sa.svg | 1 - assets/img/flags/4x3/sb.svg | 1 - assets/img/flags/4x3/sc.svg | 1 - assets/img/flags/4x3/sd.svg | 1 - assets/img/flags/4x3/se.svg | 1 - assets/img/flags/4x3/sg.svg | 1 - assets/img/flags/4x3/sh.svg | 1 - assets/img/flags/4x3/si.svg | 1 - assets/img/flags/4x3/sj.svg | 1 - assets/img/flags/4x3/sk.svg | 1 - assets/img/flags/4x3/sl.svg | 1 - assets/img/flags/4x3/sm.svg | 17 - assets/img/flags/4x3/sn.svg | 1 - assets/img/flags/4x3/so.svg | 1 - assets/img/flags/4x3/sr.svg | 1 - assets/img/flags/4x3/ss.svg | 1 - assets/img/flags/4x3/st.svg | 1 - assets/img/flags/4x3/sv.svg | 1 - assets/img/flags/4x3/sx.svg | 1 - assets/img/flags/4x3/sy.svg | 1 - assets/img/flags/4x3/sz.svg | 1 - assets/img/flags/4x3/tc.svg | 1 - assets/img/flags/4x3/td.svg | 1 - assets/img/flags/4x3/tf.svg | 1 - assets/img/flags/4x3/tg.svg | 1 - assets/img/flags/4x3/th.svg | 1 - assets/img/flags/4x3/tj.svg | 1 - assets/img/flags/4x3/tk.svg | 1 - assets/img/flags/4x3/tl.svg | 1 - assets/img/flags/4x3/tm.svg | 1 - assets/img/flags/4x3/tn.svg | 1 - assets/img/flags/4x3/to.svg | 1 - assets/img/flags/4x3/tr.svg | 1 - assets/img/flags/4x3/tt.svg | 1 - assets/img/flags/4x3/tv.svg | 1 - assets/img/flags/4x3/tw.svg | 1 - assets/img/flags/4x3/tz.svg | 1 - assets/img/flags/4x3/ua.svg | 1 - assets/img/flags/4x3/ug.svg | 1 - assets/img/flags/4x3/um.svg | 1 - assets/img/flags/4x3/un.svg | 1 - assets/img/flags/4x3/us.svg | 1 - assets/img/flags/4x3/uy.svg | 1 - assets/img/flags/4x3/uz.svg | 1 - assets/img/flags/4x3/va.svg | 1 - assets/img/flags/4x3/vc.svg | 1 - assets/img/flags/4x3/ve.svg | 1 - assets/img/flags/4x3/vg.svg | 1 - assets/img/flags/4x3/vi.svg | 1 - assets/img/flags/4x3/vn.svg | 1 - assets/img/flags/4x3/vu.svg | 1 - assets/img/flags/4x3/wf.svg | 1 - assets/img/flags/4x3/ws.svg | 1 - assets/img/flags/4x3/xk.svg | 1 - assets/img/flags/4x3/ye.svg | 1 - assets/img/flags/4x3/yt.svg | 1 - assets/img/flags/4x3/za.svg | 1 - assets/img/flags/4x3/zm.svg | 1 - assets/img/flags/4x3/zw.svg | 1 - assets/img/logo.png | Bin 0 -> 12281 bytes assets/img/logo.webp | Bin 4750 -> 7386 bytes assets/js/addons.min.js | 2 +- assets/js/admin-notices.min.js | 2 +- assets/js/admin-screen.min.js | 2 +- assets/js/admin.min.js | 2 +- assets/js/app.min.js | 4 +- assets/js/checkout-form-editor-modal.min.js | 2 +- assets/js/checkout-forms-editor.min.js | 2 +- assets/js/checkout.min.js | 2 +- assets/js/cookie-helpers.min.js | 2 +- assets/js/customizer.min.js | 2 +- assets/js/dashboard-statistics.min.js | 2 +- assets/js/dns-table.js | 45 + assets/js/dns-table.min.js | 1 + assets/js/edit-placeholders.min.js | 2 +- assets/js/email-edit-page.min.js | 2 +- assets/js/event-view-page.min.js | 2 +- assets/js/fields.min.js | 2 +- assets/js/flags.js | 2 + assets/js/flags.min.js | 1 + assets/js/functions.min.js | 2 +- assets/js/gutenberg-support.min.js | 2 +- assets/js/jumper.min.js | 2 +- assets/js/legacy-signup.min.js | 2 +- assets/js/list-tables.min.js | 2 +- assets/js/screenshot-scraper.min.js | 2 +- assets/js/selectizer.min.js | 2 +- assets/js/settings-loader.js | 13 + assets/js/settings-loader.min.js | 1 + assets/js/setup-wizard-polyfill.min.js | 2 +- assets/js/setup-wizard.min.js | 2 +- assets/js/site-maintenance.min.js | 2 +- assets/js/sso.min.js | 38 +- assets/js/support.min.js | 2 +- assets/js/tax-rates.min.js | 2 +- assets/js/tax-statistics.min.js | 2 +- assets/js/template-previewer.min.js | 2 +- assets/js/template-switching.min.js | 2 +- assets/js/thank-you.min.js | 2 +- assets/js/tours.min.js | 2 +- assets/js/url-preview.min.js | 2 +- assets/js/view-logs.min.js | 2 +- assets/js/visits-counter.min.js | 4 +- assets/js/vue-apps.min.js | 4 +- assets/js/webhook-page.js | 4 +- assets/js/webhook-page.min.js | 2 +- assets/js/wubox.min.js | 34 +- composer.json | 7 +- composer.lock | 138 +- data/translatable-strings.php | 16 +- inc/admin-pages/class-about-admin-page.php | 6 +- inc/admin-pages/class-base-admin-page.php | 4 +- .../class-base-customer-facing-admin-page.php | 16 +- .../class-broadcast-edit-admin-page.php | 66 +- .../class-broadcast-list-admin-page.php | 70 +- .../class-checkout-form-edit-admin-page.php | 208 +- .../class-checkout-form-list-admin-page.php | 36 +- .../class-customer-edit-admin-page.php | 172 +- .../class-customer-list-admin-page.php | 44 +- .../class-customizer-admin-page.php | 11 +- .../class-dashboard-admin-page.php | 58 +- .../class-discount-code-edit-admin-page.php | 126 +- .../class-discount-code-list-admin-page.php | 10 +- .../class-domain-edit-admin-page.php | 108 +- .../class-domain-list-admin-page.php | 46 +- inc/admin-pages/class-edit-admin-page.php | 48 +- .../class-email-edit-admin-page.php | 112 +- .../class-email-list-admin-page.php | 52 +- ...ss-email-template-customize-admin-page.php | 136 +- .../class-event-list-admin-page.php | 10 +- .../class-event-view-admin-page.php | 34 +- ...-hosting-integration-wizard-admin-page.php | 22 +- ...-invoice-template-customize-admin-page.php | 64 +- .../class-jobs-list-admin-page.php | 6 +- inc/admin-pages/class-list-admin-page.php | 4 +- .../class-membership-edit-admin-page.php | 240 +- .../class-membership-list-admin-page.php | 42 +- .../class-migration-alert-admin-page.php | 8 +- .../class-payment-edit-admin-page.php | 216 +- .../class-payment-list-admin-page.php | 38 +- .../class-placeholders-admin-page.php | 16 +- .../class-product-edit-admin-page.php | 264 +- .../class-product-list-admin-page.php | 10 +- inc/admin-pages/class-settings-admin-page.php | 85 +- .../class-setup-wizard-admin-page.php | 94 +- .../class-shortcodes-admin-page.php | 14 +- .../class-site-edit-admin-page.php | 138 +- .../class-site-list-admin-page.php | 76 +- .../class-system-info-admin-page.php | 38 +- .../class-tax-rates-admin-page.php | 26 +- ...emplate-previewer-customize-admin-page.php | 62 +- inc/admin-pages/class-top-admin-nav-menu.php | 52 +- .../class-view-logs-admin-page.php | 50 +- .../class-webhook-edit-admin-page.php | 76 +- .../class-webhook-list-admin-page.php | 38 +- inc/admin-pages/class-wizard-admin-page.php | 20 +- .../class-account-admin-page.php | 8 +- .../class-add-new-site-admin-page.php | 6 +- .../class-checkout-admin-page.php | 6 +- .../class-my-sites-admin-page.php | 6 +- .../class-template-switching-admin-page.php | 6 +- .../debug/class-debug-admin-page.php | 8 +- inc/api/class-register-endpoint.php | 82 +- inc/api/schemas/broadcast-create.php | 26 +- inc/api/schemas/broadcast-update.php | 26 +- inc/api/schemas/checkout-form-create.php | 26 +- inc/api/schemas/checkout-form-update.php | 26 +- inc/api/schemas/customer-create.php | 28 +- inc/api/schemas/customer-update.php | 28 +- inc/api/schemas/discount-code-create.php | 38 +- inc/api/schemas/discount-code-update.php | 38 +- inc/api/schemas/domain-create.php | 20 +- inc/api/schemas/domain-update.php | 20 +- inc/api/schemas/email-create.php | 44 +- inc/api/schemas/email-update.php | 44 +- inc/api/schemas/event-create.php | 20 +- inc/api/schemas/event-update.php | 20 +- inc/api/schemas/membership-create.php | 60 +- inc/api/schemas/membership-update.php | 60 +- inc/api/schemas/payment-create.php | 40 +- inc/api/schemas/payment-update.php | 40 +- inc/api/schemas/product-create.php | 62 +- inc/api/schemas/product-update.php | 62 +- inc/api/schemas/site-create.php | 54 +- inc/api/schemas/site-update.php | 54 +- inc/api/schemas/webhook-create.php | 24 +- inc/api/schemas/webhook-update.php | 24 +- inc/api/trait-rest-api.php | 12 +- inc/api/trait-wp-cli.php | 12 +- .../class-block-editor-widget-manager.php | 2 +- inc/checkout/class-cart.php | 50 +- inc/checkout/class-checkout-pages.php | 32 +- inc/checkout/class-checkout.php | 42 +- inc/checkout/class-legacy-checkout.php | 70 +- inc/checkout/class-line-item.php | 11 +- .../signup-fields/class-base-signup-field.php | 64 +- .../class-signup-field-billing-address.php | 10 +- .../class-signup-field-checkbox.php | 10 +- .../class-signup-field-color.php | 10 +- .../class-signup-field-discount-code.php | 8 +- .../class-signup-field-email.php | 18 +- .../class-signup-field-hidden.php | 12 +- .../class-signup-field-order-bump.php | 28 +- .../class-signup-field-order-summary.php | 22 +- .../class-signup-field-password.php | 16 +- .../class-signup-field-payment.php | 10 +- .../class-signup-field-period-selection.php | 38 +- .../class-signup-field-pricing-table.php | 32 +- .../class-signup-field-products.php | 18 +- .../class-signup-field-select.php | 24 +- .../class-signup-field-shortcode.php | 14 +- .../class-signup-field-site-title.php | 10 +- .../class-signup-field-site-url.php | 32 +- .../class-signup-field-steps.php | 14 +- .../class-signup-field-submit-button.php | 20 +- .../class-signup-field-template-selection.php | 38 +- .../class-signup-field-terms-of-use.php | 22 +- .../signup-fields/class-signup-field-text.php | 6 +- .../class-signup-field-username.php | 10 +- .../class-base-field-template.php | 4 +- ...class-simple-order-bump-field-template.php | 4 +- ...ass-clean-order-summary-field-template.php | 4 +- ...-clean-period-selection-field-template.php | 4 +- ...legacy-period-selection-field-template.php | 4 +- ...ss-legacy-pricing-table-field-template.php | 4 +- ...lass-list-pricing-table-field-template.php | 4 +- .../class-clean-steps-field-template.php | 4 +- .../class-legacy-steps-field-template.php | 4 +- .../class-minimal-steps-field-template.php | 4 +- ...lean-template-selection-field-template.php | 4 +- ...gacy-template-selection-field-template.php | 4 +- ...imal-template-selection-field-template.php | 4 +- inc/class-admin-notices.php | 2 +- inc/class-ajax.php | 2 +- inc/class-api.php | 56 +- inc/class-async-calls.php | 3 +- inc/class-dashboard-widgets.php | 42 +- inc/class-domain-mapping.php | 20 +- inc/class-faker.php | 24 +- inc/class-helper.php | 6 +- inc/class-hooks.php | 4 +- inc/class-light-ajax.php | 6 +- inc/class-logger.php | 12 +- inc/class-maintenance-mode.php | 35 +- inc/class-newsletter.php | 10 +- inc/class-requirements.php | 53 +- inc/class-scripts.php | 77 +- inc/class-session-cookie.php | 2 +- inc/class-settings.php | 407 +- inc/class-sunrise.php | 75 +- inc/class-user-switching.php | 4 +- inc/class-views.php | 7 +- inc/class-whitelabel.php | 44 +- inc/class-wp-ultimo.php | 14 +- inc/compat/class-general-compat.php | 2 +- inc/compat/class-gutenberg-support.php | 2 +- inc/compat/class-legacy-shortcodes.php | 18 +- inc/compat/class-multiple-accounts-compat.php | 14 +- inc/compat/class-product-compat.php | 18 +- inc/country/class-country-br.php | 56 +- inc/country/class-country-ca.php | 28 +- inc/country/class-country-cn.php | 70 +- inc/country/class-country-de.php | 34 +- inc/country/class-country-es.php | 58 +- inc/country/class-country-fr.php | 248 +- inc/country/class-country-gb.php | 496 +- inc/country/class-country-in.php | 74 +- inc/country/class-country-jp.php | 96 +- inc/country/class-country-mx.php | 66 +- inc/country/class-country-my.php | 34 +- inc/country/class-country-ne.php | 16 +- inc/country/class-country-nl.php | 32 +- inc/country/class-country-ru.php | 170 +- inc/country/class-country-sg.php | 12 +- inc/country/class-country-tr.php | 164 +- inc/country/class-country-us.php | 134 +- inc/country/class-country-za.php | 20 +- inc/country/class-country.php | 30 +- inc/database/domains/class-domain-stage.php | 18 +- inc/database/engine/class-table.php | 2 +- .../memberships/class-membership-status.php | 22 +- .../payments/class-payment-status.php | 26 +- inc/database/products/class-product-type.php | 8 +- inc/database/sites/class-site-type.php | 20 +- inc/debug/class-debug.php | 76 +- inc/deprecated/deprecated.php | 90 +- inc/development/assets/development.css | 2 +- inc/development/assets/development.scss | 2 +- inc/development/class-toolkit.php | 2 +- .../query-monitor/panel/class-overview.php | 4 +- inc/domain-mapping/class-helper.php | 2 +- inc/duplication/functions.php | 2 +- inc/functions/admin.php | 4 +- inc/functions/compatiblity.php | 35 + inc/functions/countries.php | 502 +- inc/functions/currency.php | 108 +- inc/functions/customer.php | 4 +- inc/functions/date.php | 21 +- inc/functions/financial.php | 2 +- inc/functions/gateway.php | 2 +- inc/functions/legacy.php | 4 +- inc/functions/limitations.php | 4 +- inc/functions/markup-helpers.php | 28 +- inc/functions/membership.php | 12 +- inc/functions/mock.php | 8 +- inc/functions/options.php | 10 +- inc/functions/settings.php | 32 +- inc/functions/sort.php | 8 +- inc/functions/string-helpers.php | 14 +- inc/functions/sunrise.php | 10 +- inc/functions/url.php | 6 +- inc/functions/user.php | 2 +- inc/gateways/class-base-gateway.php | 8 +- inc/gateways/class-base-stripe-gateway.php | 54 +- inc/gateways/class-manual-gateway.php | 18 +- inc/gateways/class-paypal-gateway.php | 120 +- .../class-stripe-checkout-gateway.php | 48 +- inc/gateways/class-stripe-gateway.php | 56 +- inc/helpers/class-arr.php | 18 +- inc/helpers/class-screenshot.php | 6 +- inc/helpers/class-site-duplicator.php | 14 +- inc/helpers/class-validator.php | 18 +- inc/helpers/class-wp-config.php | 6 +- .../validation-rules/class-checkout-steps.php | 4 +- .../validation-rules/class-products.php | 2 +- .../validation-rules/class-site-template.php | 8 +- inc/helpers/validation-rules/class-unique.php | 5 +- inc/installers/class-core-installer.php | 24 +- .../class-default-content-installer.php | 72 +- inc/installers/class-migrator.php | 92 +- .../class-base-host-provider.php | 32 +- .../class-closte-host-provider.php | 4 +- .../class-cloudflare-host-provider.php | 20 +- .../class-cloudways-host-provider.php | 42 +- .../class-cpanel-host-provider.php | 41 +- .../class-gridpane-host-provider.php | 8 +- .../class-runcloud-host-provider.php | 33 +- .../class-serverpilot-host-provider.php | 34 +- .../class-wpengine-host-provider.php | 4 +- .../class-wpmudev-host-provider.php | 8 +- .../cpanel-api/class-cpanel-api.php | 44 +- inc/internal/class-memory-trap.php | 2 +- inc/invoices/class-invoice.php | 8 +- inc/limitations/class-limit.php | 2 +- .../class-customer-user-role-limits.php | 4 +- inc/limits/class-plugin-limits.php | 12 +- inc/limits/class-post-type-limits.php | 12 +- inc/limits/class-theme-limits.php | 4 +- inc/list-tables/class-base-list-table.php | 102 +- .../class-broadcast-list-table.php | 68 +- .../class-checkout-form-list-table.php | 31 +- inc/list-tables/class-customer-list-table.php | 42 +- .../class-customers-membership-list-table.php | 16 +- .../class-customers-payment-list-table.php | 8 +- .../class-customers-site-list-table.php | 10 +- .../class-discount-code-list-table.php | 38 +- inc/list-tables/class-domain-list-table.php | 48 +- inc/list-tables/class-email-list-table.php | 52 +- inc/list-tables/class-event-list-table.php | 40 +- .../class-inside-events-list-table.php | 8 +- .../class-line-item-list-table.php | 26 +- .../class-membership-line-item-list-table.php | 26 +- .../class-membership-list-table-widget.php | 35 +- .../class-membership-list-table.php | 68 +- .../class-memberships-site-list-table.php | 14 +- .../class-payment-line-item-list-table.php | 25 +- .../class-payment-list-table-widget.php | 28 +- inc/list-tables/class-payment-list-table.php | 101 +- inc/list-tables/class-product-list-table.php | 51 +- .../class-site-customer-list-table.php | 10 +- inc/list-tables/class-site-list-table.php | 78 +- .../class-sites-domain-list-table.php | 6 +- inc/list-tables/class-webhook-list-table.php | 32 +- .../class-invoice-list-table.php | 8 +- .../customer-panel/class-site-list-table.php | 2 +- inc/managers/class-block-manager.php | 2 +- inc/managers/class-broadcast-manager.php | 4 +- inc/managers/class-customer-manager.php | 42 +- inc/managers/class-domain-manager.php | 80 +- inc/managers/class-email-manager.php | 53 +- inc/managers/class-event-manager.php | 68 +- .../class-field-templates-manager.php | 2 +- inc/managers/class-form-manager.php | 20 +- inc/managers/class-gateway-manager.php | 63 +- inc/managers/class-limitation-manager.php | 268 +- inc/managers/class-membership-manager.php | 18 +- inc/managers/class-notes-manager.php | 56 +- inc/managers/class-notification-manager.php | 6 +- inc/managers/class-payment-manager.php | 16 +- inc/managers/class-site-manager.php | 48 +- inc/managers/class-visits-manager.php | 2 +- inc/managers/class-webhook-manager.php | 16 +- inc/models/class-base-model.php | 51 +- inc/models/class-broadcast.php | 12 +- inc/models/class-checkout-form.php | 116 +- inc/models/class-customer.php | 8 +- inc/models/class-discount-code.php | 18 +- inc/models/class-domain.php | 2 +- inc/models/class-event.php | 22 +- inc/models/class-membership.php | 26 +- inc/models/class-payment.php | 20 +- inc/models/class-product.php | 20 +- inc/models/class-site.php | 20 +- inc/models/interface-limitable.php | 99 + inc/models/traits/trait-limitable.php | 40 +- inc/objects/class-billing-address.php | 32 +- inc/objects/class-limitations.php | 2 +- inc/objects/class-note.php | 6 +- .../class-template-placeholders.php | 4 +- inc/sso/class-sso.php | 2 +- inc/tax/class-dashboard-taxes-tab.php | 16 +- inc/tax/class-tax.php | 40 +- inc/traits/trait-singleton.php | 8 +- .../trait-wp-ultimo-coupon-deprecated.php | 6 +- .../trait-wp-ultimo-plan-deprecated.php | 26 +- .../trait-wp-ultimo-settings-deprecated.php | 4 +- .../trait-wp-ultimo-site-deprecated.php | 2 +- ...rait-wp-ultimo-subscription-deprecated.php | 2 +- inc/ui/class-account-summary-element.php | 20 +- inc/ui/class-base-element.php | 76 +- inc/ui/class-billing-info-element.php | 28 +- inc/ui/class-checkout-element.php | 85 +- inc/ui/class-current-membership-element.php | 54 +- inc/ui/class-current-site-element.php | 64 +- inc/ui/class-domain-mapping-element.php | 70 +- inc/ui/class-invoices-element.php | 24 +- inc/ui/class-jumper.php | 71 +- inc/ui/class-limits-element.php | 24 +- inc/ui/class-login-form-element.php | 114 +- inc/ui/class-my-sites-element.php | 44 +- inc/ui/class-payment-methods-element.php | 20 +- inc/ui/class-simple-text-element.php | 20 +- inc/ui/class-site-actions-element.php | 175 +- inc/ui/class-site-maintenance-element.php | 40 +- inc/ui/class-template-previewer.php | 13 +- inc/ui/class-template-switching-element.php | 26 +- inc/ui/class-thank-you-element.php | 60 +- inc/ui/class-tours.php | 4 +- lang/wp-multisite-waas.pot | 7485 ++++++----------- loco.xml | 8 +- package-lock.json | 392 + package.json | 29 + phpstan.neon.dist | 14 +- setuptest.sh | 1 + sunrise.php | 3 + .../Admin_Pages/Dashboard_Admin_Page_Test.php | 1 - .../src/Rector/YodaConditionsRector.php | 30 +- .../YodaConditionsRectorTest.php | 31 +- .../config/configured_rule.php | 2 +- views/about.php | 13 +- views/admin-notices.php | 8 +- views/admin-pages/fields/field-actions.php | 18 +- .../admin-pages/fields/field-code-editor.php | 4 +- .../admin-pages/fields/field-color-picker.php | 4 +- views/admin-pages/fields/field-dashicon.php | 8 +- views/admin-pages/fields/field-group.php | 4 +- views/admin-pages/fields/field-header.php | 8 +- views/admin-pages/fields/field-hidden.php | 2 +- views/admin-pages/fields/field-html.php | 4 +- views/admin-pages/fields/field-image.php | 24 +- views/admin-pages/fields/field-link.php | 6 +- .../admin-pages/fields/field-multiselect.php | 8 +- views/admin-pages/fields/field-note.php | 4 +- views/admin-pages/fields/field-repeater.php | 10 +- .../admin-pages/fields/field-select-icon.php | 8 +- views/admin-pages/fields/field-select.php | 20 +- .../admin-pages/fields/field-small-header.php | 4 +- views/admin-pages/fields/field-submit.php | 6 +- views/admin-pages/fields/field-tab-select.php | 6 +- .../admin-pages/fields/field-text-display.php | 14 +- views/admin-pages/fields/field-text-edit.php | 24 +- views/admin-pages/fields/field-text.php | 16 +- views/admin-pages/fields/field-textarea.php | 4 +- views/admin-pages/fields/field-toggle.php | 6 +- views/admin-pages/fields/field-wp-editor.php | 4 +- views/admin-pages/fields/form.php | 10 +- .../fields/partials/field-description.php | 4 +- .../fields/partials/field-title.php | 4 +- views/base/centered.php | 12 +- views/base/checkout-forms/js-templates.php | 26 +- views/base/checkout-forms/steps.php | 78 +- views/base/customers/grid-item.php | 52 +- views/base/dash.php | 8 +- views/base/edit.php | 93 +- views/base/edit/display-notes.php | 8 +- views/base/edit/editor-customizer.php | 6 +- views/base/edit/widget-list-table.php | 2 +- views/base/edit/widget-save.php | 4 +- views/base/edit/widget-tabs.php | 10 +- views/base/empty-state.php | 79 +- views/base/filter.php | 46 +- views/base/grid.php | 2 +- views/base/list.php | 8 +- views/base/products/grid-item.php | 12 +- views/base/responsive-table-row.php | 26 +- views/base/settings.php | 46 +- views/base/sites/grid-item.php | 32 +- views/base/wizard.php | 158 +- views/base/wizard/submit-box.php | 4 +- views/broadcast/emails/base.php | 8 +- views/broadcast/widget-targets.php | 50 +- .../checkout/fields/field-checkbox-multi.php | 19 +- views/checkout/fields/field-checkbox.php | 14 +- views/checkout/fields/field-group.php | 115 +- views/checkout/fields/field-hidden.php | 20 +- views/checkout/fields/field-html.php | 58 +- views/checkout/fields/field-note.php | 4 +- views/checkout/fields/field-password.php | 32 +- .../checkout/fields/field-payment-methods.php | 50 +- views/checkout/fields/field-products.php | 20 +- views/checkout/fields/field-radio.php | 19 +- views/checkout/fields/field-select.php | 10 +- views/checkout/fields/field-submit.php | 10 +- views/checkout/fields/field-text.php | 24 +- views/checkout/fields/field-toggle.php | 14 +- views/checkout/fields/form.php | 10 +- .../checkout/partials/pricing-table-list.php | 61 +- views/checkout/paypal/confirm.php | 44 +- views/checkout/register.php | 2 +- .../checkout/templates/order-bump/simple.php | 79 +- .../templates/order-summary/simple.php | 36 +- .../templates/period-selection/clean.php | 8 +- .../templates/period-selection/legacy.php | 4 +- .../templates/pricing-table/legacy.php | 74 +- .../checkout/templates/pricing-table/list.php | 6 +- views/checkout/templates/steps/clean.php | 6 +- views/checkout/templates/steps/legacy.php | 2 +- views/checkout/templates/steps/minimal.php | 6 +- .../templates/template-selection/clean.php | 151 +- .../templates/template-selection/legacy.php | 338 +- .../templates/template-selection/minimal.php | 147 +- views/customers/widget-avatar.php | 16 +- views/dashboard-statistics/filter.php | 45 +- .../dashboard-statistics/widget-countries.php | 143 +- views/dashboard-statistics/widget-forms.php | 96 +- .../widget-most-visited-sites.php | 24 +- .../widget-mrr-growth.php | 2 +- .../widget-new-accounts.php | 92 +- views/dashboard-statistics/widget-revenue.php | 14 +- .../widget-tax-by-code.php | 36 +- .../widget-tax-by-day.php | 44 +- .../dashboard-statistics/widget-tax-graph.php | 2 +- views/dashboard-statistics/widget-taxes.php | 2 +- views/dashboard-widgets/account-summary.php | 24 +- views/dashboard-widgets/activity-stream.php | 16 +- views/dashboard-widgets/billing-info.php | 18 +- .../current-membership-product-details.php | 4 +- .../dashboard-widgets/current-membership.php | 28 +- views/dashboard-widgets/current-site.php | 6 +- views/dashboard-widgets/domain-mapping.php | 20 +- views/dashboard-widgets/first-steps.php | 16 +- views/dashboard-widgets/invoices.php | 8 +- views/dashboard-widgets/limits-and-quotas.php | 20 +- views/dashboard-widgets/login-form.php | 8 +- views/dashboard-widgets/my-sites.php | 16 +- views/dashboard-widgets/site-actions.php | 6 +- views/dashboard-widgets/summary.php | 8 +- views/dashboard-widgets/thank-you.php | 40 +- views/domain/dns-table.php | 62 +- views/domain/log.php | 4 +- views/email/widget-placeholders.php | 44 +- views/emails/admin/domain-created.php | 56 +- views/emails/admin/payment-received.php | 64 +- views/emails/admin/site-published.php | 54 +- .../emails/customer/confirm-email-address.php | 12 +- views/emails/customer/payment-received.php | 24 +- .../customer/renewal-payment-created.php | 18 +- views/emails/customer/site-published.php | 19 +- views/events/widget-initiator.php | 14 +- views/events/widget-message.php | 4 +- views/events/widget-payload.php | 6 +- views/invoice/template.php | 59 +- .../signup/pricing-table/coupon-code.php | 40 +- .../pricing-table/frequency-selector.php | 6 +- .../legacy/signup/pricing-table/no-plans.php | 2 +- views/legacy/signup/pricing-table/plan.php | 22 +- .../signup/pricing-table/pricing-table.php | 4 +- views/legacy/signup/signup-main.php | 10 +- views/legacy/signup/signup-nav-links.php | 6 +- .../legacy/signup/signup-steps-navigation.php | 6 +- views/legacy/signup/steps/step-default.php | 4 +- .../signup/steps/step-domain-url-preview.php | 4 +- views/limitations/plugin-selector.php | 30 +- views/limitations/site-template-selector.php | 14 +- views/limitations/theme-selector.php | 28 +- views/memberships/product-list.php | 4 +- views/payments/line-item-actions.php | 4 +- views/payments/tax-details.php | 4 +- views/settings/fields/field-image.php | 31 +- .../settings/fields/field-multi_checkbox.php | 8 +- views/settings/fields/field-text.php | 12 +- views/settings/widget-settings-body.php | 504 +- views/shortcodes/shortcodes.php | 28 +- views/sites/edit-placeholders.php | 323 +- views/system-info/system-info-table.php | 19 +- views/system-info/system-info.php | 12 +- views/taxes/list.php | 109 +- views/ui/branding/footer.php | 10 +- views/ui/branding/header.php | 2 +- views/ui/container-toggle.php | 10 +- views/ui/jumper-trigger.php | 4 +- views/ui/jumper.php | 36 +- views/ui/selectize-templates.php | 6 +- views/ui/template-previewer.php | 16 +- views/ui/toolbox.php | 16 +- .../wizards/host-integrations/activation.php | 22 +- .../cloudflare-instructions.php | 35 +- .../configuration-results.php | 16 +- .../host-integrations/configuration.php | 10 +- .../gridpane-instructions.php | 14 +- views/wizards/host-integrations/ready.php | 7 +- .../runcloud-instructions.php | 39 +- .../serverpilot-instructions.php | 7 +- views/wizards/host-integrations/test.php | 24 +- views/wizards/setup/alert.php | 42 +- views/wizards/setup/default.php | 49 +- views/wizards/setup/installation_steps.php | 89 +- views/wizards/setup/ready.php | 13 +- views/wizards/setup/requirements_table.php | 48 +- views/wizards/setup/support_terms.php | 16 +- wp-multisite-waas.php | 6 +- 1087 files changed, 12586 insertions(+), 18535 deletions(-) delete mode 100644 assets/css/flags/flag-icon.css delete mode 100644 assets/css/flags/flag-icon.min.css delete mode 100644 assets/img/flags/1x1/ad.svg delete mode 100644 assets/img/flags/1x1/ae.svg delete mode 100644 assets/img/flags/1x1/af.svg delete mode 100644 assets/img/flags/1x1/ag.svg delete mode 100644 assets/img/flags/1x1/ai.svg delete mode 100644 assets/img/flags/1x1/al.svg delete mode 100644 assets/img/flags/1x1/am.svg delete mode 100644 assets/img/flags/1x1/ao.svg delete mode 100644 assets/img/flags/1x1/aq.svg delete mode 100644 assets/img/flags/1x1/ar.svg delete mode 100644 assets/img/flags/1x1/as.svg delete mode 100644 assets/img/flags/1x1/at.svg delete mode 100644 assets/img/flags/1x1/au.svg delete mode 100644 assets/img/flags/1x1/aw.svg delete mode 100644 assets/img/flags/1x1/ax.svg delete mode 100644 assets/img/flags/1x1/az.svg delete mode 100644 assets/img/flags/1x1/ba.svg delete mode 100644 assets/img/flags/1x1/bb.svg delete mode 100644 assets/img/flags/1x1/bd.svg delete mode 100644 assets/img/flags/1x1/be.svg delete mode 100644 assets/img/flags/1x1/bf.svg delete mode 100644 assets/img/flags/1x1/bg.svg delete mode 100644 assets/img/flags/1x1/bh.svg delete mode 100644 assets/img/flags/1x1/bi.svg delete mode 100644 assets/img/flags/1x1/bj.svg delete mode 100644 assets/img/flags/1x1/bl.svg delete mode 100644 assets/img/flags/1x1/bm.svg delete mode 100644 assets/img/flags/1x1/bn.svg delete mode 100644 assets/img/flags/1x1/bo.svg delete mode 100644 assets/img/flags/1x1/bq.svg delete mode 100644 assets/img/flags/1x1/br.svg delete mode 100644 assets/img/flags/1x1/bs.svg delete mode 100644 assets/img/flags/1x1/bt.svg delete mode 100644 assets/img/flags/1x1/bv.svg delete mode 100644 assets/img/flags/1x1/bw.svg delete mode 100644 assets/img/flags/1x1/by.svg delete mode 100644 assets/img/flags/1x1/bz.svg delete mode 100644 assets/img/flags/1x1/ca.svg delete mode 100644 assets/img/flags/1x1/cc.svg delete mode 100644 assets/img/flags/1x1/cd.svg delete mode 100644 assets/img/flags/1x1/cf.svg delete mode 100644 assets/img/flags/1x1/cg.svg delete mode 100644 assets/img/flags/1x1/ch.svg delete mode 100644 assets/img/flags/1x1/ci.svg delete mode 100644 assets/img/flags/1x1/ck.svg delete mode 100644 assets/img/flags/1x1/cl.svg delete mode 100644 assets/img/flags/1x1/cm.svg delete mode 100644 assets/img/flags/1x1/cn.svg delete mode 100644 assets/img/flags/1x1/co.svg delete mode 100644 assets/img/flags/1x1/cr.svg delete mode 100644 assets/img/flags/1x1/cu.svg delete mode 100644 assets/img/flags/1x1/cv.svg delete mode 100644 assets/img/flags/1x1/cw.svg delete mode 100644 assets/img/flags/1x1/cx.svg delete mode 100644 assets/img/flags/1x1/cy.svg delete mode 100644 assets/img/flags/1x1/cz.svg delete mode 100644 assets/img/flags/1x1/de.svg delete mode 100644 assets/img/flags/1x1/dj.svg delete mode 100644 assets/img/flags/1x1/dk.svg delete mode 100644 assets/img/flags/1x1/dm.svg delete mode 100644 assets/img/flags/1x1/do.svg delete mode 100644 assets/img/flags/1x1/dz.svg delete mode 100644 assets/img/flags/1x1/ec.svg delete mode 100644 assets/img/flags/1x1/ee.svg delete mode 100644 assets/img/flags/1x1/eg.svg delete mode 100644 assets/img/flags/1x1/eh.svg delete mode 100644 assets/img/flags/1x1/er.svg delete mode 100644 assets/img/flags/1x1/es-ca.svg delete mode 100644 assets/img/flags/1x1/es-ga.svg delete mode 100644 assets/img/flags/1x1/es.svg delete mode 100644 assets/img/flags/1x1/et.svg delete mode 100644 assets/img/flags/1x1/eu.svg delete mode 100644 assets/img/flags/1x1/fi.svg delete mode 100644 assets/img/flags/1x1/fj.svg delete mode 100644 assets/img/flags/1x1/fk.svg delete mode 100644 assets/img/flags/1x1/fm.svg delete mode 100644 assets/img/flags/1x1/fo.svg delete mode 100644 assets/img/flags/1x1/fr.svg delete mode 100644 assets/img/flags/1x1/ga.svg delete mode 100644 assets/img/flags/1x1/gb-eng.svg delete mode 100644 assets/img/flags/1x1/gb-nir.svg delete mode 100644 assets/img/flags/1x1/gb-sct.svg delete mode 100644 assets/img/flags/1x1/gb-wls.svg delete mode 100644 assets/img/flags/1x1/gb.svg delete mode 100644 assets/img/flags/1x1/gd.svg delete mode 100644 assets/img/flags/1x1/ge.svg delete mode 100644 assets/img/flags/1x1/gf.svg delete mode 100644 assets/img/flags/1x1/gg.svg delete mode 100644 assets/img/flags/1x1/gh.svg delete mode 100644 assets/img/flags/1x1/gi.svg delete mode 100644 assets/img/flags/1x1/gl.svg delete mode 100644 assets/img/flags/1x1/gm.svg delete mode 100644 assets/img/flags/1x1/gn.svg delete mode 100644 assets/img/flags/1x1/gp.svg delete mode 100644 assets/img/flags/1x1/gq.svg delete mode 100644 assets/img/flags/1x1/gr.svg delete mode 100644 assets/img/flags/1x1/gs.svg delete mode 100644 assets/img/flags/1x1/gt.svg delete mode 100644 assets/img/flags/1x1/gu.svg delete mode 100644 assets/img/flags/1x1/gw.svg delete mode 100644 assets/img/flags/1x1/gy.svg delete mode 100644 assets/img/flags/1x1/hk.svg delete mode 100644 assets/img/flags/1x1/hm.svg delete mode 100644 assets/img/flags/1x1/hn.svg delete mode 100644 assets/img/flags/1x1/hr.svg delete mode 100644 assets/img/flags/1x1/ht.svg delete mode 100644 assets/img/flags/1x1/hu.svg delete mode 100644 assets/img/flags/1x1/id.svg delete mode 100644 assets/img/flags/1x1/ie.svg delete mode 100644 assets/img/flags/1x1/il.svg delete mode 100644 assets/img/flags/1x1/im.svg delete mode 100644 assets/img/flags/1x1/in.svg delete mode 100644 assets/img/flags/1x1/io.svg delete mode 100644 assets/img/flags/1x1/iq.svg delete mode 100644 assets/img/flags/1x1/ir.svg delete mode 100644 assets/img/flags/1x1/is.svg delete mode 100644 assets/img/flags/1x1/it.svg delete mode 100644 assets/img/flags/1x1/je.svg delete mode 100644 assets/img/flags/1x1/jm.svg delete mode 100644 assets/img/flags/1x1/jo.svg delete mode 100644 assets/img/flags/1x1/jp.svg delete mode 100644 assets/img/flags/1x1/ke.svg delete mode 100644 assets/img/flags/1x1/kg.svg delete mode 100644 assets/img/flags/1x1/kh.svg delete mode 100644 assets/img/flags/1x1/ki.svg delete mode 100644 assets/img/flags/1x1/km.svg delete mode 100644 assets/img/flags/1x1/kn.svg delete mode 100644 assets/img/flags/1x1/kp.svg delete mode 100644 assets/img/flags/1x1/kr.svg delete mode 100644 assets/img/flags/1x1/kw.svg delete mode 100644 assets/img/flags/1x1/ky.svg delete mode 100644 assets/img/flags/1x1/kz.svg delete mode 100644 assets/img/flags/1x1/la.svg delete mode 100644 assets/img/flags/1x1/lb.svg delete mode 100644 assets/img/flags/1x1/lc.svg delete mode 100644 assets/img/flags/1x1/li.svg delete mode 100644 assets/img/flags/1x1/lk.svg delete mode 100644 assets/img/flags/1x1/lr.svg delete mode 100644 assets/img/flags/1x1/ls.svg delete mode 100644 assets/img/flags/1x1/lt.svg delete mode 100644 assets/img/flags/1x1/lu.svg delete mode 100644 assets/img/flags/1x1/lv.svg delete mode 100644 assets/img/flags/1x1/ly.svg delete mode 100644 assets/img/flags/1x1/ma.svg delete mode 100644 assets/img/flags/1x1/mc.svg delete mode 100644 assets/img/flags/1x1/md.svg delete mode 100644 assets/img/flags/1x1/me.svg delete mode 100644 assets/img/flags/1x1/mf.svg delete mode 100644 assets/img/flags/1x1/mg.svg delete mode 100644 assets/img/flags/1x1/mh.svg delete mode 100644 assets/img/flags/1x1/mk.svg delete mode 100644 assets/img/flags/1x1/ml.svg delete mode 100644 assets/img/flags/1x1/mm.svg delete mode 100644 assets/img/flags/1x1/mn.svg delete mode 100644 assets/img/flags/1x1/mo.svg delete mode 100644 assets/img/flags/1x1/mp.svg delete mode 100644 assets/img/flags/1x1/mq.svg delete mode 100644 assets/img/flags/1x1/mr.svg delete mode 100644 assets/img/flags/1x1/ms.svg delete mode 100644 assets/img/flags/1x1/mt.svg delete mode 100644 assets/img/flags/1x1/mu.svg delete mode 100644 assets/img/flags/1x1/mv.svg delete mode 100644 assets/img/flags/1x1/mw.svg delete mode 100644 assets/img/flags/1x1/mx.svg delete mode 100644 assets/img/flags/1x1/my.svg delete mode 100644 assets/img/flags/1x1/mz.svg delete mode 100644 assets/img/flags/1x1/na.svg delete mode 100644 assets/img/flags/1x1/nc.svg delete mode 100644 assets/img/flags/1x1/ne.svg delete mode 100644 assets/img/flags/1x1/nf.svg delete mode 100644 assets/img/flags/1x1/ng.svg delete mode 100644 assets/img/flags/1x1/ni.svg delete mode 100644 assets/img/flags/1x1/nl.svg delete mode 100644 assets/img/flags/1x1/no.svg delete mode 100644 assets/img/flags/1x1/np.svg delete mode 100644 assets/img/flags/1x1/nr.svg delete mode 100644 assets/img/flags/1x1/nu.svg delete mode 100644 assets/img/flags/1x1/nz.svg delete mode 100644 assets/img/flags/1x1/om.svg delete mode 100644 assets/img/flags/1x1/pa.svg delete mode 100644 assets/img/flags/1x1/pe.svg delete mode 100644 assets/img/flags/1x1/pf.svg delete mode 100644 assets/img/flags/1x1/pg.svg delete mode 100644 assets/img/flags/1x1/ph.svg delete mode 100644 assets/img/flags/1x1/pk.svg delete mode 100644 assets/img/flags/1x1/pl.svg delete mode 100644 assets/img/flags/1x1/pm.svg delete mode 100644 assets/img/flags/1x1/pn.svg delete mode 100644 assets/img/flags/1x1/pr.svg delete mode 100644 assets/img/flags/1x1/ps.svg delete mode 100644 assets/img/flags/1x1/pt.svg delete mode 100644 assets/img/flags/1x1/pw.svg delete mode 100644 assets/img/flags/1x1/py.svg delete mode 100644 assets/img/flags/1x1/qa.svg delete mode 100644 assets/img/flags/1x1/re.svg delete mode 100644 assets/img/flags/1x1/ro.svg delete mode 100644 assets/img/flags/1x1/rs.svg delete mode 100644 assets/img/flags/1x1/ru.svg delete mode 100644 assets/img/flags/1x1/rw.svg delete mode 100644 assets/img/flags/1x1/sa.svg delete mode 100644 assets/img/flags/1x1/sb.svg delete mode 100644 assets/img/flags/1x1/sc.svg delete mode 100644 assets/img/flags/1x1/sd.svg delete mode 100644 assets/img/flags/1x1/se.svg delete mode 100644 assets/img/flags/1x1/sg.svg delete mode 100644 assets/img/flags/1x1/sh.svg delete mode 100644 assets/img/flags/1x1/si.svg delete mode 100644 assets/img/flags/1x1/sj.svg delete mode 100644 assets/img/flags/1x1/sk.svg delete mode 100644 assets/img/flags/1x1/sl.svg delete mode 100644 assets/img/flags/1x1/sm.svg delete mode 100644 assets/img/flags/1x1/sn.svg delete mode 100644 assets/img/flags/1x1/so.svg delete mode 100644 assets/img/flags/1x1/sr.svg delete mode 100644 assets/img/flags/1x1/ss.svg delete mode 100644 assets/img/flags/1x1/st.svg delete mode 100644 assets/img/flags/1x1/sv.svg delete mode 100644 assets/img/flags/1x1/sx.svg delete mode 100644 assets/img/flags/1x1/sy.svg delete mode 100644 assets/img/flags/1x1/sz.svg delete mode 100644 assets/img/flags/1x1/tc.svg delete mode 100644 assets/img/flags/1x1/td.svg delete mode 100644 assets/img/flags/1x1/tf.svg delete mode 100644 assets/img/flags/1x1/tg.svg delete mode 100644 assets/img/flags/1x1/th.svg delete mode 100644 assets/img/flags/1x1/tj.svg delete mode 100644 assets/img/flags/1x1/tk.svg delete mode 100644 assets/img/flags/1x1/tl.svg delete mode 100644 assets/img/flags/1x1/tm.svg delete mode 100644 assets/img/flags/1x1/tn.svg delete mode 100644 assets/img/flags/1x1/to.svg delete mode 100644 assets/img/flags/1x1/tr.svg delete mode 100644 assets/img/flags/1x1/tt.svg delete mode 100644 assets/img/flags/1x1/tv.svg delete mode 100644 assets/img/flags/1x1/tw.svg delete mode 100644 assets/img/flags/1x1/tz.svg delete mode 100644 assets/img/flags/1x1/ua.svg delete mode 100644 assets/img/flags/1x1/ug.svg delete mode 100644 assets/img/flags/1x1/um.svg delete mode 100644 assets/img/flags/1x1/un.svg delete mode 100644 assets/img/flags/1x1/us.svg delete mode 100644 assets/img/flags/1x1/uy.svg delete mode 100644 assets/img/flags/1x1/uz.svg delete mode 100644 assets/img/flags/1x1/va.svg delete mode 100644 assets/img/flags/1x1/vc.svg delete mode 100644 assets/img/flags/1x1/ve.svg delete mode 100644 assets/img/flags/1x1/vg.svg delete mode 100644 assets/img/flags/1x1/vi.svg delete mode 100644 assets/img/flags/1x1/vn.svg delete mode 100644 assets/img/flags/1x1/vu.svg delete mode 100644 assets/img/flags/1x1/wf.svg delete mode 100644 assets/img/flags/1x1/ws.svg delete mode 100644 assets/img/flags/1x1/xk.svg delete mode 100644 assets/img/flags/1x1/ye.svg delete mode 100644 assets/img/flags/1x1/yt.svg delete mode 100644 assets/img/flags/1x1/za.svg delete mode 100644 assets/img/flags/1x1/zm.svg delete mode 100644 assets/img/flags/1x1/zw.svg delete mode 100644 assets/img/flags/4x3/ad.svg delete mode 100644 assets/img/flags/4x3/ae.svg delete mode 100644 assets/img/flags/4x3/af.svg delete mode 100644 assets/img/flags/4x3/ag.svg delete mode 100644 assets/img/flags/4x3/ai.svg delete mode 100644 assets/img/flags/4x3/al.svg delete mode 100644 assets/img/flags/4x3/am.svg delete mode 100644 assets/img/flags/4x3/ao.svg delete mode 100644 assets/img/flags/4x3/aq.svg delete mode 100644 assets/img/flags/4x3/ar.svg delete mode 100644 assets/img/flags/4x3/as.svg delete mode 100644 assets/img/flags/4x3/at.svg delete mode 100644 assets/img/flags/4x3/au.svg delete mode 100644 assets/img/flags/4x3/aw.svg delete mode 100644 assets/img/flags/4x3/ax.svg delete mode 100644 assets/img/flags/4x3/az.svg delete mode 100644 assets/img/flags/4x3/ba.svg delete mode 100644 assets/img/flags/4x3/bb.svg delete mode 100644 assets/img/flags/4x3/bd.svg delete mode 100644 assets/img/flags/4x3/be.svg delete mode 100644 assets/img/flags/4x3/bf.svg delete mode 100644 assets/img/flags/4x3/bg.svg delete mode 100644 assets/img/flags/4x3/bh.svg delete mode 100644 assets/img/flags/4x3/bi.svg delete mode 100644 assets/img/flags/4x3/bj.svg delete mode 100644 assets/img/flags/4x3/bl.svg delete mode 100644 assets/img/flags/4x3/bm.svg delete mode 100644 assets/img/flags/4x3/bn.svg delete mode 100644 assets/img/flags/4x3/bo.svg delete mode 100644 assets/img/flags/4x3/bq.svg delete mode 100644 assets/img/flags/4x3/br.svg delete mode 100644 assets/img/flags/4x3/bs.svg delete mode 100644 assets/img/flags/4x3/bt.svg delete mode 100644 assets/img/flags/4x3/bv.svg delete mode 100644 assets/img/flags/4x3/bw.svg delete mode 100644 assets/img/flags/4x3/by.svg delete mode 100644 assets/img/flags/4x3/bz.svg delete mode 100644 assets/img/flags/4x3/ca.svg delete mode 100644 assets/img/flags/4x3/cc.svg delete mode 100644 assets/img/flags/4x3/cd.svg delete mode 100644 assets/img/flags/4x3/cf.svg delete mode 100644 assets/img/flags/4x3/cg.svg delete mode 100644 assets/img/flags/4x3/ch.svg delete mode 100644 assets/img/flags/4x3/ci.svg delete mode 100644 assets/img/flags/4x3/ck.svg delete mode 100644 assets/img/flags/4x3/cl.svg delete mode 100644 assets/img/flags/4x3/cm.svg delete mode 100644 assets/img/flags/4x3/cn.svg delete mode 100644 assets/img/flags/4x3/co.svg delete mode 100644 assets/img/flags/4x3/cr.svg delete mode 100644 assets/img/flags/4x3/cu.svg delete mode 100644 assets/img/flags/4x3/cv.svg delete mode 100644 assets/img/flags/4x3/cw.svg delete mode 100644 assets/img/flags/4x3/cx.svg delete mode 100644 assets/img/flags/4x3/cy.svg delete mode 100644 assets/img/flags/4x3/cz.svg delete mode 100644 assets/img/flags/4x3/de.svg delete mode 100644 assets/img/flags/4x3/dj.svg delete mode 100644 assets/img/flags/4x3/dk.svg delete mode 100644 assets/img/flags/4x3/dm.svg delete mode 100644 assets/img/flags/4x3/do.svg delete mode 100644 assets/img/flags/4x3/dz.svg delete mode 100644 assets/img/flags/4x3/ec.svg delete mode 100644 assets/img/flags/4x3/ee.svg delete mode 100644 assets/img/flags/4x3/eg.svg delete mode 100644 assets/img/flags/4x3/eh.svg delete mode 100644 assets/img/flags/4x3/er.svg delete mode 100644 assets/img/flags/4x3/es-ca.svg delete mode 100644 assets/img/flags/4x3/es-ga.svg delete mode 100644 assets/img/flags/4x3/es.svg delete mode 100644 assets/img/flags/4x3/et.svg delete mode 100644 assets/img/flags/4x3/eu.svg delete mode 100644 assets/img/flags/4x3/fi.svg delete mode 100644 assets/img/flags/4x3/fj.svg delete mode 100644 assets/img/flags/4x3/fk.svg delete mode 100644 assets/img/flags/4x3/fm.svg delete mode 100644 assets/img/flags/4x3/fo.svg delete mode 100644 assets/img/flags/4x3/fr.svg delete mode 100644 assets/img/flags/4x3/ga.svg delete mode 100644 assets/img/flags/4x3/gb-eng.svg delete mode 100644 assets/img/flags/4x3/gb-nir.svg delete mode 100644 assets/img/flags/4x3/gb-sct.svg delete mode 100644 assets/img/flags/4x3/gb-wls.svg delete mode 100644 assets/img/flags/4x3/gb.svg delete mode 100644 assets/img/flags/4x3/gd.svg delete mode 100644 assets/img/flags/4x3/ge.svg delete mode 100644 assets/img/flags/4x3/gf.svg delete mode 100644 assets/img/flags/4x3/gg.svg delete mode 100644 assets/img/flags/4x3/gh.svg delete mode 100644 assets/img/flags/4x3/gi.svg delete mode 100644 assets/img/flags/4x3/gl.svg delete mode 100644 assets/img/flags/4x3/gm.svg delete mode 100644 assets/img/flags/4x3/gn.svg delete mode 100644 assets/img/flags/4x3/gp.svg delete mode 100644 assets/img/flags/4x3/gq.svg delete mode 100644 assets/img/flags/4x3/gr.svg delete mode 100644 assets/img/flags/4x3/gs.svg delete mode 100644 assets/img/flags/4x3/gt.svg delete mode 100644 assets/img/flags/4x3/gu.svg delete mode 100644 assets/img/flags/4x3/gw.svg delete mode 100644 assets/img/flags/4x3/gy.svg delete mode 100644 assets/img/flags/4x3/hk.svg delete mode 100644 assets/img/flags/4x3/hm.svg delete mode 100644 assets/img/flags/4x3/hn.svg delete mode 100644 assets/img/flags/4x3/hr.svg delete mode 100644 assets/img/flags/4x3/ht.svg delete mode 100644 assets/img/flags/4x3/hu.svg delete mode 100644 assets/img/flags/4x3/id.svg delete mode 100644 assets/img/flags/4x3/ie.svg delete mode 100644 assets/img/flags/4x3/il.svg delete mode 100644 assets/img/flags/4x3/im.svg delete mode 100644 assets/img/flags/4x3/in.svg delete mode 100644 assets/img/flags/4x3/io.svg delete mode 100644 assets/img/flags/4x3/iq.svg delete mode 100644 assets/img/flags/4x3/ir.svg delete mode 100644 assets/img/flags/4x3/is.svg delete mode 100644 assets/img/flags/4x3/it.svg delete mode 100644 assets/img/flags/4x3/je.svg delete mode 100644 assets/img/flags/4x3/jm.svg delete mode 100644 assets/img/flags/4x3/jo.svg delete mode 100644 assets/img/flags/4x3/jp.svg delete mode 100644 assets/img/flags/4x3/ke.svg delete mode 100644 assets/img/flags/4x3/kg.svg delete mode 100644 assets/img/flags/4x3/kh.svg delete mode 100644 assets/img/flags/4x3/ki.svg delete mode 100644 assets/img/flags/4x3/km.svg delete mode 100644 assets/img/flags/4x3/kn.svg delete mode 100644 assets/img/flags/4x3/kp.svg delete mode 100644 assets/img/flags/4x3/kr.svg delete mode 100644 assets/img/flags/4x3/kw.svg delete mode 100644 assets/img/flags/4x3/ky.svg delete mode 100644 assets/img/flags/4x3/kz.svg delete mode 100644 assets/img/flags/4x3/la.svg delete mode 100644 assets/img/flags/4x3/lb.svg delete mode 100644 assets/img/flags/4x3/lc.svg delete mode 100644 assets/img/flags/4x3/li.svg delete mode 100644 assets/img/flags/4x3/lk.svg delete mode 100644 assets/img/flags/4x3/lr.svg delete mode 100644 assets/img/flags/4x3/ls.svg delete mode 100644 assets/img/flags/4x3/lt.svg delete mode 100644 assets/img/flags/4x3/lu.svg delete mode 100644 assets/img/flags/4x3/lv.svg delete mode 100644 assets/img/flags/4x3/ly.svg delete mode 100644 assets/img/flags/4x3/ma.svg delete mode 100644 assets/img/flags/4x3/mc.svg delete mode 100644 assets/img/flags/4x3/md.svg delete mode 100644 assets/img/flags/4x3/me.svg delete mode 100644 assets/img/flags/4x3/mf.svg delete mode 100644 assets/img/flags/4x3/mg.svg delete mode 100644 assets/img/flags/4x3/mh.svg delete mode 100644 assets/img/flags/4x3/mk.svg delete mode 100644 assets/img/flags/4x3/ml.svg delete mode 100644 assets/img/flags/4x3/mm.svg delete mode 100644 assets/img/flags/4x3/mn.svg delete mode 100644 assets/img/flags/4x3/mo.svg delete mode 100644 assets/img/flags/4x3/mp.svg delete mode 100644 assets/img/flags/4x3/mq.svg delete mode 100644 assets/img/flags/4x3/mr.svg delete mode 100644 assets/img/flags/4x3/ms.svg delete mode 100644 assets/img/flags/4x3/mt.svg delete mode 100644 assets/img/flags/4x3/mu.svg delete mode 100644 assets/img/flags/4x3/mv.svg delete mode 100644 assets/img/flags/4x3/mw.svg delete mode 100644 assets/img/flags/4x3/mx.svg delete mode 100644 assets/img/flags/4x3/my.svg delete mode 100644 assets/img/flags/4x3/mz.svg delete mode 100644 assets/img/flags/4x3/na.svg delete mode 100644 assets/img/flags/4x3/nc.svg delete mode 100644 assets/img/flags/4x3/ne.svg delete mode 100644 assets/img/flags/4x3/nf.svg delete mode 100644 assets/img/flags/4x3/ng.svg delete mode 100644 assets/img/flags/4x3/ni.svg delete mode 100644 assets/img/flags/4x3/nl.svg delete mode 100644 assets/img/flags/4x3/no.svg delete mode 100644 assets/img/flags/4x3/np.svg delete mode 100644 assets/img/flags/4x3/nr.svg delete mode 100644 assets/img/flags/4x3/nu.svg delete mode 100644 assets/img/flags/4x3/nz.svg delete mode 100644 assets/img/flags/4x3/om.svg delete mode 100644 assets/img/flags/4x3/pa.svg delete mode 100644 assets/img/flags/4x3/pe.svg delete mode 100644 assets/img/flags/4x3/pf.svg delete mode 100644 assets/img/flags/4x3/pg.svg delete mode 100644 assets/img/flags/4x3/ph.svg delete mode 100644 assets/img/flags/4x3/pk.svg delete mode 100644 assets/img/flags/4x3/pl.svg delete mode 100644 assets/img/flags/4x3/pm.svg delete mode 100644 assets/img/flags/4x3/pn.svg delete mode 100644 assets/img/flags/4x3/pr.svg delete mode 100644 assets/img/flags/4x3/ps.svg delete mode 100644 assets/img/flags/4x3/pt.svg delete mode 100644 assets/img/flags/4x3/pw.svg delete mode 100644 assets/img/flags/4x3/py.svg delete mode 100644 assets/img/flags/4x3/qa.svg delete mode 100644 assets/img/flags/4x3/re.svg delete mode 100644 assets/img/flags/4x3/ro.svg delete mode 100644 assets/img/flags/4x3/rs.svg delete mode 100644 assets/img/flags/4x3/ru.svg delete mode 100644 assets/img/flags/4x3/rw.svg delete mode 100644 assets/img/flags/4x3/sa.svg delete mode 100644 assets/img/flags/4x3/sb.svg delete mode 100644 assets/img/flags/4x3/sc.svg delete mode 100644 assets/img/flags/4x3/sd.svg delete mode 100644 assets/img/flags/4x3/se.svg delete mode 100644 assets/img/flags/4x3/sg.svg delete mode 100644 assets/img/flags/4x3/sh.svg delete mode 100644 assets/img/flags/4x3/si.svg delete mode 100644 assets/img/flags/4x3/sj.svg delete mode 100644 assets/img/flags/4x3/sk.svg delete mode 100644 assets/img/flags/4x3/sl.svg delete mode 100644 assets/img/flags/4x3/sm.svg delete mode 100644 assets/img/flags/4x3/sn.svg delete mode 100644 assets/img/flags/4x3/so.svg delete mode 100644 assets/img/flags/4x3/sr.svg delete mode 100644 assets/img/flags/4x3/ss.svg delete mode 100644 assets/img/flags/4x3/st.svg delete mode 100644 assets/img/flags/4x3/sv.svg delete mode 100644 assets/img/flags/4x3/sx.svg delete mode 100644 assets/img/flags/4x3/sy.svg delete mode 100644 assets/img/flags/4x3/sz.svg delete mode 100644 assets/img/flags/4x3/tc.svg delete mode 100644 assets/img/flags/4x3/td.svg delete mode 100644 assets/img/flags/4x3/tf.svg delete mode 100644 assets/img/flags/4x3/tg.svg delete mode 100644 assets/img/flags/4x3/th.svg delete mode 100644 assets/img/flags/4x3/tj.svg delete mode 100644 assets/img/flags/4x3/tk.svg delete mode 100644 assets/img/flags/4x3/tl.svg delete mode 100644 assets/img/flags/4x3/tm.svg delete mode 100644 assets/img/flags/4x3/tn.svg delete mode 100644 assets/img/flags/4x3/to.svg delete mode 100644 assets/img/flags/4x3/tr.svg delete mode 100644 assets/img/flags/4x3/tt.svg delete mode 100644 assets/img/flags/4x3/tv.svg delete mode 100644 assets/img/flags/4x3/tw.svg delete mode 100644 assets/img/flags/4x3/tz.svg delete mode 100644 assets/img/flags/4x3/ua.svg delete mode 100644 assets/img/flags/4x3/ug.svg delete mode 100644 assets/img/flags/4x3/um.svg delete mode 100644 assets/img/flags/4x3/un.svg delete mode 100644 assets/img/flags/4x3/us.svg delete mode 100644 assets/img/flags/4x3/uy.svg delete mode 100644 assets/img/flags/4x3/uz.svg delete mode 100644 assets/img/flags/4x3/va.svg delete mode 100644 assets/img/flags/4x3/vc.svg delete mode 100644 assets/img/flags/4x3/ve.svg delete mode 100644 assets/img/flags/4x3/vg.svg delete mode 100644 assets/img/flags/4x3/vi.svg delete mode 100644 assets/img/flags/4x3/vn.svg delete mode 100644 assets/img/flags/4x3/vu.svg delete mode 100644 assets/img/flags/4x3/wf.svg delete mode 100644 assets/img/flags/4x3/ws.svg delete mode 100644 assets/img/flags/4x3/xk.svg delete mode 100644 assets/img/flags/4x3/ye.svg delete mode 100644 assets/img/flags/4x3/yt.svg delete mode 100644 assets/img/flags/4x3/za.svg delete mode 100644 assets/img/flags/4x3/zm.svg delete mode 100644 assets/img/flags/4x3/zw.svg create mode 100644 assets/img/logo.png create mode 100644 assets/js/dns-table.js create mode 100644 assets/js/dns-table.min.js create mode 100644 assets/js/flags.js create mode 100644 assets/js/flags.min.js create mode 100644 assets/js/settings-loader.js create mode 100644 assets/js/settings-loader.min.js create mode 100644 inc/functions/compatiblity.php create mode 100644 inc/models/interface-limitable.php create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 setuptest.sh diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist index 0a870b2..c378b3a 100644 --- a/.phpcs.xml.dist +++ b/.phpcs.xml.dist @@ -36,18 +36,18 @@ + + + + + - - - - - - + /views/ @@ -74,8 +74,24 @@ - + read_notes + + + + + + + + + + + + + + + + diff --git a/assets/css/admin.css b/assets/css/admin.css index e5482f9..2747b5f 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1851,7 +1851,7 @@ a.button.wu-button-delete.wu-border-none { border-width: 0; } a.button.wu-button-delete:hover { - border-width: 1 !important; + border-width: 1px !important; color: #8b0000; background-color: transparent; } @@ -5193,7 +5193,7 @@ td.column-id { padding: 0; margin: -19px 0 0 -19px; background-image: url("../img/loader.svg"); - background-repeat: none; + background-repeat: no-repeat; background-position: center center; width: 38px; height: 38px; diff --git a/assets/css/admin.min.css b/assets/css/admin.min.css index 9068f5b..3bb2c8a 100644 --- a/assets/css/admin.min.css +++ b/assets/css/admin.min.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:dashicons-wu;src:url("../fonts/dashicons-wu.eot?eixu94");src:url("../fonts/dashicons-wu.eot?eixu94#iefix") format("embedded-opentype"),url("../fonts/dashicons-wu.ttf?eixu94") format("truetype"),url("../fonts/dashicons-wu.woff?eixu94") format("woff"),url("../fonts/dashicons-wu.svg?eixu94#dashicons-wu") format("svg");font-weight:400;font-style:normal;font-display:block}[class*=" dashicons-wu-"],[class^=dashicons-wu-]{font-family:dashicons-wu!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" dashicons-wu-"]::before,[class^=dashicons-wu-]::before{font-family:dashicons-wu!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dashicons-wu-wp-ultimo::before{font-family:dashicons!important;content:"\f325"}.dashicons-wu-alert-circle::before{content:"\e903"}.dashicons-wu-at-sign::before{content:"\e904"}.dashicons-wu-award::before{content:"\e905"}.dashicons-wu-book1::before{content:"\e906"}.dashicons-wu-book-open::before{content:"\e907"}.dashicons-wu-bookmark1::before{content:"\e908"}.dashicons-wu-box1::before{content:"\e909"}.dashicons-wu-calendar1::before{content:"\e90a"}.dashicons-wu-check-square::before{content:"\e90b"}.dashicons-wu-clipboard1::before{content:"\e90c"}.dashicons-wu-clock1::before{content:"\ea58"}.dashicons-wu-coffee::before{content:"\ea59"}.dashicons-wu-columns::before{content:"\ea5a"}.dashicons-wu-copy1::before{content:"\ea5b"}.dashicons-wu-credit-card2::before{content:"\ea5c"}.dashicons-wu-crosshair::before{content:"\ea5d"}.dashicons-wu-dollar-sign::before{content:"\ea5e"}.dashicons-wu-droplet::before{content:"\ea5f"}.dashicons-wu-edit1::before{content:"\ea60"}.dashicons-wu-edit-2::before{content:"\ea61"}.dashicons-wu-edit-3::before{content:"\ea62"}.dashicons-wu-eye1::before{content:"\ea63"}.dashicons-wu-eye-off::before{content:"\ea64"}.dashicons-wu-file::before{content:"\ea65"}.dashicons-wu-file-text::before{content:"\ea66"}.dashicons-wu-filter::before{content:"\ea67"}.dashicons-wu-folder1::before{content:"\ea68"}.dashicons-wu-gift::before{content:"\ea69"}.dashicons-wu-globe1::before{content:"\ea6a"}.dashicons-wu-grid1::before{content:"\ea6b"}.dashicons-wu-heart1::before{content:"\ea6c"}.dashicons-wu-image1::before{content:"\ea6d"}.dashicons-wu-info1::before{content:"\ea6e"}.dashicons-wu-layout::before{content:"\ea6f"}.dashicons-wu-life-buoy::before{content:"\ea70"}.dashicons-wu-link1::before{content:"\ea71"}.dashicons-wu-list1::before{content:"\ea72"}.dashicons-wu-loader::before{content:"\ea73"}.dashicons-wu-lock1::before{content:"\ea74"}.dashicons-wu-mail1::before{content:"\ea75"}.dashicons-wu-map1::before{content:"\ea76"}.dashicons-wu-map-pin::before{content:"\ea77"}.dashicons-wu-message-circle::before{content:"\ea78"}.dashicons-wu-monitor::before{content:"\ea79"}.dashicons-wu-more-horizontal::before{content:"\ea7a"}.dashicons-wu-package::before{content:"\ea7b"}.dashicons-wu-paperclip::before{content:"\ea7c"}.dashicons-wu-pen-tool::before{content:"\ea7d"}.dashicons-wu-percent::before{content:"\ea7e"}.dashicons-wu-pie-chart1::before{content:"\ea7f"}.dashicons-wu-play-circle::before{content:"\ea80"}.dashicons-wu-plus-circle::before{content:"\ea81"}.dashicons-wu-plus-square::before{content:"\ea82"}.dashicons-wu-rotate-ccw::before{content:"\ea83"}.dashicons-wu-search::before{content:"\ea84"}.dashicons-wu-settings::before{content:"\ea85"}.dashicons-wu-share1::before{content:"\ea86"}.dashicons-wu-share-2::before{content:"\ea87"}.dashicons-wu-shield1::before{content:"\ea88"}.dashicons-wu-shopping-bag1::before{content:"\ea89"}.dashicons-wu-shopping-cart1::before{content:"\ea8a"}.dashicons-wu-sidebar::before{content:"\ea8b"}.dashicons-wu-sliders::before{content:"\ea8c"}.dashicons-wu-smile::before{content:"\ea8d"}.dashicons-wu-star1::before{content:"\ea8e"}.dashicons-wu-tag1::before{content:"\ea8f"}.dashicons-wu-terminal::before{content:"\ea90"}.dashicons-wu-toggle-left::before{content:"\ea91"}.dashicons-wu-toggle-right::before{content:"\ea92"}.dashicons-wu-trash-2::before{content:"\ea93"}.dashicons-wu-type::before{content:"\ea94"}.dashicons-wu-user1::before{content:"\ea95"}.dashicons-wu-zap::before{content:"\ea96"}.dashicons-wu-filter_1::before{content:"\ea47"}.dashicons-wu-filter_2::before{content:"\ea48"}.dashicons-wu-filter_3::before{content:"\ea49"}.dashicons-wu-filter_4::before{content:"\ea4a"}.dashicons-wu-filter_5::before{content:"\ea4b"}.dashicons-wu-filter_6::before{content:"\ea4c"}.dashicons-wu-filter_7::before{content:"\ea4d"}.dashicons-wu-filter_8::before{content:"\ea4e"}.dashicons-wu-filter_9::before{content:"\ea4f"}.dashicons-wu-filter_9_plus::before{content:"\ea50"}.dashicons-wu-done::before{content:"\ea51"}.dashicons-wu-done_all::before{content:"\ea54"}.dashicons-wu-toggle_on::before{content:"\ea55"}.dashicons-wu-verified::before{content:"\ea56"}.dashicons-wu-add_task::before{content:"\ea57"}.dashicons-wu-hash::before{content:"\e9ea"}.dashicons-wu-number::before{content:"\e9ea"}.dashicons-wu-pencil2::before{content:"\ea3e"}.dashicons-wu-qrcode::before{content:"\ea3f"}.dashicons-wu-ticket1::before{content:"\ea40"}.dashicons-wu-coin-dollar::before{content:"\ea41"}.dashicons-wu-coin-euro::before{content:"\ea42"}.dashicons-wu-coin-pound::before{content:"\ea43"}.dashicons-wu-coin-yen::before{content:"\ea44"}.dashicons-wu-credit-card1::before{content:"\ea45"}.dashicons-wu-power-cord::before{content:"\ea46"}.dashicons-wu-checkbox-checked::before{content:"\ea52"}.dashicons-wu-checkbox-unchecked::before{content:"\ea53"}.dashicons-wu-hashtag::before{content:"\f292"}.dashicons-wu-add-to-list::before{content:"\e901"}.dashicons-wu-classic-computer::before{content:"\e902"}.dashicons-wu-document-landscape::before{content:"\e90d"}.dashicons-wu-remove-user::before{content:"\e90e"}.dashicons-wu-warning::before{content:"\e90f"}.dashicons-wu-arrow-bold-down::before{content:"\e910"}.dashicons-wu-arrow-bold-left::before{content:"\e911"}.dashicons-wu-arrow-bold-right::before{content:"\e912"}.dashicons-wu-arrow-bold-up::before{content:"\e913"}.dashicons-wu-arrow-down::before{content:"\e914"}.dashicons-wu-arrow-left::before{content:"\e915"}.dashicons-wu-arrow-long-down::before{content:"\e916"}.dashicons-wu-arrow-long-left::before{content:"\e917"}.dashicons-wu-arrow-long-right::before{content:"\e918"}.dashicons-wu-arrow-long-up::before{content:"\e919"}.dashicons-wu-arrow-right::before{content:"\e91a"}.dashicons-wu-arrow-up::before{content:"\e91b"}.dashicons-wu-arrow-with-circle-down::before{content:"\e91c"}.dashicons-wu-arrow-with-circle-left::before{content:"\e91d"}.dashicons-wu-arrow-with-circle-right::before{content:"\e91e"}.dashicons-wu-arrow-with-circle-up::before{content:"\e91f"}.dashicons-wu-bookmark::before{content:"\e920"}.dashicons-wu-bookmarks::before{content:"\e921"}.dashicons-wu-chevron-down::before{content:"\e922"}.dashicons-wu-chevron-left::before{content:"\e923"}.dashicons-wu-chevron-right::before{content:"\e924"}.dashicons-wu-chevron-small-down::before{content:"\e925"}.dashicons-wu-chevron-small-left::before{content:"\e926"}.dashicons-wu-chevron-small-right::before{content:"\e927"}.dashicons-wu-chevron-small-up::before{content:"\e928"}.dashicons-wu-chevron-thin-down::before{content:"\e929"}.dashicons-wu-chevron-thin-left::before{content:"\e92a"}.dashicons-wu-chevron-thin-right::before{content:"\e92b"}.dashicons-wu-chevron-thin-up::before{content:"\e92c"}.dashicons-wu-chevron-up::before{content:"\e92d"}.dashicons-wu-chevron-with-circle-down::before{content:"\e92e"}.dashicons-wu-chevron-with-circle-left::before{content:"\e92f"}.dashicons-wu-chevron-with-circle-right::before{content:"\e930"}.dashicons-wu-chevron-with-circle-up::before{content:"\e931"}.dashicons-wu-cloud::before{content:"\e932"}.dashicons-wu-controller-fast-forward::before{content:"\e933"}.dashicons-wu-controller-jump-to-start::before{content:"\e934"}.dashicons-wu-controller-next::before{content:"\e935"}.dashicons-wu-controller-paus::before{content:"\e936"}.dashicons-wu-controller-play::before{content:"\e937"}.dashicons-wu-controller-record::before{content:"\e938"}.dashicons-wu-controller-stop::before{content:"\e939"}.dashicons-wu-controller-volume::before{content:"\e93a"}.dashicons-wu-dot-single::before{content:"\e93b"}.dashicons-wu-dots-three-horizontal::before{content:"\e93c"}.dashicons-wu-dots-three-vertical::before{content:"\e93d"}.dashicons-wu-dots-two-horizontal::before{content:"\e93e"}.dashicons-wu-dots-two-vertical::before{content:"\e93f"}.dashicons-wu-download::before{content:"\e940"}.dashicons-wu-emoji-flirt::before{content:"\e941"}.dashicons-wu-flow-branch::before{content:"\e942"}.dashicons-wu-flow-cascade::before{content:"\e943"}.dashicons-wu-flow-line::before{content:"\e944"}.dashicons-wu-flow-parallel::before{content:"\e945"}.dashicons-wu-flow-tree::before{content:"\e946"}.dashicons-wu-install::before{content:"\e947"}.dashicons-wu-layers::before{content:"\e948"}.dashicons-wu-open-book::before{content:"\e949"}.dashicons-wu-resize-100::before{content:"\e94a"}.dashicons-wu-resize-full-screen::before{content:"\e94b"}.dashicons-wu-save::before{content:"\e94c"}.dashicons-wu-select-arrows::before{content:"\e94d"}.dashicons-wu-sound-mute::before{content:"\e94e"}.dashicons-wu-sound::before{content:"\e94f"}.dashicons-wu-trash::before{content:"\e950"}.dashicons-wu-triangle-down::before{content:"\e951"}.dashicons-wu-triangle-left::before{content:"\e952"}.dashicons-wu-triangle-right::before{content:"\e953"}.dashicons-wu-triangle-up::before{content:"\e954"}.dashicons-wu-uninstall::before{content:"\e955"}.dashicons-wu-upload-to-cloud::before{content:"\e956"}.dashicons-wu-upload::before{content:"\e957"}.dashicons-wu-add-user::before{content:"\e958"}.dashicons-wu-address::before{content:"\e959"}.dashicons-wu-adjust::before{content:"\e95a"}.dashicons-wu-air::before{content:"\e95b"}.dashicons-wu-aircraft-landing::before{content:"\e95c"}.dashicons-wu-aircraft-take-off::before{content:"\e95d"}.dashicons-wu-aircraft::before{content:"\e95e"}.dashicons-wu-align-bottom::before{content:"\e95f"}.dashicons-wu-align-horizontal-middle::before{content:"\e960"}.dashicons-wu-align-left::before{content:"\e961"}.dashicons-wu-align-right::before{content:"\e962"}.dashicons-wu-align-top::before{content:"\e963"}.dashicons-wu-align-vertical-middle::before{content:"\e964"}.dashicons-wu-archive::before{content:"\e965"}.dashicons-wu-area-graph::before{content:"\e966"}.dashicons-wu-attachment::before{content:"\e967"}.dashicons-wu-awareness-ribbon::before{content:"\e968"}.dashicons-wu-back-in-time::before{content:"\e969"}.dashicons-wu-back::before{content:"\e96a"}.dashicons-wu-bar-graph::before{content:"\e96b"}.dashicons-wu-battery::before{content:"\e96c"}.dashicons-wu-beamed-note::before{content:"\e96d"}.dashicons-wu-bell::before{content:"\e96e"}.dashicons-wu-blackboard::before{content:"\e96f"}.dashicons-wu-block::before{content:"\e970"}.dashicons-wu-book::before{content:"\e971"}.dashicons-wu-bowl::before{content:"\e972"}.dashicons-wu-box::before{content:"\e973"}.dashicons-wu-briefcase::before{content:"\e974"}.dashicons-wu-browser::before{content:"\e975"}.dashicons-wu-brush::before{content:"\e976"}.dashicons-wu-bucket::before{content:"\e977"}.dashicons-wu-cake::before{content:"\e978"}.dashicons-wu-calculator::before{content:"\e979"}.dashicons-wu-calendar::before{content:"\e97a"}.dashicons-wu-camera::before{content:"\e97b"}.dashicons-wu-ccw::before{content:"\e97c"}.dashicons-wu-chat::before{content:"\e97d"}.dashicons-wu-check::before{content:"\e97e"}.dashicons-wu-circle-with-cross::before{content:"\e97f"}.dashicons-wu-circle-with-minus::before{content:"\e980"}.dashicons-wu-circle-with-plus::before{content:"\e981"}.dashicons-wu-circle::before{content:"\e982"}.dashicons-wu-circular-graph::before{content:"\e983"}.dashicons-wu-clapperboard::before{content:"\e984"}.dashicons-wu-clipboard::before{content:"\e985"}.dashicons-wu-clock::before{content:"\e986"}.dashicons-wu-code::before{content:"\e987"}.dashicons-wu-cog::before{content:"\e988"}.dashicons-wu-colours::before{content:"\e989"}.dashicons-wu-compass::before{content:"\e98a"}.dashicons-wu-copy::before{content:"\e98b"}.dashicons-wu-credit-card::before{content:"\e98c"}.dashicons-wu-credit::before{content:"\e98d"}.dashicons-wu-cross::before{content:"\e98e"}.dashicons-wu-cup::before{content:"\e98f"}.dashicons-wu-cw::before{content:"\e990"}.dashicons-wu-cycle::before{content:"\e991"}.dashicons-wu-database::before{content:"\e992"}.dashicons-wu-dial-pad::before{content:"\e993"}.dashicons-wu-direction::before{content:"\e994"}.dashicons-wu-document::before{content:"\e995"}.dashicons-wu-documents::before{content:"\e996"}.dashicons-wu-drink::before{content:"\e997"}.dashicons-wu-drive::before{content:"\e998"}.dashicons-wu-drop::before{content:"\e999"}.dashicons-wu-edit::before{content:"\e99a"}.dashicons-wu-email::before{content:"\e99b"}.dashicons-wu-emoji-happy::before{content:"\e99c"}.dashicons-wu-emoji-neutral::before{content:"\e99d"}.dashicons-wu-emoji-sad::before{content:"\e99e"}.dashicons-wu-erase::before{content:"\e99f"}.dashicons-wu-eraser::before{content:"\e9a0"}.dashicons-wu-export::before{content:"\e9a1"}.dashicons-wu-eye::before{content:"\e9a2"}.dashicons-wu-feather::before{content:"\e9a3"}.dashicons-wu-flag::before{content:"\e9a4"}.dashicons-wu-flash::before{content:"\e9a5"}.dashicons-wu-flashlight::before{content:"\e9a6"}.dashicons-wu-flat-brush::before{content:"\e9a7"}.dashicons-wu-folder-images::before{content:"\e9a8"}.dashicons-wu-folder-music::before{content:"\e9a9"}.dashicons-wu-folder-video::before{content:"\e9aa"}.dashicons-wu-folder::before{content:"\e9ab"}.dashicons-wu-forward::before{content:"\e9ac"}.dashicons-wu-funnel::before{content:"\e9ad"}.dashicons-wu-game-controller::before{content:"\e9ae"}.dashicons-wu-gauge::before{content:"\e9af"}.dashicons-wu-globe::before{content:"\e9b0"}.dashicons-wu-graduation-cap::before{content:"\e9b1"}.dashicons-wu-grid::before{content:"\e9b2"}.dashicons-wu-hair-cross::before{content:"\e9b3"}.dashicons-wu-hand::before{content:"\e9b4"}.dashicons-wu-heart-outlined::before{content:"\e9b5"}.dashicons-wu-heart::before{content:"\e9b6"}.dashicons-wu-help-with-circle::before{content:"\e9b7"}.dashicons-wu-help::before{content:"\e9b8"}.dashicons-wu-home::before{content:"\e9b9"}.dashicons-wu-hour-glass::before{content:"\e9ba"}.dashicons-wu-image-inverted::before{content:"\e9bb"}.dashicons-wu-image::before{content:"\e9bc"}.dashicons-wu-images::before{content:"\e9bd"}.dashicons-wu-inbox::before{content:"\e9be"}.dashicons-wu-infinity::before{content:"\e9bf"}.dashicons-wu-info-with-circle::before{content:"\e9c0"}.dashicons-wu-info::before{content:"\e9c1"}.dashicons-wu-key::before{content:"\e9c2"}.dashicons-wu-keyboard::before{content:"\e9c3"}.dashicons-wu-lab-flask::before{content:"\e9c4"}.dashicons-wu-landline::before{content:"\e9c5"}.dashicons-wu-language::before{content:"\e9c6"}.dashicons-wu-laptop::before{content:"\e9c7"}.dashicons-wu-leaf::before{content:"\e9c8"}.dashicons-wu-level-down::before{content:"\e9c9"}.dashicons-wu-level-up::before{content:"\e9ca"}.dashicons-wu-lifebuoy::before{content:"\e9cb"}.dashicons-wu-light-bulb::before{content:"\e9cc"}.dashicons-wu-light-down::before{content:"\e9cd"}.dashicons-wu-light-up::before{content:"\e9ce"}.dashicons-wu-line-graph::before{content:"\e9cf"}.dashicons-wu-link::before{content:"\e9d0"}.dashicons-wu-list::before{content:"\e9d1"}.dashicons-wu-location-pin::before{content:"\e9d2"}.dashicons-wu-location::before{content:"\e9d3"}.dashicons-wu-lock-open::before{content:"\e9d4"}.dashicons-wu-lock::before{content:"\e9d5"}.dashicons-wu-log-out::before{content:"\e9d6"}.dashicons-wu-login::before{content:"\e9d7"}.dashicons-wu-loop::before{content:"\e9d8"}.dashicons-wu-magnet::before{content:"\e9d9"}.dashicons-wu-magnifying-glass::before{content:"\e9da"}.dashicons-wu-mail::before{content:"\e9db"}.dashicons-wu-man::before{content:"\e9dc"}.dashicons-wu-map::before{content:"\e9dd"}.dashicons-wu-mask::before{content:"\e9de"}.dashicons-wu-medal::before{content:"\e9df"}.dashicons-wu-megaphone::before{content:"\e9e0"}.dashicons-wu-menu::before{content:"\e9e1"}.dashicons-wu-message::before{content:"\e9e2"}.dashicons-wu-mic::before{content:"\e9e3"}.dashicons-wu-minus::before{content:"\e9e4"}.dashicons-wu-mobile::before{content:"\e9e5"}.dashicons-wu-modern-mic::before{content:"\e9e6"}.dashicons-wu-moon::before{content:"\e9e7"}.dashicons-wu-mouse::before{content:"\e9e8"}.dashicons-wu-music::before{content:"\e9e9"}.dashicons-wu-new-message::before{content:"\e9eb"}.dashicons-wu-new::before{content:"\e9ec"}.dashicons-wu-news::before{content:"\e9ed"}.dashicons-wu-note::before{content:"\e9ee"}.dashicons-wu-notification::before{content:"\e9ef"}.dashicons-wu-old-mobile::before{content:"\e9f0"}.dashicons-wu-old-phone::before{content:"\e9f1"}.dashicons-wu-palette::before{content:"\e9f2"}.dashicons-wu-paper-plane::before{content:"\e9f3"}.dashicons-wu-pencil::before{content:"\e9f4"}.dashicons-wu-phone::before{content:"\e9f5"}.dashicons-wu-pie-chart::before{content:"\e9f6"}.dashicons-wu-pin::before{content:"\e9f7"}.dashicons-wu-plus::before{content:"\e9f8"}.dashicons-wu-popup::before{content:"\e9f9"}.dashicons-wu-power-plug::before{content:"\e9fa"}.dashicons-wu-price-ribbon::before{content:"\e9fb"}.dashicons-wu-price-tag::before{content:"\e9fc"}.dashicons-wu-print::before{content:"\e9fd"}.dashicons-wu-progress-empty::before{content:"\e9fe"}.dashicons-wu-progress-full::before{content:"\e9ff"}.dashicons-wu-progress-one::before{content:"\ea00"}.dashicons-wu-progress-two::before{content:"\ea01"}.dashicons-wu-publish::before{content:"\ea02"}.dashicons-wu-quote::before{content:"\ea03"}.dashicons-wu-radio::before{content:"\ea04"}.dashicons-wu-reply-all::before{content:"\ea05"}.dashicons-wu-reply::before{content:"\ea06"}.dashicons-wu-retweet::before{content:"\ea07"}.dashicons-wu-rocket::before{content:"\ea08"}.dashicons-wu-round-brush::before{content:"\ea09"}.dashicons-wu-rss::before{content:"\ea0a"}.dashicons-wu-ruler::before{content:"\ea0b"}.dashicons-wu-scissors::before{content:"\ea0c"}.dashicons-wu-share-alternitive::before{content:"\ea0d"}.dashicons-wu-share::before{content:"\ea0e"}.dashicons-wu-shareable::before{content:"\ea0f"}.dashicons-wu-shield::before{content:"\ea10"}.dashicons-wu-shop::before{content:"\ea11"}.dashicons-wu-shopping-bag::before{content:"\ea12"}.dashicons-wu-shopping-basket::before{content:"\ea13"}.dashicons-wu-shopping-cart::before{content:"\ea14"}.dashicons-wu-shuffle::before{content:"\ea15"}.dashicons-wu-signal::before{content:"\ea16"}.dashicons-wu-sound-mix::before{content:"\ea17"}.dashicons-wu-sports-club::before{content:"\ea18"}.dashicons-wu-spreadsheet::before{content:"\ea19"}.dashicons-wu-squared-cross::before{content:"\ea1a"}.dashicons-wu-squared-minus::before{content:"\ea1b"}.dashicons-wu-squared-plus::before{content:"\ea1c"}.dashicons-wu-star-outlined::before{content:"\ea1d"}.dashicons-wu-star::before{content:"\ea1e"}.dashicons-wu-stopwatch::before{content:"\ea1f"}.dashicons-wu-suitcase::before{content:"\ea20"}.dashicons-wu-swap::before{content:"\ea21"}.dashicons-wu-sweden::before{content:"\ea22"}.dashicons-wu-switch::before{content:"\ea23"}.dashicons-wu-tablet::before{content:"\ea24"}.dashicons-wu-tag::before{content:"\ea25"}.dashicons-wu-text-document-inverted::before{content:"\ea26"}.dashicons-wu-text-document::before{content:"\ea27"}.dashicons-wu-text::before{content:"\ea28"}.dashicons-wu-thermometer::before{content:"\ea29"}.dashicons-wu-thumbs-down::before{content:"\ea2a"}.dashicons-wu-thumbs-up::before{content:"\ea2b"}.dashicons-wu-thunder-cloud::before{content:"\ea2c"}.dashicons-wu-ticket::before{content:"\ea2d"}.dashicons-wu-time-slot::before{content:"\ea2e"}.dashicons-wu-tools::before{content:"\ea2f"}.dashicons-wu-traffic-cone::before{content:"\ea30"}.dashicons-wu-tree::before{content:"\ea31"}.dashicons-wu-trophy::before{content:"\ea32"}.dashicons-wu-tv::before{content:"\ea33"}.dashicons-wu-typing::before{content:"\ea34"}.dashicons-wu-unread::before{content:"\ea35"}.dashicons-wu-untag::before{content:"\ea36"}.dashicons-wu-user::before{content:"\ea37"}.dashicons-wu-users::before{content:"\ea38"}.dashicons-wu-v-card::before{content:"\ea39"}.dashicons-wu-video::before{content:"\ea3a"}.dashicons-wu-vinyl::before{content:"\ea3b"}.dashicons-wu-voicemail::before{content:"\ea3c"}.dashicons-wu-wallet::before{content:"\ea3d"}.edit-post-fullscreen-mode-close svg{display:none}.edit-post-fullscreen-mode-close::before{font-family:dashicons-wu,sans-serif;content:"\e923"!important;line-height:44px;text-align:center;font-size:24px;margin-left:-2px}li#wp-admin-bar-wp-ultimo>a.ab-item::before{font-family:dashicons,sans-serif;content:"\f325";top:2px}#wpadminbar ul li.wu-maintenance-mode{background-color:#e67e22}.wu-styling [v-cloak]{display:none}.wu-notes-wrapper{max-height:500px;padding-top:100px;overflow-y:scroll}.wu-notes-wrapper p{margin:.5em 0}.wu-notes-wrapper p:first-child{margin-top:0}.wu-notes-wrapper p:last-child{margin-bottom:0}.wu-wrapper-image-field img[src=""]{display:none}.wu-styling #wp-ultimo-wizard-body .handle-actions{display:none}.wu-styling input.readonly,.wu-styling input[readonly],.wu-styling select.readonly,.wu-styling select[readonly],.wu-styling textarea.readonly,.wu-styling textarea[readonly]{background:rgba(255,255,255,.5);border-color:rgba(220,220,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(44,51,56,.5)}.wu-styling.wu-network-admin.wp-ultimo_page_wp-ultimo-settings #wpbody,.wu-styling.wu-network-admin.wu-page-wp-ultimo-addons #wpbody{margin-left:auto;margin-right:auto;max-width:1440px}.wu-styling .wu-widget-inset{margin-top:-11px;margin-bottom:-12px;margin-left:-12px;margin-right:-12px}.wu-styling .wu-widget-inset>*{box-sizing:border-box}.wu-styling #poststuff .wu-widget-inset{margin-top:-6px}.wu-styling div.mce-tinymce{box-shadow:none!important;border:solid 1px #7e8a93!important;border-radius:3px;overflow:auto}.wu-styling #wp-content-editor-tools,.wu-styling div.mce-toolbar-grp{background-color:transparent}.wu-styling .mce-top-part::before{box-shadow:none!important}.wu-hide-admin-notices .notice:not(.wu-admin-notice){display:none!important}.wu-hide-admin-notices.wu-page-wp-ultimo-about .fs-notice,.wu-hide-admin-notices.wu-page-wp-ultimo-about .notice,.wu-hide-admin-notices.wu-page-wp-ultimo-hosting-integration-wizard .fs-notice,.wu-hide-admin-notices.wu-page-wp-ultimo-hosting-integration-wizard .notice{display:none!important}.wu-remove-frame #adminmenuback,.wu-remove-frame #adminmenuwrap,.wu-remove-frame #wp-ultimo-header{display:none!important}.wu-remove-frame #wpcontent,.wu-remove-frame #wpfooter{margin-left:0!important}body.wu-styling.wu-network-admin{background:#eef2f5}body.wu-styling #wpbody-content{margin-bottom:64px}body.wu-styling #wpfooter{padding-bottom:0}body.wu-styling h2.nav-tab-wrapper a{background:#e5eaed;border-color:#b3bfcd}body.wu-styling h2.nav-tab-wrapper a.nav-tab-active{background:#eef2f5;border-bottom-color:transparent}.wu-styling .wu-filter .filter-links{display:block}.wu-styling .wu-filter .filter-links:first-child{margin-left:-12px}.wu-styling .wu-filter .filter-links li{float:left}.wu-styling .wu-filter .filter-links li.current{border-right:solid 1px #ececec;border-left:solid 1px #ececec;border-bottom:none}.wu-styling .wu-filter .filter-links li>a{padding:15px 16px 14px;margin:0;border-bottom-color:#eef2f5;border-bottom-width:5px}.wu-styling .wu-filter .filter-links li>a.current{border-bottom:5px solid #dde4e9}.wu-blinking-animation{animation:wublinker 2s ease-in-out infinite}@keyframes wublinker{50%{opacity:0}}body.wu-page-wp-ultimo-edit-checkout-form #normal-sortables{display:none}a.button.wu-button-delete{border-color:#8b0000;color:#8b0000;background-color:transparent}a.button.wu-button-delete.wu-border-none{border-width:0}a.button.wu-button-delete:hover{border-width:1!important;color:#8b0000;background-color:transparent}.wu-styling .wu-hr-text{line-height:1em;position:relative;outline:0;border:0;text-align:center;height:1.5em;opacity:.5}.wu-styling .wu-hr-text::before{content:" ";background:-webkit-gradient(linear,left top,right top,from(transparent),color-stop(#818078),to(transparent));background:linear-gradient(to right,transparent,#818078,transparent);position:absolute;left:0;top:50%;width:100%;height:1px}.wu-styling .wu-hr-text::after{content:attr(data-content);position:relative;display:inline-block;padding:0 .5em;line-height:1.5em;text-transform:uppercase;background-color:#fff}@media (max-width:480px){.wu-styling .wp-heading-inline{display:flex!important;flex-direction:column}.wu-styling .wp-heading-inline a{margin:4px 0}.wu-styling .wp-heading-inline a:first-child{margin-top:10px}}body.wu-page-wp-ultimo-settings .selectize-control.single .selectize-input::after{display:none!important}.CodeMirror-wrap{border-radius:3px;border:1px solid #ddd}.wu_form label.selected::after{position:absolute;right:30%;color:#2ecc71;content:"\f12a";font-family:dashicons,Arial,Helvetica,sans-serif;font-size:20px;top:35%;display:inline-block;background:#fff;padding:0;margin:0;border-radius:50%;width:20px;height:20px;line-height:20px}.inside .wu-tab-content ul>li:nth-child(2){border-top-width:0}.inside .wu-widget-inside.wu-display-all .wu-tab-content ul>li:nth-child(2){border-top-width:1px}.inside .wu-widget-inside{margin-top:-6px}@media screen and (max-width:400px){#WUB_ajaxContent,#WUB_window{max-width:100%;height:100%!important;margin-top:0!important;margin-left:0!important;top:0!important;left:0!important;border-radius:0!important}}#wp-ultimo-log-contents pre{max-height:calc(100vh - 480px)}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #eee,-1px 0 0 #eee,0 1px 0 #eee,0 -1px 0 #eee,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #eee,-1px 0 0 #eee,0 1px 0 #eee,0 -1px 0 #eee,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:999999999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #eee}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#eee}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#eee}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:#3c3f40;fill:#3c3f40;height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:#3c3f40;fill:#3c3f40}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#007cba}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#007cba}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(64,72,72,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(64,72,72,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(64,72,72,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(60,63,64,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:#3c3f40}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:#3c3f40}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(60,63,64,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:0 0;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #eee;box-shadow:-1px 0 0 #eee}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#404848;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e9e9e9;border-color:#e9e9e9}.flatpickr-day.today{border-color:#007cba}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#007cba;background:#007cba;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#4f99ff;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#4f99ff}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #4f99ff;box-shadow:-10px 0 0 #4f99ff}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e9e9e9,5px 0 0 #e9e9e9;box-shadow:-5px 0 0 #e9e9e9,5px 0 0 #e9e9e9}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(64,72,72,.3);background:0 0;border-color:#e9e9e9;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(64,72,72,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #4f99ff,5px 0 0 #4f99ff;box-shadow:-5px 0 0 #4f99ff,5px 0 0 #4f99ff}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #eee;box-shadow:1px 0 0 #eee}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(64,72,72,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#404848}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#404848}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0!important;border-radius:0!important;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#404848;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#404848;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#f1f1f1}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.flatpickr-calendar{width:307.875px}.dayContainer{padding:0;border-right:0}span.flatpickr-day,span.flatpickr-day.nextMonthDay,span.flatpickr-day.prevMonthDay{border-radius:0!important;border:1px solid #e9e9e9;max-width:none;border-right-color:transparent}span.flatpickr-day.nextMonthDay:nth-child(n+8),span.flatpickr-day.prevMonthDay:nth-child(n+8),span.flatpickr-day:nth-child(n+8){border-top-color:transparent}span.flatpickr-day.nextMonthDay:nth-child(7n-6),span.flatpickr-day.prevMonthDay:nth-child(7n-6),span.flatpickr-day:nth-child(7n-6){border-left:0}span.flatpickr-day.nextMonthDay:nth-child(n+36),span.flatpickr-day.prevMonthDay:nth-child(n+36),span.flatpickr-day:nth-child(n+36){border-bottom:0}span.flatpickr-day.nextMonthDay:nth-child(-n+7),span.flatpickr-day.prevMonthDay:nth-child(-n+7),span.flatpickr-day:nth-child(-n+7){margin-top:0}span.flatpickr-day.nextMonthDay.today:not(.selected),span.flatpickr-day.prevMonthDay.today:not(.selected),span.flatpickr-day.today:not(.selected){border-color:#e9e9e9;border-right-color:transparent;border-top-color:transparent;border-bottom-color:#007cba}span.flatpickr-day.nextMonthDay.today:not(.selected):hover,span.flatpickr-day.prevMonthDay.today:not(.selected):hover,span.flatpickr-day.today:not(.selected):hover{border:1px solid #007cba}span.flatpickr-day.endRange,span.flatpickr-day.nextMonthDay.endRange,span.flatpickr-day.nextMonthDay.startRange,span.flatpickr-day.prevMonthDay.endRange,span.flatpickr-day.prevMonthDay.startRange,span.flatpickr-day.startRange{border-color:#4f99ff}span.flatpickr-day.nextMonthDay.selected,span.flatpickr-day.nextMonthDay.today,span.flatpickr-day.prevMonthDay.selected,span.flatpickr-day.prevMonthDay.today,span.flatpickr-day.selected,span.flatpickr-day.today{z-index:2}.rangeMode .flatpickr-day{margin-top:-1px}.flatpickr-weekwrapper .flatpickr-weeks{-webkit-box-shadow:none;box-shadow:none}.flatpickr-weekwrapper span.flatpickr-day{border:0;margin:-1px 0 0 -1px}.hasWeeks .flatpickr-days{border-right:0}@media screen and (min-width:0\0) and (min-resolution:72dpi){span.flatpickr-day{display:block;-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}}[role=tooltip]{cursor:pointer}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;text-shadow:0 0 2px #000;padding:4px 8px;border:1px solid rgba(255,255,255,.25);background-color:#191919;background-color:rgba(25,25,25,.92);border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow{border-top-color:#fff;border-top-color:rgba(255,255,255,.35)}#tiptip_holder.tip_bottom #tiptip_arrow{border-bottom-color:#fff;border-bottom-color:rgba(255,255,255,.35)}#tiptip_holder.tip_right #tiptip_arrow{border-right-color:#fff;border-right-color:rgba(255,255,255,.35)}#tiptip_holder.tip_left #tiptip_arrow{border-left-color:#fff;border-left-color:rgba(255,255,255,.35)}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#191919;border-top-color:rgba(25,25,25,.92)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#191919;border-bottom-color:rgba(25,25,25,.92)}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#191919;border-right-color:rgba(25,25,25,.92)}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#191919;border-left-color:rgba(25,25,25,.92)}@media screen and (-webkit-min-device-pixel-ratio:0){#tiptip_content{padding:4px 8px 5px 8px;background-color:rgba(45,45,45,.88)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(45,45,45,.88)}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(20,20,20,.92)}}.selectize-control.plugin-drag_drop.multi>.selectize-input>div.ui-sortable-placeholder{visibility:visible!important}.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after{content:"!";visibility:hidden}.selectize-control.plugin-drag_drop .ui-sortable-helper{-webkit-box-shadow:0 2px 5px rgba(0,0,0,.2);box-shadow:0 2px 5px rgba(0,0,0,.2)}.selectize-dropdown-header{position:relative;padding:5px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.selectize-dropdown-header-close:hover{color:#000}.selectize-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0 none;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0 none}.selectize-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.selectize-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0 none}.selectize-control.plugin-remove_button [data-value]{position:relative;padding-right:24px!important}.selectize-control.plugin-remove_button [data-value] .remove{z-index:1;position:absolute;top:0;right:0;bottom:0;width:17px;text-align:center;font-weight:700;font-size:12px;color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 0 0 0;border-left:1px solid #0073bb;-webkit-border-radius:0 2px 2px 0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-control.plugin-remove_button [data-value] .remove:hover{background:rgba(0,0,0,.05)}.selectize-control.plugin-remove_button [data-value].active .remove{border-left-color:#00578d}.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover{background:0 0}.selectize-control.plugin-remove_button .disabled [data-value] .remove{border-left-color:#aaa}.selectize-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.selectize-control{position:relative;display:inline-block}.selectize-dropdown{margin-top:0!important}.selectize-dropdown,.selectize-input,.selectize-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;-webkit-font-smoothing:inherit}.selectize-control.single .selectize-input.input-active,.selectize-input{background:#fff;cursor:text;display:inline-block}.selectize-input{border:1px solid #7e8993;padding:5px 8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.selectize-control.multi .selectize-input.has-items{padding:5px 8px 2px}.selectize-input.full{background-color:#fff}.selectize-input.disabled,.selectize-input.disabled *{cursor:default!important}.selectize-input.focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.selectize-input.dropdown-active{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-input>*{vertical-align:baseline;display:-moz-inline-stack;display:inline-block;zoom:1;display:inline}.selectize-control.multi .selectize-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#1da7ee;color:#fff;border:1px solid #0073bb}.selectize-control.multi .selectize-input>div.active{background:#92c836;color:#fff;border:1px solid #00578d}.selectize-control.multi .selectize-input.disabled>div,.selectize-control.multi .selectize-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.selectize-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0 1px!important;text-indent:0!important;border:0 none!important;background:0 0!important;line-height:inherit!important;-webkit-user-select:auto!important;-webkit-box-shadow:none!important;box-shadow:none!important;top:-1px!important;position:relative;left:0}.selectize-input>input::-ms-clear{display:none}.selectize-input>input:focus{outline:0!important}.selectize-input::after{content:" ";display:block;clear:left}.selectize-input.dropdown-active::before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.selectize-dropdown{position:absolute;z-index:10;border:1px solid #d0d0d0;background:#fff;margin:-1px 0 0 0;border-top:0 none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.selectize-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.selectize-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.selectize-dropdown .optgroup-header,.selectize-dropdown .option{padding:5px 8px}.selectize-dropdown .option,.selectize-dropdown [data-disabled],.selectize-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.selectize-dropdown [data-selectable].option{opacity:1}.selectize-dropdown .optgroup:first-child .optgroup-header{border-top:0 none}.selectize-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.selectize-dropdown .active{background-color:#f5fafd;color:#495c68}.selectize-dropdown .active.create{color:#495c68}.selectize-dropdown .create{color:rgba(48,48,48,.5)}.selectize-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;-webkit-overflow-scrolling:touch}.selectize-control.single .selectize-input,.selectize-control.single .selectize-input input{cursor:pointer}.selectize-control.single .selectize-input.input-active,.selectize-control.single .selectize-input.input-active input{cursor:text}.selectize-control.single .selectize-input:after{content:" ";display:block;position:absolute;top:50%;right:8px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:grey transparent transparent transparent}.selectize-control.single .selectize-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px 5px;border-color:transparent transparent grey transparent}.selectize-control.rtl.single .selectize-input:after{left:15px;right:auto}.selectize-control.rtl .selectize-input>input{margin:0 4px 0 -2px!important}.selectize-control .selectize-input.disabled{opacity:.5;background-color:#fafafa}.selectize-control.multi .selectize-input.has-items{padding-left:5px;padding-right:5px}.selectize-control.multi .selectize-input.disabled [data-value]{color:#999;text-shadow:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}.selectize-control.multi .selectize-input.disabled [data-value],.selectize-control.multi .selectize-input.disabled [data-value] .remove{border-color:#e6e6e6}.selectize-control.multi .selectize-input.disabled [data-value] .remove{background:0 0}.selectize-control.multi .selectize-input [data-value].active{background-color:#0085d4;background-image:-moz-linear-gradient(top,#008fd8,#0075cf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#008fd8),to(#0075cf));background-image:-webkit-linear-gradient(top,#008fd8,#0075cf);background-image:-o-linear-gradient(top,#008fd8,#0075cf);background-image:linear-gradient(to bottom,#008fd8,#0075cf);background-repeat:repeat-x}.selectize-control.single .selectize-input,.selectize-dropdown.single{border-color:#7e8993}.selectize-dropdown .optgroup-header{padding-top:7px;font-weight:700;font-size:.85em}.selectize-dropdown .optgroup{border-top:1px solid #f0f0f0}.selectize-dropdown .optgroup:first-child{border-top:0 none}.selectize-control.multi.loading::after,.selectize-control.single.loading::after{text-transform:none;line-height:16px;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"..."!important;position:absolute;border-radius:50%;right:0;bottom:0;padding:0;z-index:999;top:0;padding:0 12px;font-size:24px;animation:wublinker 1s ease-in-out infinite}.selectize-control.multi.loading .selectize-input::after,.selectize-control.single.loading .selectize-input::after{display:none}@media screen and (max-width:782px){.selectize-input{-webkit-appearance:none;padding:3px 10px;min-height:40px;line-height:2;font-size:16px}}.icons-selector *{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif}.icons-selector,.icons-selector *,.icons-selector :after,.icons-selector :before,.icons-selector:after,.icons-selector:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.icons-selector{display:inline-block;vertical-align:middle;text-align:left;width:100%}.icons-selector .selector{width:100%;height:36px}.icons-selector .selector-button{width:39px;height:100%;display:block;text-align:center;cursor:pointer;float:left}.icons-selector .selector-button i{line-height:36px;text-align:center}.icons-selector .selected-icon{display:block;width:calc(100% - 40px);height:100%;float:left;text-align:center}.icons-selector .selected-icon i{line-height:36px;font-size:18px;cursor:default}.icons-selector .selector-popup{z-index:10000;background-color:#fefefe;padding:5px;height:auto;width:100%;box-sizing:border-box;margin-top:5px}.icons-selector .selector-category select,.icons-selector .selector-search input[type=text]{border:0;line-height:20px;padding:10px 2.5%;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:5px;font-size:12px;display:block}.icons-selector .selector-category select{height:36px}.icons-selector .selector-category select option{padding:10px}.icons-selector .selector-search{position:relative}.icons-selector .selector-search i{position:absolute;right:10px;top:12px}.icons-selector .fip-icons-container{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}.icons-selector .fip-icons-container .loading{font-size:24px;margin:0 auto;padding:20px 0;text-align:center;width:100%}.icons-selector .fip-box{display:inline-block;margin:0;width:20%;line-height:56px;text-align:center;cursor:pointer;vertical-align:top;height:56px;box-sizing:border-box;border-radius:3px}.icons-selector .selector-footer{line-height:12px;padding:10px 5px 5px 5px;text-align:center;overflow:hidden}.icons-selector .selector-footer,.icons-selector .selector-footer i{font-size:20px}.icons-selector .selector-arrows{float:right}.icons-selector .selector-pages{font-size:11px;float:left}.icons-selector .selector-arrows i{cursor:pointer}.icons-selector .selector-footer em{font-style:italic}.icons-selector .icons-picker-error i:before{color:#eee}.icons-selector [class*=" fip-icon-"]:before,.icons-selector [class^=fip-icon-]::before{font-family:dashicons;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;vertical-align:middle}.icons-selector .fip-icon-search:before{content:"\f179";cursor:default}.icons-selector .fip-icon-cancel:before{content:"\e814";cursor:pointer}.icons-selector .fip-icon-block:before{content:"\f153";color:#fed0d0}.icons-selector .fip-icon-down-dir:before{content:"\f347"}.icons-selector .fip-icon-up-dir:before{content:"\f343"}.icons-selector .fip-icon-left-dir:before{content:"\f141"}.icons-selector .fip-icon-right-dir:before{content:"\f139"}.icons-selector .fip-icon-spin3:before{content:"\e815"}.icons-selector .fip-icon-spin3{-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-moz-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-o-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-ms-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wu-theme.icons-selector{font-size:16px}.wu-theme.icons-selector .selector{border:1px solid #ddd;background-color:#fff;border-radius:3px}.wu-theme.icons-selector .selector-button{background-color:#f4f4f4;border-left:1px solid #ddd}.wu-theme.icons-selector .selector-button:hover{background-color:#f1f1f1}.wu-theme.icons-selector .selector-button:hover i{color:#999}.wu-theme.icons-selector .selector-button i{color:#aaa;text-shadow:0 1px 0 #fff}.wu-theme.icons-selector .selected-icon i{color:#404040}.wu-theme.icons-selector .selector-popup{-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5}.wu-theme.icons-selector .selector-category select,.wu-theme.icons-selector .selector-search input[type=text]{border:1px solid #ededed;color:#404040;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.wu-theme.icons-selector input::-webkit-input-placeholder{color:#ddd}.wu-theme.icons-selector input:-moz-placeholder{color:#ddd}.wu-theme.icons-selector input::-moz-placeholder{color:#ddd}.wu-theme.icons-selector input:-ms-input-placeholder{color:#ddd!important}.wu-theme.icons-selector .selector-search i{color:#eee}.wu-theme.icons-selector .fip-icons-container{background-color:#fff}.wu-theme.icons-selector .fip-icons-container .loading{color:#eee}.wu-theme.icons-selector .fip-box:hover{background-color:#f6f6f6}.wu-theme.icons-selector .selector-footer,.wu-theme.icons-selector .selector-footer i{color:#000}.wu-theme.icons-selector .selector-arrows i:hover{color:#777}.wu-theme.icons-selector span.current-icon,.wu-theme.icons-selector span.current-icon:hover{background-color:#2ea2cc;color:#fff;border:1px solid #298cba}.wu-theme.icons-selector .icons-picker-error i:before{color:#eee}.icons-selector i.dashicons-before::before{line-height:inherit!important}body.wu-compat-admin-theme-material-wp div#wp-ultimo-header{position:fixed!important;right:0;left:0;margin:0!important;background-color:rgba(255,255,255,.9);bottom:0;z-index:9999;border-top:solid 1px #ccc;box-shadow:0 -3px 20px 0 rgba(0,0,0,.1)}#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-line,#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-trail,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-trail{margin:3px 0;height:6px;display:block;background:#f1f1f1;border-radius:3px}#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-line.bar-line,#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-trail.bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-line.bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-trail.bar-line{max-width:100%}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(1n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(1n) .bar-line{background-color:#e67e22}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(2n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(2n) .bar-line{background-color:#e74c3c}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(3n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(3n) .bar-line{background-color:#3498db}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(4n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(4n) .bar-line{background-color:#9b59b6}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(5n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(5n) .bar-line{background-color:#1dd1a1}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(6n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(6n) .bar-line{background-color:#8395a7}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(7n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(7n) .bar-line{background-color:#222f3e}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(8n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(8n) .bar-line{background-color:#0abde3}ul.wu-widget-list>li:first-child{border-top:none}.wu-toggle{transform:scale(.9)}.wu-tgl{display:none!important}.wu-tgl,.wu-tgl *,.wu-tgl ::after,.wu-tgl ::before,.wu-tgl+.wu-tgl-btn,.wu-tgl::after,.wu-tgl::before{box-sizing:border-box}.wu-tgl ::after::selection,.wu-tgl ::before::selection,.wu-tgl ::selection,.wu-tgl+.wu-tgl-btn::selection,.wu-tgl::after::selection,.wu-tgl::before::selection,.wu-tgl::selection{background:0 0}.wu-tgl+.wu-tgl-btn{outline:0;display:block;width:4em;height:2.2em;position:relative;cursor:pointer;user-select:none}.wu-tgl+.wu-tgl-btn::after,.wu-tgl+.wu-tgl-btn::before{position:relative;display:block;content:"";width:50%;height:100%}.wu-tgl+.wu-tgl-btn::after{left:0}.wu-tgl+.wu-tgl-btn::before{display:none}.wu-tgl:checked+.wu-tgl-btn::after{left:50%}.wu-tgl-ios+.wu-tgl-btn{border-radius:2em;padding:2px;transition:all .4s ease;border:1px solid #e8eae9}.wu-tgl-ios+.wu-tgl-btn::after{border-radius:2em;background:#fbfbfb;transition:left .3s cubic-bezier(.175, .885, .32, 1.275),padding .3s ease,margin .3s ease;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 4px 0 rgba(0,0,0,.08)}.wu-tgl-ios+.wu-tgl-btn:hover::after{will-change:padding}.wu-tgl-ios+.wu-tgl-btn:active{box-shadow:inset 0 0 0 2em #e8eae9}.wu-tgl-ios+.wu-tgl-btn:active::after{padding-right:.8em}.wu-tgl-ios:not(:checked)+.wu-tgl-btn{background:#fbfbfb}.wu-tgl-ios:not(:checked)+.wu-tgl-btn:active{box-shadow:none}.wu-tgl-ios:not(:checked)+.wu-tgl-btn:active::after{margin-left:-.8em}.wu-styling .wu-spin{-moz-animation:wu_spin 2s infinite linear;-o-animation:wu_spin 2s infinite linear;-webkit-animation:wu_spin 2s infinite linear;animation:wu_spin 2s infinite linear}@-moz-keyframes wu_spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes wu_spin{100%{-webkit-transform:rotate(360deg)}}@keyframes wu_spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.wu-styling .inside table.wp-list-table{border-bottom:none}.wu-styling .inside th.column-blog_id,.wu-styling .inside th.column-id{width:6%}.wu-styling.wu-page-wu-checkout #wu-order-summary-table{border-collapse:collapse}.wu-styling.wu-page-wu-checkout #wu-order-summary-table td,.wu-styling.wu-page-wu-checkout #wu-order-summary-table th{border:1px solid #e2e8f0;padding:12px;text-align:left}.wu-styling .wp-filter.wu-filter{overflow:hidden;box-shadow:none}.wu-styling .wp-filter.wu-filter .view-switch{float:right}.wu-styling .wp-filter.wu-filter .search-form{height:32px;content:" ";min-width:10px}.wu-styling .wp-filter.wu-filter .wu-sub-view-status .count.view-count{background:#72777b;color:#fff;padding:2px 5px;border-radius:2px}.wu-styling .tablenav.top{padding:12px;background-color:#f7fafc;border-left:solid 1px #ccd0d4;border-right:solid 1px #ccd0d4;border-top:solid 1px #ccd0d4;margin-bottom:0}.wu-styling .button.drawer-toggle{margin-left:0}.wu-styling .alternate,.wu-styling .striped>tbody>:nth-child(odd),.wu-styling ul.striped>:nth-child(odd){background-color:#fbfcfd}.wu-styling .widefat th{text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.3px}.wu-widget-list-table table.widefat{border-right:none;border-left:none}.wu-widget-list-table .tablenav.top{border:none!important}.wu-widget-list-table .tablenav.bottom{border:none;padding:12px;background-color:#f7fafc;margin:0}.wu-list-table.wu-mode-grid .tablenav.top{border-bottom:solid 1px #ccd0d4;top:-37px;position:relative}.wu-list-table.wu-mode-grid .table-view-list.sites{margin-top:0!important}.wu-list-table.wu-mode-grid .tablenav.bottom{border:solid 1px #ccd0d4;padding:12px;background-color:#f7fafc}.wu-list-table th.column-featured_image_id{width:48px}.wu-list-table th.column-path{width:25%}.wu-list-table th.column-type{width:15%}.wu-list-table th.column-id{width:4%}.wu-list-table th.column-id a{float:right}.wu-list-table th.column-customer,.wu-list-table th.column-membership,.wu-list-table th.column-product{width:18%}.wu-list-table th.column-name{width:23%}.wu-list-table th.column-date_created,.wu-list-table th.column-date_expiration{width:15%}.wu-list-table td.active,.wu-list-table th.column-active,.wu-list-table th.column-primary_domain,.wu-list-table th.column-secure{width:8%}.wp-list-table.sites th.column-blog_id{width:4%}.wp-list-table.sites th.column-blog_id a{float:right}.inside .tablenav{padding:3px 12px!important}.inside .tablenav .actions{display:none}.inside .tablenav .tablenav-pages{margin:0}.inside .tablenav.bottom{display:none}td.column-id{text-align:right}.wu-list-table .wp-list-table.webhooks th.column-webhook_url{width:23%}.wu-list-table .wp-list-table.webhooks th.column-event{width:15%}.wu-list-table .wp-list-table.events th.column-message{width:30%}.wu-list-table .wp-list-table.events th.column-slug{width:15%}.wu-list-table .wp-list-table.events th.column-initiator{width:20%}.wu-list-table .wp-list-table.events th.column-object_type{width:15%}.wu-list-table .wp-list-table.events th.column-code,.wu-list-table .wp-list-table.events th.severity{width:7%}#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments td,#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments th{text-align:right;width:14%}#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments td.column-service,#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments th.column-service{width:30%;text-align:left}.wu-list-table .wp-list-table.broadcasts th.column-type{width:7%}.wu-list-table .wp-list-table.broadcasts th.column-content{width:40%}.wp-list-table.emails th.column-title{width:25%}.wp-list-table.emails th.column-schedule,.wp-list-table.emails th.column-slug{width:18%}.wp-list-table.emails th.column-event,.wp-list-table.emails th.column-target{width:12%}#wu-checkout_form_section_list_table th.column-order,#wu-tax-rates .wp-list-table th.column-order{width:7%}#wu-checkout_form_section_list_table td.column-move,#wu-checkout_form_section_list_table td.column-order,#wu-tax-rates .wp-list-table td.column-move,#wu-tax-rates .wp-list-table td.column-order{vertical-align:middle}#wu-checkout_form_section_list_table th.column-content,#wu-tax-rates .wp-list-table th.column-content{width:40%}#wu-checkout_form_section_list_table th.column-slug,#wu-checkout_form_section_list_table th.column-type,#wu-tax-rates .wp-list-table th.column-slug,#wu-tax-rates .wp-list-table th.column-type{width:20%}#wu-checkout_form_section_list_table .tablenav,#wu-checkout_form_section_list_table tfoot,#wu-tax-rates .wp-list-table .tablenav,#wu-tax-rates .wp-list-table tfoot{display:none}#wu-checkout_form_section_list_table table.widefat,#wu-tax-rates .wp-list-table table.widefat{border:none}#wu-checkout_form_section_list_table th.column-move,#wu-tax-rates .wp-list-table th.column-move{width:4%;text-align:right}#wu-checkout_form_section_list_table td.column-move .wu-placeholder-sortable,#wu-tax-rates .wp-list-table td.column-move .wu-placeholder-sortable{cursor:move}.wu-list-table .wp-list-table.products th.column-slug,.wu-list-table .wp-list-table.products th.column-type{width:10%}.wu-grid-item-selected>div:last-child{background-color:#f0fff4!important}#wu-tax-rates table td,#wu-tax-rates table th{vertical-align:middle}#wu-tax-rates table.widefat td{padding:4px 0}#wu-tax-rates tr.selected,#wu-template-placeholders tr.selected{background-color:#ffffe0}#wu-tax-rates#wu-template-placeholders tr td,#wu-template-placeholders#wu-template-placeholders tr td{padding:0}#wu-tax-rates .tablenav.bottom,#wu-template-placeholders .tablenav.bottom{margin:0;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);border-top:none}#wu-tax-rates .alignleft,#wu-template-placeholders .alignleft{margin-right:35px}#wu-tax-rates .alignright.actions,#wu-template-placeholders .alignright.actions{padding-right:0}#wu-tax-rates .actions,#wu-template-placeholders .actions{overflow:initial}#wp-ultimo-last-refunds #amount,#wp-ultimo-last-signups #amount{text-align:right}#wp-ultimo-last-refunds .column-customer,#wp-ultimo-last-signups .column-customer{width:35%}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites .toggle-row{display:none!important}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites td.column-primary{padding-right:10px!important}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites .tablenav.top{background-color:#fff}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites thead{display:none}.wu-table-card{background-color:#fefefe}@media screen and (max-width:1280px){.wu-list-table .wp-list-table.products th.column-slug,.wu-list-table .wp-list-table.products th.column-type{width:13%}.wp-list-table th.column-blog_id,.wp-list-table th.column-id{width:8%}#wu-membership_list_table .column-date_created,#wu-membership_list_table .column-product{display:none}#wu-site_list_table .column-path{width:33%}#wu-site_list_table .column-domains,#wu-site_list_table .column-membership{display:none}#wu-customer_list_table .column-date_registered{display:none}#wu-customer_list_table .column-memberships{max-width:12%}#wu-payment_list_table .column-customer{width:33%}#wu-payment_list_table .column-date_created,#wu-payment_list_table .column-membership{display:none}}@media screen and (max-width:1440px){#wu-membership_list_table .column-date_created{display:none}}#WUB_overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:100050}#WUB_window{position:fixed;background-color:#fff;z-index:100050;visibility:hidden;text-align:left;top:50%;left:50%;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}#WUB_ImageOff{padding:12px;display:block}#WUB_ImageOff img{max-width:100%;display:block}#WUB_window img#WUB_Image{border-radius:5px;display:block;margin:0;box-sizing:border-box;border-right:1px solid #666;border-bottom:1px solid #666;border-top:1px solid #666;border-left:1px solid #666}#WUB_caption{padding:0 12px 12px}#WUB_closeWindow{height:25px;position:absolute;bottom:14px;width:25px;right:0}#WUB_closeWindowButton{position:absolute;left:auto;right:0;width:29px;height:29px;border:0;padding:0;background:0 0;cursor:pointer;outline:0;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#WUB_ajaxWindowTitle{float:left;font-weight:600;line-height:29px;overflow:hidden;padding:0 29px 0 10px;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 39px)}#WUB_title{background:#fcfcfc;border-bottom:1px solid #ddd;height:29px}#WUB_ajaxContent{clear:both;padding:2px 15px 15px;overflow:auto;text-align:left;line-height:1.4em}#WUB_ajaxContent.WUB_modal{padding:15px}#WUB_HideSelect{z-index:99;position:fixed;top:0;left:0;background-color:#fff;border:none;opacity:0;height:100%;width:100%}#WUB_iframeContent{clear:both;border:none}.wutb-close-icon{display:block;color:#666;text-align:center;line-height:29px;width:29px;height:29px;position:absolute;top:0;right:0}.wutb-close-icon::before{content:"\f158";font:normal 20px/29px dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#WUB_closeWindowButton:focus .wutb-close-icon,#WUB_closeWindowButton:hover .wutb-close-icon{color:#00a0d2}#WUB_closeWindowButton:focus .wutb-close-icon{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#WUB_window{border-radius:3px;overflow:hidden}#WUB_title{height:40px}#WUB_ajaxWindowTitle{line-height:40px;padding-left:16px;text-transform:uppercase;font-size:90%}.wutb-close-icon{height:40px;width:40px;line-height:40px}.wutb-close-icon::before{font:normal 20px/40px dashicons}#WUB_ajaxContent{padding:0!important}#WUB_load{padding:0;margin:-19px 0 0 -19px;background-image:url("../img/loader.svg");background-repeat:none;background-position:center center;width:38px;height:38px;position:fixed;z-index:100050;top:50%;left:50%}#WUB_load img{display:none}.widefat .column-customer_status{width:48px;text-align:center}.widefat .column-customer_status .wu-status-container{position:relative;margin-top:2px}.widefat .column-customer_status .wu-status-icon{position:absolute;right:0;bottom:0}.widefat .column-customer_status .avatar{border-radius:24px}.widefat .column-customer_status span.dashicons,.widefat .column-customer_status span.dashicons::before{width:18px;height:18px;color:#fff;text-align:center;font-size:18px}.widefat .column-customer_status span.dashicons-yes{background:#2ecc71;color:#fff;border-radius:10px}.widefat .column-customer_status span.dashicons-yes::before{margin-left:-2px}.widefat .column-customer_status span.dashicons-no-alt{background:#e74c3c;border-radius:10px;text-align:center}.widefat .column-customer_status span.dashicons-minus{background:#e67e22;border-radius:10px;text-align:center}.widefat .column-customer_status span.dashicons-arrow-left{background:#9b59b6;border-radius:10px;text-align:center}.wu-id-tag,.wu-tag,.wu-top-deal{display:inline-block;color:#fff;background:#666;text-transform:uppercase;font-size:9px;line-height:17px;padding:0 4px;border-radius:3px}.wu-customer-vip{background-color:#222;position:absolute;bottom:0;right:-10px}.customer-actions{background-position:center center;position:relative;filter:grayscale(100%);opacity:.2}.wu-black-and-white{-webkit-filter:grayscale(100%);filter:grayscale(100%)}#wp-ultimo-debug-reset-database{width:280px}.wu-compat-admin-theme-material-wp #wp-ultimo-header{position:relative!important;margin:50px 25%!important}.wu-compat-admin-theme-pro-theme button.btn.page-title-action{color:#fff!important}.wu-compat-admin-theme-pro-theme.folded #adminmenuwrap{display:none}.wu-compat-admin-theme-admin-2020 .wu-grid{margin-top:20px}.wu-compat-admin-theme-admin-2020 #wp-ultimo-wrap .page-title-action{top:0!important}.wu-compat-admin-theme-admin-2020 .wu-list-table.wu-mode-grid #the-list{display:inline-grid!important}.wu-compat-admin-theme-admin-2020 .wu-list-table.wu-mode-grid .tablenav.top{top:0!important}.wu-compat-admin-theme-admin-2020 .filter-links{margin-left:0!important}.wu-compat-admin-theme-admin-2020 #titlewrap span{display:inline-block}.wu-compat-admin-theme-admin-2020 #wp-ultimo-header{border-radius:6px!important}.wu-compat-admin-theme-admin-2020.wu-styling .wu-list-table .row-actions{display:block!important;position:relative!important;opacity:unset!important;padding:0!important;top:0!important;left:0!important;background:0 0!important;box-shadow:none!important}.wu-compat-admin-theme-admin-2020.wu-styling .wu-list-table .row-actions span{padding:0!important}.wu-compat-admin-theme-clientside.wu-styling{background-color:#f8f8fa!important}.wu-compat-admin-theme-clientside #wp-ultimo-header{display:none!important}.wu-compat-admin-theme-wphave #wu-date-range{margin:0 -10px!important}.wu-compat-admin-theme-waaspro .wu-list-table.wu-mode-grid{margin-top:30px}.wu-compat-admin-theme-waaspro .tablenav.top{height:auto} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:dashicons-wu;src:url("../fonts/dashicons-wu.eot?eixu94");src:url("../fonts/dashicons-wu.eot?eixu94#iefix") format("embedded-opentype"),url("../fonts/dashicons-wu.ttf?eixu94") format("truetype"),url("../fonts/dashicons-wu.woff?eixu94") format("woff"),url("../fonts/dashicons-wu.svg?eixu94#dashicons-wu") format("svg");font-weight:400;font-style:normal;font-display:block}[class*=" dashicons-wu-"],[class^=dashicons-wu-]{font-family:dashicons-wu!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=" dashicons-wu-"]::before,[class^=dashicons-wu-]::before{font-family:dashicons-wu!important;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dashicons-wu-wp-ultimo::before{font-family:dashicons!important;content:"\f325"}.dashicons-wu-alert-circle::before{content:"\e903"}.dashicons-wu-at-sign::before{content:"\e904"}.dashicons-wu-award::before{content:"\e905"}.dashicons-wu-book1::before{content:"\e906"}.dashicons-wu-book-open::before{content:"\e907"}.dashicons-wu-bookmark1::before{content:"\e908"}.dashicons-wu-box1::before{content:"\e909"}.dashicons-wu-calendar1::before{content:"\e90a"}.dashicons-wu-check-square::before{content:"\e90b"}.dashicons-wu-clipboard1::before{content:"\e90c"}.dashicons-wu-clock1::before{content:"\ea58"}.dashicons-wu-coffee::before{content:"\ea59"}.dashicons-wu-columns::before{content:"\ea5a"}.dashicons-wu-copy1::before{content:"\ea5b"}.dashicons-wu-credit-card2::before{content:"\ea5c"}.dashicons-wu-crosshair::before{content:"\ea5d"}.dashicons-wu-dollar-sign::before{content:"\ea5e"}.dashicons-wu-droplet::before{content:"\ea5f"}.dashicons-wu-edit1::before{content:"\ea60"}.dashicons-wu-edit-2::before{content:"\ea61"}.dashicons-wu-edit-3::before{content:"\ea62"}.dashicons-wu-eye1::before{content:"\ea63"}.dashicons-wu-eye-off::before{content:"\ea64"}.dashicons-wu-file::before{content:"\ea65"}.dashicons-wu-file-text::before{content:"\ea66"}.dashicons-wu-filter::before{content:"\ea67"}.dashicons-wu-folder1::before{content:"\ea68"}.dashicons-wu-gift::before{content:"\ea69"}.dashicons-wu-globe1::before{content:"\ea6a"}.dashicons-wu-grid1::before{content:"\ea6b"}.dashicons-wu-heart1::before{content:"\ea6c"}.dashicons-wu-image1::before{content:"\ea6d"}.dashicons-wu-info1::before{content:"\ea6e"}.dashicons-wu-layout::before{content:"\ea6f"}.dashicons-wu-life-buoy::before{content:"\ea70"}.dashicons-wu-link1::before{content:"\ea71"}.dashicons-wu-list1::before{content:"\ea72"}.dashicons-wu-loader::before{content:"\ea73"}.dashicons-wu-lock1::before{content:"\ea74"}.dashicons-wu-mail1::before{content:"\ea75"}.dashicons-wu-map1::before{content:"\ea76"}.dashicons-wu-map-pin::before{content:"\ea77"}.dashicons-wu-message-circle::before{content:"\ea78"}.dashicons-wu-monitor::before{content:"\ea79"}.dashicons-wu-more-horizontal::before{content:"\ea7a"}.dashicons-wu-package::before{content:"\ea7b"}.dashicons-wu-paperclip::before{content:"\ea7c"}.dashicons-wu-pen-tool::before{content:"\ea7d"}.dashicons-wu-percent::before{content:"\ea7e"}.dashicons-wu-pie-chart1::before{content:"\ea7f"}.dashicons-wu-play-circle::before{content:"\ea80"}.dashicons-wu-plus-circle::before{content:"\ea81"}.dashicons-wu-plus-square::before{content:"\ea82"}.dashicons-wu-rotate-ccw::before{content:"\ea83"}.dashicons-wu-search::before{content:"\ea84"}.dashicons-wu-settings::before{content:"\ea85"}.dashicons-wu-share1::before{content:"\ea86"}.dashicons-wu-share-2::before{content:"\ea87"}.dashicons-wu-shield1::before{content:"\ea88"}.dashicons-wu-shopping-bag1::before{content:"\ea89"}.dashicons-wu-shopping-cart1::before{content:"\ea8a"}.dashicons-wu-sidebar::before{content:"\ea8b"}.dashicons-wu-sliders::before{content:"\ea8c"}.dashicons-wu-smile::before{content:"\ea8d"}.dashicons-wu-star1::before{content:"\ea8e"}.dashicons-wu-tag1::before{content:"\ea8f"}.dashicons-wu-terminal::before{content:"\ea90"}.dashicons-wu-toggle-left::before{content:"\ea91"}.dashicons-wu-toggle-right::before{content:"\ea92"}.dashicons-wu-trash-2::before{content:"\ea93"}.dashicons-wu-type::before{content:"\ea94"}.dashicons-wu-user1::before{content:"\ea95"}.dashicons-wu-zap::before{content:"\ea96"}.dashicons-wu-filter_1::before{content:"\ea47"}.dashicons-wu-filter_2::before{content:"\ea48"}.dashicons-wu-filter_3::before{content:"\ea49"}.dashicons-wu-filter_4::before{content:"\ea4a"}.dashicons-wu-filter_5::before{content:"\ea4b"}.dashicons-wu-filter_6::before{content:"\ea4c"}.dashicons-wu-filter_7::before{content:"\ea4d"}.dashicons-wu-filter_8::before{content:"\ea4e"}.dashicons-wu-filter_9::before{content:"\ea4f"}.dashicons-wu-filter_9_plus::before{content:"\ea50"}.dashicons-wu-done::before{content:"\ea51"}.dashicons-wu-done_all::before{content:"\ea54"}.dashicons-wu-toggle_on::before{content:"\ea55"}.dashicons-wu-verified::before{content:"\ea56"}.dashicons-wu-add_task::before{content:"\ea57"}.dashicons-wu-hash::before{content:"\e9ea"}.dashicons-wu-number::before{content:"\e9ea"}.dashicons-wu-pencil2::before{content:"\ea3e"}.dashicons-wu-qrcode::before{content:"\ea3f"}.dashicons-wu-ticket1::before{content:"\ea40"}.dashicons-wu-coin-dollar::before{content:"\ea41"}.dashicons-wu-coin-euro::before{content:"\ea42"}.dashicons-wu-coin-pound::before{content:"\ea43"}.dashicons-wu-coin-yen::before{content:"\ea44"}.dashicons-wu-credit-card1::before{content:"\ea45"}.dashicons-wu-power-cord::before{content:"\ea46"}.dashicons-wu-checkbox-checked::before{content:"\ea52"}.dashicons-wu-checkbox-unchecked::before{content:"\ea53"}.dashicons-wu-hashtag::before{content:"\f292"}.dashicons-wu-add-to-list::before{content:"\e901"}.dashicons-wu-classic-computer::before{content:"\e902"}.dashicons-wu-document-landscape::before{content:"\e90d"}.dashicons-wu-remove-user::before{content:"\e90e"}.dashicons-wu-warning::before{content:"\e90f"}.dashicons-wu-arrow-bold-down::before{content:"\e910"}.dashicons-wu-arrow-bold-left::before{content:"\e911"}.dashicons-wu-arrow-bold-right::before{content:"\e912"}.dashicons-wu-arrow-bold-up::before{content:"\e913"}.dashicons-wu-arrow-down::before{content:"\e914"}.dashicons-wu-arrow-left::before{content:"\e915"}.dashicons-wu-arrow-long-down::before{content:"\e916"}.dashicons-wu-arrow-long-left::before{content:"\e917"}.dashicons-wu-arrow-long-right::before{content:"\e918"}.dashicons-wu-arrow-long-up::before{content:"\e919"}.dashicons-wu-arrow-right::before{content:"\e91a"}.dashicons-wu-arrow-up::before{content:"\e91b"}.dashicons-wu-arrow-with-circle-down::before{content:"\e91c"}.dashicons-wu-arrow-with-circle-left::before{content:"\e91d"}.dashicons-wu-arrow-with-circle-right::before{content:"\e91e"}.dashicons-wu-arrow-with-circle-up::before{content:"\e91f"}.dashicons-wu-bookmark::before{content:"\e920"}.dashicons-wu-bookmarks::before{content:"\e921"}.dashicons-wu-chevron-down::before{content:"\e922"}.dashicons-wu-chevron-left::before{content:"\e923"}.dashicons-wu-chevron-right::before{content:"\e924"}.dashicons-wu-chevron-small-down::before{content:"\e925"}.dashicons-wu-chevron-small-left::before{content:"\e926"}.dashicons-wu-chevron-small-right::before{content:"\e927"}.dashicons-wu-chevron-small-up::before{content:"\e928"}.dashicons-wu-chevron-thin-down::before{content:"\e929"}.dashicons-wu-chevron-thin-left::before{content:"\e92a"}.dashicons-wu-chevron-thin-right::before{content:"\e92b"}.dashicons-wu-chevron-thin-up::before{content:"\e92c"}.dashicons-wu-chevron-up::before{content:"\e92d"}.dashicons-wu-chevron-with-circle-down::before{content:"\e92e"}.dashicons-wu-chevron-with-circle-left::before{content:"\e92f"}.dashicons-wu-chevron-with-circle-right::before{content:"\e930"}.dashicons-wu-chevron-with-circle-up::before{content:"\e931"}.dashicons-wu-cloud::before{content:"\e932"}.dashicons-wu-controller-fast-forward::before{content:"\e933"}.dashicons-wu-controller-jump-to-start::before{content:"\e934"}.dashicons-wu-controller-next::before{content:"\e935"}.dashicons-wu-controller-paus::before{content:"\e936"}.dashicons-wu-controller-play::before{content:"\e937"}.dashicons-wu-controller-record::before{content:"\e938"}.dashicons-wu-controller-stop::before{content:"\e939"}.dashicons-wu-controller-volume::before{content:"\e93a"}.dashicons-wu-dot-single::before{content:"\e93b"}.dashicons-wu-dots-three-horizontal::before{content:"\e93c"}.dashicons-wu-dots-three-vertical::before{content:"\e93d"}.dashicons-wu-dots-two-horizontal::before{content:"\e93e"}.dashicons-wu-dots-two-vertical::before{content:"\e93f"}.dashicons-wu-download::before{content:"\e940"}.dashicons-wu-emoji-flirt::before{content:"\e941"}.dashicons-wu-flow-branch::before{content:"\e942"}.dashicons-wu-flow-cascade::before{content:"\e943"}.dashicons-wu-flow-line::before{content:"\e944"}.dashicons-wu-flow-parallel::before{content:"\e945"}.dashicons-wu-flow-tree::before{content:"\e946"}.dashicons-wu-install::before{content:"\e947"}.dashicons-wu-layers::before{content:"\e948"}.dashicons-wu-open-book::before{content:"\e949"}.dashicons-wu-resize-100::before{content:"\e94a"}.dashicons-wu-resize-full-screen::before{content:"\e94b"}.dashicons-wu-save::before{content:"\e94c"}.dashicons-wu-select-arrows::before{content:"\e94d"}.dashicons-wu-sound-mute::before{content:"\e94e"}.dashicons-wu-sound::before{content:"\e94f"}.dashicons-wu-trash::before{content:"\e950"}.dashicons-wu-triangle-down::before{content:"\e951"}.dashicons-wu-triangle-left::before{content:"\e952"}.dashicons-wu-triangle-right::before{content:"\e953"}.dashicons-wu-triangle-up::before{content:"\e954"}.dashicons-wu-uninstall::before{content:"\e955"}.dashicons-wu-upload-to-cloud::before{content:"\e956"}.dashicons-wu-upload::before{content:"\e957"}.dashicons-wu-add-user::before{content:"\e958"}.dashicons-wu-address::before{content:"\e959"}.dashicons-wu-adjust::before{content:"\e95a"}.dashicons-wu-air::before{content:"\e95b"}.dashicons-wu-aircraft-landing::before{content:"\e95c"}.dashicons-wu-aircraft-take-off::before{content:"\e95d"}.dashicons-wu-aircraft::before{content:"\e95e"}.dashicons-wu-align-bottom::before{content:"\e95f"}.dashicons-wu-align-horizontal-middle::before{content:"\e960"}.dashicons-wu-align-left::before{content:"\e961"}.dashicons-wu-align-right::before{content:"\e962"}.dashicons-wu-align-top::before{content:"\e963"}.dashicons-wu-align-vertical-middle::before{content:"\e964"}.dashicons-wu-archive::before{content:"\e965"}.dashicons-wu-area-graph::before{content:"\e966"}.dashicons-wu-attachment::before{content:"\e967"}.dashicons-wu-awareness-ribbon::before{content:"\e968"}.dashicons-wu-back-in-time::before{content:"\e969"}.dashicons-wu-back::before{content:"\e96a"}.dashicons-wu-bar-graph::before{content:"\e96b"}.dashicons-wu-battery::before{content:"\e96c"}.dashicons-wu-beamed-note::before{content:"\e96d"}.dashicons-wu-bell::before{content:"\e96e"}.dashicons-wu-blackboard::before{content:"\e96f"}.dashicons-wu-block::before{content:"\e970"}.dashicons-wu-book::before{content:"\e971"}.dashicons-wu-bowl::before{content:"\e972"}.dashicons-wu-box::before{content:"\e973"}.dashicons-wu-briefcase::before{content:"\e974"}.dashicons-wu-browser::before{content:"\e975"}.dashicons-wu-brush::before{content:"\e976"}.dashicons-wu-bucket::before{content:"\e977"}.dashicons-wu-cake::before{content:"\e978"}.dashicons-wu-calculator::before{content:"\e979"}.dashicons-wu-calendar::before{content:"\e97a"}.dashicons-wu-camera::before{content:"\e97b"}.dashicons-wu-ccw::before{content:"\e97c"}.dashicons-wu-chat::before{content:"\e97d"}.dashicons-wu-check::before{content:"\e97e"}.dashicons-wu-circle-with-cross::before{content:"\e97f"}.dashicons-wu-circle-with-minus::before{content:"\e980"}.dashicons-wu-circle-with-plus::before{content:"\e981"}.dashicons-wu-circle::before{content:"\e982"}.dashicons-wu-circular-graph::before{content:"\e983"}.dashicons-wu-clapperboard::before{content:"\e984"}.dashicons-wu-clipboard::before{content:"\e985"}.dashicons-wu-clock::before{content:"\e986"}.dashicons-wu-code::before{content:"\e987"}.dashicons-wu-cog::before{content:"\e988"}.dashicons-wu-colours::before{content:"\e989"}.dashicons-wu-compass::before{content:"\e98a"}.dashicons-wu-copy::before{content:"\e98b"}.dashicons-wu-credit-card::before{content:"\e98c"}.dashicons-wu-credit::before{content:"\e98d"}.dashicons-wu-cross::before{content:"\e98e"}.dashicons-wu-cup::before{content:"\e98f"}.dashicons-wu-cw::before{content:"\e990"}.dashicons-wu-cycle::before{content:"\e991"}.dashicons-wu-database::before{content:"\e992"}.dashicons-wu-dial-pad::before{content:"\e993"}.dashicons-wu-direction::before{content:"\e994"}.dashicons-wu-document::before{content:"\e995"}.dashicons-wu-documents::before{content:"\e996"}.dashicons-wu-drink::before{content:"\e997"}.dashicons-wu-drive::before{content:"\e998"}.dashicons-wu-drop::before{content:"\e999"}.dashicons-wu-edit::before{content:"\e99a"}.dashicons-wu-email::before{content:"\e99b"}.dashicons-wu-emoji-happy::before{content:"\e99c"}.dashicons-wu-emoji-neutral::before{content:"\e99d"}.dashicons-wu-emoji-sad::before{content:"\e99e"}.dashicons-wu-erase::before{content:"\e99f"}.dashicons-wu-eraser::before{content:"\e9a0"}.dashicons-wu-export::before{content:"\e9a1"}.dashicons-wu-eye::before{content:"\e9a2"}.dashicons-wu-feather::before{content:"\e9a3"}.dashicons-wu-flag::before{content:"\e9a4"}.dashicons-wu-flash::before{content:"\e9a5"}.dashicons-wu-flashlight::before{content:"\e9a6"}.dashicons-wu-flat-brush::before{content:"\e9a7"}.dashicons-wu-folder-images::before{content:"\e9a8"}.dashicons-wu-folder-music::before{content:"\e9a9"}.dashicons-wu-folder-video::before{content:"\e9aa"}.dashicons-wu-folder::before{content:"\e9ab"}.dashicons-wu-forward::before{content:"\e9ac"}.dashicons-wu-funnel::before{content:"\e9ad"}.dashicons-wu-game-controller::before{content:"\e9ae"}.dashicons-wu-gauge::before{content:"\e9af"}.dashicons-wu-globe::before{content:"\e9b0"}.dashicons-wu-graduation-cap::before{content:"\e9b1"}.dashicons-wu-grid::before{content:"\e9b2"}.dashicons-wu-hair-cross::before{content:"\e9b3"}.dashicons-wu-hand::before{content:"\e9b4"}.dashicons-wu-heart-outlined::before{content:"\e9b5"}.dashicons-wu-heart::before{content:"\e9b6"}.dashicons-wu-help-with-circle::before{content:"\e9b7"}.dashicons-wu-help::before{content:"\e9b8"}.dashicons-wu-home::before{content:"\e9b9"}.dashicons-wu-hour-glass::before{content:"\e9ba"}.dashicons-wu-image-inverted::before{content:"\e9bb"}.dashicons-wu-image::before{content:"\e9bc"}.dashicons-wu-images::before{content:"\e9bd"}.dashicons-wu-inbox::before{content:"\e9be"}.dashicons-wu-infinity::before{content:"\e9bf"}.dashicons-wu-info-with-circle::before{content:"\e9c0"}.dashicons-wu-info::before{content:"\e9c1"}.dashicons-wu-key::before{content:"\e9c2"}.dashicons-wu-keyboard::before{content:"\e9c3"}.dashicons-wu-lab-flask::before{content:"\e9c4"}.dashicons-wu-landline::before{content:"\e9c5"}.dashicons-wu-language::before{content:"\e9c6"}.dashicons-wu-laptop::before{content:"\e9c7"}.dashicons-wu-leaf::before{content:"\e9c8"}.dashicons-wu-level-down::before{content:"\e9c9"}.dashicons-wu-level-up::before{content:"\e9ca"}.dashicons-wu-lifebuoy::before{content:"\e9cb"}.dashicons-wu-light-bulb::before{content:"\e9cc"}.dashicons-wu-light-down::before{content:"\e9cd"}.dashicons-wu-light-up::before{content:"\e9ce"}.dashicons-wu-line-graph::before{content:"\e9cf"}.dashicons-wu-link::before{content:"\e9d0"}.dashicons-wu-list::before{content:"\e9d1"}.dashicons-wu-location-pin::before{content:"\e9d2"}.dashicons-wu-location::before{content:"\e9d3"}.dashicons-wu-lock-open::before{content:"\e9d4"}.dashicons-wu-lock::before{content:"\e9d5"}.dashicons-wu-log-out::before{content:"\e9d6"}.dashicons-wu-login::before{content:"\e9d7"}.dashicons-wu-loop::before{content:"\e9d8"}.dashicons-wu-magnet::before{content:"\e9d9"}.dashicons-wu-magnifying-glass::before{content:"\e9da"}.dashicons-wu-mail::before{content:"\e9db"}.dashicons-wu-man::before{content:"\e9dc"}.dashicons-wu-map::before{content:"\e9dd"}.dashicons-wu-mask::before{content:"\e9de"}.dashicons-wu-medal::before{content:"\e9df"}.dashicons-wu-megaphone::before{content:"\e9e0"}.dashicons-wu-menu::before{content:"\e9e1"}.dashicons-wu-message::before{content:"\e9e2"}.dashicons-wu-mic::before{content:"\e9e3"}.dashicons-wu-minus::before{content:"\e9e4"}.dashicons-wu-mobile::before{content:"\e9e5"}.dashicons-wu-modern-mic::before{content:"\e9e6"}.dashicons-wu-moon::before{content:"\e9e7"}.dashicons-wu-mouse::before{content:"\e9e8"}.dashicons-wu-music::before{content:"\e9e9"}.dashicons-wu-new-message::before{content:"\e9eb"}.dashicons-wu-new::before{content:"\e9ec"}.dashicons-wu-news::before{content:"\e9ed"}.dashicons-wu-note::before{content:"\e9ee"}.dashicons-wu-notification::before{content:"\e9ef"}.dashicons-wu-old-mobile::before{content:"\e9f0"}.dashicons-wu-old-phone::before{content:"\e9f1"}.dashicons-wu-palette::before{content:"\e9f2"}.dashicons-wu-paper-plane::before{content:"\e9f3"}.dashicons-wu-pencil::before{content:"\e9f4"}.dashicons-wu-phone::before{content:"\e9f5"}.dashicons-wu-pie-chart::before{content:"\e9f6"}.dashicons-wu-pin::before{content:"\e9f7"}.dashicons-wu-plus::before{content:"\e9f8"}.dashicons-wu-popup::before{content:"\e9f9"}.dashicons-wu-power-plug::before{content:"\e9fa"}.dashicons-wu-price-ribbon::before{content:"\e9fb"}.dashicons-wu-price-tag::before{content:"\e9fc"}.dashicons-wu-print::before{content:"\e9fd"}.dashicons-wu-progress-empty::before{content:"\e9fe"}.dashicons-wu-progress-full::before{content:"\e9ff"}.dashicons-wu-progress-one::before{content:"\ea00"}.dashicons-wu-progress-two::before{content:"\ea01"}.dashicons-wu-publish::before{content:"\ea02"}.dashicons-wu-quote::before{content:"\ea03"}.dashicons-wu-radio::before{content:"\ea04"}.dashicons-wu-reply-all::before{content:"\ea05"}.dashicons-wu-reply::before{content:"\ea06"}.dashicons-wu-retweet::before{content:"\ea07"}.dashicons-wu-rocket::before{content:"\ea08"}.dashicons-wu-round-brush::before{content:"\ea09"}.dashicons-wu-rss::before{content:"\ea0a"}.dashicons-wu-ruler::before{content:"\ea0b"}.dashicons-wu-scissors::before{content:"\ea0c"}.dashicons-wu-share-alternitive::before{content:"\ea0d"}.dashicons-wu-share::before{content:"\ea0e"}.dashicons-wu-shareable::before{content:"\ea0f"}.dashicons-wu-shield::before{content:"\ea10"}.dashicons-wu-shop::before{content:"\ea11"}.dashicons-wu-shopping-bag::before{content:"\ea12"}.dashicons-wu-shopping-basket::before{content:"\ea13"}.dashicons-wu-shopping-cart::before{content:"\ea14"}.dashicons-wu-shuffle::before{content:"\ea15"}.dashicons-wu-signal::before{content:"\ea16"}.dashicons-wu-sound-mix::before{content:"\ea17"}.dashicons-wu-sports-club::before{content:"\ea18"}.dashicons-wu-spreadsheet::before{content:"\ea19"}.dashicons-wu-squared-cross::before{content:"\ea1a"}.dashicons-wu-squared-minus::before{content:"\ea1b"}.dashicons-wu-squared-plus::before{content:"\ea1c"}.dashicons-wu-star-outlined::before{content:"\ea1d"}.dashicons-wu-star::before{content:"\ea1e"}.dashicons-wu-stopwatch::before{content:"\ea1f"}.dashicons-wu-suitcase::before{content:"\ea20"}.dashicons-wu-swap::before{content:"\ea21"}.dashicons-wu-sweden::before{content:"\ea22"}.dashicons-wu-switch::before{content:"\ea23"}.dashicons-wu-tablet::before{content:"\ea24"}.dashicons-wu-tag::before{content:"\ea25"}.dashicons-wu-text-document-inverted::before{content:"\ea26"}.dashicons-wu-text-document::before{content:"\ea27"}.dashicons-wu-text::before{content:"\ea28"}.dashicons-wu-thermometer::before{content:"\ea29"}.dashicons-wu-thumbs-down::before{content:"\ea2a"}.dashicons-wu-thumbs-up::before{content:"\ea2b"}.dashicons-wu-thunder-cloud::before{content:"\ea2c"}.dashicons-wu-ticket::before{content:"\ea2d"}.dashicons-wu-time-slot::before{content:"\ea2e"}.dashicons-wu-tools::before{content:"\ea2f"}.dashicons-wu-traffic-cone::before{content:"\ea30"}.dashicons-wu-tree::before{content:"\ea31"}.dashicons-wu-trophy::before{content:"\ea32"}.dashicons-wu-tv::before{content:"\ea33"}.dashicons-wu-typing::before{content:"\ea34"}.dashicons-wu-unread::before{content:"\ea35"}.dashicons-wu-untag::before{content:"\ea36"}.dashicons-wu-user::before{content:"\ea37"}.dashicons-wu-users::before{content:"\ea38"}.dashicons-wu-v-card::before{content:"\ea39"}.dashicons-wu-video::before{content:"\ea3a"}.dashicons-wu-vinyl::before{content:"\ea3b"}.dashicons-wu-voicemail::before{content:"\ea3c"}.dashicons-wu-wallet::before{content:"\ea3d"}.edit-post-fullscreen-mode-close svg{display:none}.edit-post-fullscreen-mode-close::before{font-family:dashicons-wu,sans-serif;content:"\e923"!important;line-height:44px;text-align:center;font-size:24px;margin-left:-2px}li#wp-admin-bar-wp-ultimo>a.ab-item::before{font-family:dashicons,sans-serif;content:"\f325";top:2px}#wpadminbar ul li.wu-maintenance-mode{background-color:#e67e22}.wu-styling [v-cloak]{display:none}.wu-notes-wrapper{max-height:500px;padding-top:100px;overflow-y:scroll}.wu-notes-wrapper p{margin:.5em 0}.wu-notes-wrapper p:first-child{margin-top:0}.wu-notes-wrapper p:last-child{margin-bottom:0}.wu-wrapper-image-field img[src=""]{display:none}.wu-styling #wp-ultimo-wizard-body .handle-actions{display:none}.wu-styling input.readonly,.wu-styling input[readonly],.wu-styling select.readonly,.wu-styling select[readonly],.wu-styling textarea.readonly,.wu-styling textarea[readonly]{background:rgba(255,255,255,.5);border-color:rgba(220,220,222,.75);box-shadow:inset 0 1px 2px rgba(0,0,0,.04);color:rgba(44,51,56,.5)}.wu-styling.wu-network-admin.wp-ultimo_page_wp-ultimo-settings #wpbody,.wu-styling.wu-network-admin.wu-page-wp-ultimo-addons #wpbody{margin-left:auto;margin-right:auto;max-width:1440px}.wu-styling .wu-widget-inset{margin-top:-11px;margin-bottom:-12px;margin-left:-12px;margin-right:-12px}.wu-styling .wu-widget-inset>*{box-sizing:border-box}.wu-styling #poststuff .wu-widget-inset{margin-top:-6px}.wu-styling div.mce-tinymce{box-shadow:none!important;border:solid 1px #7e8a93!important;border-radius:3px;overflow:auto}.wu-styling #wp-content-editor-tools,.wu-styling div.mce-toolbar-grp{background-color:transparent}.wu-styling .mce-top-part::before{box-shadow:none!important}.wu-hide-admin-notices .notice:not(.wu-admin-notice){display:none!important}.wu-hide-admin-notices.wu-page-wp-ultimo-about .fs-notice,.wu-hide-admin-notices.wu-page-wp-ultimo-about .notice,.wu-hide-admin-notices.wu-page-wp-ultimo-hosting-integration-wizard .fs-notice,.wu-hide-admin-notices.wu-page-wp-ultimo-hosting-integration-wizard .notice{display:none!important}.wu-remove-frame #adminmenuback,.wu-remove-frame #adminmenuwrap,.wu-remove-frame #wp-ultimo-header{display:none!important}.wu-remove-frame #wpcontent,.wu-remove-frame #wpfooter{margin-left:0!important}body.wu-styling.wu-network-admin{background:#eef2f5}body.wu-styling #wpbody-content{margin-bottom:64px}body.wu-styling #wpfooter{padding-bottom:0}body.wu-styling h2.nav-tab-wrapper a{background:#e5eaed;border-color:#b3bfcd}body.wu-styling h2.nav-tab-wrapper a.nav-tab-active{background:#eef2f5;border-bottom-color:transparent}.wu-styling .wu-filter .filter-links{display:block}.wu-styling .wu-filter .filter-links:first-child{margin-left:-12px}.wu-styling .wu-filter .filter-links li{float:left}.wu-styling .wu-filter .filter-links li.current{border-right:solid 1px #ececec;border-left:solid 1px #ececec;border-bottom:none}.wu-styling .wu-filter .filter-links li>a{padding:15px 16px 14px;margin:0;border-bottom-color:#eef2f5;border-bottom-width:5px}.wu-styling .wu-filter .filter-links li>a.current{border-bottom:5px solid #dde4e9}.wu-blinking-animation{animation:wublinker 2s ease-in-out infinite}@keyframes wublinker{50%{opacity:0}}body.wu-page-wp-ultimo-edit-checkout-form #normal-sortables{display:none}a.button.wu-button-delete{border-color:#8b0000;color:#8b0000;background-color:transparent}a.button.wu-button-delete.wu-border-none{border-width:0}a.button.wu-button-delete:hover{border-width:1px!important;color:#8b0000;background-color:transparent}.wu-styling .wu-hr-text{line-height:1em;position:relative;outline:0;border:0;text-align:center;height:1.5em;opacity:.5}.wu-styling .wu-hr-text::before{content:" ";background:-webkit-gradient(linear,left top,right top,from(transparent),color-stop(#818078),to(transparent));background:linear-gradient(to right,transparent,#818078,transparent);position:absolute;left:0;top:50%;width:100%;height:1px}.wu-styling .wu-hr-text::after{content:attr(data-content);position:relative;display:inline-block;padding:0 .5em;line-height:1.5em;text-transform:uppercase;background-color:#fff}@media (max-width:480px){.wu-styling .wp-heading-inline{display:flex!important;flex-direction:column}.wu-styling .wp-heading-inline a{margin:4px 0}.wu-styling .wp-heading-inline a:first-child{margin-top:10px}}body.wu-page-wp-ultimo-settings .selectize-control.single .selectize-input::after{display:none!important}.CodeMirror-wrap{border-radius:3px;border:1px solid #ddd}.wu_form label.selected::after{position:absolute;right:30%;color:#2ecc71;content:"\f12a";font-family:dashicons,Arial,Helvetica,sans-serif;font-size:20px;top:35%;display:inline-block;background:#fff;padding:0;margin:0;border-radius:50%;width:20px;height:20px;line-height:20px}.inside .wu-tab-content ul>li:nth-child(2){border-top-width:0}.inside .wu-widget-inside.wu-display-all .wu-tab-content ul>li:nth-child(2){border-top-width:1px}.inside .wu-widget-inside{margin-top:-6px}@media screen and (max-width:400px){#WUB_ajaxContent,#WUB_window{max-width:100%;height:100%!important;margin-top:0!important;margin-left:0!important;top:0!important;left:0!important;border-radius:0!important}}#wp-ultimo-log-contents pre{max-height:calc(100vh - 480px)}.flatpickr-calendar{background:0 0;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #eee,-1px 0 0 #eee,0 1px 0 #eee,0 -1px 0 #eee,0 3px 13px rgba(0,0,0,.08);box-shadow:1px 0 0 #eee,-1px 0 0 #eee,0 1px 0 #eee,0 -1px 0 #eee,0 3px 13px rgba(0,0,0,.08)}.flatpickr-calendar.inline,.flatpickr-calendar.open{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:999999999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #eee}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.arrowRight:after,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar.arrowCenter:after,.flatpickr-calendar.arrowCenter:before{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#eee}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#eee}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:0 0;color:#3c3f40;fill:#3c3f40;height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:#3c3f40;fill:#3c3f40}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#007cba}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#007cba}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(64,72,72,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(64,72,72,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(64,72,72,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(60,63,64,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:#3c3f40}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:#3c3f40}.flatpickr-current-month input.cur-year{background:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(60,63,64,.5);background:0 0;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:0 0;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:0;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:0}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:0;padding:0}.flatpickr-weekdays{background:0 0;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:0 0;color:rgba(0,0,0,.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #eee;box-shadow:-1px 0 0 #eee}.flatpickr-day{background:0 0;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#404848;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{cursor:pointer;outline:0;background:#e9e9e9;border-color:#e9e9e9}.flatpickr-day.today{border-color:#007cba}.flatpickr-day.today:focus,.flatpickr-day.today:hover{border-color:#007cba;background:#007cba;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#4f99ff;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#4f99ff}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #4f99ff;box-shadow:-10px 0 0 #4f99ff}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e9e9e9,5px 0 0 #e9e9e9;box-shadow:-5px 0 0 #e9e9e9,5px 0 0 #e9e9e9}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{color:rgba(64,72,72,.3);background:0 0;border-color:#e9e9e9;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(64,72,72,.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #4f99ff,5px 0 0 #4f99ff;box-shadow:-5px 0 0 #4f99ff,5px 0 0 #4f99ff}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #eee;box-shadow:1px 0 0 #eee}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(64,72,72,.3);background:0 0;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#404848}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#404848}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:0 0;-webkit-box-shadow:none;box-shadow:none;border:0!important;border-radius:0!important;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#404848;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{height:inherit;float:left;line-height:inherit;color:#404848;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#f1f1f1}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.flatpickr-calendar{width:307.875px}.dayContainer{padding:0;border-right:0}span.flatpickr-day,span.flatpickr-day.nextMonthDay,span.flatpickr-day.prevMonthDay{border-radius:0!important;border:1px solid #e9e9e9;max-width:none;border-right-color:transparent}span.flatpickr-day.nextMonthDay:nth-child(n+8),span.flatpickr-day.prevMonthDay:nth-child(n+8),span.flatpickr-day:nth-child(n+8){border-top-color:transparent}span.flatpickr-day.nextMonthDay:nth-child(7n-6),span.flatpickr-day.prevMonthDay:nth-child(7n-6),span.flatpickr-day:nth-child(7n-6){border-left:0}span.flatpickr-day.nextMonthDay:nth-child(n+36),span.flatpickr-day.prevMonthDay:nth-child(n+36),span.flatpickr-day:nth-child(n+36){border-bottom:0}span.flatpickr-day.nextMonthDay:nth-child(-n+7),span.flatpickr-day.prevMonthDay:nth-child(-n+7),span.flatpickr-day:nth-child(-n+7){margin-top:0}span.flatpickr-day.nextMonthDay.today:not(.selected),span.flatpickr-day.prevMonthDay.today:not(.selected),span.flatpickr-day.today:not(.selected){border-color:#e9e9e9;border-right-color:transparent;border-top-color:transparent;border-bottom-color:#007cba}span.flatpickr-day.nextMonthDay.today:not(.selected):hover,span.flatpickr-day.prevMonthDay.today:not(.selected):hover,span.flatpickr-day.today:not(.selected):hover{border:1px solid #007cba}span.flatpickr-day.endRange,span.flatpickr-day.nextMonthDay.endRange,span.flatpickr-day.nextMonthDay.startRange,span.flatpickr-day.prevMonthDay.endRange,span.flatpickr-day.prevMonthDay.startRange,span.flatpickr-day.startRange{border-color:#4f99ff}span.flatpickr-day.nextMonthDay.selected,span.flatpickr-day.nextMonthDay.today,span.flatpickr-day.prevMonthDay.selected,span.flatpickr-day.prevMonthDay.today,span.flatpickr-day.selected,span.flatpickr-day.today{z-index:2}.rangeMode .flatpickr-day{margin-top:-1px}.flatpickr-weekwrapper .flatpickr-weeks{-webkit-box-shadow:none;box-shadow:none}.flatpickr-weekwrapper span.flatpickr-day{border:0;margin:-1px 0 0 -1px}.hasWeeks .flatpickr-days{border-right:0}@media screen and (min-width:0\0) and (min-resolution:72dpi){span.flatpickr-day{display:block;-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto}}[role=tooltip]{cursor:pointer}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:99999999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_left{padding-right:5px}#tiptip_content{font-size:11px;color:#fff;text-shadow:0 0 2px #000;padding:4px 8px;border:1px solid rgba(255,255,255,.25);background-color:#191919;background-color:rgba(25,25,25,.92);border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}#tiptip_holder.tip_top #tiptip_arrow{border-top-color:#fff;border-top-color:rgba(255,255,255,.35)}#tiptip_holder.tip_bottom #tiptip_arrow{border-bottom-color:#fff;border-bottom-color:rgba(255,255,255,.35)}#tiptip_holder.tip_right #tiptip_arrow{border-right-color:#fff;border-right-color:rgba(255,255,255,.35)}#tiptip_holder.tip_left #tiptip_arrow{border-left-color:#fff;border-left-color:rgba(255,255,255,.35)}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#191919;border-top-color:rgba(25,25,25,.92)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#191919;border-bottom-color:rgba(25,25,25,.92)}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#191919;border-right-color:rgba(25,25,25,.92)}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#191919;border-left-color:rgba(25,25,25,.92)}@media screen and (-webkit-min-device-pixel-ratio:0){#tiptip_content{padding:4px 8px 5px 8px;background-color:rgba(45,45,45,.88)}#tiptip_holder.tip_bottom #tiptip_arrow_inner{border-bottom-color:rgba(45,45,45,.88)}#tiptip_holder.tip_top #tiptip_arrow_inner{border-top-color:rgba(20,20,20,.92)}}.selectize-control.plugin-drag_drop.multi>.selectize-input>div.ui-sortable-placeholder{visibility:visible!important}.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after{content:"!";visibility:hidden}.selectize-control.plugin-drag_drop .ui-sortable-helper{-webkit-box-shadow:0 2px 5px rgba(0,0,0,.2);box-shadow:0 2px 5px rgba(0,0,0,.2)}.selectize-dropdown-header{position:relative;padding:5px 8px;border-bottom:1px solid #d0d0d0;background:#f8f8f8;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-dropdown-header-close{position:absolute;right:8px;top:50%;color:#303030;opacity:.4;margin-top:-12px;line-height:20px;font-size:20px!important}.selectize-dropdown-header-close:hover{color:#000}.selectize-dropdown.plugin-optgroup_columns .optgroup{border-right:1px solid #f2f2f2;border-top:0 none;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child{border-right:0 none}.selectize-dropdown.plugin-optgroup_columns .optgroup:before{display:none}.selectize-dropdown.plugin-optgroup_columns .optgroup-header{border-top:0 none}.selectize-control.plugin-remove_button [data-value]{position:relative;padding-right:24px!important}.selectize-control.plugin-remove_button [data-value] .remove{z-index:1;position:absolute;top:0;right:0;bottom:0;width:17px;text-align:center;font-weight:700;font-size:12px;color:inherit;text-decoration:none;vertical-align:middle;display:inline-block;padding:2px 0 0 0;border-left:1px solid #0073bb;-webkit-border-radius:0 2px 2px 0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.selectize-control.plugin-remove_button [data-value] .remove:hover{background:rgba(0,0,0,.05)}.selectize-control.plugin-remove_button [data-value].active .remove{border-left-color:#00578d}.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover{background:0 0}.selectize-control.plugin-remove_button .disabled [data-value] .remove{border-left-color:#aaa}.selectize-control.plugin-remove_button .remove-single{position:absolute;right:0;top:0;font-size:23px}.selectize-control{position:relative;display:inline-block}.selectize-dropdown{margin-top:0!important}.selectize-dropdown,.selectize-input,.selectize-input input{color:#303030;font-family:inherit;font-size:13px;line-height:18px;-webkit-font-smoothing:inherit}.selectize-control.single .selectize-input.input-active,.selectize-input{background:#fff;cursor:text;display:inline-block}.selectize-input{border:1px solid #7e8993;padding:5px 8px;display:inline-block;width:100%;overflow:hidden;position:relative;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.selectize-control.multi .selectize-input.has-items{padding:5px 8px 2px}.selectize-input.full{background-color:#fff}.selectize-input.disabled,.selectize-input.disabled *{cursor:default!important}.selectize-input.focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.15);box-shadow:inset 0 1px 2px rgba(0,0,0,.15)}.selectize-input.dropdown-active{-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}.selectize-input>*{vertical-align:baseline;display:-moz-inline-stack;display:inline-block;zoom:1;display:inline}.selectize-control.multi .selectize-input>div{cursor:pointer;margin:0 3px 3px 0;padding:2px 6px;background:#1da7ee;color:#fff;border:1px solid #0073bb}.selectize-control.multi .selectize-input>div.active{background:#92c836;color:#fff;border:1px solid #00578d}.selectize-control.multi .selectize-input.disabled>div,.selectize-control.multi .selectize-input.disabled>div.active{color:#fff;background:#d2d2d2;border:1px solid #aaa}.selectize-input>input{display:inline-block!important;padding:0!important;min-height:0!important;max-height:none!important;max-width:100%!important;margin:0 1px!important;text-indent:0!important;border:0 none!important;background:0 0!important;line-height:inherit!important;-webkit-user-select:auto!important;-webkit-box-shadow:none!important;box-shadow:none!important;top:-1px!important;position:relative;left:0}.selectize-input>input::-ms-clear{display:none}.selectize-input>input:focus{outline:0!important}.selectize-input::after{content:" ";display:block;clear:left}.selectize-input.dropdown-active::before{content:" ";display:block;position:absolute;background:#f0f0f0;height:1px;bottom:0;left:0;right:0}.selectize-dropdown{position:absolute;z-index:10;border:1px solid #d0d0d0;background:#fff;margin:-1px 0 0 0;border-top:0 none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.1);box-shadow:0 1px 3px rgba(0,0,0,.1);-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.selectize-dropdown [data-selectable]{cursor:pointer;overflow:hidden}.selectize-dropdown [data-selectable] .highlight{background:rgba(125,168,208,.2);-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px}.selectize-dropdown .optgroup-header,.selectize-dropdown .option{padding:5px 8px}.selectize-dropdown .option,.selectize-dropdown [data-disabled],.selectize-dropdown [data-disabled] [data-selectable].option{cursor:inherit;opacity:.5}.selectize-dropdown [data-selectable].option{opacity:1}.selectize-dropdown .optgroup:first-child .optgroup-header{border-top:0 none}.selectize-dropdown .optgroup-header{color:#303030;background:#fff;cursor:default}.selectize-dropdown .active{background-color:#f5fafd;color:#495c68}.selectize-dropdown .active.create{color:#495c68}.selectize-dropdown .create{color:rgba(48,48,48,.5)}.selectize-dropdown-content{overflow-y:auto;overflow-x:hidden;max-height:200px;-webkit-overflow-scrolling:touch}.selectize-control.single .selectize-input,.selectize-control.single .selectize-input input{cursor:pointer}.selectize-control.single .selectize-input.input-active,.selectize-control.single .selectize-input.input-active input{cursor:text}.selectize-control.single .selectize-input:after{content:" ";display:block;position:absolute;top:50%;right:8px;margin-top:-3px;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:grey transparent transparent transparent}.selectize-control.single .selectize-input.dropdown-active:after{margin-top:-4px;border-width:0 5px 5px 5px;border-color:transparent transparent grey transparent}.selectize-control.rtl.single .selectize-input:after{left:15px;right:auto}.selectize-control.rtl .selectize-input>input{margin:0 4px 0 -2px!important}.selectize-control .selectize-input.disabled{opacity:.5;background-color:#fafafa}.selectize-control.multi .selectize-input.has-items{padding-left:5px;padding-right:5px}.selectize-control.multi .selectize-input.disabled [data-value]{color:#999;text-shadow:none;background:0 0;-webkit-box-shadow:none;box-shadow:none}.selectize-control.multi .selectize-input.disabled [data-value],.selectize-control.multi .selectize-input.disabled [data-value] .remove{border-color:#e6e6e6}.selectize-control.multi .selectize-input.disabled [data-value] .remove{background:0 0}.selectize-control.multi .selectize-input [data-value].active{background-color:#0085d4;background-image:-moz-linear-gradient(top,#008fd8,#0075cf);background-image:-webkit-gradient(linear,0 0,0 100%,from(#008fd8),to(#0075cf));background-image:-webkit-linear-gradient(top,#008fd8,#0075cf);background-image:-o-linear-gradient(top,#008fd8,#0075cf);background-image:linear-gradient(to bottom,#008fd8,#0075cf);background-repeat:repeat-x}.selectize-control.single .selectize-input,.selectize-dropdown.single{border-color:#7e8993}.selectize-dropdown .optgroup-header{padding-top:7px;font-weight:700;font-size:.85em}.selectize-dropdown .optgroup{border-top:1px solid #f0f0f0}.selectize-dropdown .optgroup:first-child{border-top:0 none}.selectize-control.multi.loading::after,.selectize-control.single.loading::after{text-transform:none;line-height:16px;vertical-align:middle;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"..."!important;position:absolute;border-radius:50%;right:0;bottom:0;padding:0;z-index:999;top:0;padding:0 12px;font-size:24px;animation:wublinker 1s ease-in-out infinite}.selectize-control.multi.loading .selectize-input::after,.selectize-control.single.loading .selectize-input::after{display:none}@media screen and (max-width:782px){.selectize-input{-webkit-appearance:none;padding:3px 10px;min-height:40px;line-height:2;font-size:16px}}.icons-selector *{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif}.icons-selector,.icons-selector *,.icons-selector :after,.icons-selector :before,.icons-selector:after,.icons-selector:before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.icons-selector{display:inline-block;vertical-align:middle;text-align:left;width:100%}.icons-selector .selector{width:100%;height:36px}.icons-selector .selector-button{width:39px;height:100%;display:block;text-align:center;cursor:pointer;float:left}.icons-selector .selector-button i{line-height:36px;text-align:center}.icons-selector .selected-icon{display:block;width:calc(100% - 40px);height:100%;float:left;text-align:center}.icons-selector .selected-icon i{line-height:36px;font-size:18px;cursor:default}.icons-selector .selector-popup{z-index:10000;background-color:#fefefe;padding:5px;height:auto;width:100%;box-sizing:border-box;margin-top:5px}.icons-selector .selector-category select,.icons-selector .selector-search input[type=text]{border:0;line-height:20px;padding:10px 2.5%;width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:5px;font-size:12px;display:block}.icons-selector .selector-category select{height:36px}.icons-selector .selector-category select option{padding:10px}.icons-selector .selector-search{position:relative}.icons-selector .selector-search i{position:absolute;right:10px;top:12px}.icons-selector .fip-icons-container{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}.icons-selector .fip-icons-container .loading{font-size:24px;margin:0 auto;padding:20px 0;text-align:center;width:100%}.icons-selector .fip-box{display:inline-block;margin:0;width:20%;line-height:56px;text-align:center;cursor:pointer;vertical-align:top;height:56px;box-sizing:border-box;border-radius:3px}.icons-selector .selector-footer{line-height:12px;padding:10px 5px 5px 5px;text-align:center;overflow:hidden}.icons-selector .selector-footer,.icons-selector .selector-footer i{font-size:20px}.icons-selector .selector-arrows{float:right}.icons-selector .selector-pages{font-size:11px;float:left}.icons-selector .selector-arrows i{cursor:pointer}.icons-selector .selector-footer em{font-style:italic}.icons-selector .icons-picker-error i:before{color:#eee}.icons-selector [class*=" fip-icon-"]:before,.icons-selector [class^=fip-icon-]::before{font-family:dashicons;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;vertical-align:middle}.icons-selector .fip-icon-search:before{content:"\f179";cursor:default}.icons-selector .fip-icon-cancel:before{content:"\e814";cursor:pointer}.icons-selector .fip-icon-block:before{content:"\f153";color:#fed0d0}.icons-selector .fip-icon-down-dir:before{content:"\f347"}.icons-selector .fip-icon-up-dir:before{content:"\f343"}.icons-selector .fip-icon-left-dir:before{content:"\f141"}.icons-selector .fip-icon-right-dir:before{content:"\f139"}.icons-selector .fip-icon-spin3:before{content:"\e815"}.icons-selector .fip-icon-spin3{-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;display:inline-block}@-moz-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-o-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-ms-keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-moz-transform:rotate(0);-o-transform:rotate(0);-webkit-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(359deg);-o-transform:rotate(359deg);-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wu-theme.icons-selector{font-size:16px}.wu-theme.icons-selector .selector{border:1px solid #ddd;background-color:#fff;border-radius:3px}.wu-theme.icons-selector .selector-button{background-color:#f4f4f4;border-left:1px solid #ddd}.wu-theme.icons-selector .selector-button:hover{background-color:#f1f1f1}.wu-theme.icons-selector .selector-button:hover i{color:#999}.wu-theme.icons-selector .selector-button i{color:#aaa;text-shadow:0 1px 0 #fff}.wu-theme.icons-selector .selected-icon i{color:#404040}.wu-theme.icons-selector .selector-popup{-moz-box-shadow:0 1px 1px rgba(0,0,0,.04);-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5}.wu-theme.icons-selector .selector-category select,.wu-theme.icons-selector .selector-search input[type=text]{border:1px solid #ededed;color:#404040;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;outline:0}.wu-theme.icons-selector input::-webkit-input-placeholder{color:#ddd}.wu-theme.icons-selector input:-moz-placeholder{color:#ddd}.wu-theme.icons-selector input::-moz-placeholder{color:#ddd}.wu-theme.icons-selector input:-ms-input-placeholder{color:#ddd!important}.wu-theme.icons-selector .selector-search i{color:#eee}.wu-theme.icons-selector .fip-icons-container{background-color:#fff}.wu-theme.icons-selector .fip-icons-container .loading{color:#eee}.wu-theme.icons-selector .fip-box:hover{background-color:#f6f6f6}.wu-theme.icons-selector .selector-footer,.wu-theme.icons-selector .selector-footer i{color:#000}.wu-theme.icons-selector .selector-arrows i:hover{color:#777}.wu-theme.icons-selector span.current-icon,.wu-theme.icons-selector span.current-icon:hover{background-color:#2ea2cc;color:#fff;border:1px solid #298cba}.wu-theme.icons-selector .icons-picker-error i:before{color:#eee}.icons-selector i.dashicons-before::before{line-height:inherit!important}body.wu-compat-admin-theme-material-wp div#wp-ultimo-header{position:fixed!important;right:0;left:0;margin:0!important;background-color:rgba(255,255,255,.9);bottom:0;z-index:9999;border-top:solid 1px #ccc;box-shadow:0 -3px 20px 0 rgba(0,0,0,.1)}#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-line,#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-trail,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-trail{margin:3px 0;height:6px;display:block;background:#f1f1f1;border-radius:3px}#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-line.bar-line,#dashboard-widgets #wp-ultimo-account-summary-element .inside .bar-trail.bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-line.bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside .bar-trail.bar-line{max-width:100%}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(1n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(1n) .bar-line{background-color:#e67e22}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(2n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(2n) .bar-line{background-color:#e74c3c}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(3n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(3n) .bar-line{background-color:#3498db}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(4n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(4n) .bar-line{background-color:#9b59b6}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(5n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(5n) .bar-line{background-color:#1dd1a1}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(6n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(6n) .bar-line{background-color:#8395a7}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(7n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(7n) .bar-line{background-color:#222f3e}#dashboard-widgets #wp-ultimo-account-summary-element .inside li:nth-child(8n) .bar-line,#dashboard-widgets #wp-ultimo-limits-element .inside li:nth-child(8n) .bar-line{background-color:#0abde3}ul.wu-widget-list>li:first-child{border-top:none}.wu-toggle{transform:scale(.9)}.wu-tgl{display:none!important}.wu-tgl,.wu-tgl *,.wu-tgl ::after,.wu-tgl ::before,.wu-tgl+.wu-tgl-btn,.wu-tgl::after,.wu-tgl::before{box-sizing:border-box}.wu-tgl ::after::selection,.wu-tgl ::before::selection,.wu-tgl ::selection,.wu-tgl+.wu-tgl-btn::selection,.wu-tgl::after::selection,.wu-tgl::before::selection,.wu-tgl::selection{background:0 0}.wu-tgl+.wu-tgl-btn{outline:0;display:block;width:4em;height:2.2em;position:relative;cursor:pointer;user-select:none}.wu-tgl+.wu-tgl-btn::after,.wu-tgl+.wu-tgl-btn::before{position:relative;display:block;content:"";width:50%;height:100%}.wu-tgl+.wu-tgl-btn::after{left:0}.wu-tgl+.wu-tgl-btn::before{display:none}.wu-tgl:checked+.wu-tgl-btn::after{left:50%}.wu-tgl-ios+.wu-tgl-btn{border-radius:2em;padding:2px;transition:all .4s ease;border:1px solid #e8eae9}.wu-tgl-ios+.wu-tgl-btn::after{border-radius:2em;background:#fbfbfb;transition:left .3s cubic-bezier(.175, .885, .32, 1.275),padding .3s ease,margin .3s ease;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 4px 0 rgba(0,0,0,.08)}.wu-tgl-ios+.wu-tgl-btn:hover::after{will-change:padding}.wu-tgl-ios+.wu-tgl-btn:active{box-shadow:inset 0 0 0 2em #e8eae9}.wu-tgl-ios+.wu-tgl-btn:active::after{padding-right:.8em}.wu-tgl-ios:not(:checked)+.wu-tgl-btn{background:#fbfbfb}.wu-tgl-ios:not(:checked)+.wu-tgl-btn:active{box-shadow:none}.wu-tgl-ios:not(:checked)+.wu-tgl-btn:active::after{margin-left:-.8em}.wu-styling .wu-spin{-moz-animation:wu_spin 2s infinite linear;-o-animation:wu_spin 2s infinite linear;-webkit-animation:wu_spin 2s infinite linear;animation:wu_spin 2s infinite linear}@-moz-keyframes wu_spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes wu_spin{100%{-webkit-transform:rotate(360deg)}}@keyframes wu_spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.wu-styling .inside table.wp-list-table{border-bottom:none}.wu-styling .inside th.column-blog_id,.wu-styling .inside th.column-id{width:6%}.wu-styling.wu-page-wu-checkout #wu-order-summary-table{border-collapse:collapse}.wu-styling.wu-page-wu-checkout #wu-order-summary-table td,.wu-styling.wu-page-wu-checkout #wu-order-summary-table th{border:1px solid #e2e8f0;padding:12px;text-align:left}.wu-styling .wp-filter.wu-filter{overflow:hidden;box-shadow:none}.wu-styling .wp-filter.wu-filter .view-switch{float:right}.wu-styling .wp-filter.wu-filter .search-form{height:32px;content:" ";min-width:10px}.wu-styling .wp-filter.wu-filter .wu-sub-view-status .count.view-count{background:#72777b;color:#fff;padding:2px 5px;border-radius:2px}.wu-styling .tablenav.top{padding:12px;background-color:#f7fafc;border-left:solid 1px #ccd0d4;border-right:solid 1px #ccd0d4;border-top:solid 1px #ccd0d4;margin-bottom:0}.wu-styling .button.drawer-toggle{margin-left:0}.wu-styling .alternate,.wu-styling .striped>tbody>:nth-child(odd),.wu-styling ul.striped>:nth-child(odd){background-color:#fbfcfd}.wu-styling .widefat th{text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.3px}.wu-widget-list-table table.widefat{border-right:none;border-left:none}.wu-widget-list-table .tablenav.top{border:none!important}.wu-widget-list-table .tablenav.bottom{border:none;padding:12px;background-color:#f7fafc;margin:0}.wu-list-table.wu-mode-grid .tablenav.top{border-bottom:solid 1px #ccd0d4;top:-37px;position:relative}.wu-list-table.wu-mode-grid .table-view-list.sites{margin-top:0!important}.wu-list-table.wu-mode-grid .tablenav.bottom{border:solid 1px #ccd0d4;padding:12px;background-color:#f7fafc}.wu-list-table th.column-featured_image_id{width:48px}.wu-list-table th.column-path{width:25%}.wu-list-table th.column-type{width:15%}.wu-list-table th.column-id{width:4%}.wu-list-table th.column-id a{float:right}.wu-list-table th.column-customer,.wu-list-table th.column-membership,.wu-list-table th.column-product{width:18%}.wu-list-table th.column-name{width:23%}.wu-list-table th.column-date_created,.wu-list-table th.column-date_expiration{width:15%}.wu-list-table td.active,.wu-list-table th.column-active,.wu-list-table th.column-primary_domain,.wu-list-table th.column-secure{width:8%}.wp-list-table.sites th.column-blog_id{width:4%}.wp-list-table.sites th.column-blog_id a{float:right}.inside .tablenav{padding:3px 12px!important}.inside .tablenav .actions{display:none}.inside .tablenav .tablenav-pages{margin:0}.inside .tablenav.bottom{display:none}td.column-id{text-align:right}.wu-list-table .wp-list-table.webhooks th.column-webhook_url{width:23%}.wu-list-table .wp-list-table.webhooks th.column-event{width:15%}.wu-list-table .wp-list-table.events th.column-message{width:30%}.wu-list-table .wp-list-table.events th.column-slug{width:15%}.wu-list-table .wp-list-table.events th.column-initiator{width:20%}.wu-list-table .wp-list-table.events th.column-object_type{width:15%}.wu-list-table .wp-list-table.events th.column-code,.wu-list-table .wp-list-table.events th.severity{width:7%}#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments td,#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments th{text-align:right;width:14%}#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments td.column-service,#wp-ultimo-list-table-line-items .wu-list-table .wp-list-table.payments th.column-service{width:30%;text-align:left}.wu-list-table .wp-list-table.broadcasts th.column-type{width:7%}.wu-list-table .wp-list-table.broadcasts th.column-content{width:40%}.wp-list-table.emails th.column-title{width:25%}.wp-list-table.emails th.column-schedule,.wp-list-table.emails th.column-slug{width:18%}.wp-list-table.emails th.column-event,.wp-list-table.emails th.column-target{width:12%}#wu-checkout_form_section_list_table th.column-order,#wu-tax-rates .wp-list-table th.column-order{width:7%}#wu-checkout_form_section_list_table td.column-move,#wu-checkout_form_section_list_table td.column-order,#wu-tax-rates .wp-list-table td.column-move,#wu-tax-rates .wp-list-table td.column-order{vertical-align:middle}#wu-checkout_form_section_list_table th.column-content,#wu-tax-rates .wp-list-table th.column-content{width:40%}#wu-checkout_form_section_list_table th.column-slug,#wu-checkout_form_section_list_table th.column-type,#wu-tax-rates .wp-list-table th.column-slug,#wu-tax-rates .wp-list-table th.column-type{width:20%}#wu-checkout_form_section_list_table .tablenav,#wu-checkout_form_section_list_table tfoot,#wu-tax-rates .wp-list-table .tablenav,#wu-tax-rates .wp-list-table tfoot{display:none}#wu-checkout_form_section_list_table table.widefat,#wu-tax-rates .wp-list-table table.widefat{border:none}#wu-checkout_form_section_list_table th.column-move,#wu-tax-rates .wp-list-table th.column-move{width:4%;text-align:right}#wu-checkout_form_section_list_table td.column-move .wu-placeholder-sortable,#wu-tax-rates .wp-list-table td.column-move .wu-placeholder-sortable{cursor:move}.wu-list-table .wp-list-table.products th.column-slug,.wu-list-table .wp-list-table.products th.column-type{width:10%}.wu-grid-item-selected>div:last-child{background-color:#f0fff4!important}#wu-tax-rates table td,#wu-tax-rates table th{vertical-align:middle}#wu-tax-rates table.widefat td{padding:4px 0}#wu-tax-rates tr.selected,#wu-template-placeholders tr.selected{background-color:#ffffe0}#wu-tax-rates#wu-template-placeholders tr td,#wu-template-placeholders#wu-template-placeholders tr td{padding:0}#wu-tax-rates .tablenav.bottom,#wu-template-placeholders .tablenav.bottom{margin:0;border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);border-top:none}#wu-tax-rates .alignleft,#wu-template-placeholders .alignleft{margin-right:35px}#wu-tax-rates .alignright.actions,#wu-template-placeholders .alignright.actions{padding-right:0}#wu-tax-rates .actions,#wu-template-placeholders .actions{overflow:initial}#wp-ultimo-last-refunds #amount,#wp-ultimo-last-signups #amount{text-align:right}#wp-ultimo-last-refunds .column-customer,#wp-ultimo-last-signups .column-customer{width:35%}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments .toggle-row,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites .toggle-row{display:none!important}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments td.column-primary,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites td.column-primary{padding-right:10px!important}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments .tablenav.top,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites .tablenav.top{background-color:#fff}#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-broadcast #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-checkout-form #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-customer #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-discount-code #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-domain #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-membership #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-payment #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-product #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-site #wp-ultimo-list-table-sites thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-customer thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-domains thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-events thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-line-items thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-membership-products-2 thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-memberships thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-payments thead,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites tfoot,#form-wp-ultimo-edit-webhook #wp-ultimo-list-table-sites thead{display:none}.wu-table-card{background-color:#fefefe}@media screen and (max-width:1280px){.wu-list-table .wp-list-table.products th.column-slug,.wu-list-table .wp-list-table.products th.column-type{width:13%}.wp-list-table th.column-blog_id,.wp-list-table th.column-id{width:8%}#wu-membership_list_table .column-date_created,#wu-membership_list_table .column-product{display:none}#wu-site_list_table .column-path{width:33%}#wu-site_list_table .column-domains,#wu-site_list_table .column-membership{display:none}#wu-customer_list_table .column-date_registered{display:none}#wu-customer_list_table .column-memberships{max-width:12%}#wu-payment_list_table .column-customer{width:33%}#wu-payment_list_table .column-date_created,#wu-payment_list_table .column-membership{display:none}}@media screen and (max-width:1440px){#wu-membership_list_table .column-date_created{display:none}}#WUB_overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:100050}#WUB_window{position:fixed;background-color:#fff;z-index:100050;visibility:hidden;text-align:left;top:50%;left:50%;-webkit-box-shadow:0 3px 6px rgba(0,0,0,.3);box-shadow:0 3px 6px rgba(0,0,0,.3)}#WUB_ImageOff{padding:12px;display:block}#WUB_ImageOff img{max-width:100%;display:block}#WUB_window img#WUB_Image{border-radius:5px;display:block;margin:0;box-sizing:border-box;border-right:1px solid #666;border-bottom:1px solid #666;border-top:1px solid #666;border-left:1px solid #666}#WUB_caption{padding:0 12px 12px}#WUB_closeWindow{height:25px;position:absolute;bottom:14px;width:25px;right:0}#WUB_closeWindowButton{position:absolute;left:auto;right:0;width:29px;height:29px;border:0;padding:0;background:0 0;cursor:pointer;outline:0;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}#WUB_ajaxWindowTitle{float:left;font-weight:600;line-height:29px;overflow:hidden;padding:0 29px 0 10px;text-overflow:ellipsis;white-space:nowrap;width:calc(100% - 39px)}#WUB_title{background:#fcfcfc;border-bottom:1px solid #ddd;height:29px}#WUB_ajaxContent{clear:both;padding:2px 15px 15px;overflow:auto;text-align:left;line-height:1.4em}#WUB_ajaxContent.WUB_modal{padding:15px}#WUB_HideSelect{z-index:99;position:fixed;top:0;left:0;background-color:#fff;border:none;opacity:0;height:100%;width:100%}#WUB_iframeContent{clear:both;border:none}.wutb-close-icon{display:block;color:#666;text-align:center;line-height:29px;width:29px;height:29px;position:absolute;top:0;right:0}.wutb-close-icon::before{content:"\f158";font:normal 20px/29px dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#WUB_closeWindowButton:focus .wutb-close-icon,#WUB_closeWindowButton:hover .wutb-close-icon{color:#00a0d2}#WUB_closeWindowButton:focus .wutb-close-icon{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}#WUB_window{border-radius:3px;overflow:hidden}#WUB_title{height:40px}#WUB_ajaxWindowTitle{line-height:40px;padding-left:16px;text-transform:uppercase;font-size:90%}.wutb-close-icon{height:40px;width:40px;line-height:40px}.wutb-close-icon::before{font:normal 20px/40px dashicons}#WUB_ajaxContent{padding:0!important}#WUB_load{padding:0;margin:-19px 0 0 -19px;background-image:url("../img/loader.svg");background-repeat:no-repeat;background-position:center center;width:38px;height:38px;position:fixed;z-index:100050;top:50%;left:50%}#WUB_load img{display:none}.widefat .column-customer_status{width:48px;text-align:center}.widefat .column-customer_status .wu-status-container{position:relative;margin-top:2px}.widefat .column-customer_status .wu-status-icon{position:absolute;right:0;bottom:0}.widefat .column-customer_status .avatar{border-radius:24px}.widefat .column-customer_status span.dashicons,.widefat .column-customer_status span.dashicons::before{width:18px;height:18px;color:#fff;text-align:center;font-size:18px}.widefat .column-customer_status span.dashicons-yes{background:#2ecc71;color:#fff;border-radius:10px}.widefat .column-customer_status span.dashicons-yes::before{margin-left:-2px}.widefat .column-customer_status span.dashicons-no-alt{background:#e74c3c;border-radius:10px;text-align:center}.widefat .column-customer_status span.dashicons-minus{background:#e67e22;border-radius:10px;text-align:center}.widefat .column-customer_status span.dashicons-arrow-left{background:#9b59b6;border-radius:10px;text-align:center}.wu-id-tag,.wu-tag,.wu-top-deal{display:inline-block;color:#fff;background:#666;text-transform:uppercase;font-size:9px;line-height:17px;padding:0 4px;border-radius:3px}.wu-customer-vip{background-color:#222;position:absolute;bottom:0;right:-10px}.customer-actions{background-position:center center;position:relative;filter:grayscale(100%);opacity:.2}.wu-black-and-white{-webkit-filter:grayscale(100%);filter:grayscale(100%)}#wp-ultimo-debug-reset-database{width:280px}.wu-compat-admin-theme-material-wp #wp-ultimo-header{position:relative!important;margin:50px 25%!important}.wu-compat-admin-theme-pro-theme button.btn.page-title-action{color:#fff!important}.wu-compat-admin-theme-pro-theme.folded #adminmenuwrap{display:none}.wu-compat-admin-theme-admin-2020 .wu-grid{margin-top:20px}.wu-compat-admin-theme-admin-2020 #wp-ultimo-wrap .page-title-action{top:0!important}.wu-compat-admin-theme-admin-2020 .wu-list-table.wu-mode-grid #the-list{display:inline-grid!important}.wu-compat-admin-theme-admin-2020 .wu-list-table.wu-mode-grid .tablenav.top{top:0!important}.wu-compat-admin-theme-admin-2020 .filter-links{margin-left:0!important}.wu-compat-admin-theme-admin-2020 #titlewrap span{display:inline-block}.wu-compat-admin-theme-admin-2020 #wp-ultimo-header{border-radius:6px!important}.wu-compat-admin-theme-admin-2020.wu-styling .wu-list-table .row-actions{display:block!important;position:relative!important;opacity:unset!important;padding:0!important;top:0!important;left:0!important;background:0 0!important;box-shadow:none!important}.wu-compat-admin-theme-admin-2020.wu-styling .wu-list-table .row-actions span{padding:0!important}.wu-compat-admin-theme-clientside.wu-styling{background-color:#f8f8fa!important}.wu-compat-admin-theme-clientside #wp-ultimo-header{display:none!important}.wu-compat-admin-theme-wphave #wu-date-range{margin:0 -10px!important}.wu-compat-admin-theme-waaspro .wu-list-table.wu-mode-grid{margin-top:30px}.wu-compat-admin-theme-waaspro .tablenav.top{height:auto} \ No newline at end of file diff --git a/assets/css/apexcharts.min.css b/assets/css/apexcharts.min.css index 5445b75..7c00997 100644 --- a/assets/css/apexcharts.min.css +++ b/assets/css/apexcharts.min.css @@ -1 +1 @@ -.apexcharts-canvas{position:relative;user-select:none}.apexcharts-canvas ::-webkit-scrollbar{-webkit-appearance:none;width:6px}.apexcharts-canvas ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);box-shadow:0 0 1px rgba(255,255,255,.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,.5)}.apexcharts-canvas.apexcharts-theme-dark{background:#424242}.apexcharts-inner{position:relative}.apexcharts-text tspan{font-family:inherit}.legend-mouseover-inactive{transition:.15s ease all;opacity:.2}.apexcharts-series-collapsed{opacity:0}.apexcharts-tooltip{border-radius:5px;box-shadow:2px 2px 6px -4px #999;cursor:default;font-size:14px;left:62px;opacity:0;pointer-events:none;position:absolute;top:20px;overflow:hidden;white-space:nowrap;z-index:12;transition:.15s ease all}.apexcharts-tooltip.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-tooltip.apexcharts-theme-light{border:1px solid #e3e3e3;background:rgba(255,255,255,.96)}.apexcharts-tooltip.apexcharts-theme-dark{color:#fff;background:rgba(30,30,30,.8)}.apexcharts-tooltip *{font-family:inherit}.apexcharts-tooltip-title{padding:6px;font-size:15px;margin-bottom:4px}.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title{background:#eceff1;border-bottom:1px solid #ddd}.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title{background:rgba(0,0,0,.7);border-bottom:1px solid #333}.apexcharts-tooltip-text-value,.apexcharts-tooltip-text-z-value{display:inline-block;font-weight:600;margin-left:5px}.apexcharts-tooltip-text-z-label:empty,.apexcharts-tooltip-text-z-value:empty{display:none}.apexcharts-tooltip-text-value,.apexcharts-tooltip-text-z-value{font-weight:600}.apexcharts-tooltip-marker{width:12px;height:12px;position:relative;top:0;margin-right:10px;border-radius:50%}.apexcharts-tooltip-series-group{padding:0 10px;display:none;text-align:left;justify-content:left;align-items:center}.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker{opacity:1}.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child{padding-bottom:4px}.apexcharts-tooltip-series-group-hidden{opacity:0;height:0;line-height:0;padding:0!important}.apexcharts-tooltip-y-group{padding:6px 0 5px}.apexcharts-tooltip-candlestick{padding:4px 8px}.apexcharts-tooltip-candlestick>div{margin:4px 0}.apexcharts-tooltip-candlestick span.value{font-weight:700}.apexcharts-tooltip-rangebar{padding:5px 8px}.apexcharts-tooltip-rangebar .category{font-weight:600;color:#777}.apexcharts-tooltip-rangebar .series-name{font-weight:700;display:block;margin-bottom:5px}.apexcharts-xaxistooltip{opacity:0;padding:9px 10px;pointer-events:none;color:#373d3f;font-size:13px;text-align:center;border-radius:2px;position:absolute;z-index:10;background:#eceff1;border:1px solid #90a4ae;transition:.15s ease all}.apexcharts-xaxistooltip.apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before{left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-xaxistooltip:after{border-color:rgba(236,239,241,0);border-width:6px;margin-left:-6px}.apexcharts-xaxistooltip:before{border-color:rgba(144,164,174,0);border-width:7px;margin-left:-7px}.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before{bottom:100%}.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before{top:100%}.apexcharts-xaxistooltip-bottom:after{border-bottom-color:#eceff1}.apexcharts-xaxistooltip-bottom:before{border-bottom-color:#90a4ae}.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after{border-bottom-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before{border-bottom-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-top:after{border-top-color:#eceff1}.apexcharts-xaxistooltip-top:before{border-top-color:#90a4ae}.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after{border-top-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before{border-top-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-yaxistooltip{opacity:0;padding:4px 10px;pointer-events:none;color:#373d3f;font-size:13px;text-align:center;border-radius:2px;position:absolute;z-index:10;background:#eceff1;border:1px solid #90a4ae}.apexcharts-yaxistooltip.apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before{top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-yaxistooltip:after{border-color:rgba(236,239,241,0);border-width:6px;margin-top:-6px}.apexcharts-yaxistooltip:before{border-color:rgba(144,164,174,0);border-width:7px;margin-top:-7px}.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before{left:100%}.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before{right:100%}.apexcharts-yaxistooltip-left:after{border-left-color:#eceff1}.apexcharts-yaxistooltip-left:before{border-left-color:#90a4ae}.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after{border-left-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before{border-left-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-right:after{border-right-color:#eceff1}.apexcharts-yaxistooltip-right:before{border-right-color:#90a4ae}.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after{border-right-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before{border-right-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip.apexcharts-active{opacity:1}.apexcharts-yaxistooltip-hidden{display:none}.apexcharts-xcrosshairs,.apexcharts-ycrosshairs{pointer-events:none;opacity:0;transition:.15s ease all}.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-ycrosshairs-hidden{opacity:0}.apexcharts-selection-rect{cursor:move}.svg_select_boundingRect,.svg_select_points_rot{pointer-events:none;opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot{opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r{cursor:ew-resize;opacity:1;visibility:visible}.svg_select_points{fill:#efefef;stroke:#333}.apexcharts-canvas.apexcharts-zoomable .hovering-zoom{cursor:crosshair}.apexcharts-canvas.apexcharts-zoomable .hovering-pan{cursor:move}.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{cursor:pointer;width:20px;height:20px;line-height:24px;color:#6e8192;text-align:center}.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg{fill:#6e8192}.apexcharts-selection-icon svg{fill:#444;transform:scale(.76)}.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg{fill:#f3f4f5}.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg{fill:#008ffb}.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg{fill:#333}.apexcharts-menu-icon,.apexcharts-selection-icon{position:relative}.apexcharts-reset-icon{margin-left:5px}.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon{transform:scale(.85)}.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{transform:scale(.7)}.apexcharts-zoomout-icon{margin-right:3px}.apexcharts-pan-icon{transform:scale(.62);position:relative;left:1px;top:0}.apexcharts-pan-icon svg{fill:#fff;stroke:#6e8192;stroke-width:2}.apexcharts-pan-icon.apexcharts-selected svg{stroke:#008ffb}.apexcharts-pan-icon:not(.apexcharts-selected):hover svg{stroke:#333}.apexcharts-toolbar{position:absolute;z-index:11;max-width:176px;text-align:right;border-radius:3px;padding:0 6px 2px 6px;display:flex;justify-content:space-between;align-items:center}.apexcharts-menu{background:#fff;position:absolute;top:100%;border:1px solid #ddd;border-radius:3px;padding:3px;right:10px;opacity:0;min-width:110px;transition:.15s ease all;pointer-events:none}.apexcharts-menu.apexcharts-menu-open{opacity:1;pointer-events:all;transition:.15s ease all}.apexcharts-menu-item{padding:6px 7px;font-size:12px;cursor:pointer}.apexcharts-theme-light .apexcharts-menu-item:hover{background:#eee}.apexcharts-theme-dark .apexcharts-menu{background:rgba(0,0,0,.7);color:#fff}@media screen and (min-width:768px){.apexcharts-canvas:hover .apexcharts-toolbar{opacity:1}}.apexcharts-datalabel.apexcharts-element-hidden{opacity:0}.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label{cursor:default;pointer-events:none}.apexcharts-pie-label-delay{opacity:0;animation-name:opaque;animation-duration:.3s;animation-fill-mode:forwards;animation-timing-function:ease}.apexcharts-canvas .apexcharts-element-hidden{opacity:0}.apexcharts-hide .apexcharts-series-points{opacity:0}.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-zoom-rect{pointer-events:none}.apexcharts-marker{transition:.15s ease all}@keyframes opaque{0%{opacity:0}100%{opacity:1}}@keyframes resizeanim{from{opacity:0}to{opacity:0}}.resize-triggers{animation:1ms resizeanim;visibility:hidden;opacity:0}.contract-trigger:before,.resize-triggers,.resize-triggers>div{content:" ";display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-triggers>div{background:#eee;overflow:auto}.contract-trigger:before{width:200%;height:200%} \ No newline at end of file +.apexcharts-canvas{position:relative;user-select:none}.apexcharts-canvas ::-webkit-scrollbar{-webkit-appearance:none;width:6px}.apexcharts-canvas ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);box-shadow:0 0 1px rgba(255,255,255,.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,.5)}.apexcharts-canvas.apexcharts-theme-dark{background:#424242}.apexcharts-inner{position:relative}.apexcharts-text tspan{font-family:inherit}.legend-mouseover-inactive{transition:.15s ease all;opacity:.2}.apexcharts-series-collapsed{opacity:0}.apexcharts-tooltip{border-radius:5px;box-shadow:2px 2px 6px -4px #999;cursor:default;font-size:14px;left:62px;opacity:0;pointer-events:none;position:absolute;top:20px;overflow:hidden;white-space:nowrap;z-index:12;transition:.15s ease all}.apexcharts-tooltip.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-tooltip.apexcharts-theme-light{border:1px solid #e3e3e3;background:rgba(255,255,255,.96)}.apexcharts-tooltip.apexcharts-theme-dark{color:#fff;background:rgba(30,30,30,.8)}.apexcharts-tooltip *{font-family:inherit}.apexcharts-tooltip-title{padding:6px;font-size:15px;margin-bottom:4px}.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title{background:#eceff1;border-bottom:1px solid #ddd}.apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title{background:rgba(0,0,0,.7);border-bottom:1px solid #333}.apexcharts-tooltip-text-value,.apexcharts-tooltip-text-z-value{display:inline-block;font-weight:600;margin-left:5px}.apexcharts-tooltip-text-z-label:empty,.apexcharts-tooltip-text-z-value:empty{display:none}.apexcharts-tooltip-text-value,.apexcharts-tooltip-text-z-value{font-weight:600}.apexcharts-tooltip-marker{width:12px;height:12px;position:relative;top:0;margin-right:10px;border-radius:50%}.apexcharts-tooltip-series-group{padding:0 10px;display:none;text-align:left;justify-content:left;align-items:center}.apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-marker{opacity:1}.apexcharts-tooltip-series-group.apexcharts-active,.apexcharts-tooltip-series-group:last-child{padding-bottom:4px}.apexcharts-tooltip-series-group-hidden{opacity:0;height:0;line-height:0;padding:0!important}.apexcharts-tooltip-y-group{padding:6px 0 5px}.apexcharts-tooltip-candlestick{padding:4px 8px}.apexcharts-tooltip-candlestick>div{margin:4px 0}.apexcharts-tooltip-candlestick span.value{font-weight:700}.apexcharts-tooltip-rangebar{padding:5px 8px}.apexcharts-tooltip-rangebar .category{font-weight:600;color:#777}.apexcharts-tooltip-rangebar .series-name{font-weight:700;display:block;margin-bottom:5px}.apexcharts-xaxistooltip{opacity:0;padding:9px 10px;pointer-events:none;color:#373d3f;font-size:13px;text-align:center;border-radius:2px;position:absolute;z-index:10;background:#eceff1;border:1px solid #90a4ae;transition:.15s ease all}.apexcharts-xaxistooltip.apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-xaxistooltip:after,.apexcharts-xaxistooltip:before{left:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-xaxistooltip:after{border-color:rgba(236,239,241,0);border-width:6px;margin-left:-6px}.apexcharts-xaxistooltip:before{border-color:rgba(144,164,174,0);border-width:7px;margin-left:-7px}.apexcharts-xaxistooltip-bottom:after,.apexcharts-xaxistooltip-bottom:before{bottom:100%}.apexcharts-xaxistooltip-top:after,.apexcharts-xaxistooltip-top:before{top:100%}.apexcharts-xaxistooltip-bottom:after{border-bottom-color:#eceff1}.apexcharts-xaxistooltip-bottom:before{border-bottom-color:#90a4ae}.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:after{border-bottom-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-bottom.apexcharts-theme-dark:before{border-bottom-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-top:after{border-top-color:#eceff1}.apexcharts-xaxistooltip-top:before{border-top-color:#90a4ae}.apexcharts-xaxistooltip-top.apexcharts-theme-dark:after{border-top-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip-top.apexcharts-theme-dark:before{border-top-color:rgba(0,0,0,.5)}.apexcharts-xaxistooltip.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-yaxistooltip{opacity:0;padding:4px 10px;pointer-events:none;color:#373d3f;font-size:13px;text-align:center;border-radius:2px;position:absolute;z-index:10;background:#eceff1;border:1px solid #90a4ae}.apexcharts-yaxistooltip.apexcharts-theme-dark{background:rgba(0,0,0,.7);border:1px solid rgba(0,0,0,.5);color:#fff}.apexcharts-yaxistooltip:after,.apexcharts-yaxistooltip:before{top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.apexcharts-yaxistooltip:after{border-color:rgba(236,239,241,0);border-width:6px;margin-top:-6px}.apexcharts-yaxistooltip:before{border-color:rgba(144,164,174,0);border-width:7px;margin-top:-7px}.apexcharts-yaxistooltip-left:after,.apexcharts-yaxistooltip-left:before{left:100%}.apexcharts-yaxistooltip-right:after,.apexcharts-yaxistooltip-right:before{right:100%}.apexcharts-yaxistooltip-left:after{border-left-color:#eceff1}.apexcharts-yaxistooltip-left:before{border-left-color:#90a4ae}.apexcharts-yaxistooltip-left.apexcharts-theme-dark:after{border-left-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-left.apexcharts-theme-dark:before{border-left-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-right:after{border-right-color:#eceff1}.apexcharts-yaxistooltip-right:before{border-right-color:#90a4ae}.apexcharts-yaxistooltip-right.apexcharts-theme-dark:after{border-right-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip-right.apexcharts-theme-dark:before{border-right-color:rgba(0,0,0,.5)}.apexcharts-yaxistooltip.apexcharts-active{opacity:1}.apexcharts-yaxistooltip-hidden{display:none}.apexcharts-xcrosshairs,.apexcharts-ycrosshairs{pointer-events:none;opacity:0;transition:.15s ease all}.apexcharts-xcrosshairs.apexcharts-active,.apexcharts-ycrosshairs.apexcharts-active{opacity:1;transition:.15s ease all}.apexcharts-ycrosshairs-hidden{opacity:0}.apexcharts-selection-rect{cursor:move}.svg_select_boundingRect,.svg_select_points_rot{pointer-events:none;opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_boundingRect,.apexcharts-selection-rect+g .svg_select_points_rot{opacity:0;visibility:hidden}.apexcharts-selection-rect+g .svg_select_points_l,.apexcharts-selection-rect+g .svg_select_points_r{cursor:ew-resize;opacity:1;visibility:visible}.svg_select_points{fill:#efefef;stroke:#333333;rx:2}.apexcharts-canvas.apexcharts-zoomable .hovering-zoom{cursor:crosshair}.apexcharts-canvas.apexcharts-zoomable .hovering-pan{cursor:move}.apexcharts-menu-icon,.apexcharts-pan-icon,.apexcharts-reset-icon,.apexcharts-selection-icon,.apexcharts-toolbar-custom-icon,.apexcharts-zoom-icon,.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{cursor:pointer;width:20px;height:20px;line-height:24px;color:#6e8192;text-align:center}.apexcharts-menu-icon svg,.apexcharts-reset-icon svg,.apexcharts-zoom-icon svg,.apexcharts-zoomin-icon svg,.apexcharts-zoomout-icon svg{fill:#6e8192}.apexcharts-selection-icon svg{fill:#444444;transform:scale(.76)}.apexcharts-theme-dark .apexcharts-menu-icon svg,.apexcharts-theme-dark .apexcharts-pan-icon svg,.apexcharts-theme-dark .apexcharts-reset-icon svg,.apexcharts-theme-dark .apexcharts-selection-icon svg,.apexcharts-theme-dark .apexcharts-toolbar-custom-icon svg,.apexcharts-theme-dark .apexcharts-zoom-icon svg,.apexcharts-theme-dark .apexcharts-zoomin-icon svg,.apexcharts-theme-dark .apexcharts-zoomout-icon svg{fill:#f3f4f5}.apexcharts-canvas .apexcharts-reset-zoom-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-selection-icon.apexcharts-selected svg,.apexcharts-canvas .apexcharts-zoom-icon.apexcharts-selected svg{fill:#008ffb}.apexcharts-theme-light .apexcharts-menu-icon:hover svg,.apexcharts-theme-light .apexcharts-reset-icon:hover svg,.apexcharts-theme-light .apexcharts-selection-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoom-icon:not(.apexcharts-selected):hover svg,.apexcharts-theme-light .apexcharts-zoomin-icon:hover svg,.apexcharts-theme-light .apexcharts-zoomout-icon:hover svg{fill:#333333}.apexcharts-menu-icon,.apexcharts-selection-icon{position:relative}.apexcharts-reset-icon{margin-left:5px}.apexcharts-menu-icon,.apexcharts-reset-icon,.apexcharts-zoom-icon{transform:scale(.85)}.apexcharts-zoomin-icon,.apexcharts-zoomout-icon{transform:scale(.7)}.apexcharts-zoomout-icon{margin-right:3px}.apexcharts-pan-icon{transform:scale(.62);position:relative;left:1px;top:0}.apexcharts-pan-icon svg{fill:#ffffff;stroke:#6e8192;stroke-width:2}.apexcharts-pan-icon.apexcharts-selected svg{stroke:#008ffb}.apexcharts-pan-icon:not(.apexcharts-selected):hover svg{stroke:#333333}.apexcharts-toolbar{position:absolute;z-index:11;max-width:176px;text-align:right;border-radius:3px;padding:0 6px 2px 6px;display:flex;justify-content:space-between;align-items:center}.apexcharts-menu{background:#fff;position:absolute;top:100%;border:1px solid #ddd;border-radius:3px;padding:3px;right:10px;opacity:0;min-width:110px;transition:.15s ease all;pointer-events:none}.apexcharts-menu.apexcharts-menu-open{opacity:1;pointer-events:all;transition:.15s ease all}.apexcharts-menu-item{padding:6px 7px;font-size:12px;cursor:pointer}.apexcharts-theme-light .apexcharts-menu-item:hover{background:#eee}.apexcharts-theme-dark .apexcharts-menu{background:rgba(0,0,0,.7);color:#fff}@media screen and (min-width:768px){.apexcharts-canvas:hover .apexcharts-toolbar{opacity:1}}.apexcharts-datalabel.apexcharts-element-hidden{opacity:0}.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value,.apexcharts-datalabels,.apexcharts-pie-label{cursor:default;pointer-events:none}.apexcharts-pie-label-delay{opacity:0;animation-name:opaque;animation-duration:.3s;animation-fill-mode:forwards;animation-timing-function:ease}.apexcharts-canvas .apexcharts-element-hidden{opacity:0}.apexcharts-hide .apexcharts-series-points{opacity:0}.apexcharts-annotation-rect,.apexcharts-area-series .apexcharts-area,.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-gridline,.apexcharts-line,.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,.apexcharts-radar-series path,.apexcharts-radar-series polygon,.apexcharts-toolbar svg,.apexcharts-tooltip .apexcharts-marker,.apexcharts-zoom-rect{pointer-events:none}.apexcharts-marker{transition:.15s ease all}@keyframes opaque{0%{opacity:0}100%{opacity:1}}@keyframes resizeanim{from{opacity:0}to{opacity:0}}.resize-triggers{animation:1ms resizeanim;visibility:hidden;opacity:0}.contract-trigger:before,.resize-triggers,.resize-triggers>div{content:" ";display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-triggers>div{background:#eee;overflow:auto}.contract-trigger:before{width:200%;height:200%} \ No newline at end of file diff --git a/assets/css/flags.css b/assets/css/flags.css index 58cbe37..7e3ab2f 100644 --- a/assets/css/flags.css +++ b/assets/css/flags.css @@ -1,1825 +1,11 @@ -@charset "UTF-8"; -.wu-flag-icon-background, .wu-flag-icon { - background-size: contain; - background-position: 50%; - background-repeat: no-repeat; -} - .wu-flag-icon { - position: relative; - display: inline-block; - width: 1.3333333333em; - line-height: 1; -} -.wu-flag-icon::before { - content: " "; + position: relative; + display: inline-block; + width: 1.3333333333em; + line-height: 1; + font-size: 1.3333333333em; + font-family: "Twemoji Country Flags", serif; } .wu-flag-icon.wu-flag-icon-squared { - width: 1em; + width: 1em; } - -.wu-flag-icon-ad { - background-image: url(../img/flags/4x3/ad.svg); -} -.wu-flag-icon-ad.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ad.svg); -} - -.wu-flag-icon-ae { - background-image: url(../img/flags/4x3/ae.svg); -} -.wu-flag-icon-ae.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ae.svg); -} - -.wu-flag-icon-af { - background-image: url(../img/flags/4x3/af.svg); -} -.wu-flag-icon-af.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/af.svg); -} - -.wu-flag-icon-ag { - background-image: url(../img/flags/4x3/ag.svg); -} -.wu-flag-icon-ag.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ag.svg); -} - -.wu-flag-icon-ai { - background-image: url(../img/flags/4x3/ai.svg); -} -.wu-flag-icon-ai.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ai.svg); -} - -.wu-flag-icon-al { - background-image: url(../img/flags/4x3/al.svg); -} -.wu-flag-icon-al.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/al.svg); -} - -.wu-flag-icon-am { - background-image: url(../img/flags/4x3/am.svg); -} -.wu-flag-icon-am.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/am.svg); -} - -.wu-flag-icon-ao { - background-image: url(../img/flags/4x3/ao.svg); -} -.wu-flag-icon-ao.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ao.svg); -} - -.wu-flag-icon-aq { - background-image: url(../img/flags/4x3/aq.svg); -} -.wu-flag-icon-aq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/aq.svg); -} - -.wu-flag-icon-ar { - background-image: url(../img/flags/4x3/ar.svg); -} -.wu-flag-icon-ar.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ar.svg); -} - -.wu-flag-icon-as { - background-image: url(../img/flags/4x3/as.svg); -} -.wu-flag-icon-as.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/as.svg); -} - -.wu-flag-icon-at { - background-image: url(../img/flags/4x3/at.svg); -} -.wu-flag-icon-at.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/at.svg); -} - -.wu-flag-icon-au { - background-image: url(../img/flags/4x3/au.svg); -} -.wu-flag-icon-au.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/au.svg); -} - -.wu-flag-icon-aw { - background-image: url(../img/flags/4x3/aw.svg); -} -.wu-flag-icon-aw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/aw.svg); -} - -.wu-flag-icon-ax { - background-image: url(../img/flags/4x3/ax.svg); -} -.wu-flag-icon-ax.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ax.svg); -} - -.wu-flag-icon-az { - background-image: url(../img/flags/4x3/az.svg); -} -.wu-flag-icon-az.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/az.svg); -} - -.wu-flag-icon-ba { - background-image: url(../img/flags/4x3/ba.svg); -} -.wu-flag-icon-ba.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ba.svg); -} - -.wu-flag-icon-bb { - background-image: url(../img/flags/4x3/bb.svg); -} -.wu-flag-icon-bb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bb.svg); -} - -.wu-flag-icon-bd { - background-image: url(../img/flags/4x3/bd.svg); -} -.wu-flag-icon-bd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bd.svg); -} - -.wu-flag-icon-be { - background-image: url(../img/flags/4x3/be.svg); -} -.wu-flag-icon-be.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/be.svg); -} - -.wu-flag-icon-bf { - background-image: url(../img/flags/4x3/bf.svg); -} -.wu-flag-icon-bf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bf.svg); -} - -.wu-flag-icon-bg { - background-image: url(../img/flags/4x3/bg.svg); -} -.wu-flag-icon-bg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bg.svg); -} - -.wu-flag-icon-bh { - background-image: url(../img/flags/4x3/bh.svg); -} -.wu-flag-icon-bh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bh.svg); -} - -.wu-flag-icon-bi { - background-image: url(../img/flags/4x3/bi.svg); -} -.wu-flag-icon-bi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bi.svg); -} - -.wu-flag-icon-bj { - background-image: url(../img/flags/4x3/bj.svg); -} -.wu-flag-icon-bj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bj.svg); -} - -.wu-flag-icon-bl { - background-image: url(../img/flags/4x3/bl.svg); -} -.wu-flag-icon-bl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bl.svg); -} - -.wu-flag-icon-bm { - background-image: url(../img/flags/4x3/bm.svg); -} -.wu-flag-icon-bm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bm.svg); -} - -.wu-flag-icon-bn { - background-image: url(../img/flags/4x3/bn.svg); -} -.wu-flag-icon-bn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bn.svg); -} - -.wu-flag-icon-bo { - background-image: url(../img/flags/4x3/bo.svg); -} -.wu-flag-icon-bo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bo.svg); -} - -.wu-flag-icon-bq { - background-image: url(../img/flags/4x3/bq.svg); -} -.wu-flag-icon-bq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bq.svg); -} - -.wu-flag-icon-br { - background-image: url(../img/flags/4x3/br.svg); -} -.wu-flag-icon-br.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/br.svg); -} - -.wu-flag-icon-bs { - background-image: url(../img/flags/4x3/bs.svg); -} -.wu-flag-icon-bs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bs.svg); -} - -.wu-flag-icon-bt { - background-image: url(../img/flags/4x3/bt.svg); -} -.wu-flag-icon-bt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bt.svg); -} - -.wu-flag-icon-bv { - background-image: url(../img/flags/4x3/bv.svg); -} -.wu-flag-icon-bv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bv.svg); -} - -.wu-flag-icon-bw { - background-image: url(../img/flags/4x3/bw.svg); -} -.wu-flag-icon-bw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bw.svg); -} - -.wu-flag-icon-by { - background-image: url(../img/flags/4x3/by.svg); -} -.wu-flag-icon-by.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/by.svg); -} - -.wu-flag-icon-bz { - background-image: url(../img/flags/4x3/bz.svg); -} -.wu-flag-icon-bz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bz.svg); -} - -.wu-flag-icon-ca { - background-image: url(../img/flags/4x3/ca.svg); -} -.wu-flag-icon-ca.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ca.svg); -} - -.wu-flag-icon-cc { - background-image: url(../img/flags/4x3/cc.svg); -} -.wu-flag-icon-cc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cc.svg); -} - -.wu-flag-icon-cd { - background-image: url(../img/flags/4x3/cd.svg); -} -.wu-flag-icon-cd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cd.svg); -} - -.wu-flag-icon-cf { - background-image: url(../img/flags/4x3/cf.svg); -} -.wu-flag-icon-cf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cf.svg); -} - -.wu-flag-icon-cg { - background-image: url(../img/flags/4x3/cg.svg); -} -.wu-flag-icon-cg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cg.svg); -} - -.wu-flag-icon-ch { - background-image: url(../img/flags/4x3/ch.svg); -} -.wu-flag-icon-ch.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ch.svg); -} - -.wu-flag-icon-ci { - background-image: url(../img/flags/4x3/ci.svg); -} -.wu-flag-icon-ci.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ci.svg); -} - -.wu-flag-icon-ck { - background-image: url(../img/flags/4x3/ck.svg); -} -.wu-flag-icon-ck.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ck.svg); -} - -.wu-flag-icon-cl { - background-image: url(../img/flags/4x3/cl.svg); -} -.wu-flag-icon-cl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cl.svg); -} - -.wu-flag-icon-cm { - background-image: url(../img/flags/4x3/cm.svg); -} -.wu-flag-icon-cm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cm.svg); -} - -.wu-flag-icon-cn { - background-image: url(../img/flags/4x3/cn.svg); -} -.wu-flag-icon-cn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cn.svg); -} - -.wu-flag-icon-co { - background-image: url(../img/flags/4x3/co.svg); -} -.wu-flag-icon-co.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/co.svg); -} - -.wu-flag-icon-cr { - background-image: url(../img/flags/4x3/cr.svg); -} -.wu-flag-icon-cr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cr.svg); -} - -.wu-flag-icon-cu { - background-image: url(../img/flags/4x3/cu.svg); -} -.wu-flag-icon-cu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cu.svg); -} - -.wu-flag-icon-cv { - background-image: url(../img/flags/4x3/cv.svg); -} -.wu-flag-icon-cv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cv.svg); -} - -.wu-flag-icon-cw { - background-image: url(../img/flags/4x3/cw.svg); -} -.wu-flag-icon-cw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cw.svg); -} - -.wu-flag-icon-cx { - background-image: url(../img/flags/4x3/cx.svg); -} -.wu-flag-icon-cx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cx.svg); -} - -.wu-flag-icon-cy { - background-image: url(../img/flags/4x3/cy.svg); -} -.wu-flag-icon-cy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cy.svg); -} - -.wu-flag-icon-cz { - background-image: url(../img/flags/4x3/cz.svg); -} -.wu-flag-icon-cz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cz.svg); -} - -.wu-flag-icon-de { - background-image: url(../img/flags/4x3/de.svg); -} -.wu-flag-icon-de.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/de.svg); -} - -.wu-flag-icon-dj { - background-image: url(../img/flags/4x3/dj.svg); -} -.wu-flag-icon-dj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dj.svg); -} - -.wu-flag-icon-dk { - background-image: url(../img/flags/4x3/dk.svg); -} -.wu-flag-icon-dk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dk.svg); -} - -.wu-flag-icon-dm { - background-image: url(../img/flags/4x3/dm.svg); -} -.wu-flag-icon-dm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dm.svg); -} - -.wu-flag-icon-do { - background-image: url(../img/flags/4x3/do.svg); -} -.wu-flag-icon-do.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/do.svg); -} - -.wu-flag-icon-dz { - background-image: url(../img/flags/4x3/dz.svg); -} -.wu-flag-icon-dz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dz.svg); -} - -.wu-flag-icon-ec { - background-image: url(../img/flags/4x3/ec.svg); -} -.wu-flag-icon-ec.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ec.svg); -} - -.wu-flag-icon-ee { - background-image: url(../img/flags/4x3/ee.svg); -} -.wu-flag-icon-ee.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ee.svg); -} - -.wu-flag-icon-eg { - background-image: url(../img/flags/4x3/eg.svg); -} -.wu-flag-icon-eg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eg.svg); -} - -.wu-flag-icon-eh { - background-image: url(../img/flags/4x3/eh.svg); -} -.wu-flag-icon-eh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eh.svg); -} - -.wu-flag-icon-er { - background-image: url(../img/flags/4x3/er.svg); -} -.wu-flag-icon-er.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/er.svg); -} - -.wu-flag-icon-es { - background-image: url(../img/flags/4x3/es.svg); -} -.wu-flag-icon-es.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es.svg); -} - -.wu-flag-icon-et { - background-image: url(../img/flags/4x3/et.svg); -} -.wu-flag-icon-et.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/et.svg); -} - -.wu-flag-icon-fi { - background-image: url(../img/flags/4x3/fi.svg); -} -.wu-flag-icon-fi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fi.svg); -} - -.wu-flag-icon-fj { - background-image: url(../img/flags/4x3/fj.svg); -} -.wu-flag-icon-fj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fj.svg); -} - -.wu-flag-icon-fk { - background-image: url(../img/flags/4x3/fk.svg); -} -.wu-flag-icon-fk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fk.svg); -} - -.wu-flag-icon-fm { - background-image: url(../img/flags/4x3/fm.svg); -} -.wu-flag-icon-fm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fm.svg); -} - -.wu-flag-icon-fo { - background-image: url(../img/flags/4x3/fo.svg); -} -.wu-flag-icon-fo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fo.svg); -} - -.wu-flag-icon-fr { - background-image: url(../img/flags/4x3/fr.svg); -} -.wu-flag-icon-fr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fr.svg); -} - -.wu-flag-icon-ga { - background-image: url(../img/flags/4x3/ga.svg); -} -.wu-flag-icon-ga.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ga.svg); -} - -.wu-flag-icon-gb { - background-image: url(../img/flags/4x3/gb.svg); -} -.wu-flag-icon-gb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb.svg); -} - -.wu-flag-icon-gd { - background-image: url(../img/flags/4x3/gd.svg); -} -.wu-flag-icon-gd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gd.svg); -} - -.wu-flag-icon-ge { - background-image: url(../img/flags/4x3/ge.svg); -} -.wu-flag-icon-ge.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ge.svg); -} - -.wu-flag-icon-gf { - background-image: url(../img/flags/4x3/gf.svg); -} -.wu-flag-icon-gf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gf.svg); -} - -.wu-flag-icon-gg { - background-image: url(../img/flags/4x3/gg.svg); -} -.wu-flag-icon-gg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gg.svg); -} - -.wu-flag-icon-gh { - background-image: url(../img/flags/4x3/gh.svg); -} -.wu-flag-icon-gh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gh.svg); -} - -.wu-flag-icon-gi { - background-image: url(../img/flags/4x3/gi.svg); -} -.wu-flag-icon-gi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gi.svg); -} - -.wu-flag-icon-gl { - background-image: url(../img/flags/4x3/gl.svg); -} -.wu-flag-icon-gl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gl.svg); -} - -.wu-flag-icon-gm { - background-image: url(../img/flags/4x3/gm.svg); -} -.wu-flag-icon-gm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gm.svg); -} - -.wu-flag-icon-gn { - background-image: url(../img/flags/4x3/gn.svg); -} -.wu-flag-icon-gn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gn.svg); -} - -.wu-flag-icon-gp { - background-image: url(../img/flags/4x3/gp.svg); -} -.wu-flag-icon-gp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gp.svg); -} - -.wu-flag-icon-gq { - background-image: url(../img/flags/4x3/gq.svg); -} -.wu-flag-icon-gq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gq.svg); -} - -.wu-flag-icon-gr { - background-image: url(../img/flags/4x3/gr.svg); -} -.wu-flag-icon-gr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gr.svg); -} - -.wu-flag-icon-gs { - background-image: url(../img/flags/4x3/gs.svg); -} -.wu-flag-icon-gs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gs.svg); -} - -.wu-flag-icon-gt { - background-image: url(../img/flags/4x3/gt.svg); -} -.wu-flag-icon-gt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gt.svg); -} - -.wu-flag-icon-gu { - background-image: url(../img/flags/4x3/gu.svg); -} -.wu-flag-icon-gu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gu.svg); -} - -.wu-flag-icon-gw { - background-image: url(../img/flags/4x3/gw.svg); -} -.wu-flag-icon-gw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gw.svg); -} - -.wu-flag-icon-gy { - background-image: url(../img/flags/4x3/gy.svg); -} -.wu-flag-icon-gy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gy.svg); -} - -.wu-flag-icon-hk { - background-image: url(../img/flags/4x3/hk.svg); -} -.wu-flag-icon-hk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hk.svg); -} - -.wu-flag-icon-hm { - background-image: url(../img/flags/4x3/hm.svg); -} -.wu-flag-icon-hm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hm.svg); -} - -.wu-flag-icon-hn { - background-image: url(../img/flags/4x3/hn.svg); -} -.wu-flag-icon-hn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hn.svg); -} - -.wu-flag-icon-hr { - background-image: url(../img/flags/4x3/hr.svg); -} -.wu-flag-icon-hr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hr.svg); -} - -.wu-flag-icon-ht { - background-image: url(../img/flags/4x3/ht.svg); -} -.wu-flag-icon-ht.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ht.svg); -} - -.wu-flag-icon-hu { - background-image: url(../img/flags/4x3/hu.svg); -} -.wu-flag-icon-hu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hu.svg); -} - -.wu-flag-icon-id { - background-image: url(../img/flags/4x3/id.svg); -} -.wu-flag-icon-id.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/id.svg); -} - -.wu-flag-icon-ie { - background-image: url(../img/flags/4x3/ie.svg); -} -.wu-flag-icon-ie.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ie.svg); -} - -.wu-flag-icon-il { - background-image: url(../img/flags/4x3/il.svg); -} -.wu-flag-icon-il.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/il.svg); -} - -.wu-flag-icon-im { - background-image: url(../img/flags/4x3/im.svg); -} -.wu-flag-icon-im.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/im.svg); -} - -.wu-flag-icon-in { - background-image: url(../img/flags/4x3/in.svg); -} -.wu-flag-icon-in.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/in.svg); -} - -.wu-flag-icon-io { - background-image: url(../img/flags/4x3/io.svg); -} -.wu-flag-icon-io.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/io.svg); -} - -.wu-flag-icon-iq { - background-image: url(../img/flags/4x3/iq.svg); -} -.wu-flag-icon-iq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/iq.svg); -} - -.wu-flag-icon-ir { - background-image: url(../img/flags/4x3/ir.svg); -} -.wu-flag-icon-ir.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ir.svg); -} - -.wu-flag-icon-is { - background-image: url(../img/flags/4x3/is.svg); -} -.wu-flag-icon-is.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/is.svg); -} - -.wu-flag-icon-it { - background-image: url(../img/flags/4x3/it.svg); -} -.wu-flag-icon-it.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/it.svg); -} - -.wu-flag-icon-je { - background-image: url(../img/flags/4x3/je.svg); -} -.wu-flag-icon-je.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/je.svg); -} - -.wu-flag-icon-jm { - background-image: url(../img/flags/4x3/jm.svg); -} -.wu-flag-icon-jm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jm.svg); -} - -.wu-flag-icon-jo { - background-image: url(../img/flags/4x3/jo.svg); -} -.wu-flag-icon-jo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jo.svg); -} - -.wu-flag-icon-jp { - background-image: url(../img/flags/4x3/jp.svg); -} -.wu-flag-icon-jp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jp.svg); -} - -.wu-flag-icon-ke { - background-image: url(../img/flags/4x3/ke.svg); -} -.wu-flag-icon-ke.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ke.svg); -} - -.wu-flag-icon-kg { - background-image: url(../img/flags/4x3/kg.svg); -} -.wu-flag-icon-kg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kg.svg); -} - -.wu-flag-icon-kh { - background-image: url(../img/flags/4x3/kh.svg); -} -.wu-flag-icon-kh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kh.svg); -} - -.wu-flag-icon-ki { - background-image: url(../img/flags/4x3/ki.svg); -} -.wu-flag-icon-ki.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ki.svg); -} - -.wu-flag-icon-km { - background-image: url(../img/flags/4x3/km.svg); -} -.wu-flag-icon-km.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/km.svg); -} - -.wu-flag-icon-kn { - background-image: url(../img/flags/4x3/kn.svg); -} -.wu-flag-icon-kn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kn.svg); -} - -.wu-flag-icon-kp { - background-image: url(../img/flags/4x3/kp.svg); -} -.wu-flag-icon-kp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kp.svg); -} - -.wu-flag-icon-kr { - background-image: url(../img/flags/4x3/kr.svg); -} -.wu-flag-icon-kr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kr.svg); -} - -.wu-flag-icon-kw { - background-image: url(../img/flags/4x3/kw.svg); -} -.wu-flag-icon-kw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kw.svg); -} - -.wu-flag-icon-ky { - background-image: url(../img/flags/4x3/ky.svg); -} -.wu-flag-icon-ky.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ky.svg); -} - -.wu-flag-icon-kz { - background-image: url(../img/flags/4x3/kz.svg); -} -.wu-flag-icon-kz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kz.svg); -} - -.wu-flag-icon-la { - background-image: url(../img/flags/4x3/la.svg); -} -.wu-flag-icon-la.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/la.svg); -} - -.wu-flag-icon-lb { - background-image: url(../img/flags/4x3/lb.svg); -} -.wu-flag-icon-lb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lb.svg); -} - -.wu-flag-icon-lc { - background-image: url(../img/flags/4x3/lc.svg); -} -.wu-flag-icon-lc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lc.svg); -} - -.wu-flag-icon-li { - background-image: url(../img/flags/4x3/li.svg); -} -.wu-flag-icon-li.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/li.svg); -} - -.wu-flag-icon-lk { - background-image: url(../img/flags/4x3/lk.svg); -} -.wu-flag-icon-lk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lk.svg); -} - -.wu-flag-icon-lr { - background-image: url(../img/flags/4x3/lr.svg); -} -.wu-flag-icon-lr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lr.svg); -} - -.wu-flag-icon-ls { - background-image: url(../img/flags/4x3/ls.svg); -} -.wu-flag-icon-ls.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ls.svg); -} - -.wu-flag-icon-lt { - background-image: url(../img/flags/4x3/lt.svg); -} -.wu-flag-icon-lt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lt.svg); -} - -.wu-flag-icon-lu { - background-image: url(../img/flags/4x3/lu.svg); -} -.wu-flag-icon-lu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lu.svg); -} - -.wu-flag-icon-lv { - background-image: url(../img/flags/4x3/lv.svg); -} -.wu-flag-icon-lv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lv.svg); -} - -.wu-flag-icon-ly { - background-image: url(../img/flags/4x3/ly.svg); -} -.wu-flag-icon-ly.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ly.svg); -} - -.wu-flag-icon-ma { - background-image: url(../img/flags/4x3/ma.svg); -} -.wu-flag-icon-ma.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ma.svg); -} - -.wu-flag-icon-mc { - background-image: url(../img/flags/4x3/mc.svg); -} -.wu-flag-icon-mc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mc.svg); -} - -.wu-flag-icon-md { - background-image: url(../img/flags/4x3/md.svg); -} -.wu-flag-icon-md.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/md.svg); -} - -.wu-flag-icon-me { - background-image: url(../img/flags/4x3/me.svg); -} -.wu-flag-icon-me.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/me.svg); -} - -.wu-flag-icon-mf { - background-image: url(../img/flags/4x3/mf.svg); -} -.wu-flag-icon-mf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mf.svg); -} - -.wu-flag-icon-mg { - background-image: url(../img/flags/4x3/mg.svg); -} -.wu-flag-icon-mg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mg.svg); -} - -.wu-flag-icon-mh { - background-image: url(../img/flags/4x3/mh.svg); -} -.wu-flag-icon-mh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mh.svg); -} - -.wu-flag-icon-mk { - background-image: url(../img/flags/4x3/mk.svg); -} -.wu-flag-icon-mk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mk.svg); -} - -.wu-flag-icon-ml { - background-image: url(../img/flags/4x3/ml.svg); -} -.wu-flag-icon-ml.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ml.svg); -} - -.wu-flag-icon-mm { - background-image: url(../img/flags/4x3/mm.svg); -} -.wu-flag-icon-mm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mm.svg); -} - -.wu-flag-icon-mn { - background-image: url(../img/flags/4x3/mn.svg); -} -.wu-flag-icon-mn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mn.svg); -} - -.wu-flag-icon-mo { - background-image: url(../img/flags/4x3/mo.svg); -} -.wu-flag-icon-mo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mo.svg); -} - -.wu-flag-icon-mp { - background-image: url(../img/flags/4x3/mp.svg); -} -.wu-flag-icon-mp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mp.svg); -} - -.wu-flag-icon-mq { - background-image: url(../img/flags/4x3/mq.svg); -} -.wu-flag-icon-mq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mq.svg); -} - -.wu-flag-icon-mr { - background-image: url(../img/flags/4x3/mr.svg); -} -.wu-flag-icon-mr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mr.svg); -} - -.wu-flag-icon-ms { - background-image: url(../img/flags/4x3/ms.svg); -} -.wu-flag-icon-ms.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ms.svg); -} - -.wu-flag-icon-mt { - background-image: url(../img/flags/4x3/mt.svg); -} -.wu-flag-icon-mt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mt.svg); -} - -.wu-flag-icon-mu { - background-image: url(../img/flags/4x3/mu.svg); -} -.wu-flag-icon-mu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mu.svg); -} - -.wu-flag-icon-mv { - background-image: url(../img/flags/4x3/mv.svg); -} -.wu-flag-icon-mv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mv.svg); -} - -.wu-flag-icon-mw { - background-image: url(../img/flags/4x3/mw.svg); -} -.wu-flag-icon-mw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mw.svg); -} - -.wu-flag-icon-mx { - background-image: url(../img/flags/4x3/mx.svg); -} -.wu-flag-icon-mx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mx.svg); -} - -.wu-flag-icon-my { - background-image: url(../img/flags/4x3/my.svg); -} -.wu-flag-icon-my.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/my.svg); -} - -.wu-flag-icon-mz { - background-image: url(../img/flags/4x3/mz.svg); -} -.wu-flag-icon-mz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mz.svg); -} - -.wu-flag-icon-na { - background-image: url(../img/flags/4x3/na.svg); -} -.wu-flag-icon-na.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/na.svg); -} - -.wu-flag-icon-nc { - background-image: url(../img/flags/4x3/nc.svg); -} -.wu-flag-icon-nc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nc.svg); -} - -.wu-flag-icon-ne { - background-image: url(../img/flags/4x3/ne.svg); -} -.wu-flag-icon-ne.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ne.svg); -} - -.wu-flag-icon-nf { - background-image: url(../img/flags/4x3/nf.svg); -} -.wu-flag-icon-nf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nf.svg); -} - -.wu-flag-icon-ng { - background-image: url(../img/flags/4x3/ng.svg); -} -.wu-flag-icon-ng.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ng.svg); -} - -.wu-flag-icon-ni { - background-image: url(../img/flags/4x3/ni.svg); -} -.wu-flag-icon-ni.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ni.svg); -} - -.wu-flag-icon-nl { - background-image: url(../img/flags/4x3/nl.svg); -} -.wu-flag-icon-nl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nl.svg); -} - -.wu-flag-icon-no { - background-image: url(../img/flags/4x3/no.svg); -} -.wu-flag-icon-no.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/no.svg); -} - -.wu-flag-icon-np { - background-image: url(../img/flags/4x3/np.svg); -} -.wu-flag-icon-np.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/np.svg); -} - -.wu-flag-icon-nr { - background-image: url(../img/flags/4x3/nr.svg); -} -.wu-flag-icon-nr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nr.svg); -} - -.wu-flag-icon-nu { - background-image: url(../img/flags/4x3/nu.svg); -} -.wu-flag-icon-nu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nu.svg); -} - -.wu-flag-icon-nz { - background-image: url(../img/flags/4x3/nz.svg); -} -.wu-flag-icon-nz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nz.svg); -} - -.wu-flag-icon-om { - background-image: url(../img/flags/4x3/om.svg); -} -.wu-flag-icon-om.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/om.svg); -} - -.wu-flag-icon-pa { - background-image: url(../img/flags/4x3/pa.svg); -} -.wu-flag-icon-pa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pa.svg); -} - -.wu-flag-icon-pe { - background-image: url(../img/flags/4x3/pe.svg); -} -.wu-flag-icon-pe.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pe.svg); -} - -.wu-flag-icon-pf { - background-image: url(../img/flags/4x3/pf.svg); -} -.wu-flag-icon-pf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pf.svg); -} - -.wu-flag-icon-pg { - background-image: url(../img/flags/4x3/pg.svg); -} -.wu-flag-icon-pg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pg.svg); -} - -.wu-flag-icon-ph { - background-image: url(../img/flags/4x3/ph.svg); -} -.wu-flag-icon-ph.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ph.svg); -} - -.wu-flag-icon-pk { - background-image: url(../img/flags/4x3/pk.svg); -} -.wu-flag-icon-pk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pk.svg); -} - -.wu-flag-icon-pl { - background-image: url(../img/flags/4x3/pl.svg); -} -.wu-flag-icon-pl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pl.svg); -} - -.wu-flag-icon-pm { - background-image: url(../img/flags/4x3/pm.svg); -} -.wu-flag-icon-pm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pm.svg); -} - -.wu-flag-icon-pn { - background-image: url(../img/flags/4x3/pn.svg); -} -.wu-flag-icon-pn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pn.svg); -} - -.wu-flag-icon-pr { - background-image: url(../img/flags/4x3/pr.svg); -} -.wu-flag-icon-pr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pr.svg); -} - -.wu-flag-icon-ps { - background-image: url(../img/flags/4x3/ps.svg); -} -.wu-flag-icon-ps.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ps.svg); -} - -.wu-flag-icon-pt { - background-image: url(../img/flags/4x3/pt.svg); -} -.wu-flag-icon-pt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pt.svg); -} - -.wu-flag-icon-pw { - background-image: url(../img/flags/4x3/pw.svg); -} -.wu-flag-icon-pw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pw.svg); -} - -.wu-flag-icon-py { - background-image: url(../img/flags/4x3/py.svg); -} -.wu-flag-icon-py.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/py.svg); -} - -.wu-flag-icon-qa { - background-image: url(../img/flags/4x3/qa.svg); -} -.wu-flag-icon-qa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/qa.svg); -} - -.wu-flag-icon-re { - background-image: url(../img/flags/4x3/re.svg); -} -.wu-flag-icon-re.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/re.svg); -} - -.wu-flag-icon-ro { - background-image: url(../img/flags/4x3/ro.svg); -} -.wu-flag-icon-ro.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ro.svg); -} - -.wu-flag-icon-rs { - background-image: url(../img/flags/4x3/rs.svg); -} -.wu-flag-icon-rs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/rs.svg); -} - -.wu-flag-icon-ru { - background-image: url(../img/flags/4x3/ru.svg); -} -.wu-flag-icon-ru.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ru.svg); -} - -.wu-flag-icon-rw { - background-image: url(../img/flags/4x3/rw.svg); -} -.wu-flag-icon-rw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/rw.svg); -} - -.wu-flag-icon-sa { - background-image: url(../img/flags/4x3/sa.svg); -} -.wu-flag-icon-sa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sa.svg); -} - -.wu-flag-icon-sb { - background-image: url(../img/flags/4x3/sb.svg); -} -.wu-flag-icon-sb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sb.svg); -} - -.wu-flag-icon-sc { - background-image: url(../img/flags/4x3/sc.svg); -} -.wu-flag-icon-sc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sc.svg); -} - -.wu-flag-icon-sd { - background-image: url(../img/flags/4x3/sd.svg); -} -.wu-flag-icon-sd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sd.svg); -} - -.wu-flag-icon-se { - background-image: url(../img/flags/4x3/se.svg); -} -.wu-flag-icon-se.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/se.svg); -} - -.wu-flag-icon-sg { - background-image: url(../img/flags/4x3/sg.svg); -} -.wu-flag-icon-sg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sg.svg); -} - -.wu-flag-icon-sh { - background-image: url(../img/flags/4x3/sh.svg); -} -.wu-flag-icon-sh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sh.svg); -} - -.wu-flag-icon-si { - background-image: url(../img/flags/4x3/si.svg); -} -.wu-flag-icon-si.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/si.svg); -} - -.wu-flag-icon-sj { - background-image: url(../img/flags/4x3/sj.svg); -} -.wu-flag-icon-sj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sj.svg); -} - -.wu-flag-icon-sk { - background-image: url(../img/flags/4x3/sk.svg); -} -.wu-flag-icon-sk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sk.svg); -} - -.wu-flag-icon-sl { - background-image: url(../img/flags/4x3/sl.svg); -} -.wu-flag-icon-sl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sl.svg); -} - -.wu-flag-icon-sm { - background-image: url(../img/flags/4x3/sm.svg); -} -.wu-flag-icon-sm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sm.svg); -} - -.wu-flag-icon-sn { - background-image: url(../img/flags/4x3/sn.svg); -} -.wu-flag-icon-sn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sn.svg); -} - -.wu-flag-icon-so { - background-image: url(../img/flags/4x3/so.svg); -} -.wu-flag-icon-so.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/so.svg); -} - -.wu-flag-icon-sr { - background-image: url(../img/flags/4x3/sr.svg); -} -.wu-flag-icon-sr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sr.svg); -} - -.wu-flag-icon-ss { - background-image: url(../img/flags/4x3/ss.svg); -} -.wu-flag-icon-ss.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ss.svg); -} - -.wu-flag-icon-st { - background-image: url(../img/flags/4x3/st.svg); -} -.wu-flag-icon-st.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/st.svg); -} - -.wu-flag-icon-sv { - background-image: url(../img/flags/4x3/sv.svg); -} -.wu-flag-icon-sv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sv.svg); -} - -.wu-flag-icon-sx { - background-image: url(../img/flags/4x3/sx.svg); -} -.wu-flag-icon-sx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sx.svg); -} - -.wu-flag-icon-sy { - background-image: url(../img/flags/4x3/sy.svg); -} -.wu-flag-icon-sy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sy.svg); -} - -.wu-flag-icon-sz { - background-image: url(../img/flags/4x3/sz.svg); -} -.wu-flag-icon-sz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sz.svg); -} - -.wu-flag-icon-tc { - background-image: url(../img/flags/4x3/tc.svg); -} -.wu-flag-icon-tc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tc.svg); -} - -.wu-flag-icon-td { - background-image: url(../img/flags/4x3/td.svg); -} -.wu-flag-icon-td.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/td.svg); -} - -.wu-flag-icon-tf { - background-image: url(../img/flags/4x3/tf.svg); -} -.wu-flag-icon-tf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tf.svg); -} - -.wu-flag-icon-tg { - background-image: url(../img/flags/4x3/tg.svg); -} -.wu-flag-icon-tg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tg.svg); -} - -.wu-flag-icon-th { - background-image: url(../img/flags/4x3/th.svg); -} -.wu-flag-icon-th.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/th.svg); -} - -.wu-flag-icon-tj { - background-image: url(../img/flags/4x3/tj.svg); -} -.wu-flag-icon-tj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tj.svg); -} - -.wu-flag-icon-tk { - background-image: url(../img/flags/4x3/tk.svg); -} -.wu-flag-icon-tk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tk.svg); -} - -.wu-flag-icon-tl { - background-image: url(../img/flags/4x3/tl.svg); -} -.wu-flag-icon-tl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tl.svg); -} - -.wu-flag-icon-tm { - background-image: url(../img/flags/4x3/tm.svg); -} -.wu-flag-icon-tm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tm.svg); -} - -.wu-flag-icon-tn { - background-image: url(../img/flags/4x3/tn.svg); -} -.wu-flag-icon-tn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tn.svg); -} - -.wu-flag-icon-to { - background-image: url(../img/flags/4x3/to.svg); -} -.wu-flag-icon-to.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/to.svg); -} - -.wu-flag-icon-tr { - background-image: url(../img/flags/4x3/tr.svg); -} -.wu-flag-icon-tr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tr.svg); -} - -.wu-flag-icon-tt { - background-image: url(../img/flags/4x3/tt.svg); -} -.wu-flag-icon-tt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tt.svg); -} - -.wu-flag-icon-tv { - background-image: url(../img/flags/4x3/tv.svg); -} -.wu-flag-icon-tv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tv.svg); -} - -.wu-flag-icon-tw { - background-image: url(../img/flags/4x3/tw.svg); -} -.wu-flag-icon-tw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tw.svg); -} - -.wu-flag-icon-tz { - background-image: url(../img/flags/4x3/tz.svg); -} -.wu-flag-icon-tz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tz.svg); -} - -.wu-flag-icon-ua { - background-image: url(../img/flags/4x3/ua.svg); -} -.wu-flag-icon-ua.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ua.svg); -} - -.wu-flag-icon-ug { - background-image: url(../img/flags/4x3/ug.svg); -} -.wu-flag-icon-ug.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ug.svg); -} - -.wu-flag-icon-um { - background-image: url(../img/flags/4x3/um.svg); -} -.wu-flag-icon-um.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/um.svg); -} - -.wu-flag-icon-us { - background-image: url(../img/flags/4x3/us.svg); -} -.wu-flag-icon-us.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/us.svg); -} - -.wu-flag-icon-uy { - background-image: url(../img/flags/4x3/uy.svg); -} -.wu-flag-icon-uy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/uy.svg); -} - -.wu-flag-icon-uz { - background-image: url(../img/flags/4x3/uz.svg); -} -.wu-flag-icon-uz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/uz.svg); -} - -.wu-flag-icon-va { - background-image: url(../img/flags/4x3/va.svg); -} -.wu-flag-icon-va.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/va.svg); -} - -.wu-flag-icon-vc { - background-image: url(../img/flags/4x3/vc.svg); -} -.wu-flag-icon-vc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vc.svg); -} - -.wu-flag-icon-ve { - background-image: url(../img/flags/4x3/ve.svg); -} -.wu-flag-icon-ve.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ve.svg); -} - -.wu-flag-icon-vg { - background-image: url(../img/flags/4x3/vg.svg); -} -.wu-flag-icon-vg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vg.svg); -} - -.wu-flag-icon-vi { - background-image: url(../img/flags/4x3/vi.svg); -} -.wu-flag-icon-vi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vi.svg); -} - -.wu-flag-icon-vn { - background-image: url(../img/flags/4x3/vn.svg); -} -.wu-flag-icon-vn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vn.svg); -} - -.wu-flag-icon-vu { - background-image: url(../img/flags/4x3/vu.svg); -} -.wu-flag-icon-vu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vu.svg); -} - -.wu-flag-icon-wf { - background-image: url(../img/flags/4x3/wf.svg); -} -.wu-flag-icon-wf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/wf.svg); -} - -.wu-flag-icon-ws { - background-image: url(../img/flags/4x3/ws.svg); -} -.wu-flag-icon-ws.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ws.svg); -} - -.wu-flag-icon-ye { - background-image: url(../img/flags/4x3/ye.svg); -} -.wu-flag-icon-ye.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ye.svg); -} - -.wu-flag-icon-yt { - background-image: url(../img/flags/4x3/yt.svg); -} -.wu-flag-icon-yt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/yt.svg); -} - -.wu-flag-icon-za { - background-image: url(../img/flags/4x3/za.svg); -} -.wu-flag-icon-za.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/za.svg); -} - -.wu-flag-icon-zm { - background-image: url(../img/flags/4x3/zm.svg); -} -.wu-flag-icon-zm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/zm.svg); -} - -.wu-flag-icon-zw { - background-image: url(../img/flags/4x3/zw.svg); -} -.wu-flag-icon-zw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/zw.svg); -} - -.wu-flag-icon-es-ca { - background-image: url(../img/flags/4x3/es-ca.svg); -} -.wu-flag-icon-es-ca.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es-ca.svg); -} - -.wu-flag-icon-es-ga { - background-image: url(../img/flags/4x3/es-ga.svg); -} -.wu-flag-icon-es-ga.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es-ga.svg); -} - -.wu-flag-icon-eu { - background-image: url(../img/flags/4x3/eu.svg); -} -.wu-flag-icon-eu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eu.svg); -} - -.wu-flag-icon-gb-eng { - background-image: url(../img/flags/4x3/gb-eng.svg); -} -.wu-flag-icon-gb-eng.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-eng.svg); -} - -.wu-flag-icon-gb-nir { - background-image: url(../img/flags/4x3/gb-nir.svg); -} -.wu-flag-icon-gb-nir.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-nir.svg); -} - -.wu-flag-icon-gb-sct { - background-image: url(../img/flags/4x3/gb-sct.svg); -} -.wu-flag-icon-gb-sct.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-sct.svg); -} - -.wu-flag-icon-gb-wls { - background-image: url(../img/flags/4x3/gb-wls.svg); -} -.wu-flag-icon-gb-wls.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-wls.svg); -} - -.wu-flag-icon-un { - background-image: url(../img/flags/4x3/un.svg); -} -.wu-flag-icon-un.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/un.svg); -} - -.wu-flag-icon-xk { - background-image: url(../img/flags/4x3/xk.svg); -} -.wu-flag-icon-xk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/xk.svg); -} \ No newline at end of file diff --git a/assets/css/flags.min.css b/assets/css/flags.min.css index df883af..9f536a8 100644 --- a/assets/css/flags.min.css +++ b/assets/css/flags.min.css @@ -1 +1 @@ -@charset "UTF-8";.wu-flag-icon,.wu-flag-icon-background{background-size:contain;background-position:50%;background-repeat:no-repeat}.wu-flag-icon{position:relative;display:inline-block;width:1.3333333333em;line-height:1}.wu-flag-icon::before{content:" "}.wu-flag-icon.wu-flag-icon-squared{width:1em}.wu-flag-icon-ad{background-image:url(../img/flags/4x3/ad.svg)}.wu-flag-icon-ad.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ad.svg)}.wu-flag-icon-ae{background-image:url(../img/flags/4x3/ae.svg)}.wu-flag-icon-ae.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ae.svg)}.wu-flag-icon-af{background-image:url(../img/flags/4x3/af.svg)}.wu-flag-icon-af.wu-flag-icon-squared{background-image:url(../img/flags/1x1/af.svg)}.wu-flag-icon-ag{background-image:url(../img/flags/4x3/ag.svg)}.wu-flag-icon-ag.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ag.svg)}.wu-flag-icon-ai{background-image:url(../img/flags/4x3/ai.svg)}.wu-flag-icon-ai.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ai.svg)}.wu-flag-icon-al{background-image:url(../img/flags/4x3/al.svg)}.wu-flag-icon-al.wu-flag-icon-squared{background-image:url(../img/flags/1x1/al.svg)}.wu-flag-icon-am{background-image:url(../img/flags/4x3/am.svg)}.wu-flag-icon-am.wu-flag-icon-squared{background-image:url(../img/flags/1x1/am.svg)}.wu-flag-icon-ao{background-image:url(../img/flags/4x3/ao.svg)}.wu-flag-icon-ao.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ao.svg)}.wu-flag-icon-aq{background-image:url(../img/flags/4x3/aq.svg)}.wu-flag-icon-aq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/aq.svg)}.wu-flag-icon-ar{background-image:url(../img/flags/4x3/ar.svg)}.wu-flag-icon-ar.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ar.svg)}.wu-flag-icon-as{background-image:url(../img/flags/4x3/as.svg)}.wu-flag-icon-as.wu-flag-icon-squared{background-image:url(../img/flags/1x1/as.svg)}.wu-flag-icon-at{background-image:url(../img/flags/4x3/at.svg)}.wu-flag-icon-at.wu-flag-icon-squared{background-image:url(../img/flags/1x1/at.svg)}.wu-flag-icon-au{background-image:url(../img/flags/4x3/au.svg)}.wu-flag-icon-au.wu-flag-icon-squared{background-image:url(../img/flags/1x1/au.svg)}.wu-flag-icon-aw{background-image:url(../img/flags/4x3/aw.svg)}.wu-flag-icon-aw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/aw.svg)}.wu-flag-icon-ax{background-image:url(../img/flags/4x3/ax.svg)}.wu-flag-icon-ax.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ax.svg)}.wu-flag-icon-az{background-image:url(../img/flags/4x3/az.svg)}.wu-flag-icon-az.wu-flag-icon-squared{background-image:url(../img/flags/1x1/az.svg)}.wu-flag-icon-ba{background-image:url(../img/flags/4x3/ba.svg)}.wu-flag-icon-ba.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ba.svg)}.wu-flag-icon-bb{background-image:url(../img/flags/4x3/bb.svg)}.wu-flag-icon-bb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bb.svg)}.wu-flag-icon-bd{background-image:url(../img/flags/4x3/bd.svg)}.wu-flag-icon-bd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bd.svg)}.wu-flag-icon-be{background-image:url(../img/flags/4x3/be.svg)}.wu-flag-icon-be.wu-flag-icon-squared{background-image:url(../img/flags/1x1/be.svg)}.wu-flag-icon-bf{background-image:url(../img/flags/4x3/bf.svg)}.wu-flag-icon-bf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bf.svg)}.wu-flag-icon-bg{background-image:url(../img/flags/4x3/bg.svg)}.wu-flag-icon-bg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bg.svg)}.wu-flag-icon-bh{background-image:url(../img/flags/4x3/bh.svg)}.wu-flag-icon-bh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bh.svg)}.wu-flag-icon-bi{background-image:url(../img/flags/4x3/bi.svg)}.wu-flag-icon-bi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bi.svg)}.wu-flag-icon-bj{background-image:url(../img/flags/4x3/bj.svg)}.wu-flag-icon-bj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bj.svg)}.wu-flag-icon-bl{background-image:url(../img/flags/4x3/bl.svg)}.wu-flag-icon-bl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bl.svg)}.wu-flag-icon-bm{background-image:url(../img/flags/4x3/bm.svg)}.wu-flag-icon-bm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bm.svg)}.wu-flag-icon-bn{background-image:url(../img/flags/4x3/bn.svg)}.wu-flag-icon-bn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bn.svg)}.wu-flag-icon-bo{background-image:url(../img/flags/4x3/bo.svg)}.wu-flag-icon-bo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bo.svg)}.wu-flag-icon-bq{background-image:url(../img/flags/4x3/bq.svg)}.wu-flag-icon-bq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bq.svg)}.wu-flag-icon-br{background-image:url(../img/flags/4x3/br.svg)}.wu-flag-icon-br.wu-flag-icon-squared{background-image:url(../img/flags/1x1/br.svg)}.wu-flag-icon-bs{background-image:url(../img/flags/4x3/bs.svg)}.wu-flag-icon-bs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bs.svg)}.wu-flag-icon-bt{background-image:url(../img/flags/4x3/bt.svg)}.wu-flag-icon-bt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bt.svg)}.wu-flag-icon-bv{background-image:url(../img/flags/4x3/bv.svg)}.wu-flag-icon-bv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bv.svg)}.wu-flag-icon-bw{background-image:url(../img/flags/4x3/bw.svg)}.wu-flag-icon-bw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bw.svg)}.wu-flag-icon-by{background-image:url(../img/flags/4x3/by.svg)}.wu-flag-icon-by.wu-flag-icon-squared{background-image:url(../img/flags/1x1/by.svg)}.wu-flag-icon-bz{background-image:url(../img/flags/4x3/bz.svg)}.wu-flag-icon-bz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bz.svg)}.wu-flag-icon-ca{background-image:url(../img/flags/4x3/ca.svg)}.wu-flag-icon-ca.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ca.svg)}.wu-flag-icon-cc{background-image:url(../img/flags/4x3/cc.svg)}.wu-flag-icon-cc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cc.svg)}.wu-flag-icon-cd{background-image:url(../img/flags/4x3/cd.svg)}.wu-flag-icon-cd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cd.svg)}.wu-flag-icon-cf{background-image:url(../img/flags/4x3/cf.svg)}.wu-flag-icon-cf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cf.svg)}.wu-flag-icon-cg{background-image:url(../img/flags/4x3/cg.svg)}.wu-flag-icon-cg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cg.svg)}.wu-flag-icon-ch{background-image:url(../img/flags/4x3/ch.svg)}.wu-flag-icon-ch.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ch.svg)}.wu-flag-icon-ci{background-image:url(../img/flags/4x3/ci.svg)}.wu-flag-icon-ci.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ci.svg)}.wu-flag-icon-ck{background-image:url(../img/flags/4x3/ck.svg)}.wu-flag-icon-ck.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ck.svg)}.wu-flag-icon-cl{background-image:url(../img/flags/4x3/cl.svg)}.wu-flag-icon-cl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cl.svg)}.wu-flag-icon-cm{background-image:url(../img/flags/4x3/cm.svg)}.wu-flag-icon-cm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cm.svg)}.wu-flag-icon-cn{background-image:url(../img/flags/4x3/cn.svg)}.wu-flag-icon-cn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cn.svg)}.wu-flag-icon-co{background-image:url(../img/flags/4x3/co.svg)}.wu-flag-icon-co.wu-flag-icon-squared{background-image:url(../img/flags/1x1/co.svg)}.wu-flag-icon-cr{background-image:url(../img/flags/4x3/cr.svg)}.wu-flag-icon-cr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cr.svg)}.wu-flag-icon-cu{background-image:url(../img/flags/4x3/cu.svg)}.wu-flag-icon-cu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cu.svg)}.wu-flag-icon-cv{background-image:url(../img/flags/4x3/cv.svg)}.wu-flag-icon-cv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cv.svg)}.wu-flag-icon-cw{background-image:url(../img/flags/4x3/cw.svg)}.wu-flag-icon-cw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cw.svg)}.wu-flag-icon-cx{background-image:url(../img/flags/4x3/cx.svg)}.wu-flag-icon-cx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cx.svg)}.wu-flag-icon-cy{background-image:url(../img/flags/4x3/cy.svg)}.wu-flag-icon-cy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cy.svg)}.wu-flag-icon-cz{background-image:url(../img/flags/4x3/cz.svg)}.wu-flag-icon-cz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cz.svg)}.wu-flag-icon-de{background-image:url(../img/flags/4x3/de.svg)}.wu-flag-icon-de.wu-flag-icon-squared{background-image:url(../img/flags/1x1/de.svg)}.wu-flag-icon-dj{background-image:url(../img/flags/4x3/dj.svg)}.wu-flag-icon-dj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dj.svg)}.wu-flag-icon-dk{background-image:url(../img/flags/4x3/dk.svg)}.wu-flag-icon-dk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dk.svg)}.wu-flag-icon-dm{background-image:url(../img/flags/4x3/dm.svg)}.wu-flag-icon-dm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dm.svg)}.wu-flag-icon-do{background-image:url(../img/flags/4x3/do.svg)}.wu-flag-icon-do.wu-flag-icon-squared{background-image:url(../img/flags/1x1/do.svg)}.wu-flag-icon-dz{background-image:url(../img/flags/4x3/dz.svg)}.wu-flag-icon-dz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dz.svg)}.wu-flag-icon-ec{background-image:url(../img/flags/4x3/ec.svg)}.wu-flag-icon-ec.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ec.svg)}.wu-flag-icon-ee{background-image:url(../img/flags/4x3/ee.svg)}.wu-flag-icon-ee.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ee.svg)}.wu-flag-icon-eg{background-image:url(../img/flags/4x3/eg.svg)}.wu-flag-icon-eg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eg.svg)}.wu-flag-icon-eh{background-image:url(../img/flags/4x3/eh.svg)}.wu-flag-icon-eh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eh.svg)}.wu-flag-icon-er{background-image:url(../img/flags/4x3/er.svg)}.wu-flag-icon-er.wu-flag-icon-squared{background-image:url(../img/flags/1x1/er.svg)}.wu-flag-icon-es{background-image:url(../img/flags/4x3/es.svg)}.wu-flag-icon-es.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es.svg)}.wu-flag-icon-et{background-image:url(../img/flags/4x3/et.svg)}.wu-flag-icon-et.wu-flag-icon-squared{background-image:url(../img/flags/1x1/et.svg)}.wu-flag-icon-fi{background-image:url(../img/flags/4x3/fi.svg)}.wu-flag-icon-fi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fi.svg)}.wu-flag-icon-fj{background-image:url(../img/flags/4x3/fj.svg)}.wu-flag-icon-fj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fj.svg)}.wu-flag-icon-fk{background-image:url(../img/flags/4x3/fk.svg)}.wu-flag-icon-fk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fk.svg)}.wu-flag-icon-fm{background-image:url(../img/flags/4x3/fm.svg)}.wu-flag-icon-fm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fm.svg)}.wu-flag-icon-fo{background-image:url(../img/flags/4x3/fo.svg)}.wu-flag-icon-fo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fo.svg)}.wu-flag-icon-fr{background-image:url(../img/flags/4x3/fr.svg)}.wu-flag-icon-fr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fr.svg)}.wu-flag-icon-ga{background-image:url(../img/flags/4x3/ga.svg)}.wu-flag-icon-ga.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ga.svg)}.wu-flag-icon-gb{background-image:url(../img/flags/4x3/gb.svg)}.wu-flag-icon-gb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb.svg)}.wu-flag-icon-gd{background-image:url(../img/flags/4x3/gd.svg)}.wu-flag-icon-gd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gd.svg)}.wu-flag-icon-ge{background-image:url(../img/flags/4x3/ge.svg)}.wu-flag-icon-ge.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ge.svg)}.wu-flag-icon-gf{background-image:url(../img/flags/4x3/gf.svg)}.wu-flag-icon-gf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gf.svg)}.wu-flag-icon-gg{background-image:url(../img/flags/4x3/gg.svg)}.wu-flag-icon-gg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gg.svg)}.wu-flag-icon-gh{background-image:url(../img/flags/4x3/gh.svg)}.wu-flag-icon-gh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gh.svg)}.wu-flag-icon-gi{background-image:url(../img/flags/4x3/gi.svg)}.wu-flag-icon-gi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gi.svg)}.wu-flag-icon-gl{background-image:url(../img/flags/4x3/gl.svg)}.wu-flag-icon-gl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gl.svg)}.wu-flag-icon-gm{background-image:url(../img/flags/4x3/gm.svg)}.wu-flag-icon-gm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gm.svg)}.wu-flag-icon-gn{background-image:url(../img/flags/4x3/gn.svg)}.wu-flag-icon-gn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gn.svg)}.wu-flag-icon-gp{background-image:url(../img/flags/4x3/gp.svg)}.wu-flag-icon-gp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gp.svg)}.wu-flag-icon-gq{background-image:url(../img/flags/4x3/gq.svg)}.wu-flag-icon-gq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gq.svg)}.wu-flag-icon-gr{background-image:url(../img/flags/4x3/gr.svg)}.wu-flag-icon-gr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gr.svg)}.wu-flag-icon-gs{background-image:url(../img/flags/4x3/gs.svg)}.wu-flag-icon-gs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gs.svg)}.wu-flag-icon-gt{background-image:url(../img/flags/4x3/gt.svg)}.wu-flag-icon-gt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gt.svg)}.wu-flag-icon-gu{background-image:url(../img/flags/4x3/gu.svg)}.wu-flag-icon-gu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gu.svg)}.wu-flag-icon-gw{background-image:url(../img/flags/4x3/gw.svg)}.wu-flag-icon-gw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gw.svg)}.wu-flag-icon-gy{background-image:url(../img/flags/4x3/gy.svg)}.wu-flag-icon-gy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gy.svg)}.wu-flag-icon-hk{background-image:url(../img/flags/4x3/hk.svg)}.wu-flag-icon-hk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hk.svg)}.wu-flag-icon-hm{background-image:url(../img/flags/4x3/hm.svg)}.wu-flag-icon-hm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hm.svg)}.wu-flag-icon-hn{background-image:url(../img/flags/4x3/hn.svg)}.wu-flag-icon-hn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hn.svg)}.wu-flag-icon-hr{background-image:url(../img/flags/4x3/hr.svg)}.wu-flag-icon-hr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hr.svg)}.wu-flag-icon-ht{background-image:url(../img/flags/4x3/ht.svg)}.wu-flag-icon-ht.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ht.svg)}.wu-flag-icon-hu{background-image:url(../img/flags/4x3/hu.svg)}.wu-flag-icon-hu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hu.svg)}.wu-flag-icon-id{background-image:url(../img/flags/4x3/id.svg)}.wu-flag-icon-id.wu-flag-icon-squared{background-image:url(../img/flags/1x1/id.svg)}.wu-flag-icon-ie{background-image:url(../img/flags/4x3/ie.svg)}.wu-flag-icon-ie.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ie.svg)}.wu-flag-icon-il{background-image:url(../img/flags/4x3/il.svg)}.wu-flag-icon-il.wu-flag-icon-squared{background-image:url(../img/flags/1x1/il.svg)}.wu-flag-icon-im{background-image:url(../img/flags/4x3/im.svg)}.wu-flag-icon-im.wu-flag-icon-squared{background-image:url(../img/flags/1x1/im.svg)}.wu-flag-icon-in{background-image:url(../img/flags/4x3/in.svg)}.wu-flag-icon-in.wu-flag-icon-squared{background-image:url(../img/flags/1x1/in.svg)}.wu-flag-icon-io{background-image:url(../img/flags/4x3/io.svg)}.wu-flag-icon-io.wu-flag-icon-squared{background-image:url(../img/flags/1x1/io.svg)}.wu-flag-icon-iq{background-image:url(../img/flags/4x3/iq.svg)}.wu-flag-icon-iq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/iq.svg)}.wu-flag-icon-ir{background-image:url(../img/flags/4x3/ir.svg)}.wu-flag-icon-ir.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ir.svg)}.wu-flag-icon-is{background-image:url(../img/flags/4x3/is.svg)}.wu-flag-icon-is.wu-flag-icon-squared{background-image:url(../img/flags/1x1/is.svg)}.wu-flag-icon-it{background-image:url(../img/flags/4x3/it.svg)}.wu-flag-icon-it.wu-flag-icon-squared{background-image:url(../img/flags/1x1/it.svg)}.wu-flag-icon-je{background-image:url(../img/flags/4x3/je.svg)}.wu-flag-icon-je.wu-flag-icon-squared{background-image:url(../img/flags/1x1/je.svg)}.wu-flag-icon-jm{background-image:url(../img/flags/4x3/jm.svg)}.wu-flag-icon-jm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jm.svg)}.wu-flag-icon-jo{background-image:url(../img/flags/4x3/jo.svg)}.wu-flag-icon-jo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jo.svg)}.wu-flag-icon-jp{background-image:url(../img/flags/4x3/jp.svg)}.wu-flag-icon-jp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jp.svg)}.wu-flag-icon-ke{background-image:url(../img/flags/4x3/ke.svg)}.wu-flag-icon-ke.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ke.svg)}.wu-flag-icon-kg{background-image:url(../img/flags/4x3/kg.svg)}.wu-flag-icon-kg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kg.svg)}.wu-flag-icon-kh{background-image:url(../img/flags/4x3/kh.svg)}.wu-flag-icon-kh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kh.svg)}.wu-flag-icon-ki{background-image:url(../img/flags/4x3/ki.svg)}.wu-flag-icon-ki.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ki.svg)}.wu-flag-icon-km{background-image:url(../img/flags/4x3/km.svg)}.wu-flag-icon-km.wu-flag-icon-squared{background-image:url(../img/flags/1x1/km.svg)}.wu-flag-icon-kn{background-image:url(../img/flags/4x3/kn.svg)}.wu-flag-icon-kn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kn.svg)}.wu-flag-icon-kp{background-image:url(../img/flags/4x3/kp.svg)}.wu-flag-icon-kp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kp.svg)}.wu-flag-icon-kr{background-image:url(../img/flags/4x3/kr.svg)}.wu-flag-icon-kr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kr.svg)}.wu-flag-icon-kw{background-image:url(../img/flags/4x3/kw.svg)}.wu-flag-icon-kw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kw.svg)}.wu-flag-icon-ky{background-image:url(../img/flags/4x3/ky.svg)}.wu-flag-icon-ky.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ky.svg)}.wu-flag-icon-kz{background-image:url(../img/flags/4x3/kz.svg)}.wu-flag-icon-kz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kz.svg)}.wu-flag-icon-la{background-image:url(../img/flags/4x3/la.svg)}.wu-flag-icon-la.wu-flag-icon-squared{background-image:url(../img/flags/1x1/la.svg)}.wu-flag-icon-lb{background-image:url(../img/flags/4x3/lb.svg)}.wu-flag-icon-lb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lb.svg)}.wu-flag-icon-lc{background-image:url(../img/flags/4x3/lc.svg)}.wu-flag-icon-lc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lc.svg)}.wu-flag-icon-li{background-image:url(../img/flags/4x3/li.svg)}.wu-flag-icon-li.wu-flag-icon-squared{background-image:url(../img/flags/1x1/li.svg)}.wu-flag-icon-lk{background-image:url(../img/flags/4x3/lk.svg)}.wu-flag-icon-lk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lk.svg)}.wu-flag-icon-lr{background-image:url(../img/flags/4x3/lr.svg)}.wu-flag-icon-lr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lr.svg)}.wu-flag-icon-ls{background-image:url(../img/flags/4x3/ls.svg)}.wu-flag-icon-ls.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ls.svg)}.wu-flag-icon-lt{background-image:url(../img/flags/4x3/lt.svg)}.wu-flag-icon-lt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lt.svg)}.wu-flag-icon-lu{background-image:url(../img/flags/4x3/lu.svg)}.wu-flag-icon-lu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lu.svg)}.wu-flag-icon-lv{background-image:url(../img/flags/4x3/lv.svg)}.wu-flag-icon-lv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lv.svg)}.wu-flag-icon-ly{background-image:url(../img/flags/4x3/ly.svg)}.wu-flag-icon-ly.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ly.svg)}.wu-flag-icon-ma{background-image:url(../img/flags/4x3/ma.svg)}.wu-flag-icon-ma.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ma.svg)}.wu-flag-icon-mc{background-image:url(../img/flags/4x3/mc.svg)}.wu-flag-icon-mc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mc.svg)}.wu-flag-icon-md{background-image:url(../img/flags/4x3/md.svg)}.wu-flag-icon-md.wu-flag-icon-squared{background-image:url(../img/flags/1x1/md.svg)}.wu-flag-icon-me{background-image:url(../img/flags/4x3/me.svg)}.wu-flag-icon-me.wu-flag-icon-squared{background-image:url(../img/flags/1x1/me.svg)}.wu-flag-icon-mf{background-image:url(../img/flags/4x3/mf.svg)}.wu-flag-icon-mf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mf.svg)}.wu-flag-icon-mg{background-image:url(../img/flags/4x3/mg.svg)}.wu-flag-icon-mg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mg.svg)}.wu-flag-icon-mh{background-image:url(../img/flags/4x3/mh.svg)}.wu-flag-icon-mh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mh.svg)}.wu-flag-icon-mk{background-image:url(../img/flags/4x3/mk.svg)}.wu-flag-icon-mk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mk.svg)}.wu-flag-icon-ml{background-image:url(../img/flags/4x3/ml.svg)}.wu-flag-icon-ml.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ml.svg)}.wu-flag-icon-mm{background-image:url(../img/flags/4x3/mm.svg)}.wu-flag-icon-mm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mm.svg)}.wu-flag-icon-mn{background-image:url(../img/flags/4x3/mn.svg)}.wu-flag-icon-mn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mn.svg)}.wu-flag-icon-mo{background-image:url(../img/flags/4x3/mo.svg)}.wu-flag-icon-mo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mo.svg)}.wu-flag-icon-mp{background-image:url(../img/flags/4x3/mp.svg)}.wu-flag-icon-mp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mp.svg)}.wu-flag-icon-mq{background-image:url(../img/flags/4x3/mq.svg)}.wu-flag-icon-mq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mq.svg)}.wu-flag-icon-mr{background-image:url(../img/flags/4x3/mr.svg)}.wu-flag-icon-mr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mr.svg)}.wu-flag-icon-ms{background-image:url(../img/flags/4x3/ms.svg)}.wu-flag-icon-ms.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ms.svg)}.wu-flag-icon-mt{background-image:url(../img/flags/4x3/mt.svg)}.wu-flag-icon-mt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mt.svg)}.wu-flag-icon-mu{background-image:url(../img/flags/4x3/mu.svg)}.wu-flag-icon-mu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mu.svg)}.wu-flag-icon-mv{background-image:url(../img/flags/4x3/mv.svg)}.wu-flag-icon-mv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mv.svg)}.wu-flag-icon-mw{background-image:url(../img/flags/4x3/mw.svg)}.wu-flag-icon-mw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mw.svg)}.wu-flag-icon-mx{background-image:url(../img/flags/4x3/mx.svg)}.wu-flag-icon-mx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mx.svg)}.wu-flag-icon-my{background-image:url(../img/flags/4x3/my.svg)}.wu-flag-icon-my.wu-flag-icon-squared{background-image:url(../img/flags/1x1/my.svg)}.wu-flag-icon-mz{background-image:url(../img/flags/4x3/mz.svg)}.wu-flag-icon-mz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mz.svg)}.wu-flag-icon-na{background-image:url(../img/flags/4x3/na.svg)}.wu-flag-icon-na.wu-flag-icon-squared{background-image:url(../img/flags/1x1/na.svg)}.wu-flag-icon-nc{background-image:url(../img/flags/4x3/nc.svg)}.wu-flag-icon-nc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nc.svg)}.wu-flag-icon-ne{background-image:url(../img/flags/4x3/ne.svg)}.wu-flag-icon-ne.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ne.svg)}.wu-flag-icon-nf{background-image:url(../img/flags/4x3/nf.svg)}.wu-flag-icon-nf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nf.svg)}.wu-flag-icon-ng{background-image:url(../img/flags/4x3/ng.svg)}.wu-flag-icon-ng.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ng.svg)}.wu-flag-icon-ni{background-image:url(../img/flags/4x3/ni.svg)}.wu-flag-icon-ni.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ni.svg)}.wu-flag-icon-nl{background-image:url(../img/flags/4x3/nl.svg)}.wu-flag-icon-nl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nl.svg)}.wu-flag-icon-no{background-image:url(../img/flags/4x3/no.svg)}.wu-flag-icon-no.wu-flag-icon-squared{background-image:url(../img/flags/1x1/no.svg)}.wu-flag-icon-np{background-image:url(../img/flags/4x3/np.svg)}.wu-flag-icon-np.wu-flag-icon-squared{background-image:url(../img/flags/1x1/np.svg)}.wu-flag-icon-nr{background-image:url(../img/flags/4x3/nr.svg)}.wu-flag-icon-nr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nr.svg)}.wu-flag-icon-nu{background-image:url(../img/flags/4x3/nu.svg)}.wu-flag-icon-nu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nu.svg)}.wu-flag-icon-nz{background-image:url(../img/flags/4x3/nz.svg)}.wu-flag-icon-nz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nz.svg)}.wu-flag-icon-om{background-image:url(../img/flags/4x3/om.svg)}.wu-flag-icon-om.wu-flag-icon-squared{background-image:url(../img/flags/1x1/om.svg)}.wu-flag-icon-pa{background-image:url(../img/flags/4x3/pa.svg)}.wu-flag-icon-pa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pa.svg)}.wu-flag-icon-pe{background-image:url(../img/flags/4x3/pe.svg)}.wu-flag-icon-pe.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pe.svg)}.wu-flag-icon-pf{background-image:url(../img/flags/4x3/pf.svg)}.wu-flag-icon-pf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pf.svg)}.wu-flag-icon-pg{background-image:url(../img/flags/4x3/pg.svg)}.wu-flag-icon-pg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pg.svg)}.wu-flag-icon-ph{background-image:url(../img/flags/4x3/ph.svg)}.wu-flag-icon-ph.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ph.svg)}.wu-flag-icon-pk{background-image:url(../img/flags/4x3/pk.svg)}.wu-flag-icon-pk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pk.svg)}.wu-flag-icon-pl{background-image:url(../img/flags/4x3/pl.svg)}.wu-flag-icon-pl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pl.svg)}.wu-flag-icon-pm{background-image:url(../img/flags/4x3/pm.svg)}.wu-flag-icon-pm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pm.svg)}.wu-flag-icon-pn{background-image:url(../img/flags/4x3/pn.svg)}.wu-flag-icon-pn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pn.svg)}.wu-flag-icon-pr{background-image:url(../img/flags/4x3/pr.svg)}.wu-flag-icon-pr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pr.svg)}.wu-flag-icon-ps{background-image:url(../img/flags/4x3/ps.svg)}.wu-flag-icon-ps.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ps.svg)}.wu-flag-icon-pt{background-image:url(../img/flags/4x3/pt.svg)}.wu-flag-icon-pt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pt.svg)}.wu-flag-icon-pw{background-image:url(../img/flags/4x3/pw.svg)}.wu-flag-icon-pw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pw.svg)}.wu-flag-icon-py{background-image:url(../img/flags/4x3/py.svg)}.wu-flag-icon-py.wu-flag-icon-squared{background-image:url(../img/flags/1x1/py.svg)}.wu-flag-icon-qa{background-image:url(../img/flags/4x3/qa.svg)}.wu-flag-icon-qa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/qa.svg)}.wu-flag-icon-re{background-image:url(../img/flags/4x3/re.svg)}.wu-flag-icon-re.wu-flag-icon-squared{background-image:url(../img/flags/1x1/re.svg)}.wu-flag-icon-ro{background-image:url(../img/flags/4x3/ro.svg)}.wu-flag-icon-ro.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ro.svg)}.wu-flag-icon-rs{background-image:url(../img/flags/4x3/rs.svg)}.wu-flag-icon-rs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/rs.svg)}.wu-flag-icon-ru{background-image:url(../img/flags/4x3/ru.svg)}.wu-flag-icon-ru.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ru.svg)}.wu-flag-icon-rw{background-image:url(../img/flags/4x3/rw.svg)}.wu-flag-icon-rw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/rw.svg)}.wu-flag-icon-sa{background-image:url(../img/flags/4x3/sa.svg)}.wu-flag-icon-sa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sa.svg)}.wu-flag-icon-sb{background-image:url(../img/flags/4x3/sb.svg)}.wu-flag-icon-sb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sb.svg)}.wu-flag-icon-sc{background-image:url(../img/flags/4x3/sc.svg)}.wu-flag-icon-sc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sc.svg)}.wu-flag-icon-sd{background-image:url(../img/flags/4x3/sd.svg)}.wu-flag-icon-sd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sd.svg)}.wu-flag-icon-se{background-image:url(../img/flags/4x3/se.svg)}.wu-flag-icon-se.wu-flag-icon-squared{background-image:url(../img/flags/1x1/se.svg)}.wu-flag-icon-sg{background-image:url(../img/flags/4x3/sg.svg)}.wu-flag-icon-sg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sg.svg)}.wu-flag-icon-sh{background-image:url(../img/flags/4x3/sh.svg)}.wu-flag-icon-sh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sh.svg)}.wu-flag-icon-si{background-image:url(../img/flags/4x3/si.svg)}.wu-flag-icon-si.wu-flag-icon-squared{background-image:url(../img/flags/1x1/si.svg)}.wu-flag-icon-sj{background-image:url(../img/flags/4x3/sj.svg)}.wu-flag-icon-sj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sj.svg)}.wu-flag-icon-sk{background-image:url(../img/flags/4x3/sk.svg)}.wu-flag-icon-sk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sk.svg)}.wu-flag-icon-sl{background-image:url(../img/flags/4x3/sl.svg)}.wu-flag-icon-sl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sl.svg)}.wu-flag-icon-sm{background-image:url(../img/flags/4x3/sm.svg)}.wu-flag-icon-sm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sm.svg)}.wu-flag-icon-sn{background-image:url(../img/flags/4x3/sn.svg)}.wu-flag-icon-sn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sn.svg)}.wu-flag-icon-so{background-image:url(../img/flags/4x3/so.svg)}.wu-flag-icon-so.wu-flag-icon-squared{background-image:url(../img/flags/1x1/so.svg)}.wu-flag-icon-sr{background-image:url(../img/flags/4x3/sr.svg)}.wu-flag-icon-sr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sr.svg)}.wu-flag-icon-ss{background-image:url(../img/flags/4x3/ss.svg)}.wu-flag-icon-ss.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ss.svg)}.wu-flag-icon-st{background-image:url(../img/flags/4x3/st.svg)}.wu-flag-icon-st.wu-flag-icon-squared{background-image:url(../img/flags/1x1/st.svg)}.wu-flag-icon-sv{background-image:url(../img/flags/4x3/sv.svg)}.wu-flag-icon-sv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sv.svg)}.wu-flag-icon-sx{background-image:url(../img/flags/4x3/sx.svg)}.wu-flag-icon-sx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sx.svg)}.wu-flag-icon-sy{background-image:url(../img/flags/4x3/sy.svg)}.wu-flag-icon-sy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sy.svg)}.wu-flag-icon-sz{background-image:url(../img/flags/4x3/sz.svg)}.wu-flag-icon-sz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sz.svg)}.wu-flag-icon-tc{background-image:url(../img/flags/4x3/tc.svg)}.wu-flag-icon-tc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tc.svg)}.wu-flag-icon-td{background-image:url(../img/flags/4x3/td.svg)}.wu-flag-icon-td.wu-flag-icon-squared{background-image:url(../img/flags/1x1/td.svg)}.wu-flag-icon-tf{background-image:url(../img/flags/4x3/tf.svg)}.wu-flag-icon-tf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tf.svg)}.wu-flag-icon-tg{background-image:url(../img/flags/4x3/tg.svg)}.wu-flag-icon-tg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tg.svg)}.wu-flag-icon-th{background-image:url(../img/flags/4x3/th.svg)}.wu-flag-icon-th.wu-flag-icon-squared{background-image:url(../img/flags/1x1/th.svg)}.wu-flag-icon-tj{background-image:url(../img/flags/4x3/tj.svg)}.wu-flag-icon-tj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tj.svg)}.wu-flag-icon-tk{background-image:url(../img/flags/4x3/tk.svg)}.wu-flag-icon-tk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tk.svg)}.wu-flag-icon-tl{background-image:url(../img/flags/4x3/tl.svg)}.wu-flag-icon-tl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tl.svg)}.wu-flag-icon-tm{background-image:url(../img/flags/4x3/tm.svg)}.wu-flag-icon-tm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tm.svg)}.wu-flag-icon-tn{background-image:url(../img/flags/4x3/tn.svg)}.wu-flag-icon-tn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tn.svg)}.wu-flag-icon-to{background-image:url(../img/flags/4x3/to.svg)}.wu-flag-icon-to.wu-flag-icon-squared{background-image:url(../img/flags/1x1/to.svg)}.wu-flag-icon-tr{background-image:url(../img/flags/4x3/tr.svg)}.wu-flag-icon-tr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tr.svg)}.wu-flag-icon-tt{background-image:url(../img/flags/4x3/tt.svg)}.wu-flag-icon-tt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tt.svg)}.wu-flag-icon-tv{background-image:url(../img/flags/4x3/tv.svg)}.wu-flag-icon-tv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tv.svg)}.wu-flag-icon-tw{background-image:url(../img/flags/4x3/tw.svg)}.wu-flag-icon-tw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tw.svg)}.wu-flag-icon-tz{background-image:url(../img/flags/4x3/tz.svg)}.wu-flag-icon-tz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tz.svg)}.wu-flag-icon-ua{background-image:url(../img/flags/4x3/ua.svg)}.wu-flag-icon-ua.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ua.svg)}.wu-flag-icon-ug{background-image:url(../img/flags/4x3/ug.svg)}.wu-flag-icon-ug.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ug.svg)}.wu-flag-icon-um{background-image:url(../img/flags/4x3/um.svg)}.wu-flag-icon-um.wu-flag-icon-squared{background-image:url(../img/flags/1x1/um.svg)}.wu-flag-icon-us{background-image:url(../img/flags/4x3/us.svg)}.wu-flag-icon-us.wu-flag-icon-squared{background-image:url(../img/flags/1x1/us.svg)}.wu-flag-icon-uy{background-image:url(../img/flags/4x3/uy.svg)}.wu-flag-icon-uy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/uy.svg)}.wu-flag-icon-uz{background-image:url(../img/flags/4x3/uz.svg)}.wu-flag-icon-uz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/uz.svg)}.wu-flag-icon-va{background-image:url(../img/flags/4x3/va.svg)}.wu-flag-icon-va.wu-flag-icon-squared{background-image:url(../img/flags/1x1/va.svg)}.wu-flag-icon-vc{background-image:url(../img/flags/4x3/vc.svg)}.wu-flag-icon-vc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vc.svg)}.wu-flag-icon-ve{background-image:url(../img/flags/4x3/ve.svg)}.wu-flag-icon-ve.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ve.svg)}.wu-flag-icon-vg{background-image:url(../img/flags/4x3/vg.svg)}.wu-flag-icon-vg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vg.svg)}.wu-flag-icon-vi{background-image:url(../img/flags/4x3/vi.svg)}.wu-flag-icon-vi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vi.svg)}.wu-flag-icon-vn{background-image:url(../img/flags/4x3/vn.svg)}.wu-flag-icon-vn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vn.svg)}.wu-flag-icon-vu{background-image:url(../img/flags/4x3/vu.svg)}.wu-flag-icon-vu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vu.svg)}.wu-flag-icon-wf{background-image:url(../img/flags/4x3/wf.svg)}.wu-flag-icon-wf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/wf.svg)}.wu-flag-icon-ws{background-image:url(../img/flags/4x3/ws.svg)}.wu-flag-icon-ws.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ws.svg)}.wu-flag-icon-ye{background-image:url(../img/flags/4x3/ye.svg)}.wu-flag-icon-ye.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ye.svg)}.wu-flag-icon-yt{background-image:url(../img/flags/4x3/yt.svg)}.wu-flag-icon-yt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/yt.svg)}.wu-flag-icon-za{background-image:url(../img/flags/4x3/za.svg)}.wu-flag-icon-za.wu-flag-icon-squared{background-image:url(../img/flags/1x1/za.svg)}.wu-flag-icon-zm{background-image:url(../img/flags/4x3/zm.svg)}.wu-flag-icon-zm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/zm.svg)}.wu-flag-icon-zw{background-image:url(../img/flags/4x3/zw.svg)}.wu-flag-icon-zw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/zw.svg)}.wu-flag-icon-es-ca{background-image:url(../img/flags/4x3/es-ca.svg)}.wu-flag-icon-es-ca.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es-ca.svg)}.wu-flag-icon-es-ga{background-image:url(../img/flags/4x3/es-ga.svg)}.wu-flag-icon-es-ga.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es-ga.svg)}.wu-flag-icon-eu{background-image:url(../img/flags/4x3/eu.svg)}.wu-flag-icon-eu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eu.svg)}.wu-flag-icon-gb-eng{background-image:url(../img/flags/4x3/gb-eng.svg)}.wu-flag-icon-gb-eng.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-eng.svg)}.wu-flag-icon-gb-nir{background-image:url(../img/flags/4x3/gb-nir.svg)}.wu-flag-icon-gb-nir.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-nir.svg)}.wu-flag-icon-gb-sct{background-image:url(../img/flags/4x3/gb-sct.svg)}.wu-flag-icon-gb-sct.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-sct.svg)}.wu-flag-icon-gb-wls{background-image:url(../img/flags/4x3/gb-wls.svg)}.wu-flag-icon-gb-wls.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-wls.svg)}.wu-flag-icon-un{background-image:url(../img/flags/4x3/un.svg)}.wu-flag-icon-un.wu-flag-icon-squared{background-image:url(../img/flags/1x1/un.svg)}.wu-flag-icon-xk{background-image:url(../img/flags/4x3/xk.svg)}.wu-flag-icon-xk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/xk.svg)} \ No newline at end of file +.wu-flag-icon{position:relative;display:inline-block;width:1.3333333333em;line-height:1;font-size:1.3333333333em;font-family:"Twemoji Country Flags",serif}.wu-flag-icon.wu-flag-icon-squared{width:1em} \ No newline at end of file diff --git a/assets/css/flags/flag-icon.css b/assets/css/flags/flag-icon.css deleted file mode 100644 index 58cbe37..0000000 --- a/assets/css/flags/flag-icon.css +++ /dev/null @@ -1,1825 +0,0 @@ -@charset "UTF-8"; -.wu-flag-icon-background, .wu-flag-icon { - background-size: contain; - background-position: 50%; - background-repeat: no-repeat; -} - -.wu-flag-icon { - position: relative; - display: inline-block; - width: 1.3333333333em; - line-height: 1; -} -.wu-flag-icon::before { - content: " "; -} -.wu-flag-icon.wu-flag-icon-squared { - width: 1em; -} - -.wu-flag-icon-ad { - background-image: url(../img/flags/4x3/ad.svg); -} -.wu-flag-icon-ad.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ad.svg); -} - -.wu-flag-icon-ae { - background-image: url(../img/flags/4x3/ae.svg); -} -.wu-flag-icon-ae.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ae.svg); -} - -.wu-flag-icon-af { - background-image: url(../img/flags/4x3/af.svg); -} -.wu-flag-icon-af.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/af.svg); -} - -.wu-flag-icon-ag { - background-image: url(../img/flags/4x3/ag.svg); -} -.wu-flag-icon-ag.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ag.svg); -} - -.wu-flag-icon-ai { - background-image: url(../img/flags/4x3/ai.svg); -} -.wu-flag-icon-ai.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ai.svg); -} - -.wu-flag-icon-al { - background-image: url(../img/flags/4x3/al.svg); -} -.wu-flag-icon-al.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/al.svg); -} - -.wu-flag-icon-am { - background-image: url(../img/flags/4x3/am.svg); -} -.wu-flag-icon-am.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/am.svg); -} - -.wu-flag-icon-ao { - background-image: url(../img/flags/4x3/ao.svg); -} -.wu-flag-icon-ao.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ao.svg); -} - -.wu-flag-icon-aq { - background-image: url(../img/flags/4x3/aq.svg); -} -.wu-flag-icon-aq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/aq.svg); -} - -.wu-flag-icon-ar { - background-image: url(../img/flags/4x3/ar.svg); -} -.wu-flag-icon-ar.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ar.svg); -} - -.wu-flag-icon-as { - background-image: url(../img/flags/4x3/as.svg); -} -.wu-flag-icon-as.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/as.svg); -} - -.wu-flag-icon-at { - background-image: url(../img/flags/4x3/at.svg); -} -.wu-flag-icon-at.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/at.svg); -} - -.wu-flag-icon-au { - background-image: url(../img/flags/4x3/au.svg); -} -.wu-flag-icon-au.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/au.svg); -} - -.wu-flag-icon-aw { - background-image: url(../img/flags/4x3/aw.svg); -} -.wu-flag-icon-aw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/aw.svg); -} - -.wu-flag-icon-ax { - background-image: url(../img/flags/4x3/ax.svg); -} -.wu-flag-icon-ax.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ax.svg); -} - -.wu-flag-icon-az { - background-image: url(../img/flags/4x3/az.svg); -} -.wu-flag-icon-az.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/az.svg); -} - -.wu-flag-icon-ba { - background-image: url(../img/flags/4x3/ba.svg); -} -.wu-flag-icon-ba.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ba.svg); -} - -.wu-flag-icon-bb { - background-image: url(../img/flags/4x3/bb.svg); -} -.wu-flag-icon-bb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bb.svg); -} - -.wu-flag-icon-bd { - background-image: url(../img/flags/4x3/bd.svg); -} -.wu-flag-icon-bd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bd.svg); -} - -.wu-flag-icon-be { - background-image: url(../img/flags/4x3/be.svg); -} -.wu-flag-icon-be.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/be.svg); -} - -.wu-flag-icon-bf { - background-image: url(../img/flags/4x3/bf.svg); -} -.wu-flag-icon-bf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bf.svg); -} - -.wu-flag-icon-bg { - background-image: url(../img/flags/4x3/bg.svg); -} -.wu-flag-icon-bg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bg.svg); -} - -.wu-flag-icon-bh { - background-image: url(../img/flags/4x3/bh.svg); -} -.wu-flag-icon-bh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bh.svg); -} - -.wu-flag-icon-bi { - background-image: url(../img/flags/4x3/bi.svg); -} -.wu-flag-icon-bi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bi.svg); -} - -.wu-flag-icon-bj { - background-image: url(../img/flags/4x3/bj.svg); -} -.wu-flag-icon-bj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bj.svg); -} - -.wu-flag-icon-bl { - background-image: url(../img/flags/4x3/bl.svg); -} -.wu-flag-icon-bl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bl.svg); -} - -.wu-flag-icon-bm { - background-image: url(../img/flags/4x3/bm.svg); -} -.wu-flag-icon-bm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bm.svg); -} - -.wu-flag-icon-bn { - background-image: url(../img/flags/4x3/bn.svg); -} -.wu-flag-icon-bn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bn.svg); -} - -.wu-flag-icon-bo { - background-image: url(../img/flags/4x3/bo.svg); -} -.wu-flag-icon-bo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bo.svg); -} - -.wu-flag-icon-bq { - background-image: url(../img/flags/4x3/bq.svg); -} -.wu-flag-icon-bq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bq.svg); -} - -.wu-flag-icon-br { - background-image: url(../img/flags/4x3/br.svg); -} -.wu-flag-icon-br.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/br.svg); -} - -.wu-flag-icon-bs { - background-image: url(../img/flags/4x3/bs.svg); -} -.wu-flag-icon-bs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bs.svg); -} - -.wu-flag-icon-bt { - background-image: url(../img/flags/4x3/bt.svg); -} -.wu-flag-icon-bt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bt.svg); -} - -.wu-flag-icon-bv { - background-image: url(../img/flags/4x3/bv.svg); -} -.wu-flag-icon-bv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bv.svg); -} - -.wu-flag-icon-bw { - background-image: url(../img/flags/4x3/bw.svg); -} -.wu-flag-icon-bw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bw.svg); -} - -.wu-flag-icon-by { - background-image: url(../img/flags/4x3/by.svg); -} -.wu-flag-icon-by.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/by.svg); -} - -.wu-flag-icon-bz { - background-image: url(../img/flags/4x3/bz.svg); -} -.wu-flag-icon-bz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/bz.svg); -} - -.wu-flag-icon-ca { - background-image: url(../img/flags/4x3/ca.svg); -} -.wu-flag-icon-ca.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ca.svg); -} - -.wu-flag-icon-cc { - background-image: url(../img/flags/4x3/cc.svg); -} -.wu-flag-icon-cc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cc.svg); -} - -.wu-flag-icon-cd { - background-image: url(../img/flags/4x3/cd.svg); -} -.wu-flag-icon-cd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cd.svg); -} - -.wu-flag-icon-cf { - background-image: url(../img/flags/4x3/cf.svg); -} -.wu-flag-icon-cf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cf.svg); -} - -.wu-flag-icon-cg { - background-image: url(../img/flags/4x3/cg.svg); -} -.wu-flag-icon-cg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cg.svg); -} - -.wu-flag-icon-ch { - background-image: url(../img/flags/4x3/ch.svg); -} -.wu-flag-icon-ch.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ch.svg); -} - -.wu-flag-icon-ci { - background-image: url(../img/flags/4x3/ci.svg); -} -.wu-flag-icon-ci.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ci.svg); -} - -.wu-flag-icon-ck { - background-image: url(../img/flags/4x3/ck.svg); -} -.wu-flag-icon-ck.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ck.svg); -} - -.wu-flag-icon-cl { - background-image: url(../img/flags/4x3/cl.svg); -} -.wu-flag-icon-cl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cl.svg); -} - -.wu-flag-icon-cm { - background-image: url(../img/flags/4x3/cm.svg); -} -.wu-flag-icon-cm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cm.svg); -} - -.wu-flag-icon-cn { - background-image: url(../img/flags/4x3/cn.svg); -} -.wu-flag-icon-cn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cn.svg); -} - -.wu-flag-icon-co { - background-image: url(../img/flags/4x3/co.svg); -} -.wu-flag-icon-co.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/co.svg); -} - -.wu-flag-icon-cr { - background-image: url(../img/flags/4x3/cr.svg); -} -.wu-flag-icon-cr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cr.svg); -} - -.wu-flag-icon-cu { - background-image: url(../img/flags/4x3/cu.svg); -} -.wu-flag-icon-cu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cu.svg); -} - -.wu-flag-icon-cv { - background-image: url(../img/flags/4x3/cv.svg); -} -.wu-flag-icon-cv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cv.svg); -} - -.wu-flag-icon-cw { - background-image: url(../img/flags/4x3/cw.svg); -} -.wu-flag-icon-cw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cw.svg); -} - -.wu-flag-icon-cx { - background-image: url(../img/flags/4x3/cx.svg); -} -.wu-flag-icon-cx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cx.svg); -} - -.wu-flag-icon-cy { - background-image: url(../img/flags/4x3/cy.svg); -} -.wu-flag-icon-cy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cy.svg); -} - -.wu-flag-icon-cz { - background-image: url(../img/flags/4x3/cz.svg); -} -.wu-flag-icon-cz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/cz.svg); -} - -.wu-flag-icon-de { - background-image: url(../img/flags/4x3/de.svg); -} -.wu-flag-icon-de.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/de.svg); -} - -.wu-flag-icon-dj { - background-image: url(../img/flags/4x3/dj.svg); -} -.wu-flag-icon-dj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dj.svg); -} - -.wu-flag-icon-dk { - background-image: url(../img/flags/4x3/dk.svg); -} -.wu-flag-icon-dk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dk.svg); -} - -.wu-flag-icon-dm { - background-image: url(../img/flags/4x3/dm.svg); -} -.wu-flag-icon-dm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dm.svg); -} - -.wu-flag-icon-do { - background-image: url(../img/flags/4x3/do.svg); -} -.wu-flag-icon-do.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/do.svg); -} - -.wu-flag-icon-dz { - background-image: url(../img/flags/4x3/dz.svg); -} -.wu-flag-icon-dz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/dz.svg); -} - -.wu-flag-icon-ec { - background-image: url(../img/flags/4x3/ec.svg); -} -.wu-flag-icon-ec.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ec.svg); -} - -.wu-flag-icon-ee { - background-image: url(../img/flags/4x3/ee.svg); -} -.wu-flag-icon-ee.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ee.svg); -} - -.wu-flag-icon-eg { - background-image: url(../img/flags/4x3/eg.svg); -} -.wu-flag-icon-eg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eg.svg); -} - -.wu-flag-icon-eh { - background-image: url(../img/flags/4x3/eh.svg); -} -.wu-flag-icon-eh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eh.svg); -} - -.wu-flag-icon-er { - background-image: url(../img/flags/4x3/er.svg); -} -.wu-flag-icon-er.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/er.svg); -} - -.wu-flag-icon-es { - background-image: url(../img/flags/4x3/es.svg); -} -.wu-flag-icon-es.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es.svg); -} - -.wu-flag-icon-et { - background-image: url(../img/flags/4x3/et.svg); -} -.wu-flag-icon-et.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/et.svg); -} - -.wu-flag-icon-fi { - background-image: url(../img/flags/4x3/fi.svg); -} -.wu-flag-icon-fi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fi.svg); -} - -.wu-flag-icon-fj { - background-image: url(../img/flags/4x3/fj.svg); -} -.wu-flag-icon-fj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fj.svg); -} - -.wu-flag-icon-fk { - background-image: url(../img/flags/4x3/fk.svg); -} -.wu-flag-icon-fk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fk.svg); -} - -.wu-flag-icon-fm { - background-image: url(../img/flags/4x3/fm.svg); -} -.wu-flag-icon-fm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fm.svg); -} - -.wu-flag-icon-fo { - background-image: url(../img/flags/4x3/fo.svg); -} -.wu-flag-icon-fo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fo.svg); -} - -.wu-flag-icon-fr { - background-image: url(../img/flags/4x3/fr.svg); -} -.wu-flag-icon-fr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/fr.svg); -} - -.wu-flag-icon-ga { - background-image: url(../img/flags/4x3/ga.svg); -} -.wu-flag-icon-ga.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ga.svg); -} - -.wu-flag-icon-gb { - background-image: url(../img/flags/4x3/gb.svg); -} -.wu-flag-icon-gb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb.svg); -} - -.wu-flag-icon-gd { - background-image: url(../img/flags/4x3/gd.svg); -} -.wu-flag-icon-gd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gd.svg); -} - -.wu-flag-icon-ge { - background-image: url(../img/flags/4x3/ge.svg); -} -.wu-flag-icon-ge.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ge.svg); -} - -.wu-flag-icon-gf { - background-image: url(../img/flags/4x3/gf.svg); -} -.wu-flag-icon-gf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gf.svg); -} - -.wu-flag-icon-gg { - background-image: url(../img/flags/4x3/gg.svg); -} -.wu-flag-icon-gg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gg.svg); -} - -.wu-flag-icon-gh { - background-image: url(../img/flags/4x3/gh.svg); -} -.wu-flag-icon-gh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gh.svg); -} - -.wu-flag-icon-gi { - background-image: url(../img/flags/4x3/gi.svg); -} -.wu-flag-icon-gi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gi.svg); -} - -.wu-flag-icon-gl { - background-image: url(../img/flags/4x3/gl.svg); -} -.wu-flag-icon-gl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gl.svg); -} - -.wu-flag-icon-gm { - background-image: url(../img/flags/4x3/gm.svg); -} -.wu-flag-icon-gm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gm.svg); -} - -.wu-flag-icon-gn { - background-image: url(../img/flags/4x3/gn.svg); -} -.wu-flag-icon-gn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gn.svg); -} - -.wu-flag-icon-gp { - background-image: url(../img/flags/4x3/gp.svg); -} -.wu-flag-icon-gp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gp.svg); -} - -.wu-flag-icon-gq { - background-image: url(../img/flags/4x3/gq.svg); -} -.wu-flag-icon-gq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gq.svg); -} - -.wu-flag-icon-gr { - background-image: url(../img/flags/4x3/gr.svg); -} -.wu-flag-icon-gr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gr.svg); -} - -.wu-flag-icon-gs { - background-image: url(../img/flags/4x3/gs.svg); -} -.wu-flag-icon-gs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gs.svg); -} - -.wu-flag-icon-gt { - background-image: url(../img/flags/4x3/gt.svg); -} -.wu-flag-icon-gt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gt.svg); -} - -.wu-flag-icon-gu { - background-image: url(../img/flags/4x3/gu.svg); -} -.wu-flag-icon-gu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gu.svg); -} - -.wu-flag-icon-gw { - background-image: url(../img/flags/4x3/gw.svg); -} -.wu-flag-icon-gw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gw.svg); -} - -.wu-flag-icon-gy { - background-image: url(../img/flags/4x3/gy.svg); -} -.wu-flag-icon-gy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gy.svg); -} - -.wu-flag-icon-hk { - background-image: url(../img/flags/4x3/hk.svg); -} -.wu-flag-icon-hk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hk.svg); -} - -.wu-flag-icon-hm { - background-image: url(../img/flags/4x3/hm.svg); -} -.wu-flag-icon-hm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hm.svg); -} - -.wu-flag-icon-hn { - background-image: url(../img/flags/4x3/hn.svg); -} -.wu-flag-icon-hn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hn.svg); -} - -.wu-flag-icon-hr { - background-image: url(../img/flags/4x3/hr.svg); -} -.wu-flag-icon-hr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hr.svg); -} - -.wu-flag-icon-ht { - background-image: url(../img/flags/4x3/ht.svg); -} -.wu-flag-icon-ht.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ht.svg); -} - -.wu-flag-icon-hu { - background-image: url(../img/flags/4x3/hu.svg); -} -.wu-flag-icon-hu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/hu.svg); -} - -.wu-flag-icon-id { - background-image: url(../img/flags/4x3/id.svg); -} -.wu-flag-icon-id.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/id.svg); -} - -.wu-flag-icon-ie { - background-image: url(../img/flags/4x3/ie.svg); -} -.wu-flag-icon-ie.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ie.svg); -} - -.wu-flag-icon-il { - background-image: url(../img/flags/4x3/il.svg); -} -.wu-flag-icon-il.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/il.svg); -} - -.wu-flag-icon-im { - background-image: url(../img/flags/4x3/im.svg); -} -.wu-flag-icon-im.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/im.svg); -} - -.wu-flag-icon-in { - background-image: url(../img/flags/4x3/in.svg); -} -.wu-flag-icon-in.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/in.svg); -} - -.wu-flag-icon-io { - background-image: url(../img/flags/4x3/io.svg); -} -.wu-flag-icon-io.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/io.svg); -} - -.wu-flag-icon-iq { - background-image: url(../img/flags/4x3/iq.svg); -} -.wu-flag-icon-iq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/iq.svg); -} - -.wu-flag-icon-ir { - background-image: url(../img/flags/4x3/ir.svg); -} -.wu-flag-icon-ir.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ir.svg); -} - -.wu-flag-icon-is { - background-image: url(../img/flags/4x3/is.svg); -} -.wu-flag-icon-is.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/is.svg); -} - -.wu-flag-icon-it { - background-image: url(../img/flags/4x3/it.svg); -} -.wu-flag-icon-it.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/it.svg); -} - -.wu-flag-icon-je { - background-image: url(../img/flags/4x3/je.svg); -} -.wu-flag-icon-je.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/je.svg); -} - -.wu-flag-icon-jm { - background-image: url(../img/flags/4x3/jm.svg); -} -.wu-flag-icon-jm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jm.svg); -} - -.wu-flag-icon-jo { - background-image: url(../img/flags/4x3/jo.svg); -} -.wu-flag-icon-jo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jo.svg); -} - -.wu-flag-icon-jp { - background-image: url(../img/flags/4x3/jp.svg); -} -.wu-flag-icon-jp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/jp.svg); -} - -.wu-flag-icon-ke { - background-image: url(../img/flags/4x3/ke.svg); -} -.wu-flag-icon-ke.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ke.svg); -} - -.wu-flag-icon-kg { - background-image: url(../img/flags/4x3/kg.svg); -} -.wu-flag-icon-kg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kg.svg); -} - -.wu-flag-icon-kh { - background-image: url(../img/flags/4x3/kh.svg); -} -.wu-flag-icon-kh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kh.svg); -} - -.wu-flag-icon-ki { - background-image: url(../img/flags/4x3/ki.svg); -} -.wu-flag-icon-ki.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ki.svg); -} - -.wu-flag-icon-km { - background-image: url(../img/flags/4x3/km.svg); -} -.wu-flag-icon-km.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/km.svg); -} - -.wu-flag-icon-kn { - background-image: url(../img/flags/4x3/kn.svg); -} -.wu-flag-icon-kn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kn.svg); -} - -.wu-flag-icon-kp { - background-image: url(../img/flags/4x3/kp.svg); -} -.wu-flag-icon-kp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kp.svg); -} - -.wu-flag-icon-kr { - background-image: url(../img/flags/4x3/kr.svg); -} -.wu-flag-icon-kr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kr.svg); -} - -.wu-flag-icon-kw { - background-image: url(../img/flags/4x3/kw.svg); -} -.wu-flag-icon-kw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kw.svg); -} - -.wu-flag-icon-ky { - background-image: url(../img/flags/4x3/ky.svg); -} -.wu-flag-icon-ky.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ky.svg); -} - -.wu-flag-icon-kz { - background-image: url(../img/flags/4x3/kz.svg); -} -.wu-flag-icon-kz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/kz.svg); -} - -.wu-flag-icon-la { - background-image: url(../img/flags/4x3/la.svg); -} -.wu-flag-icon-la.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/la.svg); -} - -.wu-flag-icon-lb { - background-image: url(../img/flags/4x3/lb.svg); -} -.wu-flag-icon-lb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lb.svg); -} - -.wu-flag-icon-lc { - background-image: url(../img/flags/4x3/lc.svg); -} -.wu-flag-icon-lc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lc.svg); -} - -.wu-flag-icon-li { - background-image: url(../img/flags/4x3/li.svg); -} -.wu-flag-icon-li.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/li.svg); -} - -.wu-flag-icon-lk { - background-image: url(../img/flags/4x3/lk.svg); -} -.wu-flag-icon-lk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lk.svg); -} - -.wu-flag-icon-lr { - background-image: url(../img/flags/4x3/lr.svg); -} -.wu-flag-icon-lr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lr.svg); -} - -.wu-flag-icon-ls { - background-image: url(../img/flags/4x3/ls.svg); -} -.wu-flag-icon-ls.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ls.svg); -} - -.wu-flag-icon-lt { - background-image: url(../img/flags/4x3/lt.svg); -} -.wu-flag-icon-lt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lt.svg); -} - -.wu-flag-icon-lu { - background-image: url(../img/flags/4x3/lu.svg); -} -.wu-flag-icon-lu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lu.svg); -} - -.wu-flag-icon-lv { - background-image: url(../img/flags/4x3/lv.svg); -} -.wu-flag-icon-lv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/lv.svg); -} - -.wu-flag-icon-ly { - background-image: url(../img/flags/4x3/ly.svg); -} -.wu-flag-icon-ly.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ly.svg); -} - -.wu-flag-icon-ma { - background-image: url(../img/flags/4x3/ma.svg); -} -.wu-flag-icon-ma.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ma.svg); -} - -.wu-flag-icon-mc { - background-image: url(../img/flags/4x3/mc.svg); -} -.wu-flag-icon-mc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mc.svg); -} - -.wu-flag-icon-md { - background-image: url(../img/flags/4x3/md.svg); -} -.wu-flag-icon-md.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/md.svg); -} - -.wu-flag-icon-me { - background-image: url(../img/flags/4x3/me.svg); -} -.wu-flag-icon-me.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/me.svg); -} - -.wu-flag-icon-mf { - background-image: url(../img/flags/4x3/mf.svg); -} -.wu-flag-icon-mf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mf.svg); -} - -.wu-flag-icon-mg { - background-image: url(../img/flags/4x3/mg.svg); -} -.wu-flag-icon-mg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mg.svg); -} - -.wu-flag-icon-mh { - background-image: url(../img/flags/4x3/mh.svg); -} -.wu-flag-icon-mh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mh.svg); -} - -.wu-flag-icon-mk { - background-image: url(../img/flags/4x3/mk.svg); -} -.wu-flag-icon-mk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mk.svg); -} - -.wu-flag-icon-ml { - background-image: url(../img/flags/4x3/ml.svg); -} -.wu-flag-icon-ml.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ml.svg); -} - -.wu-flag-icon-mm { - background-image: url(../img/flags/4x3/mm.svg); -} -.wu-flag-icon-mm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mm.svg); -} - -.wu-flag-icon-mn { - background-image: url(../img/flags/4x3/mn.svg); -} -.wu-flag-icon-mn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mn.svg); -} - -.wu-flag-icon-mo { - background-image: url(../img/flags/4x3/mo.svg); -} -.wu-flag-icon-mo.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mo.svg); -} - -.wu-flag-icon-mp { - background-image: url(../img/flags/4x3/mp.svg); -} -.wu-flag-icon-mp.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mp.svg); -} - -.wu-flag-icon-mq { - background-image: url(../img/flags/4x3/mq.svg); -} -.wu-flag-icon-mq.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mq.svg); -} - -.wu-flag-icon-mr { - background-image: url(../img/flags/4x3/mr.svg); -} -.wu-flag-icon-mr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mr.svg); -} - -.wu-flag-icon-ms { - background-image: url(../img/flags/4x3/ms.svg); -} -.wu-flag-icon-ms.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ms.svg); -} - -.wu-flag-icon-mt { - background-image: url(../img/flags/4x3/mt.svg); -} -.wu-flag-icon-mt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mt.svg); -} - -.wu-flag-icon-mu { - background-image: url(../img/flags/4x3/mu.svg); -} -.wu-flag-icon-mu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mu.svg); -} - -.wu-flag-icon-mv { - background-image: url(../img/flags/4x3/mv.svg); -} -.wu-flag-icon-mv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mv.svg); -} - -.wu-flag-icon-mw { - background-image: url(../img/flags/4x3/mw.svg); -} -.wu-flag-icon-mw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mw.svg); -} - -.wu-flag-icon-mx { - background-image: url(../img/flags/4x3/mx.svg); -} -.wu-flag-icon-mx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mx.svg); -} - -.wu-flag-icon-my { - background-image: url(../img/flags/4x3/my.svg); -} -.wu-flag-icon-my.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/my.svg); -} - -.wu-flag-icon-mz { - background-image: url(../img/flags/4x3/mz.svg); -} -.wu-flag-icon-mz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/mz.svg); -} - -.wu-flag-icon-na { - background-image: url(../img/flags/4x3/na.svg); -} -.wu-flag-icon-na.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/na.svg); -} - -.wu-flag-icon-nc { - background-image: url(../img/flags/4x3/nc.svg); -} -.wu-flag-icon-nc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nc.svg); -} - -.wu-flag-icon-ne { - background-image: url(../img/flags/4x3/ne.svg); -} -.wu-flag-icon-ne.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ne.svg); -} - -.wu-flag-icon-nf { - background-image: url(../img/flags/4x3/nf.svg); -} -.wu-flag-icon-nf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nf.svg); -} - -.wu-flag-icon-ng { - background-image: url(../img/flags/4x3/ng.svg); -} -.wu-flag-icon-ng.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ng.svg); -} - -.wu-flag-icon-ni { - background-image: url(../img/flags/4x3/ni.svg); -} -.wu-flag-icon-ni.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ni.svg); -} - -.wu-flag-icon-nl { - background-image: url(../img/flags/4x3/nl.svg); -} -.wu-flag-icon-nl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nl.svg); -} - -.wu-flag-icon-no { - background-image: url(../img/flags/4x3/no.svg); -} -.wu-flag-icon-no.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/no.svg); -} - -.wu-flag-icon-np { - background-image: url(../img/flags/4x3/np.svg); -} -.wu-flag-icon-np.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/np.svg); -} - -.wu-flag-icon-nr { - background-image: url(../img/flags/4x3/nr.svg); -} -.wu-flag-icon-nr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nr.svg); -} - -.wu-flag-icon-nu { - background-image: url(../img/flags/4x3/nu.svg); -} -.wu-flag-icon-nu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nu.svg); -} - -.wu-flag-icon-nz { - background-image: url(../img/flags/4x3/nz.svg); -} -.wu-flag-icon-nz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/nz.svg); -} - -.wu-flag-icon-om { - background-image: url(../img/flags/4x3/om.svg); -} -.wu-flag-icon-om.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/om.svg); -} - -.wu-flag-icon-pa { - background-image: url(../img/flags/4x3/pa.svg); -} -.wu-flag-icon-pa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pa.svg); -} - -.wu-flag-icon-pe { - background-image: url(../img/flags/4x3/pe.svg); -} -.wu-flag-icon-pe.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pe.svg); -} - -.wu-flag-icon-pf { - background-image: url(../img/flags/4x3/pf.svg); -} -.wu-flag-icon-pf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pf.svg); -} - -.wu-flag-icon-pg { - background-image: url(../img/flags/4x3/pg.svg); -} -.wu-flag-icon-pg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pg.svg); -} - -.wu-flag-icon-ph { - background-image: url(../img/flags/4x3/ph.svg); -} -.wu-flag-icon-ph.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ph.svg); -} - -.wu-flag-icon-pk { - background-image: url(../img/flags/4x3/pk.svg); -} -.wu-flag-icon-pk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pk.svg); -} - -.wu-flag-icon-pl { - background-image: url(../img/flags/4x3/pl.svg); -} -.wu-flag-icon-pl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pl.svg); -} - -.wu-flag-icon-pm { - background-image: url(../img/flags/4x3/pm.svg); -} -.wu-flag-icon-pm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pm.svg); -} - -.wu-flag-icon-pn { - background-image: url(../img/flags/4x3/pn.svg); -} -.wu-flag-icon-pn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pn.svg); -} - -.wu-flag-icon-pr { - background-image: url(../img/flags/4x3/pr.svg); -} -.wu-flag-icon-pr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pr.svg); -} - -.wu-flag-icon-ps { - background-image: url(../img/flags/4x3/ps.svg); -} -.wu-flag-icon-ps.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ps.svg); -} - -.wu-flag-icon-pt { - background-image: url(../img/flags/4x3/pt.svg); -} -.wu-flag-icon-pt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pt.svg); -} - -.wu-flag-icon-pw { - background-image: url(../img/flags/4x3/pw.svg); -} -.wu-flag-icon-pw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/pw.svg); -} - -.wu-flag-icon-py { - background-image: url(../img/flags/4x3/py.svg); -} -.wu-flag-icon-py.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/py.svg); -} - -.wu-flag-icon-qa { - background-image: url(../img/flags/4x3/qa.svg); -} -.wu-flag-icon-qa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/qa.svg); -} - -.wu-flag-icon-re { - background-image: url(../img/flags/4x3/re.svg); -} -.wu-flag-icon-re.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/re.svg); -} - -.wu-flag-icon-ro { - background-image: url(../img/flags/4x3/ro.svg); -} -.wu-flag-icon-ro.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ro.svg); -} - -.wu-flag-icon-rs { - background-image: url(../img/flags/4x3/rs.svg); -} -.wu-flag-icon-rs.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/rs.svg); -} - -.wu-flag-icon-ru { - background-image: url(../img/flags/4x3/ru.svg); -} -.wu-flag-icon-ru.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ru.svg); -} - -.wu-flag-icon-rw { - background-image: url(../img/flags/4x3/rw.svg); -} -.wu-flag-icon-rw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/rw.svg); -} - -.wu-flag-icon-sa { - background-image: url(../img/flags/4x3/sa.svg); -} -.wu-flag-icon-sa.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sa.svg); -} - -.wu-flag-icon-sb { - background-image: url(../img/flags/4x3/sb.svg); -} -.wu-flag-icon-sb.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sb.svg); -} - -.wu-flag-icon-sc { - background-image: url(../img/flags/4x3/sc.svg); -} -.wu-flag-icon-sc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sc.svg); -} - -.wu-flag-icon-sd { - background-image: url(../img/flags/4x3/sd.svg); -} -.wu-flag-icon-sd.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sd.svg); -} - -.wu-flag-icon-se { - background-image: url(../img/flags/4x3/se.svg); -} -.wu-flag-icon-se.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/se.svg); -} - -.wu-flag-icon-sg { - background-image: url(../img/flags/4x3/sg.svg); -} -.wu-flag-icon-sg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sg.svg); -} - -.wu-flag-icon-sh { - background-image: url(../img/flags/4x3/sh.svg); -} -.wu-flag-icon-sh.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sh.svg); -} - -.wu-flag-icon-si { - background-image: url(../img/flags/4x3/si.svg); -} -.wu-flag-icon-si.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/si.svg); -} - -.wu-flag-icon-sj { - background-image: url(../img/flags/4x3/sj.svg); -} -.wu-flag-icon-sj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sj.svg); -} - -.wu-flag-icon-sk { - background-image: url(../img/flags/4x3/sk.svg); -} -.wu-flag-icon-sk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sk.svg); -} - -.wu-flag-icon-sl { - background-image: url(../img/flags/4x3/sl.svg); -} -.wu-flag-icon-sl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sl.svg); -} - -.wu-flag-icon-sm { - background-image: url(../img/flags/4x3/sm.svg); -} -.wu-flag-icon-sm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sm.svg); -} - -.wu-flag-icon-sn { - background-image: url(../img/flags/4x3/sn.svg); -} -.wu-flag-icon-sn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sn.svg); -} - -.wu-flag-icon-so { - background-image: url(../img/flags/4x3/so.svg); -} -.wu-flag-icon-so.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/so.svg); -} - -.wu-flag-icon-sr { - background-image: url(../img/flags/4x3/sr.svg); -} -.wu-flag-icon-sr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sr.svg); -} - -.wu-flag-icon-ss { - background-image: url(../img/flags/4x3/ss.svg); -} -.wu-flag-icon-ss.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ss.svg); -} - -.wu-flag-icon-st { - background-image: url(../img/flags/4x3/st.svg); -} -.wu-flag-icon-st.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/st.svg); -} - -.wu-flag-icon-sv { - background-image: url(../img/flags/4x3/sv.svg); -} -.wu-flag-icon-sv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sv.svg); -} - -.wu-flag-icon-sx { - background-image: url(../img/flags/4x3/sx.svg); -} -.wu-flag-icon-sx.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sx.svg); -} - -.wu-flag-icon-sy { - background-image: url(../img/flags/4x3/sy.svg); -} -.wu-flag-icon-sy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sy.svg); -} - -.wu-flag-icon-sz { - background-image: url(../img/flags/4x3/sz.svg); -} -.wu-flag-icon-sz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/sz.svg); -} - -.wu-flag-icon-tc { - background-image: url(../img/flags/4x3/tc.svg); -} -.wu-flag-icon-tc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tc.svg); -} - -.wu-flag-icon-td { - background-image: url(../img/flags/4x3/td.svg); -} -.wu-flag-icon-td.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/td.svg); -} - -.wu-flag-icon-tf { - background-image: url(../img/flags/4x3/tf.svg); -} -.wu-flag-icon-tf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tf.svg); -} - -.wu-flag-icon-tg { - background-image: url(../img/flags/4x3/tg.svg); -} -.wu-flag-icon-tg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tg.svg); -} - -.wu-flag-icon-th { - background-image: url(../img/flags/4x3/th.svg); -} -.wu-flag-icon-th.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/th.svg); -} - -.wu-flag-icon-tj { - background-image: url(../img/flags/4x3/tj.svg); -} -.wu-flag-icon-tj.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tj.svg); -} - -.wu-flag-icon-tk { - background-image: url(../img/flags/4x3/tk.svg); -} -.wu-flag-icon-tk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tk.svg); -} - -.wu-flag-icon-tl { - background-image: url(../img/flags/4x3/tl.svg); -} -.wu-flag-icon-tl.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tl.svg); -} - -.wu-flag-icon-tm { - background-image: url(../img/flags/4x3/tm.svg); -} -.wu-flag-icon-tm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tm.svg); -} - -.wu-flag-icon-tn { - background-image: url(../img/flags/4x3/tn.svg); -} -.wu-flag-icon-tn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tn.svg); -} - -.wu-flag-icon-to { - background-image: url(../img/flags/4x3/to.svg); -} -.wu-flag-icon-to.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/to.svg); -} - -.wu-flag-icon-tr { - background-image: url(../img/flags/4x3/tr.svg); -} -.wu-flag-icon-tr.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tr.svg); -} - -.wu-flag-icon-tt { - background-image: url(../img/flags/4x3/tt.svg); -} -.wu-flag-icon-tt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tt.svg); -} - -.wu-flag-icon-tv { - background-image: url(../img/flags/4x3/tv.svg); -} -.wu-flag-icon-tv.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tv.svg); -} - -.wu-flag-icon-tw { - background-image: url(../img/flags/4x3/tw.svg); -} -.wu-flag-icon-tw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tw.svg); -} - -.wu-flag-icon-tz { - background-image: url(../img/flags/4x3/tz.svg); -} -.wu-flag-icon-tz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/tz.svg); -} - -.wu-flag-icon-ua { - background-image: url(../img/flags/4x3/ua.svg); -} -.wu-flag-icon-ua.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ua.svg); -} - -.wu-flag-icon-ug { - background-image: url(../img/flags/4x3/ug.svg); -} -.wu-flag-icon-ug.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ug.svg); -} - -.wu-flag-icon-um { - background-image: url(../img/flags/4x3/um.svg); -} -.wu-flag-icon-um.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/um.svg); -} - -.wu-flag-icon-us { - background-image: url(../img/flags/4x3/us.svg); -} -.wu-flag-icon-us.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/us.svg); -} - -.wu-flag-icon-uy { - background-image: url(../img/flags/4x3/uy.svg); -} -.wu-flag-icon-uy.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/uy.svg); -} - -.wu-flag-icon-uz { - background-image: url(../img/flags/4x3/uz.svg); -} -.wu-flag-icon-uz.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/uz.svg); -} - -.wu-flag-icon-va { - background-image: url(../img/flags/4x3/va.svg); -} -.wu-flag-icon-va.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/va.svg); -} - -.wu-flag-icon-vc { - background-image: url(../img/flags/4x3/vc.svg); -} -.wu-flag-icon-vc.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vc.svg); -} - -.wu-flag-icon-ve { - background-image: url(../img/flags/4x3/ve.svg); -} -.wu-flag-icon-ve.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ve.svg); -} - -.wu-flag-icon-vg { - background-image: url(../img/flags/4x3/vg.svg); -} -.wu-flag-icon-vg.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vg.svg); -} - -.wu-flag-icon-vi { - background-image: url(../img/flags/4x3/vi.svg); -} -.wu-flag-icon-vi.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vi.svg); -} - -.wu-flag-icon-vn { - background-image: url(../img/flags/4x3/vn.svg); -} -.wu-flag-icon-vn.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vn.svg); -} - -.wu-flag-icon-vu { - background-image: url(../img/flags/4x3/vu.svg); -} -.wu-flag-icon-vu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/vu.svg); -} - -.wu-flag-icon-wf { - background-image: url(../img/flags/4x3/wf.svg); -} -.wu-flag-icon-wf.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/wf.svg); -} - -.wu-flag-icon-ws { - background-image: url(../img/flags/4x3/ws.svg); -} -.wu-flag-icon-ws.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ws.svg); -} - -.wu-flag-icon-ye { - background-image: url(../img/flags/4x3/ye.svg); -} -.wu-flag-icon-ye.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/ye.svg); -} - -.wu-flag-icon-yt { - background-image: url(../img/flags/4x3/yt.svg); -} -.wu-flag-icon-yt.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/yt.svg); -} - -.wu-flag-icon-za { - background-image: url(../img/flags/4x3/za.svg); -} -.wu-flag-icon-za.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/za.svg); -} - -.wu-flag-icon-zm { - background-image: url(../img/flags/4x3/zm.svg); -} -.wu-flag-icon-zm.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/zm.svg); -} - -.wu-flag-icon-zw { - background-image: url(../img/flags/4x3/zw.svg); -} -.wu-flag-icon-zw.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/zw.svg); -} - -.wu-flag-icon-es-ca { - background-image: url(../img/flags/4x3/es-ca.svg); -} -.wu-flag-icon-es-ca.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es-ca.svg); -} - -.wu-flag-icon-es-ga { - background-image: url(../img/flags/4x3/es-ga.svg); -} -.wu-flag-icon-es-ga.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/es-ga.svg); -} - -.wu-flag-icon-eu { - background-image: url(../img/flags/4x3/eu.svg); -} -.wu-flag-icon-eu.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/eu.svg); -} - -.wu-flag-icon-gb-eng { - background-image: url(../img/flags/4x3/gb-eng.svg); -} -.wu-flag-icon-gb-eng.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-eng.svg); -} - -.wu-flag-icon-gb-nir { - background-image: url(../img/flags/4x3/gb-nir.svg); -} -.wu-flag-icon-gb-nir.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-nir.svg); -} - -.wu-flag-icon-gb-sct { - background-image: url(../img/flags/4x3/gb-sct.svg); -} -.wu-flag-icon-gb-sct.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-sct.svg); -} - -.wu-flag-icon-gb-wls { - background-image: url(../img/flags/4x3/gb-wls.svg); -} -.wu-flag-icon-gb-wls.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/gb-wls.svg); -} - -.wu-flag-icon-un { - background-image: url(../img/flags/4x3/un.svg); -} -.wu-flag-icon-un.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/un.svg); -} - -.wu-flag-icon-xk { - background-image: url(../img/flags/4x3/xk.svg); -} -.wu-flag-icon-xk.wu-flag-icon-squared { - background-image: url(../img/flags/1x1/xk.svg); -} \ No newline at end of file diff --git a/assets/css/flags/flag-icon.min.css b/assets/css/flags/flag-icon.min.css deleted file mode 100644 index df883af..0000000 --- a/assets/css/flags/flag-icon.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";.wu-flag-icon,.wu-flag-icon-background{background-size:contain;background-position:50%;background-repeat:no-repeat}.wu-flag-icon{position:relative;display:inline-block;width:1.3333333333em;line-height:1}.wu-flag-icon::before{content:" "}.wu-flag-icon.wu-flag-icon-squared{width:1em}.wu-flag-icon-ad{background-image:url(../img/flags/4x3/ad.svg)}.wu-flag-icon-ad.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ad.svg)}.wu-flag-icon-ae{background-image:url(../img/flags/4x3/ae.svg)}.wu-flag-icon-ae.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ae.svg)}.wu-flag-icon-af{background-image:url(../img/flags/4x3/af.svg)}.wu-flag-icon-af.wu-flag-icon-squared{background-image:url(../img/flags/1x1/af.svg)}.wu-flag-icon-ag{background-image:url(../img/flags/4x3/ag.svg)}.wu-flag-icon-ag.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ag.svg)}.wu-flag-icon-ai{background-image:url(../img/flags/4x3/ai.svg)}.wu-flag-icon-ai.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ai.svg)}.wu-flag-icon-al{background-image:url(../img/flags/4x3/al.svg)}.wu-flag-icon-al.wu-flag-icon-squared{background-image:url(../img/flags/1x1/al.svg)}.wu-flag-icon-am{background-image:url(../img/flags/4x3/am.svg)}.wu-flag-icon-am.wu-flag-icon-squared{background-image:url(../img/flags/1x1/am.svg)}.wu-flag-icon-ao{background-image:url(../img/flags/4x3/ao.svg)}.wu-flag-icon-ao.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ao.svg)}.wu-flag-icon-aq{background-image:url(../img/flags/4x3/aq.svg)}.wu-flag-icon-aq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/aq.svg)}.wu-flag-icon-ar{background-image:url(../img/flags/4x3/ar.svg)}.wu-flag-icon-ar.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ar.svg)}.wu-flag-icon-as{background-image:url(../img/flags/4x3/as.svg)}.wu-flag-icon-as.wu-flag-icon-squared{background-image:url(../img/flags/1x1/as.svg)}.wu-flag-icon-at{background-image:url(../img/flags/4x3/at.svg)}.wu-flag-icon-at.wu-flag-icon-squared{background-image:url(../img/flags/1x1/at.svg)}.wu-flag-icon-au{background-image:url(../img/flags/4x3/au.svg)}.wu-flag-icon-au.wu-flag-icon-squared{background-image:url(../img/flags/1x1/au.svg)}.wu-flag-icon-aw{background-image:url(../img/flags/4x3/aw.svg)}.wu-flag-icon-aw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/aw.svg)}.wu-flag-icon-ax{background-image:url(../img/flags/4x3/ax.svg)}.wu-flag-icon-ax.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ax.svg)}.wu-flag-icon-az{background-image:url(../img/flags/4x3/az.svg)}.wu-flag-icon-az.wu-flag-icon-squared{background-image:url(../img/flags/1x1/az.svg)}.wu-flag-icon-ba{background-image:url(../img/flags/4x3/ba.svg)}.wu-flag-icon-ba.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ba.svg)}.wu-flag-icon-bb{background-image:url(../img/flags/4x3/bb.svg)}.wu-flag-icon-bb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bb.svg)}.wu-flag-icon-bd{background-image:url(../img/flags/4x3/bd.svg)}.wu-flag-icon-bd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bd.svg)}.wu-flag-icon-be{background-image:url(../img/flags/4x3/be.svg)}.wu-flag-icon-be.wu-flag-icon-squared{background-image:url(../img/flags/1x1/be.svg)}.wu-flag-icon-bf{background-image:url(../img/flags/4x3/bf.svg)}.wu-flag-icon-bf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bf.svg)}.wu-flag-icon-bg{background-image:url(../img/flags/4x3/bg.svg)}.wu-flag-icon-bg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bg.svg)}.wu-flag-icon-bh{background-image:url(../img/flags/4x3/bh.svg)}.wu-flag-icon-bh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bh.svg)}.wu-flag-icon-bi{background-image:url(../img/flags/4x3/bi.svg)}.wu-flag-icon-bi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bi.svg)}.wu-flag-icon-bj{background-image:url(../img/flags/4x3/bj.svg)}.wu-flag-icon-bj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bj.svg)}.wu-flag-icon-bl{background-image:url(../img/flags/4x3/bl.svg)}.wu-flag-icon-bl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bl.svg)}.wu-flag-icon-bm{background-image:url(../img/flags/4x3/bm.svg)}.wu-flag-icon-bm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bm.svg)}.wu-flag-icon-bn{background-image:url(../img/flags/4x3/bn.svg)}.wu-flag-icon-bn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bn.svg)}.wu-flag-icon-bo{background-image:url(../img/flags/4x3/bo.svg)}.wu-flag-icon-bo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bo.svg)}.wu-flag-icon-bq{background-image:url(../img/flags/4x3/bq.svg)}.wu-flag-icon-bq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bq.svg)}.wu-flag-icon-br{background-image:url(../img/flags/4x3/br.svg)}.wu-flag-icon-br.wu-flag-icon-squared{background-image:url(../img/flags/1x1/br.svg)}.wu-flag-icon-bs{background-image:url(../img/flags/4x3/bs.svg)}.wu-flag-icon-bs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bs.svg)}.wu-flag-icon-bt{background-image:url(../img/flags/4x3/bt.svg)}.wu-flag-icon-bt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bt.svg)}.wu-flag-icon-bv{background-image:url(../img/flags/4x3/bv.svg)}.wu-flag-icon-bv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bv.svg)}.wu-flag-icon-bw{background-image:url(../img/flags/4x3/bw.svg)}.wu-flag-icon-bw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bw.svg)}.wu-flag-icon-by{background-image:url(../img/flags/4x3/by.svg)}.wu-flag-icon-by.wu-flag-icon-squared{background-image:url(../img/flags/1x1/by.svg)}.wu-flag-icon-bz{background-image:url(../img/flags/4x3/bz.svg)}.wu-flag-icon-bz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/bz.svg)}.wu-flag-icon-ca{background-image:url(../img/flags/4x3/ca.svg)}.wu-flag-icon-ca.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ca.svg)}.wu-flag-icon-cc{background-image:url(../img/flags/4x3/cc.svg)}.wu-flag-icon-cc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cc.svg)}.wu-flag-icon-cd{background-image:url(../img/flags/4x3/cd.svg)}.wu-flag-icon-cd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cd.svg)}.wu-flag-icon-cf{background-image:url(../img/flags/4x3/cf.svg)}.wu-flag-icon-cf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cf.svg)}.wu-flag-icon-cg{background-image:url(../img/flags/4x3/cg.svg)}.wu-flag-icon-cg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cg.svg)}.wu-flag-icon-ch{background-image:url(../img/flags/4x3/ch.svg)}.wu-flag-icon-ch.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ch.svg)}.wu-flag-icon-ci{background-image:url(../img/flags/4x3/ci.svg)}.wu-flag-icon-ci.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ci.svg)}.wu-flag-icon-ck{background-image:url(../img/flags/4x3/ck.svg)}.wu-flag-icon-ck.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ck.svg)}.wu-flag-icon-cl{background-image:url(../img/flags/4x3/cl.svg)}.wu-flag-icon-cl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cl.svg)}.wu-flag-icon-cm{background-image:url(../img/flags/4x3/cm.svg)}.wu-flag-icon-cm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cm.svg)}.wu-flag-icon-cn{background-image:url(../img/flags/4x3/cn.svg)}.wu-flag-icon-cn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cn.svg)}.wu-flag-icon-co{background-image:url(../img/flags/4x3/co.svg)}.wu-flag-icon-co.wu-flag-icon-squared{background-image:url(../img/flags/1x1/co.svg)}.wu-flag-icon-cr{background-image:url(../img/flags/4x3/cr.svg)}.wu-flag-icon-cr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cr.svg)}.wu-flag-icon-cu{background-image:url(../img/flags/4x3/cu.svg)}.wu-flag-icon-cu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cu.svg)}.wu-flag-icon-cv{background-image:url(../img/flags/4x3/cv.svg)}.wu-flag-icon-cv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cv.svg)}.wu-flag-icon-cw{background-image:url(../img/flags/4x3/cw.svg)}.wu-flag-icon-cw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cw.svg)}.wu-flag-icon-cx{background-image:url(../img/flags/4x3/cx.svg)}.wu-flag-icon-cx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cx.svg)}.wu-flag-icon-cy{background-image:url(../img/flags/4x3/cy.svg)}.wu-flag-icon-cy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cy.svg)}.wu-flag-icon-cz{background-image:url(../img/flags/4x3/cz.svg)}.wu-flag-icon-cz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/cz.svg)}.wu-flag-icon-de{background-image:url(../img/flags/4x3/de.svg)}.wu-flag-icon-de.wu-flag-icon-squared{background-image:url(../img/flags/1x1/de.svg)}.wu-flag-icon-dj{background-image:url(../img/flags/4x3/dj.svg)}.wu-flag-icon-dj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dj.svg)}.wu-flag-icon-dk{background-image:url(../img/flags/4x3/dk.svg)}.wu-flag-icon-dk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dk.svg)}.wu-flag-icon-dm{background-image:url(../img/flags/4x3/dm.svg)}.wu-flag-icon-dm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dm.svg)}.wu-flag-icon-do{background-image:url(../img/flags/4x3/do.svg)}.wu-flag-icon-do.wu-flag-icon-squared{background-image:url(../img/flags/1x1/do.svg)}.wu-flag-icon-dz{background-image:url(../img/flags/4x3/dz.svg)}.wu-flag-icon-dz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/dz.svg)}.wu-flag-icon-ec{background-image:url(../img/flags/4x3/ec.svg)}.wu-flag-icon-ec.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ec.svg)}.wu-flag-icon-ee{background-image:url(../img/flags/4x3/ee.svg)}.wu-flag-icon-ee.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ee.svg)}.wu-flag-icon-eg{background-image:url(../img/flags/4x3/eg.svg)}.wu-flag-icon-eg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eg.svg)}.wu-flag-icon-eh{background-image:url(../img/flags/4x3/eh.svg)}.wu-flag-icon-eh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eh.svg)}.wu-flag-icon-er{background-image:url(../img/flags/4x3/er.svg)}.wu-flag-icon-er.wu-flag-icon-squared{background-image:url(../img/flags/1x1/er.svg)}.wu-flag-icon-es{background-image:url(../img/flags/4x3/es.svg)}.wu-flag-icon-es.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es.svg)}.wu-flag-icon-et{background-image:url(../img/flags/4x3/et.svg)}.wu-flag-icon-et.wu-flag-icon-squared{background-image:url(../img/flags/1x1/et.svg)}.wu-flag-icon-fi{background-image:url(../img/flags/4x3/fi.svg)}.wu-flag-icon-fi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fi.svg)}.wu-flag-icon-fj{background-image:url(../img/flags/4x3/fj.svg)}.wu-flag-icon-fj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fj.svg)}.wu-flag-icon-fk{background-image:url(../img/flags/4x3/fk.svg)}.wu-flag-icon-fk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fk.svg)}.wu-flag-icon-fm{background-image:url(../img/flags/4x3/fm.svg)}.wu-flag-icon-fm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fm.svg)}.wu-flag-icon-fo{background-image:url(../img/flags/4x3/fo.svg)}.wu-flag-icon-fo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fo.svg)}.wu-flag-icon-fr{background-image:url(../img/flags/4x3/fr.svg)}.wu-flag-icon-fr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/fr.svg)}.wu-flag-icon-ga{background-image:url(../img/flags/4x3/ga.svg)}.wu-flag-icon-ga.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ga.svg)}.wu-flag-icon-gb{background-image:url(../img/flags/4x3/gb.svg)}.wu-flag-icon-gb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb.svg)}.wu-flag-icon-gd{background-image:url(../img/flags/4x3/gd.svg)}.wu-flag-icon-gd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gd.svg)}.wu-flag-icon-ge{background-image:url(../img/flags/4x3/ge.svg)}.wu-flag-icon-ge.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ge.svg)}.wu-flag-icon-gf{background-image:url(../img/flags/4x3/gf.svg)}.wu-flag-icon-gf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gf.svg)}.wu-flag-icon-gg{background-image:url(../img/flags/4x3/gg.svg)}.wu-flag-icon-gg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gg.svg)}.wu-flag-icon-gh{background-image:url(../img/flags/4x3/gh.svg)}.wu-flag-icon-gh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gh.svg)}.wu-flag-icon-gi{background-image:url(../img/flags/4x3/gi.svg)}.wu-flag-icon-gi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gi.svg)}.wu-flag-icon-gl{background-image:url(../img/flags/4x3/gl.svg)}.wu-flag-icon-gl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gl.svg)}.wu-flag-icon-gm{background-image:url(../img/flags/4x3/gm.svg)}.wu-flag-icon-gm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gm.svg)}.wu-flag-icon-gn{background-image:url(../img/flags/4x3/gn.svg)}.wu-flag-icon-gn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gn.svg)}.wu-flag-icon-gp{background-image:url(../img/flags/4x3/gp.svg)}.wu-flag-icon-gp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gp.svg)}.wu-flag-icon-gq{background-image:url(../img/flags/4x3/gq.svg)}.wu-flag-icon-gq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gq.svg)}.wu-flag-icon-gr{background-image:url(../img/flags/4x3/gr.svg)}.wu-flag-icon-gr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gr.svg)}.wu-flag-icon-gs{background-image:url(../img/flags/4x3/gs.svg)}.wu-flag-icon-gs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gs.svg)}.wu-flag-icon-gt{background-image:url(../img/flags/4x3/gt.svg)}.wu-flag-icon-gt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gt.svg)}.wu-flag-icon-gu{background-image:url(../img/flags/4x3/gu.svg)}.wu-flag-icon-gu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gu.svg)}.wu-flag-icon-gw{background-image:url(../img/flags/4x3/gw.svg)}.wu-flag-icon-gw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gw.svg)}.wu-flag-icon-gy{background-image:url(../img/flags/4x3/gy.svg)}.wu-flag-icon-gy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gy.svg)}.wu-flag-icon-hk{background-image:url(../img/flags/4x3/hk.svg)}.wu-flag-icon-hk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hk.svg)}.wu-flag-icon-hm{background-image:url(../img/flags/4x3/hm.svg)}.wu-flag-icon-hm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hm.svg)}.wu-flag-icon-hn{background-image:url(../img/flags/4x3/hn.svg)}.wu-flag-icon-hn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hn.svg)}.wu-flag-icon-hr{background-image:url(../img/flags/4x3/hr.svg)}.wu-flag-icon-hr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hr.svg)}.wu-flag-icon-ht{background-image:url(../img/flags/4x3/ht.svg)}.wu-flag-icon-ht.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ht.svg)}.wu-flag-icon-hu{background-image:url(../img/flags/4x3/hu.svg)}.wu-flag-icon-hu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/hu.svg)}.wu-flag-icon-id{background-image:url(../img/flags/4x3/id.svg)}.wu-flag-icon-id.wu-flag-icon-squared{background-image:url(../img/flags/1x1/id.svg)}.wu-flag-icon-ie{background-image:url(../img/flags/4x3/ie.svg)}.wu-flag-icon-ie.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ie.svg)}.wu-flag-icon-il{background-image:url(../img/flags/4x3/il.svg)}.wu-flag-icon-il.wu-flag-icon-squared{background-image:url(../img/flags/1x1/il.svg)}.wu-flag-icon-im{background-image:url(../img/flags/4x3/im.svg)}.wu-flag-icon-im.wu-flag-icon-squared{background-image:url(../img/flags/1x1/im.svg)}.wu-flag-icon-in{background-image:url(../img/flags/4x3/in.svg)}.wu-flag-icon-in.wu-flag-icon-squared{background-image:url(../img/flags/1x1/in.svg)}.wu-flag-icon-io{background-image:url(../img/flags/4x3/io.svg)}.wu-flag-icon-io.wu-flag-icon-squared{background-image:url(../img/flags/1x1/io.svg)}.wu-flag-icon-iq{background-image:url(../img/flags/4x3/iq.svg)}.wu-flag-icon-iq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/iq.svg)}.wu-flag-icon-ir{background-image:url(../img/flags/4x3/ir.svg)}.wu-flag-icon-ir.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ir.svg)}.wu-flag-icon-is{background-image:url(../img/flags/4x3/is.svg)}.wu-flag-icon-is.wu-flag-icon-squared{background-image:url(../img/flags/1x1/is.svg)}.wu-flag-icon-it{background-image:url(../img/flags/4x3/it.svg)}.wu-flag-icon-it.wu-flag-icon-squared{background-image:url(../img/flags/1x1/it.svg)}.wu-flag-icon-je{background-image:url(../img/flags/4x3/je.svg)}.wu-flag-icon-je.wu-flag-icon-squared{background-image:url(../img/flags/1x1/je.svg)}.wu-flag-icon-jm{background-image:url(../img/flags/4x3/jm.svg)}.wu-flag-icon-jm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jm.svg)}.wu-flag-icon-jo{background-image:url(../img/flags/4x3/jo.svg)}.wu-flag-icon-jo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jo.svg)}.wu-flag-icon-jp{background-image:url(../img/flags/4x3/jp.svg)}.wu-flag-icon-jp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/jp.svg)}.wu-flag-icon-ke{background-image:url(../img/flags/4x3/ke.svg)}.wu-flag-icon-ke.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ke.svg)}.wu-flag-icon-kg{background-image:url(../img/flags/4x3/kg.svg)}.wu-flag-icon-kg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kg.svg)}.wu-flag-icon-kh{background-image:url(../img/flags/4x3/kh.svg)}.wu-flag-icon-kh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kh.svg)}.wu-flag-icon-ki{background-image:url(../img/flags/4x3/ki.svg)}.wu-flag-icon-ki.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ki.svg)}.wu-flag-icon-km{background-image:url(../img/flags/4x3/km.svg)}.wu-flag-icon-km.wu-flag-icon-squared{background-image:url(../img/flags/1x1/km.svg)}.wu-flag-icon-kn{background-image:url(../img/flags/4x3/kn.svg)}.wu-flag-icon-kn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kn.svg)}.wu-flag-icon-kp{background-image:url(../img/flags/4x3/kp.svg)}.wu-flag-icon-kp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kp.svg)}.wu-flag-icon-kr{background-image:url(../img/flags/4x3/kr.svg)}.wu-flag-icon-kr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kr.svg)}.wu-flag-icon-kw{background-image:url(../img/flags/4x3/kw.svg)}.wu-flag-icon-kw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kw.svg)}.wu-flag-icon-ky{background-image:url(../img/flags/4x3/ky.svg)}.wu-flag-icon-ky.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ky.svg)}.wu-flag-icon-kz{background-image:url(../img/flags/4x3/kz.svg)}.wu-flag-icon-kz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/kz.svg)}.wu-flag-icon-la{background-image:url(../img/flags/4x3/la.svg)}.wu-flag-icon-la.wu-flag-icon-squared{background-image:url(../img/flags/1x1/la.svg)}.wu-flag-icon-lb{background-image:url(../img/flags/4x3/lb.svg)}.wu-flag-icon-lb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lb.svg)}.wu-flag-icon-lc{background-image:url(../img/flags/4x3/lc.svg)}.wu-flag-icon-lc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lc.svg)}.wu-flag-icon-li{background-image:url(../img/flags/4x3/li.svg)}.wu-flag-icon-li.wu-flag-icon-squared{background-image:url(../img/flags/1x1/li.svg)}.wu-flag-icon-lk{background-image:url(../img/flags/4x3/lk.svg)}.wu-flag-icon-lk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lk.svg)}.wu-flag-icon-lr{background-image:url(../img/flags/4x3/lr.svg)}.wu-flag-icon-lr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lr.svg)}.wu-flag-icon-ls{background-image:url(../img/flags/4x3/ls.svg)}.wu-flag-icon-ls.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ls.svg)}.wu-flag-icon-lt{background-image:url(../img/flags/4x3/lt.svg)}.wu-flag-icon-lt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lt.svg)}.wu-flag-icon-lu{background-image:url(../img/flags/4x3/lu.svg)}.wu-flag-icon-lu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lu.svg)}.wu-flag-icon-lv{background-image:url(../img/flags/4x3/lv.svg)}.wu-flag-icon-lv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/lv.svg)}.wu-flag-icon-ly{background-image:url(../img/flags/4x3/ly.svg)}.wu-flag-icon-ly.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ly.svg)}.wu-flag-icon-ma{background-image:url(../img/flags/4x3/ma.svg)}.wu-flag-icon-ma.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ma.svg)}.wu-flag-icon-mc{background-image:url(../img/flags/4x3/mc.svg)}.wu-flag-icon-mc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mc.svg)}.wu-flag-icon-md{background-image:url(../img/flags/4x3/md.svg)}.wu-flag-icon-md.wu-flag-icon-squared{background-image:url(../img/flags/1x1/md.svg)}.wu-flag-icon-me{background-image:url(../img/flags/4x3/me.svg)}.wu-flag-icon-me.wu-flag-icon-squared{background-image:url(../img/flags/1x1/me.svg)}.wu-flag-icon-mf{background-image:url(../img/flags/4x3/mf.svg)}.wu-flag-icon-mf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mf.svg)}.wu-flag-icon-mg{background-image:url(../img/flags/4x3/mg.svg)}.wu-flag-icon-mg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mg.svg)}.wu-flag-icon-mh{background-image:url(../img/flags/4x3/mh.svg)}.wu-flag-icon-mh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mh.svg)}.wu-flag-icon-mk{background-image:url(../img/flags/4x3/mk.svg)}.wu-flag-icon-mk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mk.svg)}.wu-flag-icon-ml{background-image:url(../img/flags/4x3/ml.svg)}.wu-flag-icon-ml.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ml.svg)}.wu-flag-icon-mm{background-image:url(../img/flags/4x3/mm.svg)}.wu-flag-icon-mm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mm.svg)}.wu-flag-icon-mn{background-image:url(../img/flags/4x3/mn.svg)}.wu-flag-icon-mn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mn.svg)}.wu-flag-icon-mo{background-image:url(../img/flags/4x3/mo.svg)}.wu-flag-icon-mo.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mo.svg)}.wu-flag-icon-mp{background-image:url(../img/flags/4x3/mp.svg)}.wu-flag-icon-mp.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mp.svg)}.wu-flag-icon-mq{background-image:url(../img/flags/4x3/mq.svg)}.wu-flag-icon-mq.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mq.svg)}.wu-flag-icon-mr{background-image:url(../img/flags/4x3/mr.svg)}.wu-flag-icon-mr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mr.svg)}.wu-flag-icon-ms{background-image:url(../img/flags/4x3/ms.svg)}.wu-flag-icon-ms.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ms.svg)}.wu-flag-icon-mt{background-image:url(../img/flags/4x3/mt.svg)}.wu-flag-icon-mt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mt.svg)}.wu-flag-icon-mu{background-image:url(../img/flags/4x3/mu.svg)}.wu-flag-icon-mu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mu.svg)}.wu-flag-icon-mv{background-image:url(../img/flags/4x3/mv.svg)}.wu-flag-icon-mv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mv.svg)}.wu-flag-icon-mw{background-image:url(../img/flags/4x3/mw.svg)}.wu-flag-icon-mw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mw.svg)}.wu-flag-icon-mx{background-image:url(../img/flags/4x3/mx.svg)}.wu-flag-icon-mx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mx.svg)}.wu-flag-icon-my{background-image:url(../img/flags/4x3/my.svg)}.wu-flag-icon-my.wu-flag-icon-squared{background-image:url(../img/flags/1x1/my.svg)}.wu-flag-icon-mz{background-image:url(../img/flags/4x3/mz.svg)}.wu-flag-icon-mz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/mz.svg)}.wu-flag-icon-na{background-image:url(../img/flags/4x3/na.svg)}.wu-flag-icon-na.wu-flag-icon-squared{background-image:url(../img/flags/1x1/na.svg)}.wu-flag-icon-nc{background-image:url(../img/flags/4x3/nc.svg)}.wu-flag-icon-nc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nc.svg)}.wu-flag-icon-ne{background-image:url(../img/flags/4x3/ne.svg)}.wu-flag-icon-ne.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ne.svg)}.wu-flag-icon-nf{background-image:url(../img/flags/4x3/nf.svg)}.wu-flag-icon-nf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nf.svg)}.wu-flag-icon-ng{background-image:url(../img/flags/4x3/ng.svg)}.wu-flag-icon-ng.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ng.svg)}.wu-flag-icon-ni{background-image:url(../img/flags/4x3/ni.svg)}.wu-flag-icon-ni.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ni.svg)}.wu-flag-icon-nl{background-image:url(../img/flags/4x3/nl.svg)}.wu-flag-icon-nl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nl.svg)}.wu-flag-icon-no{background-image:url(../img/flags/4x3/no.svg)}.wu-flag-icon-no.wu-flag-icon-squared{background-image:url(../img/flags/1x1/no.svg)}.wu-flag-icon-np{background-image:url(../img/flags/4x3/np.svg)}.wu-flag-icon-np.wu-flag-icon-squared{background-image:url(../img/flags/1x1/np.svg)}.wu-flag-icon-nr{background-image:url(../img/flags/4x3/nr.svg)}.wu-flag-icon-nr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nr.svg)}.wu-flag-icon-nu{background-image:url(../img/flags/4x3/nu.svg)}.wu-flag-icon-nu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nu.svg)}.wu-flag-icon-nz{background-image:url(../img/flags/4x3/nz.svg)}.wu-flag-icon-nz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/nz.svg)}.wu-flag-icon-om{background-image:url(../img/flags/4x3/om.svg)}.wu-flag-icon-om.wu-flag-icon-squared{background-image:url(../img/flags/1x1/om.svg)}.wu-flag-icon-pa{background-image:url(../img/flags/4x3/pa.svg)}.wu-flag-icon-pa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pa.svg)}.wu-flag-icon-pe{background-image:url(../img/flags/4x3/pe.svg)}.wu-flag-icon-pe.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pe.svg)}.wu-flag-icon-pf{background-image:url(../img/flags/4x3/pf.svg)}.wu-flag-icon-pf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pf.svg)}.wu-flag-icon-pg{background-image:url(../img/flags/4x3/pg.svg)}.wu-flag-icon-pg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pg.svg)}.wu-flag-icon-ph{background-image:url(../img/flags/4x3/ph.svg)}.wu-flag-icon-ph.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ph.svg)}.wu-flag-icon-pk{background-image:url(../img/flags/4x3/pk.svg)}.wu-flag-icon-pk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pk.svg)}.wu-flag-icon-pl{background-image:url(../img/flags/4x3/pl.svg)}.wu-flag-icon-pl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pl.svg)}.wu-flag-icon-pm{background-image:url(../img/flags/4x3/pm.svg)}.wu-flag-icon-pm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pm.svg)}.wu-flag-icon-pn{background-image:url(../img/flags/4x3/pn.svg)}.wu-flag-icon-pn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pn.svg)}.wu-flag-icon-pr{background-image:url(../img/flags/4x3/pr.svg)}.wu-flag-icon-pr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pr.svg)}.wu-flag-icon-ps{background-image:url(../img/flags/4x3/ps.svg)}.wu-flag-icon-ps.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ps.svg)}.wu-flag-icon-pt{background-image:url(../img/flags/4x3/pt.svg)}.wu-flag-icon-pt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pt.svg)}.wu-flag-icon-pw{background-image:url(../img/flags/4x3/pw.svg)}.wu-flag-icon-pw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/pw.svg)}.wu-flag-icon-py{background-image:url(../img/flags/4x3/py.svg)}.wu-flag-icon-py.wu-flag-icon-squared{background-image:url(../img/flags/1x1/py.svg)}.wu-flag-icon-qa{background-image:url(../img/flags/4x3/qa.svg)}.wu-flag-icon-qa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/qa.svg)}.wu-flag-icon-re{background-image:url(../img/flags/4x3/re.svg)}.wu-flag-icon-re.wu-flag-icon-squared{background-image:url(../img/flags/1x1/re.svg)}.wu-flag-icon-ro{background-image:url(../img/flags/4x3/ro.svg)}.wu-flag-icon-ro.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ro.svg)}.wu-flag-icon-rs{background-image:url(../img/flags/4x3/rs.svg)}.wu-flag-icon-rs.wu-flag-icon-squared{background-image:url(../img/flags/1x1/rs.svg)}.wu-flag-icon-ru{background-image:url(../img/flags/4x3/ru.svg)}.wu-flag-icon-ru.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ru.svg)}.wu-flag-icon-rw{background-image:url(../img/flags/4x3/rw.svg)}.wu-flag-icon-rw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/rw.svg)}.wu-flag-icon-sa{background-image:url(../img/flags/4x3/sa.svg)}.wu-flag-icon-sa.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sa.svg)}.wu-flag-icon-sb{background-image:url(../img/flags/4x3/sb.svg)}.wu-flag-icon-sb.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sb.svg)}.wu-flag-icon-sc{background-image:url(../img/flags/4x3/sc.svg)}.wu-flag-icon-sc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sc.svg)}.wu-flag-icon-sd{background-image:url(../img/flags/4x3/sd.svg)}.wu-flag-icon-sd.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sd.svg)}.wu-flag-icon-se{background-image:url(../img/flags/4x3/se.svg)}.wu-flag-icon-se.wu-flag-icon-squared{background-image:url(../img/flags/1x1/se.svg)}.wu-flag-icon-sg{background-image:url(../img/flags/4x3/sg.svg)}.wu-flag-icon-sg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sg.svg)}.wu-flag-icon-sh{background-image:url(../img/flags/4x3/sh.svg)}.wu-flag-icon-sh.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sh.svg)}.wu-flag-icon-si{background-image:url(../img/flags/4x3/si.svg)}.wu-flag-icon-si.wu-flag-icon-squared{background-image:url(../img/flags/1x1/si.svg)}.wu-flag-icon-sj{background-image:url(../img/flags/4x3/sj.svg)}.wu-flag-icon-sj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sj.svg)}.wu-flag-icon-sk{background-image:url(../img/flags/4x3/sk.svg)}.wu-flag-icon-sk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sk.svg)}.wu-flag-icon-sl{background-image:url(../img/flags/4x3/sl.svg)}.wu-flag-icon-sl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sl.svg)}.wu-flag-icon-sm{background-image:url(../img/flags/4x3/sm.svg)}.wu-flag-icon-sm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sm.svg)}.wu-flag-icon-sn{background-image:url(../img/flags/4x3/sn.svg)}.wu-flag-icon-sn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sn.svg)}.wu-flag-icon-so{background-image:url(../img/flags/4x3/so.svg)}.wu-flag-icon-so.wu-flag-icon-squared{background-image:url(../img/flags/1x1/so.svg)}.wu-flag-icon-sr{background-image:url(../img/flags/4x3/sr.svg)}.wu-flag-icon-sr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sr.svg)}.wu-flag-icon-ss{background-image:url(../img/flags/4x3/ss.svg)}.wu-flag-icon-ss.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ss.svg)}.wu-flag-icon-st{background-image:url(../img/flags/4x3/st.svg)}.wu-flag-icon-st.wu-flag-icon-squared{background-image:url(../img/flags/1x1/st.svg)}.wu-flag-icon-sv{background-image:url(../img/flags/4x3/sv.svg)}.wu-flag-icon-sv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sv.svg)}.wu-flag-icon-sx{background-image:url(../img/flags/4x3/sx.svg)}.wu-flag-icon-sx.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sx.svg)}.wu-flag-icon-sy{background-image:url(../img/flags/4x3/sy.svg)}.wu-flag-icon-sy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sy.svg)}.wu-flag-icon-sz{background-image:url(../img/flags/4x3/sz.svg)}.wu-flag-icon-sz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/sz.svg)}.wu-flag-icon-tc{background-image:url(../img/flags/4x3/tc.svg)}.wu-flag-icon-tc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tc.svg)}.wu-flag-icon-td{background-image:url(../img/flags/4x3/td.svg)}.wu-flag-icon-td.wu-flag-icon-squared{background-image:url(../img/flags/1x1/td.svg)}.wu-flag-icon-tf{background-image:url(../img/flags/4x3/tf.svg)}.wu-flag-icon-tf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tf.svg)}.wu-flag-icon-tg{background-image:url(../img/flags/4x3/tg.svg)}.wu-flag-icon-tg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tg.svg)}.wu-flag-icon-th{background-image:url(../img/flags/4x3/th.svg)}.wu-flag-icon-th.wu-flag-icon-squared{background-image:url(../img/flags/1x1/th.svg)}.wu-flag-icon-tj{background-image:url(../img/flags/4x3/tj.svg)}.wu-flag-icon-tj.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tj.svg)}.wu-flag-icon-tk{background-image:url(../img/flags/4x3/tk.svg)}.wu-flag-icon-tk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tk.svg)}.wu-flag-icon-tl{background-image:url(../img/flags/4x3/tl.svg)}.wu-flag-icon-tl.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tl.svg)}.wu-flag-icon-tm{background-image:url(../img/flags/4x3/tm.svg)}.wu-flag-icon-tm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tm.svg)}.wu-flag-icon-tn{background-image:url(../img/flags/4x3/tn.svg)}.wu-flag-icon-tn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tn.svg)}.wu-flag-icon-to{background-image:url(../img/flags/4x3/to.svg)}.wu-flag-icon-to.wu-flag-icon-squared{background-image:url(../img/flags/1x1/to.svg)}.wu-flag-icon-tr{background-image:url(../img/flags/4x3/tr.svg)}.wu-flag-icon-tr.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tr.svg)}.wu-flag-icon-tt{background-image:url(../img/flags/4x3/tt.svg)}.wu-flag-icon-tt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tt.svg)}.wu-flag-icon-tv{background-image:url(../img/flags/4x3/tv.svg)}.wu-flag-icon-tv.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tv.svg)}.wu-flag-icon-tw{background-image:url(../img/flags/4x3/tw.svg)}.wu-flag-icon-tw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tw.svg)}.wu-flag-icon-tz{background-image:url(../img/flags/4x3/tz.svg)}.wu-flag-icon-tz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/tz.svg)}.wu-flag-icon-ua{background-image:url(../img/flags/4x3/ua.svg)}.wu-flag-icon-ua.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ua.svg)}.wu-flag-icon-ug{background-image:url(../img/flags/4x3/ug.svg)}.wu-flag-icon-ug.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ug.svg)}.wu-flag-icon-um{background-image:url(../img/flags/4x3/um.svg)}.wu-flag-icon-um.wu-flag-icon-squared{background-image:url(../img/flags/1x1/um.svg)}.wu-flag-icon-us{background-image:url(../img/flags/4x3/us.svg)}.wu-flag-icon-us.wu-flag-icon-squared{background-image:url(../img/flags/1x1/us.svg)}.wu-flag-icon-uy{background-image:url(../img/flags/4x3/uy.svg)}.wu-flag-icon-uy.wu-flag-icon-squared{background-image:url(../img/flags/1x1/uy.svg)}.wu-flag-icon-uz{background-image:url(../img/flags/4x3/uz.svg)}.wu-flag-icon-uz.wu-flag-icon-squared{background-image:url(../img/flags/1x1/uz.svg)}.wu-flag-icon-va{background-image:url(../img/flags/4x3/va.svg)}.wu-flag-icon-va.wu-flag-icon-squared{background-image:url(../img/flags/1x1/va.svg)}.wu-flag-icon-vc{background-image:url(../img/flags/4x3/vc.svg)}.wu-flag-icon-vc.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vc.svg)}.wu-flag-icon-ve{background-image:url(../img/flags/4x3/ve.svg)}.wu-flag-icon-ve.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ve.svg)}.wu-flag-icon-vg{background-image:url(../img/flags/4x3/vg.svg)}.wu-flag-icon-vg.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vg.svg)}.wu-flag-icon-vi{background-image:url(../img/flags/4x3/vi.svg)}.wu-flag-icon-vi.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vi.svg)}.wu-flag-icon-vn{background-image:url(../img/flags/4x3/vn.svg)}.wu-flag-icon-vn.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vn.svg)}.wu-flag-icon-vu{background-image:url(../img/flags/4x3/vu.svg)}.wu-flag-icon-vu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/vu.svg)}.wu-flag-icon-wf{background-image:url(../img/flags/4x3/wf.svg)}.wu-flag-icon-wf.wu-flag-icon-squared{background-image:url(../img/flags/1x1/wf.svg)}.wu-flag-icon-ws{background-image:url(../img/flags/4x3/ws.svg)}.wu-flag-icon-ws.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ws.svg)}.wu-flag-icon-ye{background-image:url(../img/flags/4x3/ye.svg)}.wu-flag-icon-ye.wu-flag-icon-squared{background-image:url(../img/flags/1x1/ye.svg)}.wu-flag-icon-yt{background-image:url(../img/flags/4x3/yt.svg)}.wu-flag-icon-yt.wu-flag-icon-squared{background-image:url(../img/flags/1x1/yt.svg)}.wu-flag-icon-za{background-image:url(../img/flags/4x3/za.svg)}.wu-flag-icon-za.wu-flag-icon-squared{background-image:url(../img/flags/1x1/za.svg)}.wu-flag-icon-zm{background-image:url(../img/flags/4x3/zm.svg)}.wu-flag-icon-zm.wu-flag-icon-squared{background-image:url(../img/flags/1x1/zm.svg)}.wu-flag-icon-zw{background-image:url(../img/flags/4x3/zw.svg)}.wu-flag-icon-zw.wu-flag-icon-squared{background-image:url(../img/flags/1x1/zw.svg)}.wu-flag-icon-es-ca{background-image:url(../img/flags/4x3/es-ca.svg)}.wu-flag-icon-es-ca.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es-ca.svg)}.wu-flag-icon-es-ga{background-image:url(../img/flags/4x3/es-ga.svg)}.wu-flag-icon-es-ga.wu-flag-icon-squared{background-image:url(../img/flags/1x1/es-ga.svg)}.wu-flag-icon-eu{background-image:url(../img/flags/4x3/eu.svg)}.wu-flag-icon-eu.wu-flag-icon-squared{background-image:url(../img/flags/1x1/eu.svg)}.wu-flag-icon-gb-eng{background-image:url(../img/flags/4x3/gb-eng.svg)}.wu-flag-icon-gb-eng.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-eng.svg)}.wu-flag-icon-gb-nir{background-image:url(../img/flags/4x3/gb-nir.svg)}.wu-flag-icon-gb-nir.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-nir.svg)}.wu-flag-icon-gb-sct{background-image:url(../img/flags/4x3/gb-sct.svg)}.wu-flag-icon-gb-sct.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-sct.svg)}.wu-flag-icon-gb-wls{background-image:url(../img/flags/4x3/gb-wls.svg)}.wu-flag-icon-gb-wls.wu-flag-icon-squared{background-image:url(../img/flags/1x1/gb-wls.svg)}.wu-flag-icon-un{background-image:url(../img/flags/4x3/un.svg)}.wu-flag-icon-un.wu-flag-icon-squared{background-image:url(../img/flags/1x1/un.svg)}.wu-flag-icon-xk{background-image:url(../img/flags/4x3/xk.svg)}.wu-flag-icon-xk.wu-flag-icon-squared{background-image:url(../img/flags/1x1/xk.svg)} \ No newline at end of file diff --git a/assets/css/framework.min.css b/assets/css/framework.min.css index f232b12..bb71345 100644 --- a/assets/css/framework.min.css +++ b/assets/css/framework.min.css @@ -1 +1 @@ -*,::after,::before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(66 153 225 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(66 153 225 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.wu-styling :is(.wu-pointer-events-none){pointer-events:none}.wu-styling :is(.wu-static){position:static}.wu-styling :is(.wu-fixed){position:fixed}.wu-styling :is(.wu-absolute){position:absolute}.wu-styling :is(.wu-relative){position:relative}.wu-styling :is(.wu-sticky){position:sticky}.wu-styling :is(.wu--inset-px){inset:-1px}.wu-styling :is(.wu-bottom-0){bottom:0}.wu-styling :is(.wu-left-0){left:0}.wu-styling :is(.wu-left-1\/2){left:50%}.wu-styling :is(.wu-right-0){right:0}.wu-styling :is(.wu-right-4){right:1rem}.wu-styling :is(.wu-right-5){right:1.25rem}.wu-styling :is(.wu-top-0){top:0}.wu-styling :is(.wu-top-4){top:1rem}.wu-styling :is(.wu-z-10){z-index:10}.wu-styling :is(.wu-order-1){order:1}.wu-styling :is(.wu-order-12){order:12}.wu-styling :is(.wu-order-2){order:2}.wu-styling :is(.wu-order-3){order:3}.wu-styling :is(.wu-col-span-1){grid-column:span 1/span 1}.wu-styling :is(.wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.wu-float-right){float:right}.wu-styling :is(.wu-float-left){float:left}.wu-styling :is(.wu-clear-both){clear:both}.wu-styling :is(.wu--m-2){margin:-.5rem}.wu-styling :is(.wu--m-3){margin:-.75rem}.wu-styling :is(.wu--m-4){margin:-1rem}.wu-styling :is(.wu--m-in){margin:-27px}.wu-styling :is(.wu-m-0){margin:0}.wu-styling :is(.wu-m-2){margin:.5rem}.wu-styling :is(.wu-m-4){margin:1rem}.wu-styling :is(.wu-m-6){margin:1.5rem}.wu-styling :is(.wu-m-8){margin:2rem}.wu-styling :is(.wu-m-auto){margin:auto}.wu-styling :is(.wu--mx-1){margin-left:-.25rem;margin-right:-.25rem}.wu-styling :is(.wu--mx-2){margin-left:-.5rem;margin-right:-.5rem}.wu-styling :is(.wu--mx-3){margin-left:-.75rem;margin-right:-.75rem}.wu-styling :is(.wu--mx-4){margin-left:-1rem;margin-right:-1rem}.wu-styling :is(.wu--mx-5){margin-left:-1.25rem;margin-right:-1.25rem}.wu-styling :is(.wu--mx-6){margin-left:-1.5rem;margin-right:-1.5rem}.wu-styling :is(.wu--mx-in){margin-left:-27px;margin-right:-27px}.wu-styling :is(.wu--my-2){margin-top:-.5rem;margin-bottom:-.5rem}.wu-styling :is(.wu-mx-0){margin-left:0;margin-right:0}.wu-styling :is(.wu-mx-1){margin-left:.25rem;margin-right:.25rem}.wu-styling :is(.wu-mx-2){margin-left:.5rem;margin-right:.5rem}.wu-styling :is(.wu-mx-3){margin-left:.75rem;margin-right:.75rem}.wu-styling :is(.wu-mx-4){margin-left:1rem;margin-right:1rem}.wu-styling :is(.wu-mx-auto){margin-left:auto;margin-right:auto}.wu-styling :is(.wu-my-0){margin-top:0;margin-bottom:0}.wu-styling :is(.wu-my-1){margin-top:.25rem;margin-bottom:.25rem}.wu-styling :is(.wu-my-10){margin-top:2.5rem;margin-bottom:2.5rem}.wu-styling :is(.wu-my-2){margin-top:.5rem;margin-bottom:.5rem}.wu-styling :is(.wu-my-3){margin-top:.75rem;margin-bottom:.75rem}.wu-styling :is(.wu-my-4){margin-top:1rem;margin-bottom:1rem}.wu-styling :is(.wu-my-5){margin-top:1.25rem;margin-bottom:1.25rem}.wu-styling :is(.wu-my-6){margin-top:1.5rem;margin-bottom:1.5rem}.wu-styling :is(.wu--mb-1){margin-bottom:-.25rem}.wu-styling :is(.wu--mb-12){margin-bottom:-3rem}.wu-styling :is(.wu--mb-2){margin-bottom:-.5rem}.wu-styling :is(.wu--mb-3){margin-bottom:-.75rem}.wu-styling :is(.wu--mb-5){margin-bottom:-1.25rem}.wu-styling :is(.wu--mb-6){margin-bottom:-1.5rem}.wu-styling :is(.wu--mb-8){margin-bottom:-2rem}.wu-styling :is(.wu--mb-in){margin-bottom:-27px}.wu-styling :is(.wu--ml-2){margin-left:-.5rem}.wu-styling :is(.wu--ml-5){margin-left:-1.25rem}.wu-styling :is(.wu--mr-1){margin-right:-.25rem}.wu-styling :is(.wu--mr-2){margin-right:-.5rem}.wu-styling :is(.wu--mr-4){margin-right:-1rem}.wu-styling :is(.wu--mt-1){margin-top:-.25rem}.wu-styling :is(.wu--mt-2){margin-top:-.5rem}.wu-styling :is(.wu--mt-3){margin-top:-.75rem}.wu-styling :is(.wu--mt-4){margin-top:-1rem}.wu-styling :is(.wu--mt-5){margin-top:-1.25rem}.wu-styling :is(.wu--mt-7){margin-top:-32px}.wu-styling :is(.wu--mt-8){margin-top:-2rem}.wu-styling :is(.wu--mt-px){margin-top:-1px}.wu-styling :is(.wu--mt-widget-inset){margin-top:-14px}.wu-styling :is(.wu-mb-0){margin-bottom:0}.wu-styling :is(.wu-mb-1){margin-bottom:.25rem}.wu-styling :is(.wu-mb-10){margin-bottom:2.5rem}.wu-styling :is(.wu-mb-2){margin-bottom:.5rem}.wu-styling :is(.wu-mb-3){margin-bottom:.75rem}.wu-styling :is(.wu-mb-4){margin-bottom:1rem}.wu-styling :is(.wu-mb-5){margin-bottom:1.25rem}.wu-styling :is(.wu-mb-6){margin-bottom:1.5rem}.wu-styling :is(.wu-mb-8){margin-bottom:2rem}.wu-styling :is(.wu-ml-0){margin-left:0}.wu-styling :is(.wu-ml-1){margin-left:.25rem}.wu-styling :is(.wu-ml-2){margin-left:.5rem}.wu-styling :is(.wu-ml-3){margin-left:.75rem}.wu-styling :is(.wu-ml-4){margin-left:1rem}.wu-styling :is(.wu-ml-5){margin-left:1.25rem}.wu-styling :is(.wu-ml-6){margin-left:1.5rem}.wu-styling :is(.wu-ml-8){margin-left:2rem}.wu-styling :is(.wu-ml-auto){margin-left:auto}.wu-styling :is(.wu-mr-1){margin-right:.25rem}.wu-styling :is(.wu-mr-2){margin-right:.5rem}.wu-styling :is(.wu-mr-3){margin-right:.75rem}.wu-styling :is(.wu-mr-4){margin-right:1rem}.wu-styling :is(.wu-mr-auto){margin-right:auto}.wu-styling :is(.wu-mr-px){margin-right:1px}.wu-styling :is(.wu-mt-0){margin-top:0}.wu-styling :is(.wu-mt-1){margin-top:.25rem}.wu-styling :is(.wu-mt-10){margin-top:2.5rem}.wu-styling :is(.wu-mt-2){margin-top:.5rem}.wu-styling :is(.wu-mt-3){margin-top:.75rem}.wu-styling :is(.wu-mt-4){margin-top:1rem}.wu-styling :is(.wu-mt-5){margin-top:1.25rem}.wu-styling :is(.wu-mt-6){margin-top:1.5rem}.wu-styling :is(.wu-mt-8){margin-top:2rem}.wu-styling :is(.wu-box-border){box-sizing:border-box}.wu-styling :is(.wu-block){display:block}.wu-styling :is(.wu-inline-block){display:inline-block}.wu-styling :is(.wu-inline){display:inline}.wu-styling :is(.wu-flex){display:flex}.wu-styling :is(.wu-inline-flex){display:inline-flex}.wu-styling :is(.wu-table){display:table}.wu-styling :is(.wu-grid){display:grid}.wu-styling :is(.wu-hidden){display:none}.wu-styling :is(.wu-h-0){height:0}.wu-styling :is(.wu-h-1){height:.25rem}.wu-styling :is(.wu-h-12){height:3rem}.wu-styling :is(.wu-h-2){height:.5rem}.wu-styling :is(.wu-h-3){height:.75rem}.wu-styling :is(.wu-h-4){height:1rem}.wu-styling :is(.wu-h-48){height:12rem}.wu-styling :is(.wu-h-5){height:1.25rem}.wu-styling :is(.wu-h-6){height:1.5rem}.wu-styling :is(.wu-h-7){height:32px}.wu-styling :is(.wu-h-8){height:2rem}.wu-styling :is(.wu-h-auto){height:auto}.wu-styling :is(.wu-h-full){height:100%}.wu-styling :is(.wu-h-screen){height:100vh}.wu-styling :is(.wu-h-thumb){height:40px}.wu-styling :is(.wu-max-h-2){max-height:.5rem}.wu-styling :is(.wu-max-h-screen){max-height:100vh}.wu-styling :is(.wu-w-0){width:0}.wu-styling :is(.wu-w-1){width:.25rem}.wu-styling :is(.wu-w-1\/12){width:8.333333%}.wu-styling :is(.wu-w-1\/2){width:50%}.wu-styling :is(.wu-w-1\/3){width:33.333333%}.wu-styling :is(.wu-w-1\/4){width:25%}.wu-styling :is(.wu-w-1\/6){width:16.666667%}.wu-styling :is(.wu-w-12){width:3rem}.wu-styling :is(.wu-w-2){width:.5rem}.wu-styling :is(.wu-w-2\/12){width:16.666667%}.wu-styling :is(.wu-w-2\/3){width:66.666667%}.wu-styling :is(.wu-w-3){width:.75rem}.wu-styling :is(.wu-w-3\/12){width:25%}.wu-styling :is(.wu-w-4){width:1rem}.wu-styling :is(.wu-w-4\/12){width:33.333333%}.wu-styling :is(.wu-w-5){width:1.25rem}.wu-styling :is(.wu-w-5\/12){width:41.666667%}.wu-styling :is(.wu-w-6){width:1.5rem}.wu-styling :is(.wu-w-7){width:32px}.wu-styling :is(.wu-w-7\/12){width:58.333333%}.wu-styling :is(.wu-w-8){width:2rem}.wu-styling :is(.wu-w-8\/12){width:66.666667%}.wu-styling :is(.wu-w-auto){width:auto}.wu-styling :is(.wu-w-full){width:100%}.wu-styling :is(.wu-w-thumb){width:40px}.wu-styling :is(.wu-min-w-0){min-width:0}.wu-styling :is(.wu-min-w-full){min-width:100%}.wu-styling :is(.wu-max-w-screen-md){max-width:768px}.wu-styling :is(.wu-max-w-sm){max-width:24rem}.wu-styling :is(.wu-flex-1){flex:1 1 0%}.wu-styling :is(.wu-flex-none){flex:none}.wu-styling :is(.wu-flex-shrink){flex-shrink:1}.wu-styling :is(.wu-flex-shrink-0){flex-shrink:0}.wu-styling :is(.wu-flex-grow){flex-grow:1}.wu-styling :is(.wu-table-auto){table-layout:auto}.wu-styling :is(.wu--translate-x-1\/2){--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-scale-150){--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-transform){transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-cursor-not-allowed){cursor:not-allowed}.wu-styling :is(.wu-cursor-pointer){cursor:pointer}.wu-styling :is(.wu-select-all){user-select:all}.wu-styling :is(.wu-list-none){list-style-type:none}.wu-styling :is(.wu-grid-flow-row){grid-auto-flow:row}.wu-styling :is(.wu-grid-cols-1){grid-template-columns:repeat(1,minmax(0,1fr))}.wu-styling :is(.wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.wu-flex-col){flex-direction:column}.wu-styling :is(.wu-flex-wrap){flex-wrap:wrap}.wu-styling :is(.wu-content-center){align-content:center}.wu-styling :is(.wu-items-end){align-items:flex-end}.wu-styling :is(.wu-items-center){align-items:center}.wu-styling :is(.wu-items-stretch){align-items:stretch}.wu-styling :is(.wu-justify-start){justify-content:flex-start}.wu-styling :is(.wu-justify-end){justify-content:flex-end}.wu-styling :is(.wu-justify-center){justify-content:center}.wu-styling :is(.wu-justify-between){justify-content:space-between}.wu-styling :is(.wu-gap-2){gap:.5rem}.wu-styling :is(.wu-gap-4){gap:1rem}.wu-styling :is(.wu-gap-5){gap:1.25rem}.wu-styling :is(.wu-gap-6){gap:1.5rem}.wu-styling :is(.wu-gap-x-4){column-gap:1rem}.wu-styling :is(.wu-gap-y-8){row-gap:2rem}.wu-styling :is(.wu-divide-gray-200>:not([hidden])~:not([hidden])){--tw-divide-opacity:1;border-color:rgb(237 242 247 / var(--tw-divide-opacity))}.wu-styling :is(.wu-self-start){align-self:flex-start}.wu-styling :is(.wu-self-end){align-self:flex-end}.wu-styling :is(.wu-self-center){align-self:center}.wu-styling :is(.wu-justify-self-end){justify-self:end}.wu-styling :is(.wu-overflow-auto){overflow:auto}.wu-styling :is(.wu-overflow-hidden){overflow:hidden}.wu-styling :is(.wu-overflow-y-auto){overflow-y:auto}.wu-styling :is(.wu-overflow-x-scroll){overflow-x:scroll}.wu-styling :is(.wu-truncate){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wu-styling :is(.wu-rounded){border-radius:.25rem}.wu-styling :is(.wu-rounded-full){border-radius:9999px}.wu-styling :is(.wu-rounded-lg){border-radius:.5rem}.wu-styling :is(.wu-rounded-none){border-radius:0}.wu-styling :is(.wu-rounded-sm){border-radius:.125rem}.wu-styling :is(.wu-rounded-tl){border-top-left-radius:.25rem}.wu-styling :is(.wu-rounded-tr){border-top-right-radius:.25rem}.wu-styling :is(.wu-border){border-width:1px}.wu-styling :is(.wu-border-0){border-width:0}.wu-styling :is(.wu-border-2){border-width:2px}.wu-styling :is(.wu-border-b){border-bottom-width:1px}.wu-styling :is(.wu-border-b-0){border-bottom-width:0}.wu-styling :is(.wu-border-l){border-left-width:1px}.wu-styling :is(.wu-border-l-0){border-left-width:0}.wu-styling :is(.wu-border-l-4){border-left-width:4px}.wu-styling :is(.wu-border-r){border-right-width:1px}.wu-styling :is(.wu-border-r-0){border-right-width:0}.wu-styling :is(.wu-border-t){border-top-width:1px}.wu-styling :is(.wu-border-t-0){border-top-width:0}.wu-styling :is(.wu-border-solid){border-style:solid}.wu-styling :is(.wu-border-dashed){border-style:dashed}.wu-styling :is(.wu-border-none){border-style:none}.wu-styling :is(.wu-border-blue-500){--tw-border-opacity:1;border-color:rgb(66 153 225 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-200){--tw-border-opacity:1;border-color:rgb(237 242 247 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-300){--tw-border-opacity:1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-400){--tw-border-opacity:1;border-color:rgb(203 213 224 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-green-300){--tw-border-opacity:1;border-color:rgb(154 230 180 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-red-200){--tw-border-opacity:1;border-color:rgb(254 215 215 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-red-300){--tw-border-opacity:1;border-color:rgb(254 178 178 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-transparent){border-color:transparent}.wu-styling :is(.wu-border-white){--tw-border-opacity:1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-yellow-300){--tw-border-opacity:1;border-color:rgb(250 240 137 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-yellow-500){--tw-border-opacity:1;border-color:rgb(236 201 75 / var(--tw-border-opacity))}.wu-styling :is(.wu-bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-100){--tw-bg-opacity:1;background-color:rgb(235 248 255 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-200){--tw-bg-opacity:1;background-color:rgb(190 227 248 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-500){--tw-bg-opacity:1;background-color:rgb(66 153 225 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-100){--tw-bg-opacity:1;background-color:rgb(247 250 252 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-200){--tw-bg-opacity:1;background-color:rgb(237 242 247 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-300){--tw-bg-opacity:1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-700){--tw-bg-opacity:1;background-color:rgb(74 85 104 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-800){--tw-bg-opacity:1;background-color:rgb(45 55 72 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-100){--tw-bg-opacity:1;background-color:rgb(240 255 244 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-200){--tw-bg-opacity:1;background-color:rgb(198 246 213 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-300){--tw-bg-opacity:1;background-color:rgb(154 230 180 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-500){--tw-bg-opacity:1;background-color:rgb(72 187 120 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-200){--tw-bg-opacity:1;background-color:rgb(254 235 200 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-500){--tw-bg-opacity:1;background-color:rgb(237 137 54 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-600){--tw-bg-opacity:1;background-color:rgb(221 107 32 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-pink-200){--tw-bg-opacity:1;background-color:rgb(254 215 226 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-pink-500){--tw-bg-opacity:1;background-color:rgb(237 100 166 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-200){--tw-bg-opacity:1;background-color:rgb(233 216 253 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-500){--tw-bg-opacity:1;background-color:rgb(159 122 234 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-800){--tw-bg-opacity:1;background-color:rgb(85 60 154 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-100){--tw-bg-opacity:1;background-color:rgb(255 245 245 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-200){--tw-bg-opacity:1;background-color:rgb(254 215 215 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-500){--tw-bg-opacity:1;background-color:rgb(245 101 101 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-transparent){background-color:transparent}.wu-styling :is(.wu-bg-white){--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-yellow-200){--tw-bg-opacity:1;background-color:rgb(254 252 191 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-yellow-500){--tw-bg-opacity:1;background-color:rgb(236 201 75 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-none){background-image:none}.wu-styling :is(.wu-bg-contain){background-size:contain}.wu-styling :is(.wu-bg-cover){background-size:cover}.wu-styling :is(.wu-bg-center){background-position:center}.wu-styling :is(.wu-bg-no-repeat){background-repeat:no-repeat}.wu-styling :is(.wu-fill-current){fill:currentColor}.wu-styling :is(.wu-object-cover){object-fit:cover}.wu-styling :is(.wu-p-0){padding:0}.wu-styling :is(.wu-p-1){padding:.25rem}.wu-styling :is(.wu-p-12){padding:3rem}.wu-styling :is(.wu-p-2){padding:.5rem}.wu-styling :is(.wu-p-3){padding:.75rem}.wu-styling :is(.wu-p-4){padding:1rem}.wu-styling :is(.wu-p-6){padding:1.5rem}.wu-styling :is(.wu-p-8){padding:2rem}.wu-styling :is(.wu-px-1){padding-left:.25rem;padding-right:.25rem}.wu-styling :is(.wu-px-2){padding-left:.5rem;padding-right:.5rem}.wu-styling :is(.wu-px-3){padding-left:.75rem;padding-right:.75rem}.wu-styling :is(.wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.wu-px-6){padding-left:1.5rem;padding-right:1.5rem}.wu-styling :is(.wu-py-0){padding-top:0;padding-bottom:0}.wu-styling :is(.wu-py-1){padding-top:.25rem;padding-bottom:.25rem}.wu-styling :is(.wu-py-2){padding-top:.5rem;padding-bottom:.5rem}.wu-styling :is(.wu-py-3){padding-top:.75rem;padding-bottom:.75rem}.wu-styling :is(.wu-py-4){padding-top:1rem;padding-bottom:1rem}.wu-styling :is(.wu-py-5){padding-top:1.25rem;padding-bottom:1.25rem}.wu-styling :is(.wu-py-6){padding-top:1.5rem;padding-bottom:1.5rem}.wu-styling :is(.wu-py-8){padding-top:2rem;padding-bottom:2rem}.wu-styling :is(.wu-pb-0){padding-bottom:0}.wu-styling :is(.wu-pb-1){padding-bottom:.25rem}.wu-styling :is(.wu-pb-12){padding-bottom:3rem}.wu-styling :is(.wu-pb-2){padding-bottom:.5rem}.wu-styling :is(.wu-pb-3){padding-bottom:.75rem}.wu-styling :is(.wu-pb-4){padding-bottom:1rem}.wu-styling :is(.wu-pb-8){padding-bottom:2rem}.wu-styling :is(.wu-pl-2){padding-left:.5rem}.wu-styling :is(.wu-pl-4){padding-left:1rem}.wu-styling :is(.wu-pr-1){padding-right:.25rem}.wu-styling :is(.wu-pr-3){padding-right:.75rem}.wu-styling :is(.wu-pt-0){padding-top:0}.wu-styling :is(.wu-pt-1){padding-top:.25rem}.wu-styling :is(.wu-pt-10){padding-top:2.5rem}.wu-styling :is(.wu-pt-2){padding-top:.5rem}.wu-styling :is(.wu-pt-3){padding-top:.75rem}.wu-styling :is(.wu-pt-4){padding-top:1rem}.wu-styling :is(.wu-pt-6){padding-top:1.5rem}.wu-styling :is(.wu-pt-px){padding-top:1px}.wu-styling :is(.wu-text-left){text-align:left}.wu-styling :is(.wu-text-center){text-align:center}.wu-styling :is(.wu-text-right){text-align:right}.wu-styling :is(.wu-text-justify){text-align:justify}.wu-styling :is(.wu-align-baseline){vertical-align:baseline}.wu-styling :is(.wu-align-middle){vertical-align:middle}.wu-styling :is(.wu-align-bottom){vertical-align:bottom}.wu-styling :is(.wu-align-text-top){vertical-align:text-top}.wu-styling :is(.wu-align-text-bottom){vertical-align:text-bottom}.wu-styling :is(.wu-font-mono){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.wu-styling :is(.wu-text-2xl){font-size:1.5rem}.wu-styling :is(.wu-text-2xs){font-size:.7rem}.wu-styling :is(.wu-text-3xl){font-size:1.875rem}.wu-styling :is(.wu-text-3xs){font-size:.5rem}.wu-styling :is(.wu-text-4xl){font-size:2.25rem}.wu-styling :is(.wu-text-5xl){font-size:3rem}.wu-styling :is(.wu-text-6xl){font-size:4rem}.wu-styling :is(.wu-text-base){font-size:1rem}.wu-styling :is(.wu-text-lg){font-size:1.125rem}.wu-styling :is(.wu-text-sm){font-size:.875rem}.wu-styling :is(.wu-text-xl){font-size:1.25rem}.wu-styling :is(.wu-text-xs){font-size:.75rem}.wu-styling :is(.wu-font-bold){font-weight:700}.wu-styling :is(.wu-font-medium){font-weight:500}.wu-styling :is(.wu-font-normal){font-weight:400}.wu-styling :is(.wu-font-semibold){font-weight:600}.wu-styling :is(.wu-uppercase){text-transform:uppercase}.wu-styling :is(.wu-capitalize){text-transform:capitalize}.wu-styling :is(.wu-normal-case){text-transform:none}.wu-styling :is(.wu-leading-none){line-height:1}.wu-styling :is(.wu-leading-relaxed){line-height:1.625}.wu-styling :is(.wu-leading-snug){line-height:1.375}.wu-styling :is(.wu-tracking-wide){letter-spacing:.025em}.wu-styling :is(.wu-tracking-wider){letter-spacing:.05em}.wu-styling :is(.wu-text-blue-400){--tw-text-opacity:1;color:rgb(99 179 237 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-blue-600){--tw-text-opacity:1;color:rgb(49 130 206 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-blue-700){--tw-text-opacity:1;color:rgb(43 108 176 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-100){--tw-text-opacity:1;color:rgb(247 250 252 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-200){--tw-text-opacity:1;color:rgb(237 242 247 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-300){--tw-text-opacity:1;color:rgb(226 232 240 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-500){--tw-text-opacity:1;color:rgb(160 174 192 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-600){--tw-text-opacity:1;color:rgb(113 128 150 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-700){--tw-text-opacity:1;color:rgb(74 85 104 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-800){--tw-text-opacity:1;color:rgb(45 55 72 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-900){--tw-text-opacity:1;color:rgb(26 32 44 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-400){--tw-text-opacity:1;color:rgb(104 211 145 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-500){--tw-text-opacity:1;color:rgb(72 187 120 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-600){--tw-text-opacity:1;color:rgb(56 161 105 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-700){--tw-text-opacity:1;color:rgb(47 133 90 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-800){--tw-text-opacity:1;color:rgb(39 103 73 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-orange-700){--tw-text-opacity:1;color:rgb(192 86 33 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-pink-700){--tw-text-opacity:1;color:rgb(184 50 128 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-purple-700){--tw-text-opacity:1;color:rgb(107 70 193 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-400){--tw-text-opacity:1;color:rgb(252 129 129 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-500){--tw-text-opacity:1;color:rgb(245 101 101 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-600){--tw-text-opacity:1;color:rgb(229 62 62 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-700){--tw-text-opacity:1;color:rgb(197 48 48 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-800){--tw-text-opacity:1;color:rgb(155 44 44 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-white){--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-yellow-700){--tw-text-opacity:1;color:rgb(183 121 31 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-yellow-800){--tw-text-opacity:1;color:rgb(151 90 22 / var(--tw-text-opacity))}.wu-styling :is(.wu-line-through){text-decoration-line:line-through}.wu-styling :is(.wu-no-underline){text-decoration-line:none}.wu-styling :is(.wu-opacity-25){opacity:.25}.wu-styling :is(.wu-opacity-50){opacity:.5}.wu-styling :is(.wu-opacity-60){opacity:.6}.wu-styling :is(.wu-opacity-75){opacity:.75}.wu-styling :is(.wu-shadow){--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-shadow-md){--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-shadow-sm){--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-outline-none){outline:2px solid transparent;outline-offset:2px}.wu-styling :is(.wu-ring-2){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.wu-styling :is(.wu-ring-white){--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255 / var(--tw-ring-opacity))}.wu-styling :is(.wu-filter){filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.wu-styling :is(.wu-transition-all){transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:150ms}#dashboard-widgets h3.wu-widget-title{margin:0!important;padding-top:.25rem!important;padding-bottom:.25rem!important;font-weight:700!important;--tw-text-opacity:1!important;color:rgb(113 128 150 / var(--tw-text-opacity))!important;text-transform:uppercase;letter-spacing:.025em;font-size:.78rem}.wu-flex-break{flex-basis:100%;width:0;height:0;overflow:hidden}@media (min-width:640px){.sm\:wu-container{width:100%}@media (min-width:640px){.sm\:wu-container{max-width:640px}}@media (min-width:768px){.sm\:wu-container{max-width:768px}}@media (min-width:1024px){.sm\:wu-container{max-width:1024px}}@media (min-width:1280px){.sm\:wu-container{max-width:1280px}}@media (min-width:1440px){.sm\:wu-container{max-width:1440px}}@media (min-width:1536px){.sm\:wu-container{max-width:1536px}}}@media (min-width:1440px){.admin-lg\:wu-container{width:100%}@media (min-width:640px){.admin-lg\:wu-container{max-width:640px}}@media (min-width:768px){.admin-lg\:wu-container{max-width:768px}}@media (min-width:1024px){.admin-lg\:wu-container{max-width:1024px}}@media (min-width:1280px){.admin-lg\:wu-container{max-width:1280px}}@media (min-width:1440px){.admin-lg\:wu-container{max-width:1440px}}@media (min-width:1536px){.admin-lg\:wu-container{max-width:1536px}}}.wu-styling :is(.focus-within\:wu-ring-1:focus-within){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.wu-styling :is(.focus-within\:wu-ring-indigo-500:focus-within){--tw-ring-opacity:1;--tw-ring-color:rgb(102 126 234 / var(--tw-ring-opacity))}.wu-styling :is(.focus-within\:wu-ring-offset-2:focus-within){--tw-ring-offset-width:2px}.wu-styling :is(.hover\:wu-cursor-pointer:hover){cursor:pointer}.wu-styling :is(.hover\:wu-border:hover){border-width:1px}.wu-styling :is(.hover\:wu-border-solid:hover){border-style:solid}.wu-styling :is(.hover\:wu-border-gray-400:hover){--tw-border-opacity:1;border-color:rgb(203 213 224 / var(--tw-border-opacity))}.wu-styling :is(.hover\:wu-bg-gray-200:hover){--tw-bg-opacity:1;background-color:rgb(237 242 247 / var(--tw-bg-opacity))}.wu-styling :is(.hover\:wu-text-gray-600:hover){--tw-text-opacity:1;color:rgb(113 128 150 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-gray-700:hover){--tw-text-opacity:1;color:rgb(74 85 104 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-gray-800:hover){--tw-text-opacity:1;color:rgb(45 55 72 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-red-600:hover){--tw-text-opacity:1;color:rgb(229 62 62 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-shadow-none:hover){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.focus\:wu-shadow-none:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:640px){.wu-styling :is(.sm\:wu-col-span-1){grid-column:span 1/span 1}.wu-styling :is(.sm\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.sm\:wu-col-span-4){grid-column:span 4/span 4}.wu-styling :is(.sm\:wu-col-span-8){grid-column:span 8/span 8}.wu-styling :is(.sm\:wu-col-start-5){grid-column-start:5}.wu-styling :is(.sm\:wu-float-right){float:right}.wu-styling :is(.sm\:wu-m-0){margin:0}.wu-styling :is(.sm\:wu--mx-6){margin-left:-1.5rem;margin-right:-1.5rem}.wu-styling :is(.sm\:wu-mx-2){margin-left:.5rem;margin-right:.5rem}.wu-styling :is(.sm\:wu-mx-auto){margin-left:auto;margin-right:auto}.wu-styling :is(.sm\:wu-my-0){margin-top:0;margin-bottom:0}.wu-styling :is(.sm\:wu--mb-6){margin-bottom:-1.5rem}.wu-styling :is(.sm\:wu--mb-px){margin-bottom:-1px}.wu-styling :is(.sm\:wu--ml-3){margin-left:-.75rem}.wu-styling :is(.sm\:wu--mr-7){margin-right:-32px}.wu-styling :is(.sm\:wu--mr-7\.5){margin-right:-38px}.wu-styling :is(.sm\:wu--mt-1){margin-top:-.25rem}.wu-styling :is(.sm\:wu--mt-4){margin-top:-1rem}.wu-styling :is(.sm\:wu-mb-0){margin-bottom:0}.wu-styling :is(.sm\:wu-mb-1){margin-bottom:.25rem}.wu-styling :is(.sm\:wu-ml-0){margin-left:0}.wu-styling :is(.sm\:wu-ml-2){margin-left:.5rem}.wu-styling :is(.sm\:wu-ml-4){margin-left:1rem}.wu-styling :is(.sm\:wu-ml-6){margin-left:1.5rem}.wu-styling :is(.sm\:wu-mr-4){margin-right:1rem}.wu-styling :is(.sm\:wu-mr-6){margin-right:1.5rem}.wu-styling :is(.sm\:wu-mt-0){margin-top:0}.wu-styling :is(.sm\:wu-mt-1){margin-top:.25rem}.wu-styling :is(.sm\:wu-block){display:block}.wu-styling :is(.sm\:wu-inline-block){display:inline-block}.wu-styling :is(.sm\:wu-inline){display:inline}.wu-styling :is(.sm\:wu-flex){display:flex}.wu-styling :is(.sm\:wu-grid){display:grid}.wu-styling :is(.sm\:wu-hidden){display:none}.wu-styling :is(.sm\:wu-h-12){height:3rem}.wu-styling :is(.sm\:wu-h-6){height:1.5rem}.wu-styling :is(.sm\:wu-w-1\/2){width:50%}.wu-styling :is(.sm\:wu-w-1\/3){width:33.333333%}.wu-styling :is(.sm\:wu-w-11\/12){width:91.666667%}.wu-styling :is(.sm\:wu-w-12){width:3rem}.wu-styling :is(.sm\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.sm\:wu-w-auto){width:auto}.wu-styling :is(.sm\:wu-max-w-full){max-width:100%}.wu-styling :is(.sm\:wu-max-w-screen-lg){max-width:1024px}.wu-styling :is(.sm\:wu-flex-shrink-0){flex-shrink:0}.wu-styling :is(.sm\:wu-grid-cols-12){grid-template-columns:repeat(12,minmax(0,1fr))}.wu-styling :is(.sm\:wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.sm\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.sm\:wu-flex-nowrap){flex-wrap:nowrap}.wu-styling :is(.sm\:wu-items-center){align-items:center}.wu-styling :is(.sm\:wu-justify-between){justify-content:space-between}.wu-styling :is(.sm\:wu-gap-4){gap:1rem}.wu-styling :is(.sm\:wu-divide-y>:not([hidden])~:not([hidden])){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.wu-styling :is(.sm\:wu-divide-gray-200>:not([hidden])~:not([hidden])){--tw-divide-opacity:1;border-color:rgb(237 242 247 / var(--tw-divide-opacity))}.wu-styling :is(.sm\:wu-border-l-0){border-left-width:0}.wu-styling :is(.sm\:wu-border-r-0){border-right-width:0}.wu-styling :is(.sm\:wu-border-t-0){border-top-width:0}.wu-styling :is(.sm\:wu-bg-transparent){background-color:transparent}.wu-styling :is(.sm\:wu-p-0){padding:0}.wu-styling :is(.sm\:wu-p-2){padding:.5rem}.wu-styling :is(.sm\:wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.sm\:wu-py-3){padding-top:.75rem;padding-bottom:.75rem}.wu-styling :is(.sm\:wu-pt-0){padding-top:0}.wu-styling :is(.sm\:wu-pt-3){padding-top:.75rem}.wu-styling :is(.sm\:wu-text-right){text-align:right}.wu-styling :is(.sm\:wu-text-4xl){font-size:2.25rem}.wu-styling :is(.sm\:wu-normal-case){text-transform:none}}@media (min-width:768px){.wu-styling :is(.md\:wu-right-2){right:.5rem}.wu-styling :is(.md\:wu-top-2){top:.5rem}.wu-styling :is(.md\:wu-order-1){order:1}.wu-styling :is(.md\:wu-order-2){order:2}.wu-styling :is(.md\:wu-order-3){order:3}.wu-styling :is(.md\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.md\:wu--mx-3){margin-left:-.75rem;margin-right:-.75rem}.wu-styling :is(.md\:wu--mb-3){margin-bottom:-.75rem}.wu-styling :is(.md\:wu-mb-0){margin-bottom:0}.wu-styling :is(.md\:wu-ml-4){margin-left:1rem}.wu-styling :is(.md\:wu-ml-6){margin-left:1.5rem}.wu-styling :is(.md\:wu-mr-0){margin-right:0}.wu-styling :is(.md\:wu-mr-6){margin-right:1.5rem}.wu-styling :is(.md\:wu-mt-0){margin-top:0}.wu-styling :is(.md\:wu-inline-block){display:inline-block}.wu-styling :is(.md\:wu-flex){display:flex}.wu-styling :is(.md\:wu-hidden){display:none}.wu-styling :is(.md\:wu-max-h-20){max-height:5rem}.wu-styling :is(.md\:wu-w-1\/2){width:50%}.wu-styling :is(.md\:wu-w-1\/4){width:25%}.wu-styling :is(.md\:wu-w-10\/12){width:83.333333%}.wu-styling :is(.md\:wu-w-2\/12){width:16.666667%}.wu-styling :is(.md\:wu-w-3\/4){width:75%}.wu-styling :is(.md\:wu-w-4\/12){width:33.333333%}.wu-styling :is(.md\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.md\:wu-w-9\/12){width:75%}.wu-styling :is(.md\:wu-w-auto){width:auto}.wu-styling :is(.md\:wu-w-full){width:100%}.wu-styling :is(.md\:wu-max-w-full){max-width:100%}.wu-styling :is(.md\:wu-flex-1){flex:1 1 0%}.wu-styling :is(.md\:wu-scale-100){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.md\:wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-5){grid-template-columns:repeat(5,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-6){grid-template-columns:repeat(6,minmax(0,1fr))}.wu-styling :is(.md\:wu-border-solid){border-style:solid}.wu-styling :is(.md\:wu-p-0){padding:0}.wu-styling :is(.md\:wu-px-3){padding-left:.75rem;padding-right:.75rem}.wu-styling :is(.md\:wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.md\:wu-py-2){padding-top:.5rem;padding-bottom:.5rem}.wu-styling :is(.md\:wu-pl-4){padding-left:1rem}.wu-styling :is(.md\:wu-pr-3){padding-right:.75rem}.wu-styling :is(.md\:wu-pt-12){padding-top:3rem}.wu-styling :is(.md\:wu-text-xl){font-size:1.25rem}}@media (min-width:1024px){.wu-styling :is(.lg\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.lg\:wu-col-span-3){grid-column:span 3/span 3}.wu-styling :is(.lg\:wu-col-span-6){grid-column:span 6/span 6}.wu-styling :is(.lg\:wu-col-start-10){grid-column-start:10}.wu-styling :is(.lg\:wu-inline){display:inline}.wu-styling :is(.lg\:wu-flex){display:flex}.wu-styling :is(.lg\:wu-w-1\/4){width:25%}.wu-styling :is(.lg\:wu-w-10\/12){width:83.333333%}.wu-styling :is(.lg\:wu-w-2\/12){width:16.666667%}.wu-styling :is(.lg\:wu-max-w-none){max-width:none}.wu-styling :is(.lg\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.lg\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1280px){.wu-styling :is(.xl\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.xl\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.xl\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1440px){.wu-styling :is(.admin-lg\:wu-mx-auto){margin-left:auto;margin-right:auto}} \ No newline at end of file +*,::after,::before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(66 153 225 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(66 153 225 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.wu-styling :is(.wu-pointer-events-none){pointer-events:none}.wu-styling :is(.wu-static){position:static}.wu-styling :is(.wu-fixed){position:fixed}.wu-styling :is(.wu-absolute){position:absolute}.wu-styling :is(.wu-relative){position:relative}.wu-styling :is(.wu-sticky){position:sticky}.wu-styling :is(.wu--inset-px){inset:-1px}.wu-styling :is(.wu-bottom-0){bottom:0}.wu-styling :is(.wu-left-0){left:0}.wu-styling :is(.wu-left-1\/2){left:50%}.wu-styling :is(.wu-right-0){right:0}.wu-styling :is(.wu-right-4){right:1rem}.wu-styling :is(.wu-right-5){right:1.25rem}.wu-styling :is(.wu-top-0){top:0}.wu-styling :is(.wu-top-4){top:1rem}.wu-styling :is(.wu-z-10){z-index:10}.wu-styling :is(.wu-order-1){order:1}.wu-styling :is(.wu-order-12){order:12}.wu-styling :is(.wu-order-2){order:2}.wu-styling :is(.wu-order-3){order:3}.wu-styling :is(.wu-col-span-1){grid-column:span 1/span 1}.wu-styling :is(.wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.wu-float-right){float:right}.wu-styling :is(.wu-float-left){float:left}.wu-styling :is(.wu-clear-both){clear:both}.wu-styling :is(.wu--m-2){margin:-.5rem}.wu-styling :is(.wu--m-3){margin:-.75rem}.wu-styling :is(.wu--m-4){margin:-1rem}.wu-styling :is(.wu--m-in){margin:-27px}.wu-styling :is(.wu-m-0){margin:0}.wu-styling :is(.wu-m-2){margin:.5rem}.wu-styling :is(.wu-m-4){margin:1rem}.wu-styling :is(.wu-m-6){margin:1.5rem}.wu-styling :is(.wu-m-8){margin:2rem}.wu-styling :is(.wu-m-auto){margin:auto}.wu-styling :is(.wu--mx-1){margin-left:-.25rem;margin-right:-.25rem}.wu-styling :is(.wu--mx-2){margin-left:-.5rem;margin-right:-.5rem}.wu-styling :is(.wu--mx-3){margin-left:-.75rem;margin-right:-.75rem}.wu-styling :is(.wu--mx-4){margin-left:-1rem;margin-right:-1rem}.wu-styling :is(.wu--mx-5){margin-left:-1.25rem;margin-right:-1.25rem}.wu-styling :is(.wu--mx-6){margin-left:-1.5rem;margin-right:-1.5rem}.wu-styling :is(.wu--mx-in){margin-left:-27px;margin-right:-27px}.wu-styling :is(.wu--my-2){margin-top:-.5rem;margin-bottom:-.5rem}.wu-styling :is(.wu-mx-0){margin-left:0;margin-right:0}.wu-styling :is(.wu-mx-1){margin-left:.25rem;margin-right:.25rem}.wu-styling :is(.wu-mx-2){margin-left:.5rem;margin-right:.5rem}.wu-styling :is(.wu-mx-3){margin-left:.75rem;margin-right:.75rem}.wu-styling :is(.wu-mx-4){margin-left:1rem;margin-right:1rem}.wu-styling :is(.wu-mx-auto){margin-left:auto;margin-right:auto}.wu-styling :is(.wu-my-0){margin-top:0;margin-bottom:0}.wu-styling :is(.wu-my-1){margin-top:.25rem;margin-bottom:.25rem}.wu-styling :is(.wu-my-10){margin-top:2.5rem;margin-bottom:2.5rem}.wu-styling :is(.wu-my-2){margin-top:.5rem;margin-bottom:.5rem}.wu-styling :is(.wu-my-3){margin-top:.75rem;margin-bottom:.75rem}.wu-styling :is(.wu-my-4){margin-top:1rem;margin-bottom:1rem}.wu-styling :is(.wu-my-5){margin-top:1.25rem;margin-bottom:1.25rem}.wu-styling :is(.wu-my-6){margin-top:1.5rem;margin-bottom:1.5rem}.wu-styling :is(.wu--mb-1){margin-bottom:-.25rem}.wu-styling :is(.wu--mb-12){margin-bottom:-3rem}.wu-styling :is(.wu--mb-2){margin-bottom:-.5rem}.wu-styling :is(.wu--mb-3){margin-bottom:-.75rem}.wu-styling :is(.wu--mb-5){margin-bottom:-1.25rem}.wu-styling :is(.wu--mb-6){margin-bottom:-1.5rem}.wu-styling :is(.wu--mb-8){margin-bottom:-2rem}.wu-styling :is(.wu--mb-in){margin-bottom:-27px}.wu-styling :is(.wu--ml-2){margin-left:-.5rem}.wu-styling :is(.wu--ml-5){margin-left:-1.25rem}.wu-styling :is(.wu--mr-1){margin-right:-.25rem}.wu-styling :is(.wu--mr-2){margin-right:-.5rem}.wu-styling :is(.wu--mr-4){margin-right:-1rem}.wu-styling :is(.wu--mt-1){margin-top:-.25rem}.wu-styling :is(.wu--mt-2){margin-top:-.5rem}.wu-styling :is(.wu--mt-3){margin-top:-.75rem}.wu-styling :is(.wu--mt-4){margin-top:-1rem}.wu-styling :is(.wu--mt-5){margin-top:-1.25rem}.wu-styling :is(.wu--mt-7){margin-top:-32px}.wu-styling :is(.wu--mt-8){margin-top:-2rem}.wu-styling :is(.wu--mt-px){margin-top:-1px}.wu-styling :is(.wu--mt-widget-inset){margin-top:-14px}.wu-styling :is(.wu-mb-0){margin-bottom:0}.wu-styling :is(.wu-mb-1){margin-bottom:.25rem}.wu-styling :is(.wu-mb-10){margin-bottom:2.5rem}.wu-styling :is(.wu-mb-2){margin-bottom:.5rem}.wu-styling :is(.wu-mb-3){margin-bottom:.75rem}.wu-styling :is(.wu-mb-4){margin-bottom:1rem}.wu-styling :is(.wu-mb-5){margin-bottom:1.25rem}.wu-styling :is(.wu-mb-6){margin-bottom:1.5rem}.wu-styling :is(.wu-mb-8){margin-bottom:2rem}.wu-styling :is(.wu-ml-0){margin-left:0}.wu-styling :is(.wu-ml-1){margin-left:.25rem}.wu-styling :is(.wu-ml-2){margin-left:.5rem}.wu-styling :is(.wu-ml-3){margin-left:.75rem}.wu-styling :is(.wu-ml-4){margin-left:1rem}.wu-styling :is(.wu-ml-5){margin-left:1.25rem}.wu-styling :is(.wu-ml-6){margin-left:1.5rem}.wu-styling :is(.wu-ml-8){margin-left:2rem}.wu-styling :is(.wu-ml-auto){margin-left:auto}.wu-styling :is(.wu-mr-1){margin-right:.25rem}.wu-styling :is(.wu-mr-2){margin-right:.5rem}.wu-styling :is(.wu-mr-3){margin-right:.75rem}.wu-styling :is(.wu-mr-4){margin-right:1rem}.wu-styling :is(.wu-mr-auto){margin-right:auto}.wu-styling :is(.wu-mr-px){margin-right:1px}.wu-styling :is(.wu-mt-0){margin-top:0}.wu-styling :is(.wu-mt-1){margin-top:.25rem}.wu-styling :is(.wu-mt-10){margin-top:2.5rem}.wu-styling :is(.wu-mt-2){margin-top:.5rem}.wu-styling :is(.wu-mt-3){margin-top:.75rem}.wu-styling :is(.wu-mt-4){margin-top:1rem}.wu-styling :is(.wu-mt-5){margin-top:1.25rem}.wu-styling :is(.wu-mt-6){margin-top:1.5rem}.wu-styling :is(.wu-mt-8){margin-top:2rem}.wu-styling :is(.wu-box-border){box-sizing:border-box}.wu-styling :is(.wu-block){display:block}.wu-styling :is(.wu-inline-block){display:inline-block}.wu-styling :is(.wu-inline){display:inline}.wu-styling :is(.wu-flex){display:flex}.wu-styling :is(.wu-inline-flex){display:inline-flex}.wu-styling :is(.wu-table){display:table}.wu-styling :is(.wu-grid){display:grid}.wu-styling :is(.wu-hidden){display:none}.wu-styling :is(.wu-h-0){height:0}.wu-styling :is(.wu-h-1){height:.25rem}.wu-styling :is(.wu-h-12){height:3rem}.wu-styling :is(.wu-h-2){height:.5rem}.wu-styling :is(.wu-h-3){height:.75rem}.wu-styling :is(.wu-h-4){height:1rem}.wu-styling :is(.wu-h-48){height:12rem}.wu-styling :is(.wu-h-5){height:1.25rem}.wu-styling :is(.wu-h-6){height:1.5rem}.wu-styling :is(.wu-h-7){height:32px}.wu-styling :is(.wu-h-8){height:2rem}.wu-styling :is(.wu-h-auto){height:auto}.wu-styling :is(.wu-h-full){height:100%}.wu-styling :is(.wu-h-screen){height:100vh}.wu-styling :is(.wu-h-thumb){height:40px}.wu-styling :is(.wu-max-h-2){max-height:.5rem}.wu-styling :is(.wu-max-h-screen){max-height:100vh}.wu-styling :is(.wu-w-0){width:0}.wu-styling :is(.wu-w-1){width:.25rem}.wu-styling :is(.wu-w-1\/12){width:8.333333%}.wu-styling :is(.wu-w-1\/2){width:50%}.wu-styling :is(.wu-w-1\/3){width:33.333333%}.wu-styling :is(.wu-w-1\/4){width:25%}.wu-styling :is(.wu-w-1\/6){width:16.666667%}.wu-styling :is(.wu-w-12){width:3rem}.wu-styling :is(.wu-w-2){width:.5rem}.wu-styling :is(.wu-w-2\/12){width:16.666667%}.wu-styling :is(.wu-w-2\/3){width:66.666667%}.wu-styling :is(.wu-w-3){width:.75rem}.wu-styling :is(.wu-w-3\/12){width:25%}.wu-styling :is(.wu-w-4){width:1rem}.wu-styling :is(.wu-w-4\/12){width:33.333333%}.wu-styling :is(.wu-w-5){width:1.25rem}.wu-styling :is(.wu-w-5\/12){width:41.666667%}.wu-styling :is(.wu-w-6){width:1.5rem}.wu-styling :is(.wu-w-7){width:32px}.wu-styling :is(.wu-w-7\/12){width:58.333333%}.wu-styling :is(.wu-w-8){width:2rem}.wu-styling :is(.wu-w-8\/12){width:66.666667%}.wu-styling :is(.wu-w-auto){width:auto}.wu-styling :is(.wu-w-full){width:100%}.wu-styling :is(.wu-w-thumb){width:40px}.wu-styling :is(.wu-min-w-0){min-width:0}.wu-styling :is(.wu-min-w-full){min-width:100%}.wu-styling :is(.wu-max-w-screen-md){max-width:768px}.wu-styling :is(.wu-max-w-sm){max-width:24rem}.wu-styling :is(.wu-flex-1){flex:1 1 0%}.wu-styling :is(.wu-flex-none){flex:none}.wu-styling :is(.wu-flex-shrink){flex-shrink:1}.wu-styling :is(.wu-flex-shrink-0){flex-shrink:0}.wu-styling :is(.wu-flex-grow){flex-grow:1}.wu-styling :is(.wu-table-auto){table-layout:auto}.wu-styling :is(.wu--translate-x-1\/2){--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-scale-150){--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-transform){transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.wu-cursor-not-allowed){cursor:not-allowed}.wu-styling :is(.wu-cursor-pointer){cursor:pointer}.wu-styling :is(.wu-select-all){user-select:all}.wu-styling :is(.wu-list-none){list-style-type:none}.wu-styling :is(.wu-grid-flow-row){grid-auto-flow:row}.wu-styling :is(.wu-grid-cols-1){grid-template-columns:repeat(1,minmax(0,1fr))}.wu-styling :is(.wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.wu-flex-col){flex-direction:column}.wu-styling :is(.wu-flex-wrap){flex-wrap:wrap}.wu-styling :is(.wu-content-center){align-content:center}.wu-styling :is(.wu-items-end){align-items:flex-end}.wu-styling :is(.wu-items-center){align-items:center}.wu-styling :is(.wu-items-stretch){align-items:stretch}.wu-styling :is(.wu-justify-start){justify-content:flex-start}.wu-styling :is(.wu-justify-end){justify-content:flex-end}.wu-styling :is(.wu-justify-center){justify-content:center}.wu-styling :is(.wu-justify-between){justify-content:space-between}.wu-styling :is(.wu-gap-2){gap:.5rem}.wu-styling :is(.wu-gap-4){gap:1rem}.wu-styling :is(.wu-gap-5){gap:1.25rem}.wu-styling :is(.wu-gap-6){gap:1.5rem}.wu-styling :is(.wu-gap-x-4){column-gap:1rem}.wu-styling :is(.wu-gap-y-8){row-gap:2rem}.wu-styling :is(.wu-divide-gray-200 > :not([hidden]) ~ :not([hidden])){--tw-divide-opacity:1;border-color:rgb(237 242 247 / var(--tw-divide-opacity))}.wu-styling :is(.wu-self-start){align-self:flex-start}.wu-styling :is(.wu-self-end){align-self:flex-end}.wu-styling :is(.wu-self-center){align-self:center}.wu-styling :is(.wu-justify-self-end){justify-self:end}.wu-styling :is(.wu-overflow-auto){overflow:auto}.wu-styling :is(.wu-overflow-hidden){overflow:hidden}.wu-styling :is(.wu-overflow-y-auto){overflow-y:auto}.wu-styling :is(.wu-overflow-x-scroll){overflow-x:scroll}.wu-styling :is(.wu-truncate){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wu-styling :is(.wu-rounded){border-radius:.25rem}.wu-styling :is(.wu-rounded-full){border-radius:9999px}.wu-styling :is(.wu-rounded-lg){border-radius:.5rem}.wu-styling :is(.wu-rounded-none){border-radius:0}.wu-styling :is(.wu-rounded-sm){border-radius:.125rem}.wu-styling :is(.wu-rounded-tl){border-top-left-radius:.25rem}.wu-styling :is(.wu-rounded-tr){border-top-right-radius:.25rem}.wu-styling :is(.wu-border){border-width:1px}.wu-styling :is(.wu-border-0){border-width:0}.wu-styling :is(.wu-border-2){border-width:2px}.wu-styling :is(.wu-border-b){border-bottom-width:1px}.wu-styling :is(.wu-border-b-0){border-bottom-width:0}.wu-styling :is(.wu-border-l){border-left-width:1px}.wu-styling :is(.wu-border-l-0){border-left-width:0}.wu-styling :is(.wu-border-l-4){border-left-width:4px}.wu-styling :is(.wu-border-r){border-right-width:1px}.wu-styling :is(.wu-border-r-0){border-right-width:0}.wu-styling :is(.wu-border-t){border-top-width:1px}.wu-styling :is(.wu-border-t-0){border-top-width:0}.wu-styling :is(.wu-border-solid){border-style:solid}.wu-styling :is(.wu-border-dashed){border-style:dashed}.wu-styling :is(.wu-border-none){border-style:none}.wu-styling :is(.wu-border-blue-500){--tw-border-opacity:1;border-color:rgb(66 153 225 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-200){--tw-border-opacity:1;border-color:rgb(237 242 247 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-300){--tw-border-opacity:1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-gray-400){--tw-border-opacity:1;border-color:rgb(203 213 224 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-green-300){--tw-border-opacity:1;border-color:rgb(154 230 180 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-red-200){--tw-border-opacity:1;border-color:rgb(254 215 215 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-red-300){--tw-border-opacity:1;border-color:rgb(254 178 178 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-transparent){border-color:transparent}.wu-styling :is(.wu-border-white){--tw-border-opacity:1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-yellow-300){--tw-border-opacity:1;border-color:rgb(250 240 137 / var(--tw-border-opacity))}.wu-styling :is(.wu-border-yellow-500){--tw-border-opacity:1;border-color:rgb(236 201 75 / var(--tw-border-opacity))}.wu-styling :is(.wu-bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-100){--tw-bg-opacity:1;background-color:rgb(235 248 255 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-200){--tw-bg-opacity:1;background-color:rgb(190 227 248 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-blue-500){--tw-bg-opacity:1;background-color:rgb(66 153 225 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-100){--tw-bg-opacity:1;background-color:rgb(247 250 252 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-200){--tw-bg-opacity:1;background-color:rgb(237 242 247 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-300){--tw-bg-opacity:1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-700){--tw-bg-opacity:1;background-color:rgb(74 85 104 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-gray-800){--tw-bg-opacity:1;background-color:rgb(45 55 72 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-100){--tw-bg-opacity:1;background-color:rgb(240 255 244 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-200){--tw-bg-opacity:1;background-color:rgb(198 246 213 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-300){--tw-bg-opacity:1;background-color:rgb(154 230 180 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-green-500){--tw-bg-opacity:1;background-color:rgb(72 187 120 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-200){--tw-bg-opacity:1;background-color:rgb(254 235 200 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-500){--tw-bg-opacity:1;background-color:rgb(237 137 54 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-orange-600){--tw-bg-opacity:1;background-color:rgb(221 107 32 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-pink-200){--tw-bg-opacity:1;background-color:rgb(254 215 226 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-pink-500){--tw-bg-opacity:1;background-color:rgb(237 100 166 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-200){--tw-bg-opacity:1;background-color:rgb(233 216 253 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-500){--tw-bg-opacity:1;background-color:rgb(159 122 234 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-purple-800){--tw-bg-opacity:1;background-color:rgb(85 60 154 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-100){--tw-bg-opacity:1;background-color:rgb(255 245 245 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-200){--tw-bg-opacity:1;background-color:rgb(254 215 215 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-red-500){--tw-bg-opacity:1;background-color:rgb(245 101 101 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-transparent){background-color:transparent}.wu-styling :is(.wu-bg-white){--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-yellow-200){--tw-bg-opacity:1;background-color:rgb(254 252 191 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-yellow-500){--tw-bg-opacity:1;background-color:rgb(236 201 75 / var(--tw-bg-opacity))}.wu-styling :is(.wu-bg-none){background-image:none}.wu-styling :is(.wu-bg-contain){background-size:contain}.wu-styling :is(.wu-bg-cover){background-size:cover}.wu-styling :is(.wu-bg-center){background-position:center}.wu-styling :is(.wu-bg-no-repeat){background-repeat:no-repeat}.wu-styling :is(.wu-fill-current){fill:currentColor}.wu-styling :is(.wu-object-cover){object-fit:cover}.wu-styling :is(.wu-p-0){padding:0}.wu-styling :is(.wu-p-1){padding:.25rem}.wu-styling :is(.wu-p-12){padding:3rem}.wu-styling :is(.wu-p-2){padding:.5rem}.wu-styling :is(.wu-p-3){padding:.75rem}.wu-styling :is(.wu-p-4){padding:1rem}.wu-styling :is(.wu-p-6){padding:1.5rem}.wu-styling :is(.wu-p-8){padding:2rem}.wu-styling :is(.wu-px-1){padding-left:.25rem;padding-right:.25rem}.wu-styling :is(.wu-px-2){padding-left:.5rem;padding-right:.5rem}.wu-styling :is(.wu-px-3){padding-left:.75rem;padding-right:.75rem}.wu-styling :is(.wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.wu-px-6){padding-left:1.5rem;padding-right:1.5rem}.wu-styling :is(.wu-py-0){padding-top:0;padding-bottom:0}.wu-styling :is(.wu-py-1){padding-top:.25rem;padding-bottom:.25rem}.wu-styling :is(.wu-py-2){padding-top:.5rem;padding-bottom:.5rem}.wu-styling :is(.wu-py-3){padding-top:.75rem;padding-bottom:.75rem}.wu-styling :is(.wu-py-4){padding-top:1rem;padding-bottom:1rem}.wu-styling :is(.wu-py-5){padding-top:1.25rem;padding-bottom:1.25rem}.wu-styling :is(.wu-py-6){padding-top:1.5rem;padding-bottom:1.5rem}.wu-styling :is(.wu-py-8){padding-top:2rem;padding-bottom:2rem}.wu-styling :is(.wu-pb-0){padding-bottom:0}.wu-styling :is(.wu-pb-1){padding-bottom:.25rem}.wu-styling :is(.wu-pb-12){padding-bottom:3rem}.wu-styling :is(.wu-pb-2){padding-bottom:.5rem}.wu-styling :is(.wu-pb-3){padding-bottom:.75rem}.wu-styling :is(.wu-pb-4){padding-bottom:1rem}.wu-styling :is(.wu-pb-8){padding-bottom:2rem}.wu-styling :is(.wu-pl-2){padding-left:.5rem}.wu-styling :is(.wu-pl-4){padding-left:1rem}.wu-styling :is(.wu-pr-1){padding-right:.25rem}.wu-styling :is(.wu-pr-3){padding-right:.75rem}.wu-styling :is(.wu-pt-0){padding-top:0}.wu-styling :is(.wu-pt-1){padding-top:.25rem}.wu-styling :is(.wu-pt-10){padding-top:2.5rem}.wu-styling :is(.wu-pt-2){padding-top:.5rem}.wu-styling :is(.wu-pt-3){padding-top:.75rem}.wu-styling :is(.wu-pt-4){padding-top:1rem}.wu-styling :is(.wu-pt-6){padding-top:1.5rem}.wu-styling :is(.wu-pt-px){padding-top:1px}.wu-styling :is(.wu-text-left){text-align:left}.wu-styling :is(.wu-text-center){text-align:center}.wu-styling :is(.wu-text-right){text-align:right}.wu-styling :is(.wu-text-justify){text-align:justify}.wu-styling :is(.wu-align-baseline){vertical-align:baseline}.wu-styling :is(.wu-align-middle){vertical-align:middle}.wu-styling :is(.wu-align-bottom){vertical-align:bottom}.wu-styling :is(.wu-align-text-top){vertical-align:text-top}.wu-styling :is(.wu-align-text-bottom){vertical-align:text-bottom}.wu-styling :is(.wu-font-mono){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.wu-styling :is(.wu-text-2xl){font-size:1.5rem}.wu-styling :is(.wu-text-2xs){font-size:.7rem}.wu-styling :is(.wu-text-3xl){font-size:1.875rem}.wu-styling :is(.wu-text-3xs){font-size:.5rem}.wu-styling :is(.wu-text-4xl){font-size:2.25rem}.wu-styling :is(.wu-text-5xl){font-size:3rem}.wu-styling :is(.wu-text-6xl){font-size:4rem}.wu-styling :is(.wu-text-base){font-size:1rem}.wu-styling :is(.wu-text-lg){font-size:1.125rem}.wu-styling :is(.wu-text-sm){font-size:.875rem}.wu-styling :is(.wu-text-xl){font-size:1.25rem}.wu-styling :is(.wu-text-xs){font-size:.75rem}.wu-styling :is(.wu-font-bold){font-weight:700}.wu-styling :is(.wu-font-medium){font-weight:500}.wu-styling :is(.wu-font-normal){font-weight:400}.wu-styling :is(.wu-font-semibold){font-weight:600}.wu-styling :is(.wu-uppercase){text-transform:uppercase}.wu-styling :is(.wu-capitalize){text-transform:capitalize}.wu-styling :is(.wu-normal-case){text-transform:none}.wu-styling :is(.wu-leading-none){line-height:1}.wu-styling :is(.wu-leading-relaxed){line-height:1.625}.wu-styling :is(.wu-leading-snug){line-height:1.375}.wu-styling :is(.wu-tracking-wide){letter-spacing:.025em}.wu-styling :is(.wu-tracking-wider){letter-spacing:.05em}.wu-styling :is(.wu-text-blue-400){--tw-text-opacity:1;color:rgb(99 179 237 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-blue-600){--tw-text-opacity:1;color:rgb(49 130 206 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-blue-700){--tw-text-opacity:1;color:rgb(43 108 176 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-100){--tw-text-opacity:1;color:rgb(247 250 252 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-200){--tw-text-opacity:1;color:rgb(237 242 247 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-300){--tw-text-opacity:1;color:rgb(226 232 240 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-500){--tw-text-opacity:1;color:rgb(160 174 192 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-600){--tw-text-opacity:1;color:rgb(113 128 150 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-700){--tw-text-opacity:1;color:rgb(74 85 104 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-800){--tw-text-opacity:1;color:rgb(45 55 72 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-gray-900){--tw-text-opacity:1;color:rgb(26 32 44 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-400){--tw-text-opacity:1;color:rgb(104 211 145 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-500){--tw-text-opacity:1;color:rgb(72 187 120 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-600){--tw-text-opacity:1;color:rgb(56 161 105 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-700){--tw-text-opacity:1;color:rgb(47 133 90 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-green-800){--tw-text-opacity:1;color:rgb(39 103 73 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-orange-700){--tw-text-opacity:1;color:rgb(192 86 33 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-pink-700){--tw-text-opacity:1;color:rgb(184 50 128 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-purple-700){--tw-text-opacity:1;color:rgb(107 70 193 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-400){--tw-text-opacity:1;color:rgb(252 129 129 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-500){--tw-text-opacity:1;color:rgb(245 101 101 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-600){--tw-text-opacity:1;color:rgb(229 62 62 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-700){--tw-text-opacity:1;color:rgb(197 48 48 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-red-800){--tw-text-opacity:1;color:rgb(155 44 44 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-white){--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-yellow-700){--tw-text-opacity:1;color:rgb(183 121 31 / var(--tw-text-opacity))}.wu-styling :is(.wu-text-yellow-800){--tw-text-opacity:1;color:rgb(151 90 22 / var(--tw-text-opacity))}.wu-styling :is(.wu-line-through){text-decoration-line:line-through}.wu-styling :is(.wu-no-underline){text-decoration-line:none}.wu-styling :is(.wu-opacity-25){opacity:.25}.wu-styling :is(.wu-opacity-50){opacity:.5}.wu-styling :is(.wu-opacity-60){opacity:.6}.wu-styling :is(.wu-opacity-75){opacity:.75}.wu-styling :is(.wu-shadow){--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-shadow-md){--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-shadow-sm){--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.wu-outline-none){outline:2px solid transparent;outline-offset:2px}.wu-styling :is(.wu-ring-2){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.wu-styling :is(.wu-ring-white){--tw-ring-opacity:1;--tw-ring-color:rgb(255 255 255 / var(--tw-ring-opacity))}.wu-styling :is(.wu-filter){filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.wu-styling :is(.wu-transition-all){transition-property:all;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}#dashboard-widgets h3.wu-widget-title{margin:0!important;padding-top:.25rem!important;padding-bottom:.25rem!important;font-weight:700!important;--tw-text-opacity:1!important;color:rgb(113 128 150 / var(--tw-text-opacity))!important;text-transform:uppercase;letter-spacing:.025em;font-size:.78rem}.wu-flex-break{flex-basis:100%;width:0;height:0;overflow:hidden}@media (min-width:640px){.sm\:wu-container{width:100%}@media (min-width:640px){.sm\:wu-container{max-width:640px}}@media (min-width:768px){.sm\:wu-container{max-width:768px}}@media (min-width:1024px){.sm\:wu-container{max-width:1024px}}@media (min-width:1280px){.sm\:wu-container{max-width:1280px}}@media (min-width:1440px){.sm\:wu-container{max-width:1440px}}@media (min-width:1536px){.sm\:wu-container{max-width:1536px}}}@media (min-width:1440px){.admin-lg\:wu-container{width:100%}@media (min-width:640px){.admin-lg\:wu-container{max-width:640px}}@media (min-width:768px){.admin-lg\:wu-container{max-width:768px}}@media (min-width:1024px){.admin-lg\:wu-container{max-width:1024px}}@media (min-width:1280px){.admin-lg\:wu-container{max-width:1280px}}@media (min-width:1440px){.admin-lg\:wu-container{max-width:1440px}}@media (min-width:1536px){.admin-lg\:wu-container{max-width:1536px}}}.wu-styling :is(.focus-within\:wu-ring-1:focus-within){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.wu-styling :is(.focus-within\:wu-ring-indigo-500:focus-within){--tw-ring-opacity:1;--tw-ring-color:rgb(102 126 234 / var(--tw-ring-opacity))}.wu-styling :is(.focus-within\:wu-ring-offset-2:focus-within){--tw-ring-offset-width:2px}.wu-styling :is(.hover\:wu-cursor-pointer:hover){cursor:pointer}.wu-styling :is(.hover\:wu-border:hover){border-width:1px}.wu-styling :is(.hover\:wu-border-solid:hover){border-style:solid}.wu-styling :is(.hover\:wu-border-gray-400:hover){--tw-border-opacity:1;border-color:rgb(203 213 224 / var(--tw-border-opacity))}.wu-styling :is(.hover\:wu-bg-gray-200:hover){--tw-bg-opacity:1;background-color:rgb(237 242 247 / var(--tw-bg-opacity))}.wu-styling :is(.hover\:wu-text-gray-600:hover){--tw-text-opacity:1;color:rgb(113 128 150 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-gray-700:hover){--tw-text-opacity:1;color:rgb(74 85 104 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-gray-800:hover){--tw-text-opacity:1;color:rgb(45 55 72 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-text-red-600:hover){--tw-text-opacity:1;color:rgb(229 62 62 / var(--tw-text-opacity))}.wu-styling :is(.hover\:wu-shadow-none:hover){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.wu-styling :is(.focus\:wu-shadow-none:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}@media (min-width:640px){.wu-styling :is(.sm\:wu-col-span-1){grid-column:span 1/span 1}.wu-styling :is(.sm\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.sm\:wu-col-span-4){grid-column:span 4/span 4}.wu-styling :is(.sm\:wu-col-span-8){grid-column:span 8/span 8}.wu-styling :is(.sm\:wu-col-start-5){grid-column-start:5}.wu-styling :is(.sm\:wu-float-right){float:right}.wu-styling :is(.sm\:wu-m-0){margin:0}.wu-styling :is(.sm\:wu--mx-6){margin-left:-1.5rem;margin-right:-1.5rem}.wu-styling :is(.sm\:wu-mx-2){margin-left:.5rem;margin-right:.5rem}.wu-styling :is(.sm\:wu-mx-auto){margin-left:auto;margin-right:auto}.wu-styling :is(.sm\:wu-my-0){margin-top:0;margin-bottom:0}.wu-styling :is(.sm\:wu--mb-6){margin-bottom:-1.5rem}.wu-styling :is(.sm\:wu--mb-px){margin-bottom:-1px}.wu-styling :is(.sm\:wu--ml-3){margin-left:-.75rem}.wu-styling :is(.sm\:wu--mr-7){margin-right:-32px}.wu-styling :is(.sm\:wu--mr-7\.5){margin-right:-38px}.wu-styling :is(.sm\:wu--mt-1){margin-top:-.25rem}.wu-styling :is(.sm\:wu--mt-4){margin-top:-1rem}.wu-styling :is(.sm\:wu-mb-0){margin-bottom:0}.wu-styling :is(.sm\:wu-mb-1){margin-bottom:.25rem}.wu-styling :is(.sm\:wu-ml-0){margin-left:0}.wu-styling :is(.sm\:wu-ml-2){margin-left:.5rem}.wu-styling :is(.sm\:wu-ml-4){margin-left:1rem}.wu-styling :is(.sm\:wu-ml-6){margin-left:1.5rem}.wu-styling :is(.sm\:wu-mr-4){margin-right:1rem}.wu-styling :is(.sm\:wu-mr-6){margin-right:1.5rem}.wu-styling :is(.sm\:wu-mt-0){margin-top:0}.wu-styling :is(.sm\:wu-mt-1){margin-top:.25rem}.wu-styling :is(.sm\:wu-block){display:block}.wu-styling :is(.sm\:wu-inline-block){display:inline-block}.wu-styling :is(.sm\:wu-inline){display:inline}.wu-styling :is(.sm\:wu-flex){display:flex}.wu-styling :is(.sm\:wu-grid){display:grid}.wu-styling :is(.sm\:wu-hidden){display:none}.wu-styling :is(.sm\:wu-h-12){height:3rem}.wu-styling :is(.sm\:wu-h-6){height:1.5rem}.wu-styling :is(.sm\:wu-w-1\/2){width:50%}.wu-styling :is(.sm\:wu-w-1\/3){width:33.333333%}.wu-styling :is(.sm\:wu-w-11\/12){width:91.666667%}.wu-styling :is(.sm\:wu-w-12){width:3rem}.wu-styling :is(.sm\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.sm\:wu-w-auto){width:auto}.wu-styling :is(.sm\:wu-max-w-full){max-width:100%}.wu-styling :is(.sm\:wu-max-w-screen-lg){max-width:1024px}.wu-styling :is(.sm\:wu-flex-shrink-0){flex-shrink:0}.wu-styling :is(.sm\:wu-grid-cols-12){grid-template-columns:repeat(12,minmax(0,1fr))}.wu-styling :is(.sm\:wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.sm\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.sm\:wu-flex-nowrap){flex-wrap:nowrap}.wu-styling :is(.sm\:wu-items-center){align-items:center}.wu-styling :is(.sm\:wu-justify-between){justify-content:space-between}.wu-styling :is(.sm\:wu-gap-4){gap:1rem}.wu-styling :is(.sm\:wu-divide-y > :not([hidden]) ~ :not([hidden])){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.wu-styling :is(.sm\:wu-divide-gray-200 > :not([hidden]) ~ :not([hidden])){--tw-divide-opacity:1;border-color:rgb(237 242 247 / var(--tw-divide-opacity))}.wu-styling :is(.sm\:wu-border-l-0){border-left-width:0}.wu-styling :is(.sm\:wu-border-r-0){border-right-width:0}.wu-styling :is(.sm\:wu-border-t-0){border-top-width:0}.wu-styling :is(.sm\:wu-bg-transparent){background-color:transparent}.wu-styling :is(.sm\:wu-p-0){padding:0}.wu-styling :is(.sm\:wu-p-2){padding:.5rem}.wu-styling :is(.sm\:wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.sm\:wu-py-3){padding-top:.75rem;padding-bottom:.75rem}.wu-styling :is(.sm\:wu-pt-0){padding-top:0}.wu-styling :is(.sm\:wu-pt-3){padding-top:.75rem}.wu-styling :is(.sm\:wu-text-right){text-align:right}.wu-styling :is(.sm\:wu-text-4xl){font-size:2.25rem}.wu-styling :is(.sm\:wu-normal-case){text-transform:none}}@media (min-width:768px){.wu-styling :is(.md\:wu-right-2){right:.5rem}.wu-styling :is(.md\:wu-top-2){top:.5rem}.wu-styling :is(.md\:wu-order-1){order:1}.wu-styling :is(.md\:wu-order-2){order:2}.wu-styling :is(.md\:wu-order-3){order:3}.wu-styling :is(.md\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.md\:wu--mx-3){margin-left:-.75rem;margin-right:-.75rem}.wu-styling :is(.md\:wu--mb-3){margin-bottom:-.75rem}.wu-styling :is(.md\:wu-mb-0){margin-bottom:0}.wu-styling :is(.md\:wu-ml-4){margin-left:1rem}.wu-styling :is(.md\:wu-ml-6){margin-left:1.5rem}.wu-styling :is(.md\:wu-mr-0){margin-right:0}.wu-styling :is(.md\:wu-mr-6){margin-right:1.5rem}.wu-styling :is(.md\:wu-mt-0){margin-top:0}.wu-styling :is(.md\:wu-inline-block){display:inline-block}.wu-styling :is(.md\:wu-flex){display:flex}.wu-styling :is(.md\:wu-hidden){display:none}.wu-styling :is(.md\:wu-max-h-20){max-height:5rem}.wu-styling :is(.md\:wu-w-1\/2){width:50%}.wu-styling :is(.md\:wu-w-1\/4){width:25%}.wu-styling :is(.md\:wu-w-10\/12){width:83.333333%}.wu-styling :is(.md\:wu-w-2\/12){width:16.666667%}.wu-styling :is(.md\:wu-w-3\/4){width:75%}.wu-styling :is(.md\:wu-w-4\/12){width:33.333333%}.wu-styling :is(.md\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.md\:wu-w-9\/12){width:75%}.wu-styling :is(.md\:wu-w-auto){width:auto}.wu-styling :is(.md\:wu-w-full){width:100%}.wu-styling :is(.md\:wu-max-w-full){max-width:100%}.wu-styling :is(.md\:wu-flex-1){flex:1 1 0%}.wu-styling :is(.md\:wu-scale-100){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.wu-styling :is(.md\:wu-grid-cols-2){grid-template-columns:repeat(2,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-5){grid-template-columns:repeat(5,minmax(0,1fr))}.wu-styling :is(.md\:wu-grid-cols-6){grid-template-columns:repeat(6,minmax(0,1fr))}.wu-styling :is(.md\:wu-border-solid){border-style:solid}.wu-styling :is(.md\:wu-p-0){padding:0}.wu-styling :is(.md\:wu-px-3){padding-left:.75rem;padding-right:.75rem}.wu-styling :is(.md\:wu-px-4){padding-left:1rem;padding-right:1rem}.wu-styling :is(.md\:wu-py-2){padding-top:.5rem;padding-bottom:.5rem}.wu-styling :is(.md\:wu-pl-4){padding-left:1rem}.wu-styling :is(.md\:wu-pr-3){padding-right:.75rem}.wu-styling :is(.md\:wu-pt-12){padding-top:3rem}.wu-styling :is(.md\:wu-text-xl){font-size:1.25rem}}@media (min-width:1024px){.wu-styling :is(.lg\:wu-col-span-2){grid-column:span 2/span 2}.wu-styling :is(.lg\:wu-col-span-3){grid-column:span 3/span 3}.wu-styling :is(.lg\:wu-col-span-6){grid-column:span 6/span 6}.wu-styling :is(.lg\:wu-col-start-10){grid-column-start:10}.wu-styling :is(.lg\:wu-mt-2){margin-top:.5rem}.wu-styling :is(.lg\:wu-inline){display:inline}.wu-styling :is(.lg\:wu-flex){display:flex}.wu-styling :is(.lg\:wu-w-1\/4){width:25%}.wu-styling :is(.lg\:wu-w-10\/12){width:83.333333%}.wu-styling :is(.lg\:wu-w-2\/12){width:16.666667%}.wu-styling :is(.lg\:wu-max-w-none){max-width:none}.wu-styling :is(.lg\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.lg\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1280px){.wu-styling :is(.xl\:wu-w-8\/12){width:66.666667%}.wu-styling :is(.xl\:wu-grid-cols-3){grid-template-columns:repeat(3,minmax(0,1fr))}.wu-styling :is(.xl\:wu-grid-cols-4){grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1440px){.wu-styling :is(.admin-lg\:wu-mx-auto){margin-left:auto;margin-right:auto}} \ No newline at end of file diff --git a/assets/img/flags/1x1/ad.svg b/assets/img/flags/1x1/ad.svg deleted file mode 100644 index 26439cb..0000000 --- a/assets/img/flags/1x1/ad.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ae.svg b/assets/img/flags/1x1/ae.svg deleted file mode 100644 index dd8ef33..0000000 --- a/assets/img/flags/1x1/ae.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/af.svg b/assets/img/flags/1x1/af.svg deleted file mode 100644 index 1318024..0000000 --- a/assets/img/flags/1x1/af.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ag.svg b/assets/img/flags/1x1/ag.svg deleted file mode 100644 index d08734e..0000000 --- a/assets/img/flags/1x1/ag.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ai.svg b/assets/img/flags/1x1/ai.svg deleted file mode 100644 index 2c11dce..0000000 --- a/assets/img/flags/1x1/ai.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/al.svg b/assets/img/flags/1x1/al.svg deleted file mode 100644 index 017dd4d..0000000 --- a/assets/img/flags/1x1/al.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/am.svg b/assets/img/flags/1x1/am.svg deleted file mode 100644 index 22689f2..0000000 --- a/assets/img/flags/1x1/am.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ao.svg b/assets/img/flags/1x1/ao.svg deleted file mode 100644 index bbca132..0000000 --- a/assets/img/flags/1x1/ao.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/aq.svg b/assets/img/flags/1x1/aq.svg deleted file mode 100644 index c02f136..0000000 --- a/assets/img/flags/1x1/aq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ar.svg b/assets/img/flags/1x1/ar.svg deleted file mode 100644 index 76bdbdd..0000000 --- a/assets/img/flags/1x1/ar.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/as.svg b/assets/img/flags/1x1/as.svg deleted file mode 100644 index 86ffc50..0000000 --- a/assets/img/flags/1x1/as.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/at.svg b/assets/img/flags/1x1/at.svg deleted file mode 100644 index a0a5265..0000000 --- a/assets/img/flags/1x1/at.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/au.svg b/assets/img/flags/1x1/au.svg deleted file mode 100644 index 9191233..0000000 --- a/assets/img/flags/1x1/au.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/aw.svg b/assets/img/flags/1x1/aw.svg deleted file mode 100644 index 1545ed7..0000000 --- a/assets/img/flags/1x1/aw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ax.svg b/assets/img/flags/1x1/ax.svg deleted file mode 100644 index d1dd37c..0000000 --- a/assets/img/flags/1x1/ax.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/az.svg b/assets/img/flags/1x1/az.svg deleted file mode 100644 index 09c2ab2..0000000 --- a/assets/img/flags/1x1/az.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ba.svg b/assets/img/flags/1x1/ba.svg deleted file mode 100644 index e5e7afe..0000000 --- a/assets/img/flags/1x1/ba.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bb.svg b/assets/img/flags/1x1/bb.svg deleted file mode 100644 index 46e8419..0000000 --- a/assets/img/flags/1x1/bb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bd.svg b/assets/img/flags/1x1/bd.svg deleted file mode 100644 index 13488c3..0000000 --- a/assets/img/flags/1x1/bd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/be.svg b/assets/img/flags/1x1/be.svg deleted file mode 100644 index 37ff3ed..0000000 --- a/assets/img/flags/1x1/be.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bf.svg b/assets/img/flags/1x1/bf.svg deleted file mode 100644 index ea7ac5f..0000000 --- a/assets/img/flags/1x1/bf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bg.svg b/assets/img/flags/1x1/bg.svg deleted file mode 100644 index 66fc71c..0000000 --- a/assets/img/flags/1x1/bg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bh.svg b/assets/img/flags/1x1/bh.svg deleted file mode 100644 index 2df8c5c..0000000 --- a/assets/img/flags/1x1/bh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bi.svg b/assets/img/flags/1x1/bi.svg deleted file mode 100644 index 8bfce24..0000000 --- a/assets/img/flags/1x1/bi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bj.svg b/assets/img/flags/1x1/bj.svg deleted file mode 100644 index c2b4610..0000000 --- a/assets/img/flags/1x1/bj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bl.svg b/assets/img/flags/1x1/bl.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/bl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bm.svg b/assets/img/flags/1x1/bm.svg deleted file mode 100644 index 4aa7215..0000000 --- a/assets/img/flags/1x1/bm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bn.svg b/assets/img/flags/1x1/bn.svg deleted file mode 100644 index 17b53b3..0000000 --- a/assets/img/flags/1x1/bn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bo.svg b/assets/img/flags/1x1/bo.svg deleted file mode 100644 index dbfda8b..0000000 --- a/assets/img/flags/1x1/bo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bq.svg b/assets/img/flags/1x1/bq.svg deleted file mode 100644 index 9b1b0b4..0000000 --- a/assets/img/flags/1x1/bq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/br.svg b/assets/img/flags/1x1/br.svg deleted file mode 100644 index 9d8ca1e..0000000 --- a/assets/img/flags/1x1/br.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bs.svg b/assets/img/flags/1x1/bs.svg deleted file mode 100644 index 1a88216..0000000 --- a/assets/img/flags/1x1/bs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bt.svg b/assets/img/flags/1x1/bt.svg deleted file mode 100644 index d08f859..0000000 --- a/assets/img/flags/1x1/bt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bv.svg b/assets/img/flags/1x1/bv.svg deleted file mode 100644 index 2b6a5f3..0000000 --- a/assets/img/flags/1x1/bv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bw.svg b/assets/img/flags/1x1/bw.svg deleted file mode 100644 index 0146770..0000000 --- a/assets/img/flags/1x1/bw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/by.svg b/assets/img/flags/1x1/by.svg deleted file mode 100644 index eecb0e4..0000000 --- a/assets/img/flags/1x1/by.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/bz.svg b/assets/img/flags/1x1/bz.svg deleted file mode 100644 index cf7a968..0000000 --- a/assets/img/flags/1x1/bz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ca.svg b/assets/img/flags/1x1/ca.svg deleted file mode 100644 index 679afac..0000000 --- a/assets/img/flags/1x1/ca.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cc.svg b/assets/img/flags/1x1/cc.svg deleted file mode 100644 index 4d3f00a..0000000 --- a/assets/img/flags/1x1/cc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cd.svg b/assets/img/flags/1x1/cd.svg deleted file mode 100644 index 5190666..0000000 --- a/assets/img/flags/1x1/cd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cf.svg b/assets/img/flags/1x1/cf.svg deleted file mode 100644 index 1ea31fe..0000000 --- a/assets/img/flags/1x1/cf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cg.svg b/assets/img/flags/1x1/cg.svg deleted file mode 100644 index 46d08d8..0000000 --- a/assets/img/flags/1x1/cg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ch.svg b/assets/img/flags/1x1/ch.svg deleted file mode 100644 index 9776b65..0000000 --- a/assets/img/flags/1x1/ch.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ci.svg b/assets/img/flags/1x1/ci.svg deleted file mode 100644 index 10800d0..0000000 --- a/assets/img/flags/1x1/ci.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ck.svg b/assets/img/flags/1x1/ck.svg deleted file mode 100644 index acd95da..0000000 --- a/assets/img/flags/1x1/ck.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cl.svg b/assets/img/flags/1x1/cl.svg deleted file mode 100644 index 0ee8b60..0000000 --- a/assets/img/flags/1x1/cl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cm.svg b/assets/img/flags/1x1/cm.svg deleted file mode 100644 index f38d59d..0000000 --- a/assets/img/flags/1x1/cm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cn.svg b/assets/img/flags/1x1/cn.svg deleted file mode 100644 index 95a53fa..0000000 --- a/assets/img/flags/1x1/cn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/co.svg b/assets/img/flags/1x1/co.svg deleted file mode 100644 index 5fb747e..0000000 --- a/assets/img/flags/1x1/co.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cr.svg b/assets/img/flags/1x1/cr.svg deleted file mode 100644 index 7b2c3af..0000000 --- a/assets/img/flags/1x1/cr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cu.svg b/assets/img/flags/1x1/cu.svg deleted file mode 100644 index 0e6bc03..0000000 --- a/assets/img/flags/1x1/cu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cv.svg b/assets/img/flags/1x1/cv.svg deleted file mode 100644 index 81983d8..0000000 --- a/assets/img/flags/1x1/cv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cw.svg b/assets/img/flags/1x1/cw.svg deleted file mode 100644 index 91501ae..0000000 --- a/assets/img/flags/1x1/cw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cx.svg b/assets/img/flags/1x1/cx.svg deleted file mode 100644 index 25e6000..0000000 --- a/assets/img/flags/1x1/cx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cy.svg b/assets/img/flags/1x1/cy.svg deleted file mode 100644 index 7330549..0000000 --- a/assets/img/flags/1x1/cy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/cz.svg b/assets/img/flags/1x1/cz.svg deleted file mode 100644 index 59a6f34..0000000 --- a/assets/img/flags/1x1/cz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/de.svg b/assets/img/flags/1x1/de.svg deleted file mode 100644 index a2dd7b4..0000000 --- a/assets/img/flags/1x1/de.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/dj.svg b/assets/img/flags/1x1/dj.svg deleted file mode 100644 index 9fe09eb..0000000 --- a/assets/img/flags/1x1/dj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/dk.svg b/assets/img/flags/1x1/dk.svg deleted file mode 100644 index 4f79270..0000000 --- a/assets/img/flags/1x1/dk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/dm.svg b/assets/img/flags/1x1/dm.svg deleted file mode 100644 index b21cb5c..0000000 --- a/assets/img/flags/1x1/dm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/do.svg b/assets/img/flags/1x1/do.svg deleted file mode 100644 index 5554199..0000000 --- a/assets/img/flags/1x1/do.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/dz.svg b/assets/img/flags/1x1/dz.svg deleted file mode 100644 index fcedeb9..0000000 --- a/assets/img/flags/1x1/dz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ec.svg b/assets/img/flags/1x1/ec.svg deleted file mode 100644 index be91f31..0000000 --- a/assets/img/flags/1x1/ec.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ee.svg b/assets/img/flags/1x1/ee.svg deleted file mode 100644 index 954ee3b..0000000 --- a/assets/img/flags/1x1/ee.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/eg.svg b/assets/img/flags/1x1/eg.svg deleted file mode 100644 index 6a912b5..0000000 --- a/assets/img/flags/1x1/eg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/eh.svg b/assets/img/flags/1x1/eh.svg deleted file mode 100644 index 13c5905..0000000 --- a/assets/img/flags/1x1/eh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/er.svg b/assets/img/flags/1x1/er.svg deleted file mode 100644 index bb7e5eb..0000000 --- a/assets/img/flags/1x1/er.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/es-ca.svg b/assets/img/flags/1x1/es-ca.svg deleted file mode 100644 index 9cf3797..0000000 --- a/assets/img/flags/1x1/es-ca.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/es-ga.svg b/assets/img/flags/1x1/es-ga.svg deleted file mode 100644 index 18287b0..0000000 --- a/assets/img/flags/1x1/es-ga.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/es.svg b/assets/img/flags/1x1/es.svg deleted file mode 100644 index ed4d038..0000000 --- a/assets/img/flags/1x1/es.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/et.svg b/assets/img/flags/1x1/et.svg deleted file mode 100644 index 0344213..0000000 --- a/assets/img/flags/1x1/et.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/eu.svg b/assets/img/flags/1x1/eu.svg deleted file mode 100644 index 33c09db..0000000 --- a/assets/img/flags/1x1/eu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fi.svg b/assets/img/flags/1x1/fi.svg deleted file mode 100644 index e0151ee..0000000 --- a/assets/img/flags/1x1/fi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fj.svg b/assets/img/flags/1x1/fj.svg deleted file mode 100644 index 2afeeee..0000000 --- a/assets/img/flags/1x1/fj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fk.svg b/assets/img/flags/1x1/fk.svg deleted file mode 100644 index 2b3bb90..0000000 --- a/assets/img/flags/1x1/fk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fm.svg b/assets/img/flags/1x1/fm.svg deleted file mode 100644 index 1c79b26..0000000 --- a/assets/img/flags/1x1/fm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fo.svg b/assets/img/flags/1x1/fo.svg deleted file mode 100644 index d3a2ad7..0000000 --- a/assets/img/flags/1x1/fo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/fr.svg b/assets/img/flags/1x1/fr.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/fr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ga.svg b/assets/img/flags/1x1/ga.svg deleted file mode 100644 index 71fddc6..0000000 --- a/assets/img/flags/1x1/ga.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gb-eng.svg b/assets/img/flags/1x1/gb-eng.svg deleted file mode 100644 index b3f44e5..0000000 --- a/assets/img/flags/1x1/gb-eng.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gb-nir.svg b/assets/img/flags/1x1/gb-nir.svg deleted file mode 100644 index 1973eaa..0000000 --- a/assets/img/flags/1x1/gb-nir.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gb-sct.svg b/assets/img/flags/1x1/gb-sct.svg deleted file mode 100644 index bb37cd0..0000000 --- a/assets/img/flags/1x1/gb-sct.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gb-wls.svg b/assets/img/flags/1x1/gb-wls.svg deleted file mode 100644 index e7a96e6..0000000 --- a/assets/img/flags/1x1/gb-wls.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gb.svg b/assets/img/flags/1x1/gb.svg deleted file mode 100644 index b59237e..0000000 --- a/assets/img/flags/1x1/gb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gd.svg b/assets/img/flags/1x1/gd.svg deleted file mode 100644 index 2616dec..0000000 --- a/assets/img/flags/1x1/gd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ge.svg b/assets/img/flags/1x1/ge.svg deleted file mode 100644 index 8923bf3..0000000 --- a/assets/img/flags/1x1/ge.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gf.svg b/assets/img/flags/1x1/gf.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/gf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gg.svg b/assets/img/flags/1x1/gg.svg deleted file mode 100644 index 3444355..0000000 --- a/assets/img/flags/1x1/gg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gh.svg b/assets/img/flags/1x1/gh.svg deleted file mode 100644 index a01899b..0000000 --- a/assets/img/flags/1x1/gh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gi.svg b/assets/img/flags/1x1/gi.svg deleted file mode 100644 index 36effe0..0000000 --- a/assets/img/flags/1x1/gi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gl.svg b/assets/img/flags/1x1/gl.svg deleted file mode 100644 index 9088e0b..0000000 --- a/assets/img/flags/1x1/gl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gm.svg b/assets/img/flags/1x1/gm.svg deleted file mode 100644 index 3a91831..0000000 --- a/assets/img/flags/1x1/gm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gn.svg b/assets/img/flags/1x1/gn.svg deleted file mode 100644 index 3c03cb6..0000000 --- a/assets/img/flags/1x1/gn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gp.svg b/assets/img/flags/1x1/gp.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/gp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gq.svg b/assets/img/flags/1x1/gq.svg deleted file mode 100644 index 05a3ae7..0000000 --- a/assets/img/flags/1x1/gq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gr.svg b/assets/img/flags/1x1/gr.svg deleted file mode 100644 index 8997125..0000000 --- a/assets/img/flags/1x1/gr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gs.svg b/assets/img/flags/1x1/gs.svg deleted file mode 100644 index 8ef7a3b..0000000 --- a/assets/img/flags/1x1/gs.svg +++ /dev/null @@ -1,51 +0,0 @@ - - L - - E - - O - - T - - E - - R - - R - - R - - R - - R - - E - - O - - O - - A - - A - - A - - M - - P - - P - - P - - I - - T - - T - - M - - G - \ No newline at end of file diff --git a/assets/img/flags/1x1/gt.svg b/assets/img/flags/1x1/gt.svg deleted file mode 100644 index 168d9e6..0000000 --- a/assets/img/flags/1x1/gt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gu.svg b/assets/img/flags/1x1/gu.svg deleted file mode 100644 index 850cb7c..0000000 --- a/assets/img/flags/1x1/gu.svg +++ /dev/null @@ -1,17 +0,0 @@ - - G - - U - - A - - M - - G - - U - - A - - M - \ No newline at end of file diff --git a/assets/img/flags/1x1/gw.svg b/assets/img/flags/1x1/gw.svg deleted file mode 100644 index b07b95b..0000000 --- a/assets/img/flags/1x1/gw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/gy.svg b/assets/img/flags/1x1/gy.svg deleted file mode 100644 index 9c878b7..0000000 --- a/assets/img/flags/1x1/gy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/hk.svg b/assets/img/flags/1x1/hk.svg deleted file mode 100644 index c9a252d..0000000 --- a/assets/img/flags/1x1/hk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/hm.svg b/assets/img/flags/1x1/hm.svg deleted file mode 100644 index 2812029..0000000 --- a/assets/img/flags/1x1/hm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/hn.svg b/assets/img/flags/1x1/hn.svg deleted file mode 100644 index 4bb42b6..0000000 --- a/assets/img/flags/1x1/hn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/hr.svg b/assets/img/flags/1x1/hr.svg deleted file mode 100644 index 8b0f731..0000000 --- a/assets/img/flags/1x1/hr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ht.svg b/assets/img/flags/1x1/ht.svg deleted file mode 100644 index cc403ce..0000000 --- a/assets/img/flags/1x1/ht.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/hu.svg b/assets/img/flags/1x1/hu.svg deleted file mode 100644 index 35252f6..0000000 --- a/assets/img/flags/1x1/hu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/id.svg b/assets/img/flags/1x1/id.svg deleted file mode 100644 index 6af8c7c..0000000 --- a/assets/img/flags/1x1/id.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ie.svg b/assets/img/flags/1x1/ie.svg deleted file mode 100644 index cb6589e..0000000 --- a/assets/img/flags/1x1/ie.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/il.svg b/assets/img/flags/1x1/il.svg deleted file mode 100644 index 37b9f04..0000000 --- a/assets/img/flags/1x1/il.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/im.svg b/assets/img/flags/1x1/im.svg deleted file mode 100644 index fa44df8..0000000 --- a/assets/img/flags/1x1/im.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/in.svg b/assets/img/flags/1x1/in.svg deleted file mode 100644 index a3ddfb1..0000000 --- a/assets/img/flags/1x1/in.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/io.svg b/assets/img/flags/1x1/io.svg deleted file mode 100644 index b54d79a..0000000 --- a/assets/img/flags/1x1/io.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/iq.svg b/assets/img/flags/1x1/iq.svg deleted file mode 100644 index 4647839..0000000 --- a/assets/img/flags/1x1/iq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ir.svg b/assets/img/flags/1x1/ir.svg deleted file mode 100644 index 4cc6bef..0000000 --- a/assets/img/flags/1x1/ir.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/is.svg b/assets/img/flags/1x1/is.svg deleted file mode 100644 index c69dc71..0000000 --- a/assets/img/flags/1x1/is.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/it.svg b/assets/img/flags/1x1/it.svg deleted file mode 100644 index 4557a66..0000000 --- a/assets/img/flags/1x1/it.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/je.svg b/assets/img/flags/1x1/je.svg deleted file mode 100644 index f0ac80b..0000000 --- a/assets/img/flags/1x1/je.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/jm.svg b/assets/img/flags/1x1/jm.svg deleted file mode 100644 index 814ee41..0000000 --- a/assets/img/flags/1x1/jm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/jo.svg b/assets/img/flags/1x1/jo.svg deleted file mode 100644 index 2ba0a1c..0000000 --- a/assets/img/flags/1x1/jo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/jp.svg b/assets/img/flags/1x1/jp.svg deleted file mode 100644 index d37124a..0000000 --- a/assets/img/flags/1x1/jp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ke.svg b/assets/img/flags/1x1/ke.svg deleted file mode 100644 index 29ee0ed..0000000 --- a/assets/img/flags/1x1/ke.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kg.svg b/assets/img/flags/1x1/kg.svg deleted file mode 100644 index da603d2..0000000 --- a/assets/img/flags/1x1/kg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kh.svg b/assets/img/flags/1x1/kh.svg deleted file mode 100644 index 531a34e..0000000 --- a/assets/img/flags/1x1/kh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ki.svg b/assets/img/flags/1x1/ki.svg deleted file mode 100644 index ccad792..0000000 --- a/assets/img/flags/1x1/ki.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/km.svg b/assets/img/flags/1x1/km.svg deleted file mode 100644 index 87b5127..0000000 --- a/assets/img/flags/1x1/km.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kn.svg b/assets/img/flags/1x1/kn.svg deleted file mode 100644 index bf602f9..0000000 --- a/assets/img/flags/1x1/kn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kp.svg b/assets/img/flags/1x1/kp.svg deleted file mode 100644 index 0987f42..0000000 --- a/assets/img/flags/1x1/kp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kr.svg b/assets/img/flags/1x1/kr.svg deleted file mode 100644 index 4591de0..0000000 --- a/assets/img/flags/1x1/kr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kw.svg b/assets/img/flags/1x1/kw.svg deleted file mode 100644 index 991edda..0000000 --- a/assets/img/flags/1x1/kw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ky.svg b/assets/img/flags/1x1/ky.svg deleted file mode 100644 index 5e48c32..0000000 --- a/assets/img/flags/1x1/ky.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/kz.svg b/assets/img/flags/1x1/kz.svg deleted file mode 100644 index 58d288b..0000000 --- a/assets/img/flags/1x1/kz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/la.svg b/assets/img/flags/1x1/la.svg deleted file mode 100644 index 399502a..0000000 --- a/assets/img/flags/1x1/la.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lb.svg b/assets/img/flags/1x1/lb.svg deleted file mode 100644 index cc9b9b6..0000000 --- a/assets/img/flags/1x1/lb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lc.svg b/assets/img/flags/1x1/lc.svg deleted file mode 100644 index af98a9f..0000000 --- a/assets/img/flags/1x1/lc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/li.svg b/assets/img/flags/1x1/li.svg deleted file mode 100644 index df1e41e..0000000 --- a/assets/img/flags/1x1/li.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lk.svg b/assets/img/flags/1x1/lk.svg deleted file mode 100644 index 44aa81c..0000000 --- a/assets/img/flags/1x1/lk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lr.svg b/assets/img/flags/1x1/lr.svg deleted file mode 100644 index 39e9859..0000000 --- a/assets/img/flags/1x1/lr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ls.svg b/assets/img/flags/1x1/ls.svg deleted file mode 100644 index a700e1c..0000000 --- a/assets/img/flags/1x1/ls.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lt.svg b/assets/img/flags/1x1/lt.svg deleted file mode 100644 index 95ffe74..0000000 --- a/assets/img/flags/1x1/lt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lu.svg b/assets/img/flags/1x1/lu.svg deleted file mode 100644 index a80e7d8..0000000 --- a/assets/img/flags/1x1/lu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/lv.svg b/assets/img/flags/1x1/lv.svg deleted file mode 100644 index e29f6b7..0000000 --- a/assets/img/flags/1x1/lv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ly.svg b/assets/img/flags/1x1/ly.svg deleted file mode 100644 index d6aadab..0000000 --- a/assets/img/flags/1x1/ly.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ma.svg b/assets/img/flags/1x1/ma.svg deleted file mode 100644 index 077af0d..0000000 --- a/assets/img/flags/1x1/ma.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mc.svg b/assets/img/flags/1x1/mc.svg deleted file mode 100644 index 775a939..0000000 --- a/assets/img/flags/1x1/mc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/md.svg b/assets/img/flags/1x1/md.svg deleted file mode 100644 index 4a8c8f7..0000000 --- a/assets/img/flags/1x1/md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/me.svg b/assets/img/flags/1x1/me.svg deleted file mode 100644 index e649460..0000000 --- a/assets/img/flags/1x1/me.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mf.svg b/assets/img/flags/1x1/mf.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/mf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mg.svg b/assets/img/flags/1x1/mg.svg deleted file mode 100644 index 1d016fb..0000000 --- a/assets/img/flags/1x1/mg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mh.svg b/assets/img/flags/1x1/mh.svg deleted file mode 100644 index 5f325fb..0000000 --- a/assets/img/flags/1x1/mh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mk.svg b/assets/img/flags/1x1/mk.svg deleted file mode 100644 index 16246c3..0000000 --- a/assets/img/flags/1x1/mk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ml.svg b/assets/img/flags/1x1/ml.svg deleted file mode 100644 index 467aa62..0000000 --- a/assets/img/flags/1x1/ml.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mm.svg b/assets/img/flags/1x1/mm.svg deleted file mode 100644 index 7872f19..0000000 --- a/assets/img/flags/1x1/mm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mn.svg b/assets/img/flags/1x1/mn.svg deleted file mode 100644 index aaa51be..0000000 --- a/assets/img/flags/1x1/mn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mo.svg b/assets/img/flags/1x1/mo.svg deleted file mode 100644 index 5747781..0000000 --- a/assets/img/flags/1x1/mo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mp.svg b/assets/img/flags/1x1/mp.svg deleted file mode 100644 index fd8e675..0000000 --- a/assets/img/flags/1x1/mp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mq.svg b/assets/img/flags/1x1/mq.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/mq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mr.svg b/assets/img/flags/1x1/mr.svg deleted file mode 100644 index c8121ea..0000000 --- a/assets/img/flags/1x1/mr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ms.svg b/assets/img/flags/1x1/ms.svg deleted file mode 100644 index afa540d..0000000 --- a/assets/img/flags/1x1/ms.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mt.svg b/assets/img/flags/1x1/mt.svg deleted file mode 100644 index e65b5b0..0000000 --- a/assets/img/flags/1x1/mt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mu.svg b/assets/img/flags/1x1/mu.svg deleted file mode 100644 index 576e830..0000000 --- a/assets/img/flags/1x1/mu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mv.svg b/assets/img/flags/1x1/mv.svg deleted file mode 100644 index ea30eb7..0000000 --- a/assets/img/flags/1x1/mv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mw.svg b/assets/img/flags/1x1/mw.svg deleted file mode 100644 index a53c8f0..0000000 --- a/assets/img/flags/1x1/mw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mx.svg b/assets/img/flags/1x1/mx.svg deleted file mode 100644 index 7b73e28..0000000 --- a/assets/img/flags/1x1/mx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/my.svg b/assets/img/flags/1x1/my.svg deleted file mode 100644 index f192073..0000000 --- a/assets/img/flags/1x1/my.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/mz.svg b/assets/img/flags/1x1/mz.svg deleted file mode 100644 index 18df342..0000000 --- a/assets/img/flags/1x1/mz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/na.svg b/assets/img/flags/1x1/na.svg deleted file mode 100644 index 3bf4a52..0000000 --- a/assets/img/flags/1x1/na.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nc.svg b/assets/img/flags/1x1/nc.svg deleted file mode 100644 index 78faaba..0000000 --- a/assets/img/flags/1x1/nc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ne.svg b/assets/img/flags/1x1/ne.svg deleted file mode 100644 index b7b3d9a..0000000 --- a/assets/img/flags/1x1/ne.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nf.svg b/assets/img/flags/1x1/nf.svg deleted file mode 100644 index a41b4e5..0000000 --- a/assets/img/flags/1x1/nf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ng.svg b/assets/img/flags/1x1/ng.svg deleted file mode 100644 index be88217..0000000 --- a/assets/img/flags/1x1/ng.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ni.svg b/assets/img/flags/1x1/ni.svg deleted file mode 100644 index b711227..0000000 --- a/assets/img/flags/1x1/ni.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nl.svg b/assets/img/flags/1x1/nl.svg deleted file mode 100644 index 9b1b0b4..0000000 --- a/assets/img/flags/1x1/nl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/no.svg b/assets/img/flags/1x1/no.svg deleted file mode 100644 index b433500..0000000 --- a/assets/img/flags/1x1/no.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/np.svg b/assets/img/flags/1x1/np.svg deleted file mode 100644 index 6b98694..0000000 --- a/assets/img/flags/1x1/np.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nr.svg b/assets/img/flags/1x1/nr.svg deleted file mode 100644 index 3e2a4d1..0000000 --- a/assets/img/flags/1x1/nr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nu.svg b/assets/img/flags/1x1/nu.svg deleted file mode 100644 index f84e6a6..0000000 --- a/assets/img/flags/1x1/nu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/nz.svg b/assets/img/flags/1x1/nz.svg deleted file mode 100644 index a721827..0000000 --- a/assets/img/flags/1x1/nz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/om.svg b/assets/img/flags/1x1/om.svg deleted file mode 100644 index e784cb4..0000000 --- a/assets/img/flags/1x1/om.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pa.svg b/assets/img/flags/1x1/pa.svg deleted file mode 100644 index 7c67363..0000000 --- a/assets/img/flags/1x1/pa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pe.svg b/assets/img/flags/1x1/pe.svg deleted file mode 100644 index ea836f3..0000000 --- a/assets/img/flags/1x1/pe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pf.svg b/assets/img/flags/1x1/pf.svg deleted file mode 100644 index b0ac2d2..0000000 --- a/assets/img/flags/1x1/pf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pg.svg b/assets/img/flags/1x1/pg.svg deleted file mode 100644 index 37138cd..0000000 --- a/assets/img/flags/1x1/pg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ph.svg b/assets/img/flags/1x1/ph.svg deleted file mode 100644 index 0fc0c94..0000000 --- a/assets/img/flags/1x1/ph.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pk.svg b/assets/img/flags/1x1/pk.svg deleted file mode 100644 index ddc0544..0000000 --- a/assets/img/flags/1x1/pk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pl.svg b/assets/img/flags/1x1/pl.svg deleted file mode 100644 index e6dc699..0000000 --- a/assets/img/flags/1x1/pl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pm.svg b/assets/img/flags/1x1/pm.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/pm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pn.svg b/assets/img/flags/1x1/pn.svg deleted file mode 100644 index 9415332..0000000 --- a/assets/img/flags/1x1/pn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pr.svg b/assets/img/flags/1x1/pr.svg deleted file mode 100644 index 9c60f41..0000000 --- a/assets/img/flags/1x1/pr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ps.svg b/assets/img/flags/1x1/ps.svg deleted file mode 100644 index 4a2d2dc..0000000 --- a/assets/img/flags/1x1/ps.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pt.svg b/assets/img/flags/1x1/pt.svg deleted file mode 100644 index 8124511..0000000 --- a/assets/img/flags/1x1/pt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/pw.svg b/assets/img/flags/1x1/pw.svg deleted file mode 100644 index a1a095b..0000000 --- a/assets/img/flags/1x1/pw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/py.svg b/assets/img/flags/1x1/py.svg deleted file mode 100644 index b67b5d4..0000000 --- a/assets/img/flags/1x1/py.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/qa.svg b/assets/img/flags/1x1/qa.svg deleted file mode 100644 index 37a8a70..0000000 --- a/assets/img/flags/1x1/qa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/re.svg b/assets/img/flags/1x1/re.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/re.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ro.svg b/assets/img/flags/1x1/ro.svg deleted file mode 100644 index edd403e..0000000 --- a/assets/img/flags/1x1/ro.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/rs.svg b/assets/img/flags/1x1/rs.svg deleted file mode 100644 index 91cfc45..0000000 --- a/assets/img/flags/1x1/rs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ru.svg b/assets/img/flags/1x1/ru.svg deleted file mode 100644 index d32b320..0000000 --- a/assets/img/flags/1x1/ru.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/rw.svg b/assets/img/flags/1x1/rw.svg deleted file mode 100644 index 2bf1071..0000000 --- a/assets/img/flags/1x1/rw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sa.svg b/assets/img/flags/1x1/sa.svg deleted file mode 100644 index ac2458a..0000000 --- a/assets/img/flags/1x1/sa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sb.svg b/assets/img/flags/1x1/sb.svg deleted file mode 100644 index 8e6663a..0000000 --- a/assets/img/flags/1x1/sb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sc.svg b/assets/img/flags/1x1/sc.svg deleted file mode 100644 index 1ff4f18..0000000 --- a/assets/img/flags/1x1/sc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sd.svg b/assets/img/flags/1x1/sd.svg deleted file mode 100644 index d433c81..0000000 --- a/assets/img/flags/1x1/sd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/se.svg b/assets/img/flags/1x1/se.svg deleted file mode 100644 index 9d71703..0000000 --- a/assets/img/flags/1x1/se.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sg.svg b/assets/img/flags/1x1/sg.svg deleted file mode 100644 index a17093c..0000000 --- a/assets/img/flags/1x1/sg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sh.svg b/assets/img/flags/1x1/sh.svg deleted file mode 100644 index 25508af..0000000 --- a/assets/img/flags/1x1/sh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/si.svg b/assets/img/flags/1x1/si.svg deleted file mode 100644 index 8fa5eee..0000000 --- a/assets/img/flags/1x1/si.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sj.svg b/assets/img/flags/1x1/sj.svg deleted file mode 100644 index 9f61814..0000000 --- a/assets/img/flags/1x1/sj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sk.svg b/assets/img/flags/1x1/sk.svg deleted file mode 100644 index ffcfd7b..0000000 --- a/assets/img/flags/1x1/sk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sl.svg b/assets/img/flags/1x1/sl.svg deleted file mode 100644 index 11c2392..0000000 --- a/assets/img/flags/1x1/sl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sm.svg b/assets/img/flags/1x1/sm.svg deleted file mode 100644 index 73f9088..0000000 --- a/assets/img/flags/1x1/sm.svg +++ /dev/null @@ -1,17 +0,0 @@ - - L - - I - - B - - E - - R - - T - - A - - S - \ No newline at end of file diff --git a/assets/img/flags/1x1/sn.svg b/assets/img/flags/1x1/sn.svg deleted file mode 100644 index 740c1b2..0000000 --- a/assets/img/flags/1x1/sn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/so.svg b/assets/img/flags/1x1/so.svg deleted file mode 100644 index b0d6819..0000000 --- a/assets/img/flags/1x1/so.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sr.svg b/assets/img/flags/1x1/sr.svg deleted file mode 100644 index 40775bc..0000000 --- a/assets/img/flags/1x1/sr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ss.svg b/assets/img/flags/1x1/ss.svg deleted file mode 100644 index 65286fd..0000000 --- a/assets/img/flags/1x1/ss.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/st.svg b/assets/img/flags/1x1/st.svg deleted file mode 100644 index acad6a3..0000000 --- a/assets/img/flags/1x1/st.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sv.svg b/assets/img/flags/1x1/sv.svg deleted file mode 100644 index bd66ae0..0000000 --- a/assets/img/flags/1x1/sv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sx.svg b/assets/img/flags/1x1/sx.svg deleted file mode 100644 index 43b9cbc..0000000 --- a/assets/img/flags/1x1/sx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sy.svg b/assets/img/flags/1x1/sy.svg deleted file mode 100644 index 0ecef60..0000000 --- a/assets/img/flags/1x1/sy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/sz.svg b/assets/img/flags/1x1/sz.svg deleted file mode 100644 index e522636..0000000 --- a/assets/img/flags/1x1/sz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tc.svg b/assets/img/flags/1x1/tc.svg deleted file mode 100644 index f4c19a4..0000000 --- a/assets/img/flags/1x1/tc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/td.svg b/assets/img/flags/1x1/td.svg deleted file mode 100644 index 7c5a0f0..0000000 --- a/assets/img/flags/1x1/td.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tf.svg b/assets/img/flags/1x1/tf.svg deleted file mode 100644 index e464876..0000000 --- a/assets/img/flags/1x1/tf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tg.svg b/assets/img/flags/1x1/tg.svg deleted file mode 100644 index e63a95a..0000000 --- a/assets/img/flags/1x1/tg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/th.svg b/assets/img/flags/1x1/th.svg deleted file mode 100644 index b068030..0000000 --- a/assets/img/flags/1x1/th.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tj.svg b/assets/img/flags/1x1/tj.svg deleted file mode 100644 index 06e34c2..0000000 --- a/assets/img/flags/1x1/tj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tk.svg b/assets/img/flags/1x1/tk.svg deleted file mode 100644 index e932f8a..0000000 --- a/assets/img/flags/1x1/tk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tl.svg b/assets/img/flags/1x1/tl.svg deleted file mode 100644 index ea08f61..0000000 --- a/assets/img/flags/1x1/tl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tm.svg b/assets/img/flags/1x1/tm.svg deleted file mode 100644 index e105972..0000000 --- a/assets/img/flags/1x1/tm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tn.svg b/assets/img/flags/1x1/tn.svg deleted file mode 100644 index cc29d94..0000000 --- a/assets/img/flags/1x1/tn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/to.svg b/assets/img/flags/1x1/to.svg deleted file mode 100644 index b07e606..0000000 --- a/assets/img/flags/1x1/to.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tr.svg b/assets/img/flags/1x1/tr.svg deleted file mode 100644 index de561b7..0000000 --- a/assets/img/flags/1x1/tr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tt.svg b/assets/img/flags/1x1/tt.svg deleted file mode 100644 index eff6841..0000000 --- a/assets/img/flags/1x1/tt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tv.svg b/assets/img/flags/1x1/tv.svg deleted file mode 100644 index 70bbe5c..0000000 --- a/assets/img/flags/1x1/tv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tw.svg b/assets/img/flags/1x1/tw.svg deleted file mode 100644 index bd52e0b..0000000 --- a/assets/img/flags/1x1/tw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/tz.svg b/assets/img/flags/1x1/tz.svg deleted file mode 100644 index 36d453a..0000000 --- a/assets/img/flags/1x1/tz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ua.svg b/assets/img/flags/1x1/ua.svg deleted file mode 100644 index ddedf38..0000000 --- a/assets/img/flags/1x1/ua.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ug.svg b/assets/img/flags/1x1/ug.svg deleted file mode 100644 index bbaa97f..0000000 --- a/assets/img/flags/1x1/ug.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/um.svg b/assets/img/flags/1x1/um.svg deleted file mode 100644 index 560f5ef..0000000 --- a/assets/img/flags/1x1/um.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/un.svg b/assets/img/flags/1x1/un.svg deleted file mode 100644 index f1f1272..0000000 --- a/assets/img/flags/1x1/un.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/us.svg b/assets/img/flags/1x1/us.svg deleted file mode 100644 index 4039945..0000000 --- a/assets/img/flags/1x1/us.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/uy.svg b/assets/img/flags/1x1/uy.svg deleted file mode 100644 index f7b3c8e..0000000 --- a/assets/img/flags/1x1/uy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/uz.svg b/assets/img/flags/1x1/uz.svg deleted file mode 100644 index 2305348..0000000 --- a/assets/img/flags/1x1/uz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/va.svg b/assets/img/flags/1x1/va.svg deleted file mode 100644 index f1bd7c6..0000000 --- a/assets/img/flags/1x1/va.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/vc.svg b/assets/img/flags/1x1/vc.svg deleted file mode 100644 index 5e4ba0d..0000000 --- a/assets/img/flags/1x1/vc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ve.svg b/assets/img/flags/1x1/ve.svg deleted file mode 100644 index b430e0a..0000000 --- a/assets/img/flags/1x1/ve.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/vg.svg b/assets/img/flags/1x1/vg.svg deleted file mode 100644 index c8286dd..0000000 --- a/assets/img/flags/1x1/vg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/vi.svg b/assets/img/flags/1x1/vi.svg deleted file mode 100644 index b69c5d8..0000000 --- a/assets/img/flags/1x1/vi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/vn.svg b/assets/img/flags/1x1/vn.svg deleted file mode 100644 index 925fc98..0000000 --- a/assets/img/flags/1x1/vn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/vu.svg b/assets/img/flags/1x1/vu.svg deleted file mode 100644 index 26d0d41..0000000 --- a/assets/img/flags/1x1/vu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/wf.svg b/assets/img/flags/1x1/wf.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/wf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ws.svg b/assets/img/flags/1x1/ws.svg deleted file mode 100644 index 40c887a..0000000 --- a/assets/img/flags/1x1/ws.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/xk.svg b/assets/img/flags/1x1/xk.svg deleted file mode 100644 index 40299e7..0000000 --- a/assets/img/flags/1x1/xk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/ye.svg b/assets/img/flags/1x1/ye.svg deleted file mode 100644 index 1eeab12..0000000 --- a/assets/img/flags/1x1/ye.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/yt.svg b/assets/img/flags/1x1/yt.svg deleted file mode 100644 index ab0dddc..0000000 --- a/assets/img/flags/1x1/yt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/za.svg b/assets/img/flags/1x1/za.svg deleted file mode 100644 index 1f59e11..0000000 --- a/assets/img/flags/1x1/za.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/zm.svg b/assets/img/flags/1x1/zm.svg deleted file mode 100644 index 4996f72..0000000 --- a/assets/img/flags/1x1/zm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/1x1/zw.svg b/assets/img/flags/1x1/zw.svg deleted file mode 100644 index 138e982..0000000 --- a/assets/img/flags/1x1/zw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ad.svg b/assets/img/flags/4x3/ad.svg deleted file mode 100644 index 9ace6da..0000000 --- a/assets/img/flags/4x3/ad.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ae.svg b/assets/img/flags/4x3/ae.svg deleted file mode 100644 index d60bac1..0000000 --- a/assets/img/flags/4x3/ae.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/af.svg b/assets/img/flags/4x3/af.svg deleted file mode 100644 index 3c661d2..0000000 --- a/assets/img/flags/4x3/af.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ag.svg b/assets/img/flags/4x3/ag.svg deleted file mode 100644 index af69531..0000000 --- a/assets/img/flags/4x3/ag.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ai.svg b/assets/img/flags/4x3/ai.svg deleted file mode 100644 index e3fb92c..0000000 --- a/assets/img/flags/4x3/ai.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/al.svg b/assets/img/flags/4x3/al.svg deleted file mode 100644 index 470050d..0000000 --- a/assets/img/flags/4x3/al.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/am.svg b/assets/img/flags/4x3/am.svg deleted file mode 100644 index 4421f6d..0000000 --- a/assets/img/flags/4x3/am.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ao.svg b/assets/img/flags/4x3/ao.svg deleted file mode 100644 index e63def4..0000000 --- a/assets/img/flags/4x3/ao.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/aq.svg b/assets/img/flags/4x3/aq.svg deleted file mode 100644 index fe62b16..0000000 --- a/assets/img/flags/4x3/aq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ar.svg b/assets/img/flags/4x3/ar.svg deleted file mode 100644 index f055d2d..0000000 --- a/assets/img/flags/4x3/ar.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/as.svg b/assets/img/flags/4x3/as.svg deleted file mode 100644 index c328e27..0000000 --- a/assets/img/flags/4x3/as.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/at.svg b/assets/img/flags/4x3/at.svg deleted file mode 100644 index 9c06a49..0000000 --- a/assets/img/flags/4x3/at.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/au.svg b/assets/img/flags/4x3/au.svg deleted file mode 100644 index 8f586ef..0000000 --- a/assets/img/flags/4x3/au.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/aw.svg b/assets/img/flags/4x3/aw.svg deleted file mode 100644 index 7950c9a..0000000 --- a/assets/img/flags/4x3/aw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ax.svg b/assets/img/flags/4x3/ax.svg deleted file mode 100644 index cb37731..0000000 --- a/assets/img/flags/4x3/ax.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/az.svg b/assets/img/flags/4x3/az.svg deleted file mode 100644 index 78f67c4..0000000 --- a/assets/img/flags/4x3/az.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ba.svg b/assets/img/flags/4x3/ba.svg deleted file mode 100644 index d08f186..0000000 --- a/assets/img/flags/4x3/ba.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bb.svg b/assets/img/flags/4x3/bb.svg deleted file mode 100644 index 81f77b2..0000000 --- a/assets/img/flags/4x3/bb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bd.svg b/assets/img/flags/4x3/bd.svg deleted file mode 100644 index c1d439a..0000000 --- a/assets/img/flags/4x3/bd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/be.svg b/assets/img/flags/4x3/be.svg deleted file mode 100644 index f42b5c3..0000000 --- a/assets/img/flags/4x3/be.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bf.svg b/assets/img/flags/4x3/bf.svg deleted file mode 100644 index 3d8761c..0000000 --- a/assets/img/flags/4x3/bf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bg.svg b/assets/img/flags/4x3/bg.svg deleted file mode 100644 index 6ebe597..0000000 --- a/assets/img/flags/4x3/bg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bh.svg b/assets/img/flags/4x3/bh.svg deleted file mode 100644 index 2517ad5..0000000 --- a/assets/img/flags/4x3/bh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bi.svg b/assets/img/flags/4x3/bi.svg deleted file mode 100644 index 2b3f8c9..0000000 --- a/assets/img/flags/4x3/bi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bj.svg b/assets/img/flags/4x3/bj.svg deleted file mode 100644 index fc81329..0000000 --- a/assets/img/flags/4x3/bj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bl.svg b/assets/img/flags/4x3/bl.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/bl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bm.svg b/assets/img/flags/4x3/bm.svg deleted file mode 100644 index f7e1f32..0000000 --- a/assets/img/flags/4x3/bm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bn.svg b/assets/img/flags/4x3/bn.svg deleted file mode 100644 index 434ab9a..0000000 --- a/assets/img/flags/4x3/bn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bo.svg b/assets/img/flags/4x3/bo.svg deleted file mode 100644 index 166c50d..0000000 --- a/assets/img/flags/4x3/bo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bq.svg b/assets/img/flags/4x3/bq.svg deleted file mode 100644 index 7564716..0000000 --- a/assets/img/flags/4x3/bq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/br.svg b/assets/img/flags/4x3/br.svg deleted file mode 100644 index e935154..0000000 --- a/assets/img/flags/4x3/br.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bs.svg b/assets/img/flags/4x3/bs.svg deleted file mode 100644 index e00776b..0000000 --- a/assets/img/flags/4x3/bs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bt.svg b/assets/img/flags/4x3/bt.svg deleted file mode 100644 index f247d44..0000000 --- a/assets/img/flags/4x3/bt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bv.svg b/assets/img/flags/4x3/bv.svg deleted file mode 100644 index 37c4e89..0000000 --- a/assets/img/flags/4x3/bv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bw.svg b/assets/img/flags/4x3/bw.svg deleted file mode 100644 index ab849c9..0000000 --- a/assets/img/flags/4x3/bw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/by.svg b/assets/img/flags/4x3/by.svg deleted file mode 100644 index 45946cb..0000000 --- a/assets/img/flags/4x3/by.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/bz.svg b/assets/img/flags/4x3/bz.svg deleted file mode 100644 index 597d833..0000000 --- a/assets/img/flags/4x3/bz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ca.svg b/assets/img/flags/4x3/ca.svg deleted file mode 100644 index c194526..0000000 --- a/assets/img/flags/4x3/ca.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cc.svg b/assets/img/flags/4x3/cc.svg deleted file mode 100644 index d8160a6..0000000 --- a/assets/img/flags/4x3/cc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cd.svg b/assets/img/flags/4x3/cd.svg deleted file mode 100644 index a604e65..0000000 --- a/assets/img/flags/4x3/cd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cf.svg b/assets/img/flags/4x3/cf.svg deleted file mode 100644 index 484b715..0000000 --- a/assets/img/flags/4x3/cf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cg.svg b/assets/img/flags/4x3/cg.svg deleted file mode 100644 index a2e7a67..0000000 --- a/assets/img/flags/4x3/cg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ch.svg b/assets/img/flags/4x3/ch.svg deleted file mode 100644 index d68aacc..0000000 --- a/assets/img/flags/4x3/ch.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ci.svg b/assets/img/flags/4x3/ci.svg deleted file mode 100644 index b4b5353..0000000 --- a/assets/img/flags/4x3/ci.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ck.svg b/assets/img/flags/4x3/ck.svg deleted file mode 100644 index 3a27360..0000000 --- a/assets/img/flags/4x3/ck.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cl.svg b/assets/img/flags/4x3/cl.svg deleted file mode 100644 index 56b1d0a..0000000 --- a/assets/img/flags/4x3/cl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cm.svg b/assets/img/flags/4x3/cm.svg deleted file mode 100644 index 0dad337..0000000 --- a/assets/img/flags/4x3/cm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cn.svg b/assets/img/flags/4x3/cn.svg deleted file mode 100644 index 4a9f177..0000000 --- a/assets/img/flags/4x3/cn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/co.svg b/assets/img/flags/4x3/co.svg deleted file mode 100644 index d0baebf..0000000 --- a/assets/img/flags/4x3/co.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cr.svg b/assets/img/flags/4x3/cr.svg deleted file mode 100644 index fe3a1c0..0000000 --- a/assets/img/flags/4x3/cr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cu.svg b/assets/img/flags/4x3/cu.svg deleted file mode 100644 index bcd490a..0000000 --- a/assets/img/flags/4x3/cu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cv.svg b/assets/img/flags/4x3/cv.svg deleted file mode 100644 index 38ac4a2..0000000 --- a/assets/img/flags/4x3/cv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cw.svg b/assets/img/flags/4x3/cw.svg deleted file mode 100644 index b3cd5dd..0000000 --- a/assets/img/flags/4x3/cw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cx.svg b/assets/img/flags/4x3/cx.svg deleted file mode 100644 index c08bfa6..0000000 --- a/assets/img/flags/4x3/cx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cy.svg b/assets/img/flags/4x3/cy.svg deleted file mode 100644 index 5caf2a5..0000000 --- a/assets/img/flags/4x3/cy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/cz.svg b/assets/img/flags/4x3/cz.svg deleted file mode 100644 index 0c97f6e..0000000 --- a/assets/img/flags/4x3/cz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/de.svg b/assets/img/flags/4x3/de.svg deleted file mode 100644 index eb0d6a5..0000000 --- a/assets/img/flags/4x3/de.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/dj.svg b/assets/img/flags/4x3/dj.svg deleted file mode 100644 index 2e3f215..0000000 --- a/assets/img/flags/4x3/dj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/dk.svg b/assets/img/flags/4x3/dk.svg deleted file mode 100644 index 611607f..0000000 --- a/assets/img/flags/4x3/dk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/dm.svg b/assets/img/flags/4x3/dm.svg deleted file mode 100644 index 134b472..0000000 --- a/assets/img/flags/4x3/dm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/do.svg b/assets/img/flags/4x3/do.svg deleted file mode 100644 index f0f2066..0000000 --- a/assets/img/flags/4x3/do.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/dz.svg b/assets/img/flags/4x3/dz.svg deleted file mode 100644 index a377cfa..0000000 --- a/assets/img/flags/4x3/dz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ec.svg b/assets/img/flags/4x3/ec.svg deleted file mode 100644 index f779938..0000000 --- a/assets/img/flags/4x3/ec.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ee.svg b/assets/img/flags/4x3/ee.svg deleted file mode 100644 index 9490139..0000000 --- a/assets/img/flags/4x3/ee.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/eg.svg b/assets/img/flags/4x3/eg.svg deleted file mode 100644 index ee20296..0000000 --- a/assets/img/flags/4x3/eg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/eh.svg b/assets/img/flags/4x3/eh.svg deleted file mode 100644 index d0aaca4..0000000 --- a/assets/img/flags/4x3/eh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/er.svg b/assets/img/flags/4x3/er.svg deleted file mode 100644 index f7bee5e..0000000 --- a/assets/img/flags/4x3/er.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/es-ca.svg b/assets/img/flags/4x3/es-ca.svg deleted file mode 100644 index f1730bf..0000000 --- a/assets/img/flags/4x3/es-ca.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/es-ga.svg b/assets/img/flags/4x3/es-ga.svg deleted file mode 100644 index 7fde457..0000000 --- a/assets/img/flags/4x3/es-ga.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/es.svg b/assets/img/flags/4x3/es.svg deleted file mode 100644 index b35533a..0000000 --- a/assets/img/flags/4x3/es.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/et.svg b/assets/img/flags/4x3/et.svg deleted file mode 100644 index 890514e..0000000 --- a/assets/img/flags/4x3/et.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/eu.svg b/assets/img/flags/4x3/eu.svg deleted file mode 100644 index e51fbe2..0000000 --- a/assets/img/flags/4x3/eu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fi.svg b/assets/img/flags/4x3/fi.svg deleted file mode 100644 index b0faccb..0000000 --- a/assets/img/flags/4x3/fi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fj.svg b/assets/img/flags/4x3/fj.svg deleted file mode 100644 index 3caf01f..0000000 --- a/assets/img/flags/4x3/fj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fk.svg b/assets/img/flags/4x3/fk.svg deleted file mode 100644 index 25fed0c..0000000 --- a/assets/img/flags/4x3/fk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fm.svg b/assets/img/flags/4x3/fm.svg deleted file mode 100644 index bb60b71..0000000 --- a/assets/img/flags/4x3/fm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fo.svg b/assets/img/flags/4x3/fo.svg deleted file mode 100644 index df84c0d..0000000 --- a/assets/img/flags/4x3/fo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/fr.svg b/assets/img/flags/4x3/fr.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/fr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ga.svg b/assets/img/flags/4x3/ga.svg deleted file mode 100644 index 57293cd..0000000 --- a/assets/img/flags/4x3/ga.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gb-eng.svg b/assets/img/flags/4x3/gb-eng.svg deleted file mode 100644 index 472af1b..0000000 --- a/assets/img/flags/4x3/gb-eng.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gb-nir.svg b/assets/img/flags/4x3/gb-nir.svg deleted file mode 100644 index dd64dc3..0000000 --- a/assets/img/flags/4x3/gb-nir.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gb-sct.svg b/assets/img/flags/4x3/gb-sct.svg deleted file mode 100644 index e7ca745..0000000 --- a/assets/img/flags/4x3/gb-sct.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gb-wls.svg b/assets/img/flags/4x3/gb-wls.svg deleted file mode 100644 index f562a4b..0000000 --- a/assets/img/flags/4x3/gb-wls.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gb.svg b/assets/img/flags/4x3/gb.svg deleted file mode 100644 index fe46387..0000000 --- a/assets/img/flags/4x3/gb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gd.svg b/assets/img/flags/4x3/gd.svg deleted file mode 100644 index 41757ba..0000000 --- a/assets/img/flags/4x3/gd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ge.svg b/assets/img/flags/4x3/ge.svg deleted file mode 100644 index 8e80c52..0000000 --- a/assets/img/flags/4x3/ge.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gf.svg b/assets/img/flags/4x3/gf.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/gf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gg.svg b/assets/img/flags/4x3/gg.svg deleted file mode 100644 index 3159ba4..0000000 --- a/assets/img/flags/4x3/gg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gh.svg b/assets/img/flags/4x3/gh.svg deleted file mode 100644 index b12ee90..0000000 --- a/assets/img/flags/4x3/gh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gi.svg b/assets/img/flags/4x3/gi.svg deleted file mode 100644 index 7cdd5d4..0000000 --- a/assets/img/flags/4x3/gi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gl.svg b/assets/img/flags/4x3/gl.svg deleted file mode 100644 index 504cf21..0000000 --- a/assets/img/flags/4x3/gl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gm.svg b/assets/img/flags/4x3/gm.svg deleted file mode 100644 index ad8b211..0000000 --- a/assets/img/flags/4x3/gm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gn.svg b/assets/img/flags/4x3/gn.svg deleted file mode 100644 index 358f751..0000000 --- a/assets/img/flags/4x3/gn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gp.svg b/assets/img/flags/4x3/gp.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/gp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gq.svg b/assets/img/flags/4x3/gq.svg deleted file mode 100644 index e2c663a..0000000 --- a/assets/img/flags/4x3/gq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gr.svg b/assets/img/flags/4x3/gr.svg deleted file mode 100644 index eb58209..0000000 --- a/assets/img/flags/4x3/gr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gs.svg b/assets/img/flags/4x3/gs.svg deleted file mode 100644 index 71eac50..0000000 --- a/assets/img/flags/4x3/gs.svg +++ /dev/null @@ -1,51 +0,0 @@ - - L - - E - - O - - T - - E - - R - - R - - R - - R - - R - - E - - O - - O - - A - - A - - A - - M - - P - - P - - P - - I - - T - - T - - M - - G - \ No newline at end of file diff --git a/assets/img/flags/4x3/gt.svg b/assets/img/flags/4x3/gt.svg deleted file mode 100644 index 8d98b8e..0000000 --- a/assets/img/flags/4x3/gt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gu.svg b/assets/img/flags/4x3/gu.svg deleted file mode 100644 index cf486d2..0000000 --- a/assets/img/flags/4x3/gu.svg +++ /dev/null @@ -1,17 +0,0 @@ - - G - - U - - A - - M - - G - - U - - A - - M - \ No newline at end of file diff --git a/assets/img/flags/4x3/gw.svg b/assets/img/flags/4x3/gw.svg deleted file mode 100644 index 8939248..0000000 --- a/assets/img/flags/4x3/gw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/gy.svg b/assets/img/flags/4x3/gy.svg deleted file mode 100644 index c52cd7c..0000000 --- a/assets/img/flags/4x3/gy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/hk.svg b/assets/img/flags/4x3/hk.svg deleted file mode 100644 index 1de28f9..0000000 --- a/assets/img/flags/4x3/hk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/hm.svg b/assets/img/flags/4x3/hm.svg deleted file mode 100644 index aeee038..0000000 --- a/assets/img/flags/4x3/hm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/hn.svg b/assets/img/flags/4x3/hn.svg deleted file mode 100644 index a4d82b1..0000000 --- a/assets/img/flags/4x3/hn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/hr.svg b/assets/img/flags/4x3/hr.svg deleted file mode 100644 index bf6411c..0000000 --- a/assets/img/flags/4x3/hr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ht.svg b/assets/img/flags/4x3/ht.svg deleted file mode 100644 index 0671d64..0000000 --- a/assets/img/flags/4x3/ht.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/hu.svg b/assets/img/flags/4x3/hu.svg deleted file mode 100644 index 306f4ba..0000000 --- a/assets/img/flags/4x3/hu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/id.svg b/assets/img/flags/4x3/id.svg deleted file mode 100644 index 9b6e7b3..0000000 --- a/assets/img/flags/4x3/id.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ie.svg b/assets/img/flags/4x3/ie.svg deleted file mode 100644 index 1a0ad63..0000000 --- a/assets/img/flags/4x3/ie.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/il.svg b/assets/img/flags/4x3/il.svg deleted file mode 100644 index 63b382c..0000000 --- a/assets/img/flags/4x3/il.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/im.svg b/assets/img/flags/4x3/im.svg deleted file mode 100644 index 99aa764..0000000 --- a/assets/img/flags/4x3/im.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/in.svg b/assets/img/flags/4x3/in.svg deleted file mode 100644 index 0ec83e0..0000000 --- a/assets/img/flags/4x3/in.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/io.svg b/assets/img/flags/4x3/io.svg deleted file mode 100644 index 4577994..0000000 --- a/assets/img/flags/4x3/io.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/iq.svg b/assets/img/flags/4x3/iq.svg deleted file mode 100644 index e846943..0000000 --- a/assets/img/flags/4x3/iq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ir.svg b/assets/img/flags/4x3/ir.svg deleted file mode 100644 index f6e1c0b..0000000 --- a/assets/img/flags/4x3/ir.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/is.svg b/assets/img/flags/4x3/is.svg deleted file mode 100644 index fcda955..0000000 --- a/assets/img/flags/4x3/is.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/it.svg b/assets/img/flags/4x3/it.svg deleted file mode 100644 index 1115704..0000000 --- a/assets/img/flags/4x3/it.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/je.svg b/assets/img/flags/4x3/je.svg deleted file mode 100644 index d3c5824..0000000 --- a/assets/img/flags/4x3/je.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/jm.svg b/assets/img/flags/4x3/jm.svg deleted file mode 100644 index aaeca1a..0000000 --- a/assets/img/flags/4x3/jm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/jo.svg b/assets/img/flags/4x3/jo.svg deleted file mode 100644 index 13c80f0..0000000 --- a/assets/img/flags/4x3/jo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/jp.svg b/assets/img/flags/4x3/jp.svg deleted file mode 100644 index 3d0eba2..0000000 --- a/assets/img/flags/4x3/jp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ke.svg b/assets/img/flags/4x3/ke.svg deleted file mode 100644 index 70cba56..0000000 --- a/assets/img/flags/4x3/ke.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kg.svg b/assets/img/flags/4x3/kg.svg deleted file mode 100644 index 5c74558..0000000 --- a/assets/img/flags/4x3/kg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kh.svg b/assets/img/flags/4x3/kh.svg deleted file mode 100644 index b2a39e1..0000000 --- a/assets/img/flags/4x3/kh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ki.svg b/assets/img/flags/4x3/ki.svg deleted file mode 100644 index 35b16a1..0000000 --- a/assets/img/flags/4x3/ki.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/km.svg b/assets/img/flags/4x3/km.svg deleted file mode 100644 index 3434241..0000000 --- a/assets/img/flags/4x3/km.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kn.svg b/assets/img/flags/4x3/kn.svg deleted file mode 100644 index 23cee56..0000000 --- a/assets/img/flags/4x3/kn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kp.svg b/assets/img/flags/4x3/kp.svg deleted file mode 100644 index f21e7d6..0000000 --- a/assets/img/flags/4x3/kp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kr.svg b/assets/img/flags/4x3/kr.svg deleted file mode 100644 index 4ebe17d..0000000 --- a/assets/img/flags/4x3/kr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kw.svg b/assets/img/flags/4x3/kw.svg deleted file mode 100644 index e032b6e..0000000 --- a/assets/img/flags/4x3/kw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ky.svg b/assets/img/flags/4x3/ky.svg deleted file mode 100644 index e17e620..0000000 --- a/assets/img/flags/4x3/ky.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/kz.svg b/assets/img/flags/4x3/kz.svg deleted file mode 100644 index d86d965..0000000 --- a/assets/img/flags/4x3/kz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/la.svg b/assets/img/flags/4x3/la.svg deleted file mode 100644 index e117b46..0000000 --- a/assets/img/flags/4x3/la.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lb.svg b/assets/img/flags/4x3/lb.svg deleted file mode 100644 index 204a56c..0000000 --- a/assets/img/flags/4x3/lb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lc.svg b/assets/img/flags/4x3/lc.svg deleted file mode 100644 index f09c249..0000000 --- a/assets/img/flags/4x3/lc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/li.svg b/assets/img/flags/4x3/li.svg deleted file mode 100644 index 332b328..0000000 --- a/assets/img/flags/4x3/li.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lk.svg b/assets/img/flags/4x3/lk.svg deleted file mode 100644 index 4a81ddc..0000000 --- a/assets/img/flags/4x3/lk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lr.svg b/assets/img/flags/4x3/lr.svg deleted file mode 100644 index f7fd384..0000000 --- a/assets/img/flags/4x3/lr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ls.svg b/assets/img/flags/4x3/ls.svg deleted file mode 100644 index 310febe..0000000 --- a/assets/img/flags/4x3/ls.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lt.svg b/assets/img/flags/4x3/lt.svg deleted file mode 100644 index d015d2c..0000000 --- a/assets/img/flags/4x3/lt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lu.svg b/assets/img/flags/4x3/lu.svg deleted file mode 100644 index d417e89..0000000 --- a/assets/img/flags/4x3/lu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/lv.svg b/assets/img/flags/4x3/lv.svg deleted file mode 100644 index 54d2ca3..0000000 --- a/assets/img/flags/4x3/lv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ly.svg b/assets/img/flags/4x3/ly.svg deleted file mode 100644 index f9aa024..0000000 --- a/assets/img/flags/4x3/ly.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ma.svg b/assets/img/flags/4x3/ma.svg deleted file mode 100644 index 4165f9d..0000000 --- a/assets/img/flags/4x3/ma.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mc.svg b/assets/img/flags/4x3/mc.svg deleted file mode 100644 index a3e2df4..0000000 --- a/assets/img/flags/4x3/mc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/md.svg b/assets/img/flags/4x3/md.svg deleted file mode 100644 index 66506a5..0000000 --- a/assets/img/flags/4x3/md.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/me.svg b/assets/img/flags/4x3/me.svg deleted file mode 100644 index c0f839c..0000000 --- a/assets/img/flags/4x3/me.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mf.svg b/assets/img/flags/4x3/mf.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/mf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mg.svg b/assets/img/flags/4x3/mg.svg deleted file mode 100644 index fd574d1..0000000 --- a/assets/img/flags/4x3/mg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mh.svg b/assets/img/flags/4x3/mh.svg deleted file mode 100644 index cbb4ffe..0000000 --- a/assets/img/flags/4x3/mh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mk.svg b/assets/img/flags/4x3/mk.svg deleted file mode 100644 index 47e5a92..0000000 --- a/assets/img/flags/4x3/mk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ml.svg b/assets/img/flags/4x3/ml.svg deleted file mode 100644 index fe6f408..0000000 --- a/assets/img/flags/4x3/ml.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mm.svg b/assets/img/flags/4x3/mm.svg deleted file mode 100644 index 12c5fa3..0000000 --- a/assets/img/flags/4x3/mm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mn.svg b/assets/img/flags/4x3/mn.svg deleted file mode 100644 index b68d536..0000000 --- a/assets/img/flags/4x3/mn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mo.svg b/assets/img/flags/4x3/mo.svg deleted file mode 100644 index 548c51d..0000000 --- a/assets/img/flags/4x3/mo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mp.svg b/assets/img/flags/4x3/mp.svg deleted file mode 100644 index ad9cb77..0000000 --- a/assets/img/flags/4x3/mp.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mq.svg b/assets/img/flags/4x3/mq.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/mq.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mr.svg b/assets/img/flags/4x3/mr.svg deleted file mode 100644 index 7fca323..0000000 --- a/assets/img/flags/4x3/mr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ms.svg b/assets/img/flags/4x3/ms.svg deleted file mode 100644 index 9f9e34b..0000000 --- a/assets/img/flags/4x3/ms.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mt.svg b/assets/img/flags/4x3/mt.svg deleted file mode 100644 index a1654b6..0000000 --- a/assets/img/flags/4x3/mt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mu.svg b/assets/img/flags/4x3/mu.svg deleted file mode 100644 index dc91946..0000000 --- a/assets/img/flags/4x3/mu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mv.svg b/assets/img/flags/4x3/mv.svg deleted file mode 100644 index 0bac1d6..0000000 --- a/assets/img/flags/4x3/mv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mw.svg b/assets/img/flags/4x3/mw.svg deleted file mode 100644 index 6b19dec..0000000 --- a/assets/img/flags/4x3/mw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mx.svg b/assets/img/flags/4x3/mx.svg deleted file mode 100644 index f7be07a..0000000 --- a/assets/img/flags/4x3/mx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/my.svg b/assets/img/flags/4x3/my.svg deleted file mode 100644 index 9f9b398..0000000 --- a/assets/img/flags/4x3/my.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/mz.svg b/assets/img/flags/4x3/mz.svg deleted file mode 100644 index fc8a92a..0000000 --- a/assets/img/flags/4x3/mz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/na.svg b/assets/img/flags/4x3/na.svg deleted file mode 100644 index a15426e..0000000 --- a/assets/img/flags/4x3/na.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nc.svg b/assets/img/flags/4x3/nc.svg deleted file mode 100644 index a8e8990..0000000 --- a/assets/img/flags/4x3/nc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ne.svg b/assets/img/flags/4x3/ne.svg deleted file mode 100644 index 9eb164d..0000000 --- a/assets/img/flags/4x3/ne.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nf.svg b/assets/img/flags/4x3/nf.svg deleted file mode 100644 index 7caae3a..0000000 --- a/assets/img/flags/4x3/nf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ng.svg b/assets/img/flags/4x3/ng.svg deleted file mode 100644 index c7e7fc2..0000000 --- a/assets/img/flags/4x3/ng.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ni.svg b/assets/img/flags/4x3/ni.svg deleted file mode 100644 index 80f2ac7..0000000 --- a/assets/img/flags/4x3/ni.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nl.svg b/assets/img/flags/4x3/nl.svg deleted file mode 100644 index 7564716..0000000 --- a/assets/img/flags/4x3/nl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/no.svg b/assets/img/flags/4x3/no.svg deleted file mode 100644 index 59a25c1..0000000 --- a/assets/img/flags/4x3/no.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/np.svg b/assets/img/flags/4x3/np.svg deleted file mode 100644 index adb218d..0000000 --- a/assets/img/flags/4x3/np.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nr.svg b/assets/img/flags/4x3/nr.svg deleted file mode 100644 index 1b3088f..0000000 --- a/assets/img/flags/4x3/nr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nu.svg b/assets/img/flags/4x3/nu.svg deleted file mode 100644 index 04c8da2..0000000 --- a/assets/img/flags/4x3/nu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/nz.svg b/assets/img/flags/4x3/nz.svg deleted file mode 100644 index 79d5885..0000000 --- a/assets/img/flags/4x3/nz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/om.svg b/assets/img/flags/4x3/om.svg deleted file mode 100644 index d624393..0000000 --- a/assets/img/flags/4x3/om.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pa.svg b/assets/img/flags/4x3/pa.svg deleted file mode 100644 index a4c4158..0000000 --- a/assets/img/flags/4x3/pa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pe.svg b/assets/img/flags/4x3/pe.svg deleted file mode 100644 index 70c2ae5..0000000 --- a/assets/img/flags/4x3/pe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pf.svg b/assets/img/flags/4x3/pf.svg deleted file mode 100644 index 62ee826..0000000 --- a/assets/img/flags/4x3/pf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pg.svg b/assets/img/flags/4x3/pg.svg deleted file mode 100644 index 7fe69c7..0000000 --- a/assets/img/flags/4x3/pg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ph.svg b/assets/img/flags/4x3/ph.svg deleted file mode 100644 index f9cddd2..0000000 --- a/assets/img/flags/4x3/ph.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pk.svg b/assets/img/flags/4x3/pk.svg deleted file mode 100644 index 1a2f007..0000000 --- a/assets/img/flags/4x3/pk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pl.svg b/assets/img/flags/4x3/pl.svg deleted file mode 100644 index 5ed8895..0000000 --- a/assets/img/flags/4x3/pl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pm.svg b/assets/img/flags/4x3/pm.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/pm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pn.svg b/assets/img/flags/4x3/pn.svg deleted file mode 100644 index 45602bd..0000000 --- a/assets/img/flags/4x3/pn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pr.svg b/assets/img/flags/4x3/pr.svg deleted file mode 100644 index 2783a07..0000000 --- a/assets/img/flags/4x3/pr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ps.svg b/assets/img/flags/4x3/ps.svg deleted file mode 100644 index dd0f444..0000000 --- a/assets/img/flags/4x3/ps.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pt.svg b/assets/img/flags/4x3/pt.svg deleted file mode 100644 index 53d4f59..0000000 --- a/assets/img/flags/4x3/pt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/pw.svg b/assets/img/flags/4x3/pw.svg deleted file mode 100644 index 153540e..0000000 --- a/assets/img/flags/4x3/pw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/py.svg b/assets/img/flags/4x3/py.svg deleted file mode 100644 index b743e73..0000000 --- a/assets/img/flags/4x3/py.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/qa.svg b/assets/img/flags/4x3/qa.svg deleted file mode 100644 index 320dc79..0000000 --- a/assets/img/flags/4x3/qa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/re.svg b/assets/img/flags/4x3/re.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/re.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ro.svg b/assets/img/flags/4x3/ro.svg deleted file mode 100644 index c4bd3a1..0000000 --- a/assets/img/flags/4x3/ro.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/rs.svg b/assets/img/flags/4x3/rs.svg deleted file mode 100644 index cd7cc62..0000000 --- a/assets/img/flags/4x3/rs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ru.svg b/assets/img/flags/4x3/ru.svg deleted file mode 100644 index 06a51c2..0000000 --- a/assets/img/flags/4x3/ru.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/rw.svg b/assets/img/flags/4x3/rw.svg deleted file mode 100644 index 846c1d9..0000000 --- a/assets/img/flags/4x3/rw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sa.svg b/assets/img/flags/4x3/sa.svg deleted file mode 100644 index 1e41cda..0000000 --- a/assets/img/flags/4x3/sa.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sb.svg b/assets/img/flags/4x3/sb.svg deleted file mode 100644 index 69f1185..0000000 --- a/assets/img/flags/4x3/sb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sc.svg b/assets/img/flags/4x3/sc.svg deleted file mode 100644 index 06edb8f..0000000 --- a/assets/img/flags/4x3/sc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sd.svg b/assets/img/flags/4x3/sd.svg deleted file mode 100644 index 00ef2c6..0000000 --- a/assets/img/flags/4x3/sd.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/se.svg b/assets/img/flags/4x3/se.svg deleted file mode 100644 index 12a252e..0000000 --- a/assets/img/flags/4x3/se.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sg.svg b/assets/img/flags/4x3/sg.svg deleted file mode 100644 index 926d08a..0000000 --- a/assets/img/flags/4x3/sg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sh.svg b/assets/img/flags/4x3/sh.svg deleted file mode 100644 index c4e5ea9..0000000 --- a/assets/img/flags/4x3/sh.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/si.svg b/assets/img/flags/4x3/si.svg deleted file mode 100644 index 0e49363..0000000 --- a/assets/img/flags/4x3/si.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sj.svg b/assets/img/flags/4x3/sj.svg deleted file mode 100644 index 1cbeb4b..0000000 --- a/assets/img/flags/4x3/sj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sk.svg b/assets/img/flags/4x3/sk.svg deleted file mode 100644 index 0b0fe02..0000000 --- a/assets/img/flags/4x3/sk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sl.svg b/assets/img/flags/4x3/sl.svg deleted file mode 100644 index aec6875..0000000 --- a/assets/img/flags/4x3/sl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sm.svg b/assets/img/flags/4x3/sm.svg deleted file mode 100644 index b8e8227..0000000 --- a/assets/img/flags/4x3/sm.svg +++ /dev/null @@ -1,17 +0,0 @@ - - L - - I - - B - - E - - R - - T - - A - - S - \ No newline at end of file diff --git a/assets/img/flags/4x3/sn.svg b/assets/img/flags/4x3/sn.svg deleted file mode 100644 index 9471531..0000000 --- a/assets/img/flags/4x3/sn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/so.svg b/assets/img/flags/4x3/so.svg deleted file mode 100644 index fc62aab..0000000 --- a/assets/img/flags/4x3/so.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sr.svg b/assets/img/flags/4x3/sr.svg deleted file mode 100644 index b7ca9a4..0000000 --- a/assets/img/flags/4x3/sr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ss.svg b/assets/img/flags/4x3/ss.svg deleted file mode 100644 index 582cd79..0000000 --- a/assets/img/flags/4x3/ss.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/st.svg b/assets/img/flags/4x3/st.svg deleted file mode 100644 index 662ce34..0000000 --- a/assets/img/flags/4x3/st.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sv.svg b/assets/img/flags/4x3/sv.svg deleted file mode 100644 index a87a3ef..0000000 --- a/assets/img/flags/4x3/sv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sx.svg b/assets/img/flags/4x3/sx.svg deleted file mode 100644 index 65ee707..0000000 --- a/assets/img/flags/4x3/sx.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sy.svg b/assets/img/flags/4x3/sy.svg deleted file mode 100644 index 63b2c74..0000000 --- a/assets/img/flags/4x3/sy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/sz.svg b/assets/img/flags/4x3/sz.svg deleted file mode 100644 index ad8bcc3..0000000 --- a/assets/img/flags/4x3/sz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tc.svg b/assets/img/flags/4x3/tc.svg deleted file mode 100644 index d2097fa..0000000 --- a/assets/img/flags/4x3/tc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/td.svg b/assets/img/flags/4x3/td.svg deleted file mode 100644 index b56e0c4..0000000 --- a/assets/img/flags/4x3/td.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tf.svg b/assets/img/flags/4x3/tf.svg deleted file mode 100644 index 22d6be3..0000000 --- a/assets/img/flags/4x3/tf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tg.svg b/assets/img/flags/4x3/tg.svg deleted file mode 100644 index 35bfe5f..0000000 --- a/assets/img/flags/4x3/tg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/th.svg b/assets/img/flags/4x3/th.svg deleted file mode 100644 index a40064a..0000000 --- a/assets/img/flags/4x3/th.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tj.svg b/assets/img/flags/4x3/tj.svg deleted file mode 100644 index 4fe27f9..0000000 --- a/assets/img/flags/4x3/tj.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tk.svg b/assets/img/flags/4x3/tk.svg deleted file mode 100644 index ba02461..0000000 --- a/assets/img/flags/4x3/tk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tl.svg b/assets/img/flags/4x3/tl.svg deleted file mode 100644 index cad316a..0000000 --- a/assets/img/flags/4x3/tl.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tm.svg b/assets/img/flags/4x3/tm.svg deleted file mode 100644 index a4b0acf..0000000 --- a/assets/img/flags/4x3/tm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tn.svg b/assets/img/flags/4x3/tn.svg deleted file mode 100644 index a7a0d76..0000000 --- a/assets/img/flags/4x3/tn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/to.svg b/assets/img/flags/4x3/to.svg deleted file mode 100644 index 740ebd6..0000000 --- a/assets/img/flags/4x3/to.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tr.svg b/assets/img/flags/4x3/tr.svg deleted file mode 100644 index 6b4404d..0000000 --- a/assets/img/flags/4x3/tr.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tt.svg b/assets/img/flags/4x3/tt.svg deleted file mode 100644 index 574637c..0000000 --- a/assets/img/flags/4x3/tt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tv.svg b/assets/img/flags/4x3/tv.svg deleted file mode 100644 index f4e9a62..0000000 --- a/assets/img/flags/4x3/tv.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tw.svg b/assets/img/flags/4x3/tw.svg deleted file mode 100644 index f5d1ce9..0000000 --- a/assets/img/flags/4x3/tw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/tz.svg b/assets/img/flags/4x3/tz.svg deleted file mode 100644 index f22f6bc..0000000 --- a/assets/img/flags/4x3/tz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ua.svg b/assets/img/flags/4x3/ua.svg deleted file mode 100644 index a6c65ad..0000000 --- a/assets/img/flags/4x3/ua.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ug.svg b/assets/img/flags/4x3/ug.svg deleted file mode 100644 index f5bdd9a..0000000 --- a/assets/img/flags/4x3/ug.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/um.svg b/assets/img/flags/4x3/um.svg deleted file mode 100644 index beded26..0000000 --- a/assets/img/flags/4x3/um.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/un.svg b/assets/img/flags/4x3/un.svg deleted file mode 100644 index d71ee49..0000000 --- a/assets/img/flags/4x3/un.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/us.svg b/assets/img/flags/4x3/us.svg deleted file mode 100644 index fca190c..0000000 --- a/assets/img/flags/4x3/us.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/uy.svg b/assets/img/flags/4x3/uy.svg deleted file mode 100644 index d850e80..0000000 --- a/assets/img/flags/4x3/uy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/uz.svg b/assets/img/flags/4x3/uz.svg deleted file mode 100644 index 4f8b2db..0000000 --- a/assets/img/flags/4x3/uz.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/va.svg b/assets/img/flags/4x3/va.svg deleted file mode 100644 index 96e6285..0000000 --- a/assets/img/flags/4x3/va.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/vc.svg b/assets/img/flags/4x3/vc.svg deleted file mode 100644 index 544a7db..0000000 --- a/assets/img/flags/4x3/vc.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ve.svg b/assets/img/flags/4x3/ve.svg deleted file mode 100644 index b709893..0000000 --- a/assets/img/flags/4x3/ve.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/vg.svg b/assets/img/flags/4x3/vg.svg deleted file mode 100644 index 622674a..0000000 --- a/assets/img/flags/4x3/vg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/vi.svg b/assets/img/flags/4x3/vi.svg deleted file mode 100644 index 3b255e8..0000000 --- a/assets/img/flags/4x3/vi.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/vn.svg b/assets/img/flags/4x3/vn.svg deleted file mode 100644 index e378179..0000000 --- a/assets/img/flags/4x3/vn.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/vu.svg b/assets/img/flags/4x3/vu.svg deleted file mode 100644 index e8432d7..0000000 --- a/assets/img/flags/4x3/vu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/wf.svg b/assets/img/flags/4x3/wf.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/wf.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ws.svg b/assets/img/flags/4x3/ws.svg deleted file mode 100644 index da94088..0000000 --- a/assets/img/flags/4x3/ws.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/xk.svg b/assets/img/flags/4x3/xk.svg deleted file mode 100644 index c291d5d..0000000 --- a/assets/img/flags/4x3/xk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/ye.svg b/assets/img/flags/4x3/ye.svg deleted file mode 100644 index 3d7a422..0000000 --- a/assets/img/flags/4x3/ye.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/yt.svg b/assets/img/flags/4x3/yt.svg deleted file mode 100644 index 628922e..0000000 --- a/assets/img/flags/4x3/yt.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/za.svg b/assets/img/flags/4x3/za.svg deleted file mode 100644 index 748d747..0000000 --- a/assets/img/flags/4x3/za.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/zm.svg b/assets/img/flags/4x3/zm.svg deleted file mode 100644 index 0c22b56..0000000 --- a/assets/img/flags/4x3/zm.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/flags/4x3/zw.svg b/assets/img/flags/4x3/zw.svg deleted file mode 100644 index 242a7fc..0000000 --- a/assets/img/flags/4x3/zw.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/img/logo.png b/assets/img/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..f83e7345f684d034d514ff408d064af9426c19aa GIT binary patch literal 12281 zcmd6N1y@^5)GiPR?iL(cpinHqid%6nP~1YWq5+B&4-HPywz!uTN^$q#ZiV97ltL*^ zk)k*6`+j$=yVm^!-&$EGXXoshJu}&R_CC)uvHH4dq(qEFSXfx38tTdhSXej!%zZxr z5OWqc5Sh+q%yFu=;1l7&tx#FSQ^TTMgdFvxv$!pRa(08^D=$BYlV;$1S!>; z3gU{%0!S8I`*B*8AJ$dGrQvaL?3RM1>;WprkK?@0J|%}2dB0Og4tahqK!L#0P$%Q& zw0}6d=y-LZ_N_%y`=d)>V4!2*#9z65J!)NlJriGF-+2qq4q^fhB!$xd-phl1`){~K zstGvf*yiC|VuFwGUy@dz=MpiK*W+k~2aoJtU~k-_q!s+r8urgoDkuijPgI=(2i_SY zc`(bRXf@Z7B~kvhLMIzXR-7!t6=4GinlDY5#5u$%T)o4p=dx5KhUeY}yaaUN0N+V? zN*n>M3p2^v3HfoC5KZCzeqbviet_}9txtFtb{Mu`9pDi8R;HKly58OS(A_=`iF$NB z>&^?eqwZjn29(DyT^u%ciKVWFzf(C2Fsr#JW>=V*@$5(6)njxElHv zE}8z02mQIo#~U@1c-6Pc+R&q03|tRkIcw$P3fZfq^0mNsTjo3*%4goc{tKM{EtD7- z@=>Ep<#s<5>HIj4@A%~Q;ihotR=}_c%xFnt%J{>poz*$|aeiGbQ;MCo4&odqyu?87 zvQN67o-~K$Zj>$4Xa8WyJS@FGgH-xr!O2ybe6znv^=;9rb%ZW{STEu{d^GGwSF|oN za9X$~P$(R@53t-~ey1z1GWp76P9L?V12K&bXe31;2SiS|4pv$YI7*EdL?%!@;9p ze(%BTSF*%j7AtJI`V2E8%<^)Da@$nECCKNVKoP1s<4(`lk=Wsr&!l_x>9euuf71q$ zOG}*}(wqhgNt}1he%Mc&z2#h;0KCu1vPD(11}sdh#V^j2IhTLl(|Yt)(n%ztZF9Yx z$BEvy2)(dRi9bP+aUelw>qZp?t>=|q$W)b#!s){H!;@m<-?(Qkma9n5o+}accvZB> zZSEDh$%inEzxr;Fpr#{|`mZ4+5`u}|j*meG@8;!Fon7}#jLjzg=DCK|@2r$FZ$IC? z=pQZmBr7GRRy$DR&+xRJ|?idXkrDW;6QC@xoveT zS{~YkaFRGDf5vm!MkYUYustTXMW9W^`~c7169g{iUH*Pm3}@P1og7frXaHAU*^JeW zEGMGfLCZ1blxKOWSn^-I!lY7v?CBsWsDR2WExk2iTHmj?StB41%I*DFq94MSTUM;Q zeIp((!v*0Vw=c_hDS%jVKxXUWKzm3EOC-fD76S#Dj3c&_WFm`-%Fg{$!pZO9 z=UBzQc{0poOvcAS(iAum5;omgqCC1@BY)&zYp6Z6eTbgZf8L|6y^&|N*NCTDCyGd-z~Tqhp$HTBG>{dZOTEv?-jQYDS{f!WDob%+ES&O-GGfS zH0VsIuI5&ac|!16(l3Wl!`N|D03Y&anOwlP+vW~?tVF(N6G}J7PlHJYoSO~?nwd=u z<|RS*cgN3VvNaDr&)+{mJc^-eEF`wd(Yu(6(&d=cdtik6vg z{jAu7TFjH`5K`$;z#j(UUWFz|H6syBEZg}e4lE*WIq*{dWl0X`hIQ&2$G9`V0nmY(E;cjU%qlN!zFr+Zln z(h0q#F=_T;E18fcuf3{1kpH8EpuG$5=f5t)*fzEEE4-@mao+N09@_@?i2I%owQ{9# z-sIi<(U#h0ep(m@dvLkpk@)!twm}Tpv*62)lYi+28I(A$s;^7XRNqzk6QZ9kssOr- z+Fqapz3$z%3ZidK!e1rA-ZjUuB!rEhL{ev-DAd)y{V}6D+2gK2Z_Kf9kYLtS zxwRnzqDGu9JdQ*ZbnmaEKSPCpuA@F=0&gH3*iU=HONr(Uy2al%Cj0w3(~m;l@5zm# zOSSOSUdaWDFoA=9Z^4s{3-pVHM^|U)W$N>{f=I7!^%_TBmNj)Lw}_ zcwAMtHbLW>5+Ox=Q-;F<7Z?aX<&b{ZNuQSKG!Y zDOo8(jeaxjA1^HJ=5JY*01^r}zA2y1W<*ht+Q+=J)$*O-!44+lo9QO6-+tqS4n~JGdAsy8SN9w* zdpF{&pS`sh-vgui4E?RHeZ+!2I+Khn@|~pDeb&%MA8DC){{}?6Rf{l`_9*aLm)jNa z_ZMaKpo;VSOveWP$`n;I9p!AdTD`r{j0=))@Nfc~$p?)DuRBudyl#EyaaghD&N{qM zV-)$G5GeQ?>~*K*1xGTp>1A1=fET&_m-97x{Du>q%_85&-4xokz^|Ce;LJj%?;IZz zT*)lgjRx;MrZk-xbZ7I@dn3l-RW>M$O)6MyDTz=cuBW;LAEkpFzjVHXZ8!z?j2152c`HCVPJM0(HZ zEDom7+!B(mbxd6@8#n5*VLxVI1MysB2>N)T|HiRzZzLs;mqqymq@fJ zKKxl4SsuV46E#miiE75Ftg5}ahLla~)kbWOJ;r;ZDoCAxV%cz(4K?}2^QGnx?a4f- z$Jx?Ou4FWpBKiHEHGjq*Aii89Ohpca8$#Yr`?w(xG?v@ZVExUpL2nX zzc0*XP}B&~?BB;Y83%gCEgd~_gBQASmdNd{W-I_I7w_#8bWpTh$S3nB|MsYZD99HQtzE1xOR0KL^}=j(+Gu*Y4PytgzLchUdL!3g^uZ~fV_UBAuf=7vn z;@#IXU`=6D83fr49@{LkgPms4Ql8U8z%=Ya)5AJQR zgWq{pZQ^qf9okt&`jytP>yNWvh$ZZ+@&aMClV>NiwtRyvRW%$1Mp=Yci$RS3+_Lmx zKh)_38p-!w*PKbt>yoezI7iVfU;L$RrdIm)R3w=b&2*E1pQ63%K?rytE=b?InNeyV zg18vw~btxVSD1}uNG?`_d z3Km>dSD)FMzQ&6T6rfh#3{IV7s>uwY{|F$4jH<$z3OF=sbD0E4kVc+Uyif%r6(joI z7Y@LkcMc=J1RsK#*%Uzmu{(Fuo#eXRodM;03N1quf%$#7(=C+fKz}Lj=~04&>FY6^|Wu0JU&Fd)Fj~D*mnNZ)dDS5v!a#mCjJ$V0$bpT#VwgC7>CwJ%8kVyxqLZh}#4-LA{o1cbom(V)*BllSx zoFu8;GlO8lPx2Cv6PhXObhA7owoMP7nqy6ztc)tJR3ektu%4EHa!;J52{^t7+FEFb z#?QOLC$lXSuNI_M^-}j&-e^?LsfVr%^>C5IcrPJV!BGN+a3RVseI2ve>w zn#Tf^oU{?mX7g{$#S(&mX*#tAcStWW?JSR^YGYFA3z2aJ1J^xQ2w{68KrRLX>>y6N ze^>@_01o7RWW7kUmlpES&o@Ot^xHqCu+hDujSqdQ&mLhP)Fb2|s4dQ2itJ)x*U}r(>WdEa2VzY6TlngvRNY)xc$Ys(~%{ z)YZnudk=?e&Dmo+i2>U)ADubYdt5(n0{ylNO3SB%*QN*eTKl80+AeWsLO@YEK19{~ zsV1{@)CD6Io#Bg*HQ8{rCpVl2$z5SwlD;8f%oIgyGmn?=L>}aYu}r7deoz4sjQp7w zm5mQ{1qRROM@zdvfz&oXZZk>?qM=HZ_<0wXuFY@UWcFOx*-+RQ`+}uZ=K+hG))|n+Oi+}Znixim~VXi)|WJB{RXT*o^>CJx;A)B z5aoNvl0nh7{XKD+G7?Ai%^f@U&>W#LPsYAPST!xP3ua4j5z3eSntpv9t|Gs*(F z8YcN}hFYUR!(KW?uptp&7Y>9JIA8PqXFW);UQt#*)N1qB>KZ-Hl`5SgnWV zk;*$q_O<9gv>T5nk5xG7(^mWA^MW!N(Sd1*Fs);DE4^_PCO1eflwnHLcD;3J$q!^% z2+rk}`Mlx&!(-Q+A~0hyqJsh!eMZUmfrSgI@FDgUYLqr~$R@^YZq(@go%jTmV%RJR zXNX=p+WJvv%+jDyz?{!sGf~yM{?h8vMWwS(Gy|PMUWA5DIQg2T)}4zdH^{?Jtd@vn zP#`n+hrkscL6|K2)T7t>fBChx!P0Z#Jh$eKTb_?DUlKh5!Z#4?F5%4+m{C!30V&x zw;!lqx4o8e$LtUv;!2NklpdR$(ff!@&%PoqpHleq#HDaQU~R&<(=IaH5RysudoyeC zg_Bn0;Y>w_t-9O*^gDa7l*;6b3MYM@vlTxSZilA9{%z3YVU#I$kkr8?ML+%`g_*W2Ni z|7U~Hxup+0O)lR@=Az!=^>6VZ!zRz5(56QN4zp*={h<7_LKU|2Rq!Hhy2{SekSF;L zm+~xKEgXfR9a*G{zi>8a5>!GDkDXZR`obhCFSdoxngx}DUc%;Ty2ye-u*)Z3CQ)6y z1NV1^#sLA+Jz|smhE>fMhQIv|wvL2DYW>@o(5fvODHPXoZTFs(mDAXJ<%Mb=QsmWk zP#SnNf0dB6iEm!*-|>*-?6-W1C9SlugtG4zJV%x0ZNu8xdoq?ycG*cR_j$uu1_FF4 z(3hufUm9|$eU6x8YxZMjbgdf4`EFM&N2xubmmY?p2&5F;Rqo zI(5OaL4%u=j)OWj5OipeCiLrsH0Zep)#TMH?Vhr9CLYn%*URq0L>hr!{5_?G`K8CQ zRXDl>EHR~vOD+ByzuFnwEmkueG7mp&;W3wP#`xD5K)?3r6Y!HqY;1x_*4@9Kn}t6^ z@Bfeph4pN$B9|u{8HI36UbeBW5PE-2}%(!3ZTrN&FMkvfy ze_Q2s-!`y(GkkJMomw-R84dXwf-?;kA2h8NDm^}bz)h(wf;RWG!NY)ebMW#PJPxLH zuW092)4saqC5a#VyyynW)2`2K@s_RAa_u(Kz>swBLcnVe-+gJT#P2lv{x@A}-s#(| z#h~ZJn?+Wq1%%LUhzvlxw7}X+NyRg%22uLby=_*U4c-6jmqN~uTh7G^xu}J!iugt2 za_}hGLou2s$?ODC*h#aB7@+M|i~7kTSbGBTz5DMM#&`ay9ig6PuSP65)i&khaU;Ua zEA&M~)?5tNYD5k^Q`+wXEzS4wt1iqY9MSB2Db{8iXjHj_T=gN2d>;$Lfj<|pO3{Iv z&mQ(7pgbiX5wLiW0@3dI7L;r zXTG9Gwa@Hp@T!tUuLxw?Y1`${`}O7-gL;|F(`Ko-KXkKkkBQ=aQA)N8Y&q1Q5?&V zaX_d%K{GD(-j;7dLB6-8v60q8b!H$P~vh#mTlAcm-j9$ z?p2T6yR`0+udqULSW6(G3r?^(NF;?)%aOkerawD_f z*B_9l(WEYB9d;omm0Z^oFn^)3atDmcpC|R&8@AcQF#I>5#knlkVS7~%;eaXev?uP* z%m1|q4iDJgZ&`Zz%<+B?5NNO{6U>>JIl#3I){K#WAW$ zYiFuW<|>%Rq5wdQgQu_esb2nX)32Sau;ZfVtFFfCkbh=@860Q6Q1Yk)PQ!n50=!j{ zBk>V16Z;?07{r5waxIRqrTp{I;=Op<<)8ocnD>?-j!@lDqh=BEi zEk6r#BPky2lk~0N>Me}-i=eofkcecrO8XoHaX3R|JhCu{;2*mpQ$j=A#LxogK8!g| z5)#Y6)>9~VF#+;F(ey+X?=y)M=f6XA_J%5q;{Nx*zP0VdIa2|%m`DV+ww@lxnEf~H z|7p|OhUwz9=s(VY>CqHgAfl%#{*QD8!FUD(v_P5-mw^omJ77coR4Fo7Ql4UhrjEif*SfQ+Jxmap!nzhw?WnBdwfU@p$@#iTXP}{K#NcYLss5~Zg7f~^)^PkF# z2WelHHt0SF;b`N^5d^aafSL(1st&R>KjPF~5xmRCO2j$Pt4`=Z*wE}tGnnEAOLlt; z0_B|U`ob3?mNa zBaH~3Ciz40VYKc@L3%;^*@X_5{P&Kf661{}ppEtO_6gDG{zVT z!C>@*g?JL(UTzX_b)_xl?kKJpI}WI{>~1Rr)J)k-z0d%hUtcF;$Tv3B0;%IgDs5(i z&YV8)><&dMO2Nn)?2P&?N|`=I)#Sn0G)fbmBBt}ukGPEzt2$lJN`Lpf&v59Taj~4x zmu_iR){%p2jPf*5!_~OX2yuq&0TEacZVHuR1@7?o+S~-@<|04LYwH`gh8#o`E4iNj z^AThEQOh9QqMbaR6|!i_J!FqlYgQ+eJ&LOctX(9@)TXfa$+R6@eZnSn(a+@?H2E+b z(~)pyxVAVo?oZE%wUA79f{1X`UDscxJvnp^g#tH01UoeaE>j}xjx_MF=7OWbw6XF! zifjCeB_byOh>$lbTMTJP*>;Qa$p?m8qC6lHq{ zhy;`LD#fhQM?uvKDWag=In+^5QywG|@7j|fGMIxONkP{G&mPVu3-Uex?%x}+$c7Uc zj8Iz3v8nDFy`ULe|C_8-Nbxg>=*KD4bclXv`{_TiD#w<3I2;`rtnP0jxA%*8YW3Zx zWTB~VndEJ4CqECtB+~QSzYav_r7up(ikG%4cG~}bnye6VX`?9Kbv5zV#k*Ko41&lS z`&569bKTyvmH#;Q>KZ$&swl?_9#nCI14D7UsL{dbUk3D@<^w$Ntnukg6+I-u*b5^b z(TkpLG})(YMq{k0{M>$A-?A^&f_u7B@ zkN{^PDO9W{+%r~TZo6SSf*?Xcdf?ls>IT=KWYq%cMmp*vC@HyW@!tQ~b;B#cKMuq$ zy5d++UhXP9z%ee62rCwS04~CSAFr|}fJ$ad z5<_0H$Py6(&K#AF6Df;<+e_P3dzw!H4UJo4-cN~|Pk)-UNl6D1MdvkJ)ws^j?T(af zvVoqv^Cnh)Z!n?h{Q;>PI)jHbA=aFSlVmpX4Y1Zykou+HISn~#6bu!09iP7<0ti$rvh%;4C6Rd+ zeYN){p&={9j0}o3W}wInwKb32&d0K3EzU7tBHqK!LB_UKm#hxhDtUBa%Mh*LwwwNx z%I_{68nk;aFws!A`oY;=)*rqXM%XO48QMyQ&h+krDIHf@I}id$xiIm*n)}yi=cfh! z*3h;)Ricg;XsP@H&Zt#~^@6QjR8a z96{WJo*!11uCYGkJ)qt*?+1<=_T--pb3Ya4J%lrzuj-r~6#Wou>cGMxcm3xqKuG{a zvDdBA^j(-84ofVy(qluAlTT&=EX3a&i9Iijpb(tHA(u?lDGWBqv?Kdi%N4PPxV;47 z^fe>vaU`Xw^IV+mJ!d8~BckM6}T$GrTe}&xiyiAi&V0q$sOm6gOI4@Qv)?9azATMYr@Qc%7@GH|_0QBF({1sNb(ncc3ffbm1F>^WOA_*d z{L_tp`5Ven1}7(E$tB-Fmuwu^%QN$8fCKf#l}$&uFnPv&(j#d~>?;w|;Y>Lf@ICm* z<8cp3viq?9kQO6F4P1cM?deN456pDEwF7?)%5E!LJ(d^|aeY&(T>WsMr&FM(r5w`2 z=z$ZOI9zqi9|~w80q1^I%~be-vVBptEhIa5Zr>Z&NinP&JY!nMPGEZK;jifitk-6@ z6Cu7Vayk;&?#=D*Qic<&Hb?^&1`TzY?zV7c7?C(z6(iBm9)5BmpS4`$fEHr3`?Ilt z1g-Ta;Nw5>3|3pG&QXDPWS3G$ii5{B#zVntE*u{H{6YlN_o4vYsRlU~)gVlsN_JG} z`w=?H&fM=&utL@S^7`-)(T>h3%-|H;;>Hu?yBLH(q{w8 z8Mkd1o*l+7XLVwxWWQk}JDA@9*pugTZX(+d-e8b6WKBiYIlm8#h~yC%zy0r|P5_q_RcVhp~{qOFuCsVJBnMru6QK?>1R9 z7z{$E`lX}&x84&t(sXb=d4)uv_s%RuO!HHqEtfdyn{(h!m&m+kx?K@>rm>=SI+49c zXM0;N*CCz4Km9|T+Rhw0XekcrvywjXl_u?M&jx00a4wfc&u?1$;d>B9*w({8oj{hh6x+e8G6Lpw!-dp^44=e#d>e4ftH7}nhC04-d4n+ z5d`h=KCspF4IzUJcAESqZ>q^5TdbK&hw?wRJ}h!hB-OSQELnFBA8qz(jpK0lmFscu z{3?6=!l0}a`euY$?wOU`^B#pmwdRc1@NEK~0O0L%xL6|00?=m6PV#brp*Y^FIeq0$ z{Ul}2W1xdXNxsyH#u!H)SI*w)EWf^I4D)6j_bnCgjvCFIGVRI-EhwC46_&AR7+ap6 zPFV&544fL!3ZzQ9Q`8s<^;0C!K(Lb z3{AVYjg0l1j4Q+W!6FBaWlkmh-Oe!+b(3&@M}|M3jo=MnLbP&@cA^t@*VlgylCaKE z(e(Vm{X1+g^5^BYgBRatXa_BUrWenY!5`fLvj;m{ABm8N*Kj9&{wC$>mhA;0N;K~8EK3wx9Yzda;yqy=NlkB0~>X?l_Fp88-Iim<9zvxDRA%_Sz zh;(F_7rLCo{kT5->MLywS&6i8XvaTncvd=KZA(0Ohtm)r(4n1iz~m9`MX6$vgW&xM6AACLH1*d~_J-i%D?mAZHy+KW^d#nA)YR zREr`*AbT8Fv0!4^zCDr915FJS20f9Wf1=9o`hU3&QZvsa{Q=>mkHyBv`~&?NUQe`S znYyX?g00z}1<+6dcYCAB^D|_>f5=r$WRd@}53^b55SU+TrW8semH5%;?$fK*u*K~m z{n25iZ(!gzp)mZCceyDcU!vB1p4?M%uR5*CGeu#_vmVd}on8EYc@Mxh=9uF@7~Vs9 z*kFfvS-MblpMJY_++b3b(r$&$O113zcf&idzDZQ#nD;_#nwkgX#q3mJFMh+G&(Iv~ zT=Jz|@t1?YQ{B|HYB}vQ+~`J-T)-rtkul^4FB@oO=zP)c>y&L3Z(3B+lD+!!rGOgA zs_Tex@1P#z1FwRXBhsI0-)$aT0uK5l`)R;6Ct4}}m#b|^1TAX)!Q12a+Y7Ud4eN>! z#}&+o?yvvYTH>YK$*7TidD>+eFU@~WkUHAJ&PnptX`$3OipKbW(C6m6isbwkjr#}k0z$? zC(Ad|^00qbDO+geztM;>j59BN|Hzhvov*}fm+&Yw!NSh7afCO+l>BziBEUftaG?95Em^VMY5a~7*eC6J%*pC9X4T}5@D z%DqNI_D|=c>hhg!PW`TTeYKWMsB(Ojce=wzPxk#-=UeR-TW_A${qz&B4+&Iq z)XkrfydGAu!Xmb|VxjwSypXV>_$zr)t~(fbY%sZo)X=1E$%fj^s%;6qHE!4jo8ic( z=x4jD`nJemVnPrK*V_;+VoEmFWb)9N{vGJRMKYVarPbQJ|HP;DtA2VlR?klpc|0K#IDzB+Tqy->nTaF)V&o0haiV=8^h35 zsXhF&U>b>juRZgG#_cV}Kf^*BiGxSA){6+lcRk`~Hb0+VB0?wwI2_G{V5yVJ4vvxY zVboy@OEyr0c$3~H$nK2`CVyKeL74gb;bT-YZ;{vN6cnw)k}769Q4%$k26v3qIvT+b z_92yF3Gys6T-XB-?wC-ne$}h-Zz|CEu%d@+Br>npO}gag>+mn>S4QzVwEGt%{}4&40i@qi z*bmsfSJ16}eJ_)s=pgCeZ?hCc13;QHQizWTR8Ot0T8*5vrVU(*@Vk!Ig}K-TDma=TSG`zq9%i z9tFhIzF=nY`+EttNvZXb6h5%3(zD4-1 zp?<6_fbC!?=H1Z)ZrKALG3P2*gcjThm*g5Mo8NF2{6RP5#6|n-7ymzjnjrPJnEK0n zdvRy0c^;PyAov+(Wlb2dv0{L4{Kb^g&O2V{b1^#{8?0s}C&tfnDw9eEMvEx7%XWJ& zL5}~VS$gJm10QzG%Z9Ye&-t(p2yO-^G${%M03}Eyl9oz*=>TRRf?oJ@?leif%gT2> z^N*}>x%n1XQG?;XM{>dd1Ia(DGJH`VNOz^cbc-fHMR+hMN{+BimLTFGf^Au`uny>6 zM*-u1$$!u%R^-(TEc#}2aB7oi!OLRYIK!%yDwbg@hi|Z&y6`~zE_~*S#Gn#HDs+Yp zqysCaH3B=+3-phexv#!kgP704=g+TK~v=m@}R?vfQ?ad5cD zPN%w%*MmvT-pA6VeSiH)3j)v2vkejQ&~}5K7>jOQ89{u%x!;fCY_K?#(L=WUgZ|y6 z$Taw)KM+a@26Vn$+La&+DUfWi8KqObOkfL9b??H0@j-+l^iLhc`+!GyG`o{$xM`_@ zY8$UnWGJ4t2B@gwD59x?Zi6>rP6LC${%<}?jzN9@|M7_u-m?wOLzWoAzocQ#=3{B7 L=qgt#*+%>y07xhF literal 0 HcmV?d00001 diff --git a/assets/img/logo.webp b/assets/img/logo.webp index dcc99fab64255441abd8ca3f7dd58f5c73524744..b5829425f610efe33454e4510968a29a1c937c2a 100644 GIT binary patch literal 7386 zcmV<093|sYNk&G}8~^}UMM6+kP&iD*8~^|>0s=7*Rbi3;@0nve@5wjkoO8}O-;11c z&Kc#LbB-tnW^*$$Q!l_fQu%$Ke|X-0&(qx(Jd|>`=iQsGL>R;{ZinHK3tR)eV9IqQe9lPYDPJ^djV}B{VoU z%_`)?2KHivZ}k$y2D#1-Zi&nuw2XE_)&^X4LvO=XTEYPi+elI*=bz>A&50Qv7LIJ& zrmfNcUOd~jZ8Q4OkAC*kTM_^OEE~zTZQHhO-{oxEwr$(CZR71f+cqu8w(7Q0A8}}n$`9yQ7Vjg5UO$b%4C6VAz?wo&yfXkU^Q8|TL@dgyTgKY zBEO;!kEs8stEUYcAEk2Az zlLaD6*&^TKHM*tFk?gQoJuwAa7F!lO76*1%oD5i83|oA&n6c@HK>%4>ihxq9$ZlC51$nk?>(v3P9a6-ncSMLNr( zlc6rB48{#7x-G0@l17BwS@gSL#mQb~)I}Dp!u(j+OPdvPSERU=*FZnA-BAUrq!cq2 zN>83;iy&LaFr5_&MOkYLV3?7$@GeVP6f;+nHYR4T&qZm$7NV3}j3j0oD0wk=F3Yp$ z$lXVZ#IbT%U>hMgZ)3Sf%#np0zff2(II9wNSZp@9U^phJZ1GF9=%Qi4IKKRhI-dgz z3PPn|SspL1oH+^{)l83yECLwjjHsTWUSvV0bqAm68Ifn|CFP74SkwzS=^*S5h}|O2 z9J&0+BBG=k)71it3C=Vy%#aWq&~i+6L|(L0ZlT!Y36%ni9@gikO&%|=oH=s2PO=Il z6+LrEEC=-Jpgdqe&}FCrE zBe#xF6Vy~EIc0=sVN63^q&CqQB8p~eqHi~nUwNia!eG?9^hACC7B@B?czF#R@LE+> z*tBX4a<>S!V2cq_zo0saA-7ToM46bp>;~VHjJJ3t0}i9xESC<@+o zK0P`txw~l*W{}v#HfMs9c4AsBnt3leXE1Gq7O?W5@Ur$K7nnKjf1)xtX~$}%)niOF zMNOl26UIdoQnXl?Fzkl;I-Y`IsBN8HN^-RHuH?!*$yz(|;!f6}9oRPHNMnD;21Cq3 zscm^EK3~~CKGlgJ^U9th-tOIGu47YU>(t~lN@Zi6tQHLMr;SIpbDo)k4?4Ap`Unv$3{|69%ugXjlgO*Y9FZo+v&dFf zin) z>L?YxXfrX5|N5g5x{|i1ENMyKdGu&XzQ1>d;&?BB=pvUdV#Ej&`y(Un;dcA8{#c zL?>{7uUhIh>{t^Q4lz5*TJy9Z$4Qn(#H^K@>S5vPCG#phM_RWb_p}P{WoHLcPVa!8 z@=j%*&WHmt3-;o>!byf0w%vG@|l^D?6_7Zb_ zfY1%rc4NdRCk_fwlFF;}9O+K@YEMFz@oX7LTmSRhi8|f3(?rj zw8<%N0ZWw)Sx9A=DPR`izK=AYQes+jf%uv0nIJ1f=D`|S!Ws?VQSIaHSzixN=M+Yz z=_9I%%L7=QLlJC^l!-M?gOrheBbwFn^sK071FFq{8RMc-=`PS=N^aXES|=;Nsg2WN zGOyB_xV3Dj(jhv91La-la8%R*-$Sf`#j1(M3YFkc7F%Rw3E39UOvp;2C2bs9hWX&4 z5_BDGOU~e$1g-%r{g`cevvWvZU9tif)RdP2FE`Gv^vCCW3>s5f8ouGyL{xcZYT2k%x(8Ii%#1SxL{ikvX;o93E39jm#XwCO zz1sD^LUbh(N~&X#jvjL=594KLL9~V+HyXp597x2LvOCIoQNE0C6?SPhDwSReYJ_v+ zBo5dbWoYmg$0s!_T+k?>c4}HR?e#!7fos79n82@Uqp}w*pwrQH&{7@U?3e|ct8Qr4 zT3U=)*|nj?d?3b0r5WJH*v>eEYtn>e17dhQH#t#eOS@wnd~EtaZWkD^RykQGdxfXIbJ&tU#AUmghnvY7*4RNdhCKWiNQQ}xx zdiQK=aU>ETyNzs|z@z$3Uwo1vTgDd3MQXtm$LcBiq-8r|+C>{+!(|p(EX|iC5D6s= zQe^Vd#r))KT1c|;Dl09`oP$x@i#8#vgzA{4c1k*5NTE{dcBrEN@Fd)!lWp_tLzFbhIU11mMCCzNF6*G6^`MOj z4}e2b;E?r*=jc{kuO^`%j9HLo#FV-=LDb!V&)3>(F=Gz2Gfw> zBo>4OZ`IUXkZnMylEV0I=+zRj(bP8!H>qPpUU?Wx;yLNBNmt>EMh)wP7GfQ30X$;^ z|KuXe{0P^q;ET~zQ&aOoh#S#0adW{8%kF&Xmk-4@r|+dA?njkq30?{Y9*S$ zHBik%iI&>l!7AJbrrD-M*Fp!R8Yf;EmJ@h|z(H!p-3M6mxB~wI3!PxIi_ELk93gx0 z!?mQdKTSMeONo)kRFYYWqi3~w)btwoRkO{BE=CoaJ_*FjFlvA+;p#M1L1^u!Mo_}| z?@g1t*1;k)o+Lc-WG2K@!PKY&EnlQ5bh*Sb9T@A>T7Otr4Df-Ye9?Qrj-;BaQfi

kppQq_=IR$T zpYMN>n2S^S`|41ETWRH+HlbEG$5t<*gB zgpoCnmmxK(%R>E(JoQ8MUcz}B`0SE(3;3d--PbL!`v@>>F9+wfNj!xUy1tL6A8CZ% zQfW+llv9lAk*({Ysga4KE=LAa%SioVfg(LeTF)Vs8ABEz;(VM+-AFylh*o3FLPeR~ zlt~Y%bq%PDz61pZ#)bHIkrZs7$RkUzvMIG!h|D6oyA5SVwz7Hc%g7=y#Wo@SmpfdUmz&nW(!-!MZ0te3c=E!^wa*EM1&etBf=RWr%~?|6Hp^2oM5<{{M0p6O&aDcNip3)SEt7s| z;$@ce{>PQ+$B)lruV)^n1cmYHDw2vtL@8A94qgB36SC09o;`2gk57UGG6}aTKz`ig zip65cWAAx;&U>Z#a6nP}SiBFU#|aSvxx)Lm{f5Kr_{_~0`~GiHR6iC|yO=6K*=Y~> z_X>q7PkY~JUcTnEJxl}<=zT)6BQ)}!(Y~N5eHtA*w?Zg;Nx@-UEDEUtRC@@CYz{Wi z@xAN_mFy2HkXLb1C}m$zfll9x!w(_MOR@kehfaq)#tHjK4eD;ALfFZsLj@z0%>;{@ zVDQK)u2M)rTbSbZ6NVyM<^S+JE>xjAx5RnYR{ExO@KL0M9^pK7Z>s}--<d3m8QoN zZp5|j-)&bU@=eO?z#)AW3+uWj0W?=>SkXPIM0Je`R~&UmVtzz*9XLduf(%Fs_;`Am z-yyuB3N0nvamL3~`8$`gSGlgb4jfV=p${sn_AL+eXMR0yBw|T@2Jw^C({`M3^ysl; zJ9g|ia^&#g!`ruS+xEyuK63Bg{ZHG!Z{NPnPP}KdFIrm<9Xj+7J9gP|+>WO?aY)Fy zMY{4jaHzG`_(-^cjsqpKW~5?Kd0K_l%dV&4aomnwc09z6Lx&E%XS6Tu*nH;Z&HL=w zzkmPUy^nn4wr$(DA3l8e$dMyEb{so)^ynF9q#v?hD7@=R>%bv(Z3Aqmu~T5D%PZ)X z=aK~&sZ9>f6*pBQd1+Cdyi;Cw?eoIj$Id(=TmnsL9XRA&;RJ+`0;kOY2k`yR$kYJR zbsDv45Za_3^2XD)9Z%bu71x17#$72S1#&z+Ac}U8RUx(T3fSXnGbf&?=#lz}hitPw zNpT%G8chwL|i;dj}GKv00q_7v)vRDoWIA8ikeW`aER23l2ZTJu2(KA@1x8 z6aUKwiAynX2NZ?zzYE!$rgt>E&^^tSIk7qr&X7_n8HWACVTWK6t4tIw_@F4*oOg>~Q%t=G&OI==S0 zD3?lq3|DKCIUJbOdI-tb4~&<+=DJLDdPb>I*?OLM@m;;PvAC-MuD&S6o{ zgDZY0(Q$84SO*TF$&BHNUJ>PLz=a%6QaKy~^^vt|chm)sY;}+7I&i4SW#kr_g_S z)ZZOMp-SSnu8reqDcCYXK#Ux&jMa$?vO=1f!#HwaqOhTEX&3C@>>g!x;E=AiNc-*Map${?$$L3s7I4e_71&h`0WK26(6ghmA&%kJ&R-!j!I$d=x?FkUp9d<%2EHFr>KaF2$Vpupb*0V&2@kJy;BXN6wqhSwDwQruIFuuEDAUvD z9R77 z5W~3o96RocN1k4hHv-v#Lwwz|K~D?103wG>U653aT7WHU*f6I&J6v(-bO@#y;zpo5 za5x3JV*tjKK7hy}Qy(N9ovm3QUsjzXyIisD^a>OXYzS}%4j0AFH3(yR+D`#^4%xpp z$c5Nw1Vce}4!hzZ+g*@8v^VWFLg}Dy1hxZ*IWZrv0unhbngS~;JcrXvNDf_zEutqW z2$jy;pO%&0{H0@#5=P)Z+6fHM=vHOaL&j#D~^2KqM7UOQ_KNlQDvXU}m@(a1@s=neRi0qekFBr5n{r0Mz$X59dI4riHr zn}#sx%zw4~Uz8S6n)G`{`{KMkPut;zf6{xO_OwT)J;oOicYr$s)`7zzF{@w6c{I{n z-aaCSyvZ(#xb%xN5Va#cio5&hBljOkNZ);U^WLK_JY>g?bi#8=*turN4RLV01Bc`T zPoswO=#2~|XZU}VADzQS$?i=}4~r#JMNgBAvTI+O-^IAri8s|?fuC{a2c`puwP0EG z%{2Wa15r6_p)qop6J-ZUR1pr*Xa{xiftnihtiu3x;IJOFR=h3jC2EZR^>mBT)`rkmo_ zUuNJZBLsw8i-@=$m0KM+oG~Or z3+kmkqEdTfQgjdr{MwWO>A;~b55WvQ{4amfNpA!4w>>s$aGV?tcXbL|lw+H?Ib6pM zOb>KS4mu?@($LbJMsicHr1r{^#6}+Tl7#K?KauB~bCH5V50qMY@){##&NIdB2 zr?UFPQDY2~j-(9|)obx#nH-Mv7$eaWLSwq?RAf|=c>2ecAl*ZUxCntaAVCiyp?Y#Pzs)Ih^R1&{5WE5_^)20&LYLVP9 zRS|?Z2$Sw~;E**t=RB5Uxvb-yby;$gdpXooS*CcC!mf2%oXxYOcW)WNma6sLY2F^j zY+)Mt)l99-^RnOFJgB{*1XX~9eRWAY9J$khL+1Qk4H5Fr17k=PGI@|;B<@}gBVC*u z@dX{!!#nUVFaqCUWsgLzbl{LbLzhG6vCqK@$W#(JD!IbR|E8>KIZQ6}W{jaOfgVb# zLi)L|bEhy8xY2<_saDa?{hCUz!vs>u`r}=^1=;jiTXXNwa#z8H z9O`mIX|Z{{vA!!Od=Wy3saO3sRE4q-R~@K(Bae=0a68+=bwMS!p^FLtAVG(E?{gYQL$a% zg+c4^NGeqWrkzv)*16}Nf7ZQ7VNd}I@J~wEPwcUsD!}eL_kQ6OaW(H1!nB<#z(Iva z_lScx?6lcw>(;G(=NBFqCLu0P1O+~bMC z=Wxaq;N`ZSTX(0iQ06H>57N_gaRbB?pZ8ptiy;0^Y; z0{lnVc8bE8QvUWul?-81l0 zm^eb$1mD7dRUNd8S0Xy-5i_*s=5V3vE%aRsP!%%#1DFo3dO-;zPMixBitP?RBz;Za zN4Z}gDK;p8*P!u=6m|j&k5ZavIVrd_GjRExB-$2&YtVSl&U+!mcB>+Fw9g9~iEL`- zBKtPpz!>yyy?wRDOB2P%3B)#wz-r1Hy!9=fLE`b`mEm2li4adT5wAbu0X|;CQB{Pt MDh1I%S7k{905>1k^#A|> literal 4750 zcmV;95^?QPNk&G75&!^KMM6+kP&iC^5&!@%0s=7*zoMXRBgen)e)0$WBp9}B;~4Wx zy1}GvW3qM|!?tb1#A*NkaECOOvqa%X02Uws04#z47{CAk7y-z~fDZ!<3=kM#um}bQ z00ZOU!2n4-m_&&0pPBOy#Mf4vM+cuIUX7=7K6n6UVo@&3n+qSJXwry*Y%qTMkm^s4CB)|V# zE%!#<8jksIbw%`F7G&FP+bq(U`apr`l$c*74ydL7mi}A%Z&|O)a>tM8`dZ7u>aNEo zxazfQHHMxBr%rQtr|63HPqY5|STl_ywyE7%yiX_ixIbN6?jxCq2SE@EqVY_=()m4V z(6)_nFFFc-&Ni_hoi-8Mn7sVUCTbg#^C-Gv{lhH7wh1kHMbdtzZFD5G+N=A)Nvw)qWKf~Ep66Z8}Q8l6kzff$SO$j??HyXq*LS9-K^s}!TYkX4jf*G*537b`1Ae?=;)<$!JuycjG* zbQ#*f$^$uQDydN`xe@G3`X**vPvXn=krGwgM*b&umemO#z?Gb!n)d;De2wj9ZH+NlA97VI zv`!3{d9P7))7e6^zebR;vU9{6-pvQCdhNSEzr9P>kfO*xHs;8=$TJqkP_RL&r-2Dr zE-{8(^qJQyZK%u>aGc7HO{U@jTxidT5@)KUjEW&N#7rM4nnbLE9FgYD2-3@{E#Bmp z66jYF$G9P5#lp0OhG5c4htQ6rWivF?3X-P2#2bbpZ^=XzFxu2x5Tj#szHTZaRzZ%a zv3h|lnd^5!&jjEcpLnFs9;e_eg(hIOTP9}M?f71;3BtGxb1rdjD`vEl%}YmaPi32B z&aA6_Z*4h3tL>J<2&?->|I#nw7=QVlGd)Qg^@RGWGgD6mil>=zR~k(RmsZrcCu~AH zGo6?gVVjx4(0#vwjv}@Ev}4KKi`-?ZB?#yIN~Xk8 zwonapa|1g$b5cW)BYbNGGnMKv8{N^zu{$`GHM(h;N@dkQCbbROyqyrPYJAsW$9JlR z=*pyi=J7J?x>>geXTIYa2Xj>~helf^Voeb8ptbuY zt{fK>peq%tI7em;|F$wxk8evrvIerz@QpftV1us@VzZg)$#@^2Ryj!_lVN6r>AkS z=nw`O^S!$2NKSrJozplOtJsn|_N;&k4xSy+Sz6jy0lS2V%?eqtl*M*lb&)_>N4a6&d2#RWBaAR35;BHmTXDRZ0an z9ktQax5V&{+me{_3?Fpazur}q=gb!z2BV{;6Lyh?Pwe@*6L`MSH775Qmz|j^g|8d^ zVp|Rb>BE!52ZMncWgfmt{!(MYV>RyFVkHe~xF4In+5fJNZ&y(^Izo?~BiN~qb~`Gd zyQ;&NWyCH-W7k8AdF<;Sw;_X zU&_xZ0w?hF*@!*lB>V59?X%2-BP0j&l`L&!p`wa}^oh)=q`{mq%?U^2iFB^iY)!YG zzOB+{vgS^LmM(8;wDJWrjD(J?e*BH<)aeMz^X)%ohRIrl~zrVJ)ahUB7m zwfWR71zu{lg{q12inb5bKndfYo26byP=&fzs&iLR`%f6P(DFslNhXo3E~`?6P%SwFR{*P%2us`Y%~HD7%>%~ zPyaH;7$$1!GCsaO>#BCl)}nxHLjTFy#@%s>(I?WoF7{XZtL2@ylLnHf5k;IMV;0C{ zMsa$6UQW|IGSBh|@{cRfSTanR`^Z5X#;tX!N5~i>MYS&(qgEyy7wRrHDnscjMVupJ zOb?%jOyRl6p=~sDW(XW`uBlSi`LTzBoBhTtz6Ai`BxVIaUrXhmEVNXc2FRc(OZ7fyOG!5t4oroaJf% zZ(2UplkAi!2-gL7t+8CA%4Kw-tigT#nt86Sjl6A}e2cj?e#wW2NWOpZ!ODQTV$c%e z94XW9?~CPk*L+fvgg>r@XYm>_WBLi%#u@PnYkc#9 zizSxo>8P>p-yu6oUAVI}@_HVSTPq)6MohWEFh^cDOBeQ6Cg^(?#?R!L=odqn_{SWc z6(Uwij>udL@>nG{`WN=8^^ziK@e}@UcgpV@1cUyTHG?~t`uXDW&WuQw-DbJb`#B@6 zN4|-isN1+T;gslAr(Udl{~|?l|5a+U){JlKS+D)o>JH}UD4B>=k|Rz!2BXgBcXzh4 z{)v>Ap`sFrD=Bmn2e|qVKUK3jYSgEXCu1$@bEia3)Mrhm6C>(t+GDp7{r{|ICZfM? zEWnBZxUm2`4&X#`DNea)Y%hQl=s6mD4B`gZRU&fT`m+P9m6WJlPy5;VB-gL1O60ED zpIY4+pZm@IW6z8O7`=Z7(EBj}?Oy^qgZKdU0EhnyZ}T(mb^4R#<=v{}4%Rd2`AhxM zW~4a!wz75p3^2gqKVa7_L~NKc?ae!NlS%Mbdq@Im_YGcvL;tVmJ)D*Vk`@|3G**2%ROwXp97PFY^H|z@d*F zU0aaO@OklnvAUE}Hk#CuZ7DlaBhtx`rj(YnN8}K>v+7FOBkB{;fQW`t%F(QPOwW(7 z1vvC`g_yEM=@gzLX7w@{`PXc6A|jeiUOl3&l+qnb=@5}kWJyyRQYVe5BV}8*WRn`C z_HAb3{eTwW(8mMN658|ZPFIKPb}_DpkXQ=nq-WF1zzM^*TjLHh1RAsehyK;GfdoGO zJojVBqtjsX%v_V&3&)=sL-orcv;c?xZ4qNCr%g_U9N;@(?_qP#zECkF$0Pd2mknqE z4t;9`-j1A8yWQ)aiSiYiywA&(SM&2%+UKa`(fnOI_v!uyvH*wvm8agso%N|)bc0XN z__DRwa}!T~panRjKgYP1PlS_&4pM~2sYq2Bunz#%%XnX%~F1L9>udAwX#A8wFNMG;-Cv~XpAu{=EEqA ztu&-NLN5%T;EJCh8iotH0Efnyd6@l76CprX&W{W=XV4?9@ zaUBpv)ByS;oFPrqJ2z?wUD3{|Soe8l`<4FWVeNbctM25m_G0GaC4pYd;6L+e6&*b+#iu^j3dwEl51qt^%|rA zhgcWP#MB0KMkwqjPe0Jb?R$9ILi82_QGmm~>~Rc+ zfYu1bY5g7XNY~Nn41_Qi0a1X%j_lzYCVeYlNaiPH%63qYWmu%1hNpPK%prjE9Em4@!VT>Zf7X^=K1=F(^YisUqB($cy|NH{kw=PC zj#v**_P(mcMtihJ3R%Hz-(DOc)t_^x chkM%xCzlUpB@U>i|Cat+`tSe#`%fMN0Op}F$N&HU diff --git a/assets/js/addons.min.js b/assets/js/addons.min.js index 2bd9137..584db9d 100644 --- a/assets/js/addons.min.js +++ b/assets/js/addons.min.js @@ -1 +1 @@ -!function(e){const a=new Vue({el:"#search-addons",data:{search:wu_addons.search}}),t=new Vue({el:"#wu-addon",data:()=>({loading:!0,category:wu_addons.category,addons:[]}),mounted(){this.fetch_addons_list()},computed:{search:()=>a.search,i18n:()=>window.wu_addons.i18n,categories(){let e=[];return _.each(this.addons,(function(a){e=e.concat(a.categories)})),_.unique(e)},addons_list(){const e=this;return _.filter(e.addons,(function(a,t){if(a.slug=t,"all"!==e.category&&!_.contains(a.categories.map((e=>e.toLowerCase())),e.category.toLowerCase()))return!1;if(!e.search)return!0;return[a.slug,a.name,a.categories,a.description].join("").toLowerCase().indexOf(e.search.toLowerCase())>-1}))}},methods:{fetch_addons_list(){const a=this;e.ajax({method:"GET",url:ajaxurl,data:{action:"serve_addons_list"},success(e){a.addons=e.data,a.loading=!1}})}}});new Vue({el:".wp-heading-inline",data:{},computed:{count:()=>t.addons_list.length}}),new Vue({el:"#addons-menu",data:{},methods:{set_category(e){this.main_app.category=e;const a=new URL(window.location.href);a.searchParams.set("tab",e),history.pushState({},null,a)}},computed:{main_app:()=>t,category:()=>t.category}})}(jQuery); \ No newline at end of file +(e=>{let a=new Vue({el:"#search-addons",data:{search:wu_addons.search}}),t=new Vue({el:"#wu-addon",data(){return{loading:!0,category:wu_addons.category,addons:[]}},mounted(){this.fetch_addons_list()},computed:{search(){return a.search},i18n(){return window.wu_addons.i18n},categories(){let a=[];return _.each(this.addons,function(e){a=a.concat(e.categories)}),_.unique(a)},addons_list(){let t=this;return _.filter(t.addons,function(e,a){return e.slug=a,!("all"!==t.category&&!_.contains(e.categories.map(e=>e.toLowerCase()),t.category.toLowerCase()))&&(!t.search||-1<[e.slug,e.name,e.categories,e.description].join("").toLowerCase().indexOf(t.search.toLowerCase()))})}},methods:{fetch_addons_list(){let a=this;e.ajax({method:"GET",url:ajaxurl,data:{action:"serve_addons_list"},success(e){a.addons=e.data,a.loading=!1}})}}});new Vue({el:".wp-heading-inline",data:{},computed:{count(){return t.addons_list.length}}}),new Vue({el:"#addons-menu",data:{},methods:{set_category(e){this.main_app.category=e;var a=new URL(window.location.href);a.searchParams.set("tab",e),history.pushState({},null,a)}},computed:{main_app(){return t},category(){return t.category}}})})(jQuery); diff --git a/assets/js/admin-notices.min.js b/assets/js/admin-notices.min.js index 76d3d1e..64be47a 100644 --- a/assets/js/admin-notices.min.js +++ b/assets/js/admin-notices.min.js @@ -1 +1 @@ -!function(n){n(document).ready((function(){n(".notice.wu-hidden").removeClass("wu-hidden"),n(".notice.wu-admin-notice").on("click",".notice-dismiss",(function(i){i.preventDefault();const e=n(this).parents(".notice");e.find('[name="notice_id"]').val()&&n.ajax({method:"post",url:ajaxurl,data:{action:"wu_dismiss_admin_notice",nonce:e.find('[name="nonce"]').val(),notice_id:e.find('[name="notice_id"]').val()}})}))}))}(jQuery); \ No newline at end of file +(i=>{i(document).ready(function(){i(".notice.wu-hidden").removeClass("wu-hidden"),i(".notice.wu-admin-notice").on("click",".notice-dismiss",function(n){n.preventDefault();n=i(this).parents(".notice");n.find('[name="notice_id"]').val()&&i.ajax({method:"post",url:ajaxurl,data:{action:"wu_dismiss_admin_notice",nonce:n.find('[name="nonce"]').val(),notice_id:n.find('[name="notice_id"]').val()}})})})})(jQuery); diff --git a/assets/js/admin-screen.min.js b/assets/js/admin-screen.min.js index 0568f7d..3e8fcdd 100644 --- a/assets/js/admin-screen.min.js +++ b/assets/js/admin-screen.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){e("body").on("click","#wu-admin-screen-customize",(function(){wu_block_ui("#wpcontent")}));const n=e("body").hasClass("wu-customize-admin-screen");let s=`${wu_admin_screen.i18n.customize_label}`;const t=`${wu_admin_screen.i18n.page_customize_label}`;n?s=`${wu_admin_screen.i18n.close_label}`:e(t).prependTo("#screen-options-link-wrap"),e(s).appendTo("#screen-options-link-wrap")}))}(jQuery); \ No newline at end of file +(i=>{i(document).ready(function(){i("body").on("click","#wu-admin-screen-customize",function(){wu_block_ui("#wpcontent")});var e=i("body").hasClass("wu-customize-admin-screen");let n=`${wu_admin_screen.i18n.customize_label}`;var s=`${wu_admin_screen.i18n.page_customize_label}`;e?n=`${wu_admin_screen.i18n.close_label}`:i(s).prependTo("#screen-options-link-wrap"),i(n).appendTo("#screen-options-link-wrap")})})(jQuery); diff --git a/assets/js/admin.min.js b/assets/js/admin.min.js index 759982d..01681e5 100644 --- a/assets/js/admin.min.js +++ b/assets/js/admin.min.js @@ -1 +1 @@ -!function(n){wu={tables:{},configs:{}},n(document).ready((function(){wu_on_load()}))}(jQuery); \ No newline at end of file +(n=>{wu={tables:{},configs:{}},n(document).ready(function(){wu_on_load()})})(jQuery); diff --git a/assets/js/app.min.js b/assets/js/app.min.js index 625ec26..8b13789 100644 --- a/assets/js/app.min.js +++ b/assets/js/app.min.js @@ -1,3 +1 @@ -(() => { -"use strict"; -})() \ No newline at end of file + diff --git a/assets/js/checkout-form-editor-modal.min.js b/assets/js/checkout-form-editor-modal.min.js index 3aaba9d..bf383b0 100644 --- a/assets/js/checkout-form-editor-modal.min.js +++ b/assets/js/checkout-form-editor-modal.min.js @@ -1 +1 @@ -wp.hooks.addAction("wu_add_checkout_form_field_mounted","nextpress/wp-ultimo",(function(o){""===o.type&&wubox.width(600)})),wp.hooks.addAction("wu_add_checkout_form_field_changed","nextpress/wp-ultimo",(function(o,t){""===t.type?wubox.width(600):wubox.width(400)})); \ No newline at end of file +wp.hooks.addAction("wu_add_checkout_form_field_mounted","nextpress/wp-ultimo",function(o){""===o.type&&wubox.width(600)}),wp.hooks.addAction("wu_add_checkout_form_field_changed","nextpress/wp-ultimo",function(o,t){""===t.type?wubox.width(600):wubox.width(400)}); diff --git a/assets/js/checkout-forms-editor.min.js b/assets/js/checkout-forms-editor.min.js index c9d3dd6..e01e2af 100644 --- a/assets/js/checkout-forms-editor.min.js +++ b/assets/js/checkout-forms-editor.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){const t={components:{vuedraggable:vuedraggable},template:"#wu-table",props:["list","headers","step_name"],name:"wu-draggable-table",data:()=>({delete_field_id:""}),methods:{remove_field(e){wu_checkout_forms_editor_app.remove_field(this.step_name,e),this.delete_field_id=""}}};wu_checkout_forms_editor_app=new Vue({el:"#wu-checkout-editor-app",name:"CheckoutEditor",data:()=>Object.assign({},{dragging:!1,search:"",delete_step_id:"",preview_error:!1,preview:!1,loading_preview:!1,preview_content:"",iframe_preview_url:""},wu_checkout_form),components:{vuedraggable:vuedraggable,"wu-draggable-table":t},computed:{field_count(){return _.reduce(this.steps,(function(e,t){return e+t.fields.length}),0)}},watch:{steps:{handler(){this.update_session()},deep:!0}},mounted(){this.update_session()},methods:{get_preview(t=null){if(null===t&&(this.preview=!this.preview),this.preview){this.loading_preview=!0;const i=this;i.iframe_preview_url=i.register_page+"?action=wu_generate_checkout_form_preview&form_id="+i.form_id+"&type="+t+"&uniq="+1e3*Math.random(),e("#wp-ultimo-checkout-preview").on("load",(function(){i.loading_preview=!1,setTimeout((()=>{const t=document.getElementById("wp-ultimo-checkout-preview").contentWindow.document.body.scrollHeight;e("#wp-ultimo-checkout-preview").animate({height:t})}),1e3)}))}console.log("no preview")},add_step(e,t=null){const i=e.original_id?this.find_step(e.original_id):this.find_step(e.id);if(delete e.original_id,void 0!==i){const t=_.indexOf(this.steps,i);(e=Object.assign({},i,e)).fields=i.fields,Vue.set(this.steps,t,e)}else this.steps.push(e);this.$nextTick((function(){"function"==typeof t&&(t(),this.scroll_to(`wp-ultimo-list-table-${e.id}`))}))},add_field(e,t=null){const i=_.findWhere(this.steps,{id:e.step});let s=this.find_field(e.step,e.id);if(void 0===s&&(s=this.find_field(e.step,e.original_id),delete e.original_id),void 0!==s){const t=_.indexOf(i.fields,s);Vue.set(i.fields,t,e)}else i.fields.push(e);this.$nextTick((function(){"function"==typeof t&&(t(),this.scroll_to(`wp-ultimo-field-${e.id}`))}))},scroll_to(e){this.$nextTick((function(){setTimeout((()=>{document.getElementById(e).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}),500)}))},find_step(e){return _.findWhere(this.steps,{id:e})},find_field(e,t){const i=_.findWhere(this.steps,{id:e});return _.findWhere(i.fields,{id:t})},remove_step(e){this.steps=_.reject(this.steps,(function(t){return t.id===e})),this.delete_step_id=""},remove_field(e,t){const i=_.findWhere(this.steps,{id:e});i.fields=_.reject(i.fields,(function(e){return e.id===t}))},update_session(){wu_initialize_tooltip();e.ajax({method:"post",url:ajaxurl,data:{action:"wu_save_editor_session",settings:this.steps,form_id:this.form_id},success(){}})}}})}))}(jQuery); \ No newline at end of file +(t=>{t(document).ready(function(){var e={components:{vuedraggable:vuedraggable},template:"#wu-table",props:["list","headers","step_name"],name:"wu-draggable-table",data(){return{delete_field_id:""}},methods:{remove_field(e){wu_checkout_forms_editor_app.remove_field(this.step_name,e),this.delete_field_id=""}}};wu_checkout_forms_editor_app=new Vue({el:"#wu-checkout-editor-app",name:"CheckoutEditor",data(){return Object.assign({},{dragging:!1,search:"",delete_step_id:"",preview_error:!1,preview:!1,loading_preview:!1,preview_content:"",iframe_preview_url:""},wu_checkout_form)},components:{vuedraggable:vuedraggable,"wu-draggable-table":e},computed:{field_count(){return _.reduce(this.steps,function(e,i){return e+i.fields.length},0)}},watch:{steps:{handler(){this.update_session()},deep:!0}},mounted(){this.update_session()},methods:{get_preview(i=null){if(null===i&&(this.preview=!this.preview),this.preview){this.loading_preview=!0;let e=this;e.iframe_preview_url=e.register_page+"?action=wu_generate_checkout_form_preview&form_id="+e.form_id+"&type="+i+"&uniq="+1e3*Math.random(),t("#wp-ultimo-checkout-preview").on("load",function(){e.loading_preview=!1,setTimeout(()=>{var e=document.getElementById("wp-ultimo-checkout-preview").contentWindow.document.body.scrollHeight;t("#wp-ultimo-checkout-preview").animate({height:e})},1e3)})}console.log("no preview")},add_step(e,i=null){var t,s=e.original_id?this.find_step(e.original_id):this.find_step(e.id);delete e.original_id,void 0!==s?(t=_.indexOf(this.steps,s),(e=Object.assign({},s,e)).fields=s.fields,Vue.set(this.steps,t,e)):this.steps.push(e),this.$nextTick(function(){"function"==typeof i&&(i(),this.scroll_to("wp-ultimo-list-table-"+e.id))})},add_field(e,i=null){var t,s=_.findWhere(this.steps,{id:e.step});let d=this.find_field(e.step,e.id);void 0===d&&(d=this.find_field(e.step,e.original_id),delete e.original_id),void 0!==d?(t=_.indexOf(s.fields,d),Vue.set(s.fields,t,e)):s.fields.push(e),this.$nextTick(function(){"function"==typeof i&&(i(),this.scroll_to("wp-ultimo-field-"+e.id))})},scroll_to(e){this.$nextTick(function(){setTimeout(()=>{document.getElementById(e).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},500)})},find_step(e){return _.findWhere(this.steps,{id:e})},find_field(e,i){e=_.findWhere(this.steps,{id:e});return _.findWhere(e.fields,{id:i})},remove_step(i){this.steps=_.reject(this.steps,function(e){return e.id===i}),this.delete_step_id=""},remove_field(e,i){e=_.findWhere(this.steps,{id:e});e.fields=_.reject(e.fields,function(e){return e.id===i})},update_session(){wu_initialize_tooltip();t.ajax({method:"post",url:ajaxurl,data:{action:"wu_save_editor_session",settings:this.steps,form_id:this.form_id},success(){}})}}})})})(jQuery); diff --git a/assets/js/checkout.min.js b/assets/js/checkout.min.js index 91d4f94..0089e66 100644 --- a/assets/js/checkout.min.js +++ b/assets/js/checkout.min.js @@ -1 +1 @@ -!function(t,e,o){window.history.replaceState&&window.history.replaceState(null,null,wu_checkout.baseurl),e.addAction("wu_on_create_order","nextpress/wp-ultimo",(function(t,e){void 0!==e.order.extra.template_id&&(t.template_id=e.order.extra.template_id)})),e.addAction("wu_checkout_loaded","nextpress/wp-ultimo",(function(t){if(void 0!==window.wu_auto_submittable_field&&window.wu_auto_submittable_field){const e={deep:!0};t.$watch(window.wu_auto_submittable_field,(function(){jQuery(this.$el).submit()}),e)}})),e.addAction("wu_checkout_loaded","nextpress/wp-ultimo",(function(t){wu_create_cookie("wu_template",""),wu_create_cookie("wu_selected_products",""),wu_listen_to_cookie_change("wu_template",(function(e){t.template_id=e}))})),t(document).on("click",'[href|="#wu-checkout-add"]',(function(e){e.preventDefault();const o=t(this),r=o.attr("href").split("#").pop().replace("wu-checkout-add-","");"undefined"!=typeof wu_checkout_form&&-1===wu_checkout_form.products.indexOf(r)&&(wu_checkout_form.add_product(r),o.html(wu_checkout.i18n.added_to_order))})),window.addEventListener("pageshow",(function(t){t.persisted&&this.window.wu_checkout_form&&this.window.wu_checkout_form.unblock()})),t(document).ready((function(){if(void 0===window.Vue)return;Object.defineProperty(Vue.prototype,"$moment",{value:moment});const r=function(t){return isNaN(t)?t:parseInt(t,10)},s={plan:r(wu_checkout.plan),errors:[],order:wu_checkout.order,products:o.map(wu_checkout.products,r),template_id:wu_checkout.template_id,template_category:"",gateway:wu_checkout.gateway,request_billing_address:wu_checkout.request_billing_address,country:wu_checkout.country,state:"",city:"",site_url:wu_checkout.site_url,site_domain:wu_checkout.site_domain,is_subdomain:wu_checkout.is_subdomain,discount_code:"",toggle_discount_code:0,payment_method:"",username:"",payment_id:wu_checkout.payment_id,membership_id:wu_checkout.membership_id,cart_type:"new",auto_renew:1,duration:wu_checkout.duration,duration_unit:wu_checkout.duration_unit,prevent_submission:!1,valid_password:!0,stored_templates:{},state_list:[],city_list:[],labels:{}};if(e.applyFilters("wu_before_form_init",s),!jQuery("#wu_form").length)return;Vue.component("colorPicker",{props:["value"],template:'',mounted(){const e=this;t(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(t,o){e.$emit("input",o.color.toString())}})},watch:{value(e){t(this.$el).wpColorPicker("color",e)}},destroyed(){t(this.$el).off().wpColorPicker("destroy")}});const i={functional:!0,template:"#dynamic",props:["template"],render(t,e){const o=e.props.template;return t(o?{template:o}:"

")}};window.wu_checkout_form=new Vue({el:"#wu_form",data:s,directives:{init:{bind(t,e,o){o.context[e.arg]=e.value}}},components:{dynamic:i},computed:{hooks:()=>wp.hooks,unique_products(){return o.uniq(this.products,!1,(t=>parseInt(t,10)))}},methods:{debounce:t=>o.debounce(t,200,!0),open_url(t,e="_blank"){window.open(t,e)},get_template(t,e){void 0===e.id&&(e.id="default");const o=t+"/"+e.id;if(void 0!==this.stored_templates[o])return this.stored_templates[o];const r=this.hooks.applyFilters("wu_before_template_fetch",{duration:this.duration,duration_unit:this.duration_unit,products:this.products,...e},this);return this.fetch_template(t,r),'
'+wu_checkout.i18n.loading+"
"},reset_templates(t){if(void 0===t)return void(this.stored_templates={});const e={};o.forEach(this.stored_templates,(function(r,s){const i=s.toString().substr(0,s.toString().indexOf("/"));!1===o.contains(t,i)&&(e[s]=r)})),this.stored_templates=e},fetch_template(t,e){const o=this;void 0===e.id&&(e.id="default"),this.request("wu_render_field_template",{template:t,attributes:e},(function(r){const s=t+"/"+e.id;r.success?Vue.set(o.stored_templates,s,r.data.html):Vue.set(o.stored_templates,s,"
"+r.data[0].message+"
")}))},go_back(){console.log("Going back..."),this.block(),window.history.back()},set_prevent_submission(t){this.$nextTick((function(){this.prevent_submission=t}))},remove_product(t,e){this.products=o.filter(this.products,(function(o){return o!=t&&o!=e}))},add_plan(t){this.plan&&this.remove_product(this.plan),this.plan=t,this.add_product(t)},add_product(t){this.products.push(t)},has_product(t){return this.products.indexOf(t)>-1||this.products.indexOf(parseInt(t,10))>-1},wu_format_money:t=>window.wu_format_money(t),filter_for_request(t,e=""){const r=this.hooks.doAction("wu_filter_for_request",["stored_templates"],t,e);return o.omit(t,r)},create_order(){if(!jQuery("#wu-order-summary-content").length)return;this.block(),this.order=!1;const t=this,e=this.debounce(this.request),o={...this.$data};delete o.stored_templates,delete o.state_list,delete o.city_list,delete o.labels,e("wu_create_order",this.filter_for_request(o,"wu_create_order"),(function(e){t.order=e.data.order,t.state_list=e.data.states,t.city_list=e.data.cities,t.labels=e.data.labels,t.cart_type=e.data.order.type,t.errors=e.data.order.errors,t.hooks.doAction("wu_on_create_order",t,e.data),e.data.order.url,t.unblock()}),this.handle_errors)},get_errors(){const t=this.errors.map((function(t){return t.message}));return t.length>0&&t},get_error(t){const e=this.errors.filter((function(e){return e.code===t}));return e.length>0&&e[0]},form_success(t){if(!o.isEmpty(t.data)){this.hooks.doAction("wu_on_form_success",this,t.data);const e=t.data.gateway.data;e.payment_id=t.data.payment_id,e.membership_id=t.data.membership_id,e.cart_type=t.data.cart_type,jQuery.each(Object.assign({},e),(function(t,e){const o=document.createElement("input");o.type="hidden",o.name=t,o.value=e,jQuery("#wu_form").append(o)}))}},validate_form(){this.errors=[];const t=jQuery("#wu_form").serializeArray().reduce((function(t,{name:e,value:o}){return"products[]"!==e&&(t[e]=o),t}),{}),e=jQuery.param({...t,products:this.products,membership_id:this.membership_id,payment_id:this.payment_id,auto_renew:this.auto_renew,cart_type:this.type,valid_password:this.valid_password,duration:this.duration,duration_unit:this.duration_unit}),o=this;this.request("wu_validate_form",e,(function(t){if(o.valid_password||o.errors.push({code:"password",message:wu_checkout.i18n.weak_password}),!1===t.success)return o.errors=[].concat(o.errors,t.data),void o.unblock();o.errors.length?o.unblock():(o.form_success(t),!1===o.prevent_submission&&o.resubmit())}),this.handle_errors)},resubmit(){jQuery("#wu_form").get(0).submit()},handle_errors(t){this.unblock(),console.error(t)},on_submit(t){t.preventDefault()},on_change_product(t,o){window.wu_create_cookie("wu_selected_products",t.join(","),.5),this.reset_templates(["template-selection"]),e.doAction("wu_on_change_product",t,o,this),this.create_order()},on_change_gateway(t,o){e.doAction("wu_on_change_gateway",t,o,this)},on_change_country(t,o){e.doAction("wu_on_change_country",t,o,this),this.create_order()},on_change_state(t,o){e.doAction("wu_on_change_state",t,o,this),this.create_order()},on_change_city(t,o){e.doAction("wu_on_change_city",t,o,this),this.create_order()},on_change_duration(t,o){this.reset_templates(),e.doAction("wu_on_change_duration",t,o,this),this.create_order()},on_change_duration_unit(t,o){this.reset_templates(),e.doAction("wu_on_change_duration_unit",t,o,this),this.create_order()},on_change_discount_code(t,o){e.doAction("wu_on_change_discount_code",t,o,this),this.create_order()},block(){const e=jQuery(this.$el).parents().filter((function(){return"rgba(0, 0, 0, 0)"!==t(this).css("backgroundColor")})).first().css("backgroundColor");jQuery(this.$el).wu_block({message:'
',overlayCSS:{backgroundColor:e||"#ffffff",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}})},unblock(){jQuery(this.$el).wu_unblock()},request(t,e,o,r){const s="wu_validate_form"===t?wu_checkout.late_ajaxurl:wu_checkout.ajaxurl;jQuery.ajax({method:"POST",url:s+"&action="+t,data:e,success:o,error:r})},check_pass_strength(){if(!jQuery("#pass-strength-result").length)return;jQuery("#pass-strength-result").attr("class","wu-py-2 wu-px-4 wu-bg-gray-100 wu-block wu-text-sm wu-border-solid wu-border wu-border-gray-200");const t=jQuery("#field-password").val();if(!t)return void jQuery("#pass-strength-result").addClass("empty").html("Enter Password");this.valid_password=!1;const e=void 0===wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.userInputBlacklist():wp.passwordStrength.userInputDisallowedList();switch(wp.passwordStrength.meter(t,e,t)){case-1:jQuery("#pass-strength-result").addClass("wu-bg-red-200 wu-border-red-300").html(pwsL10n.unknown);break;case 2:jQuery("#pass-strength-result").addClass("wu-bg-red-200 wu-border-red-300").html(pwsL10n.bad);break;case 3:jQuery("#pass-strength-result").addClass("wu-bg-green-200 wu-border-green-300").html(pwsL10n.good),this.valid_password=!0;break;case 4:jQuery("#pass-strength-result").addClass("wu-bg-green-200 wu-border-green-300").html(pwsL10n.strong),this.valid_password=!0;break;case 5:jQuery("#pass-strength-result").addClass("wu-bg-yellow-200 wu-border-yellow-300").html(pwsL10n.mismatch);break;default:jQuery("#pass-strength-result").addClass("wu-bg-yellow-200 wu-border-yellow-300").html(pwsL10n.short)}}},updated(){this.$nextTick((function(){e.doAction("wu_on_form_updated",this),wu_initialize_tooltip()}))},mounted(){const o=this;jQuery(this.$el).on("click",(function(e){t(this).data("submited_via",t(e.target))})),jQuery(this.$el).on("submit",(async function(t){t.preventDefault();const r=jQuery(this).data("submited_via");if(r){const t=jQuery("");t.attr("type","hidden"),t.attr("name",r.attr("name")),t.attr("value",r.val()),jQuery(this).append(t)}o.block();try{const t=[];await Promise.all(e.applyFilters("wu_before_form_submitted",t,o,o.gateway))}catch(t){return o.errors=[],o.errors.push({code:"before-submit-error",message:t.message}),o.unblock(),void o.handle_errors(t)}o.validate_form(),e.doAction("wu_on_form_submitted",o,o.gateway)})),this.create_order(),e.doAction("wu_checkout_loaded",this),e.doAction("wu_on_change_gateway",this.gateway,this.gateway),jQuery("#field-password").on("input pwupdate",(function(){o.check_pass_strength()})),wu_initialize_tooltip()},watch:{products(t,e){this.on_change_product(t,e)},toggle_discount_code(t){t||(this.discount_code="")},discount_code(t,e){this.on_change_discount_code(t,e)},gateway(t,e){this.on_change_gateway(t,e)},country(t,e){this.state="",this.on_change_country(t,e)},state(t,e){this.city="",this.on_change_state(t,e)},city(t,e){this.on_change_city(t,e)},duration(t,e){this.on_change_duration(t,e)},duration_unit(t,e){this.on_change_duration_unit(t,e)}}})}))}(jQuery,wp.hooks,_); \ No newline at end of file +((s,a,i)=>{window.history.replaceState&&window.history.replaceState(null,null,wu_checkout.baseurl),a.addAction("wu_on_create_order","nextpress/wp-ultimo",function(t,e){void 0!==e.order.extra.template_id&&(t.template_id=e.order.extra.template_id)}),a.addAction("wu_checkout_loaded","nextpress/wp-ultimo",function(t){void 0!==window.wu_auto_submittable_field&&window.wu_auto_submittable_field&&t.$watch(window.wu_auto_submittable_field,function(){jQuery(this.$el).submit()},{deep:!0})}),a.addAction("wu_checkout_loaded","nextpress/wp-ultimo",function(e){wu_create_cookie("wu_template",""),wu_create_cookie("wu_selected_products",""),wu_listen_to_cookie_change("wu_template",function(t){e.template_id=t})}),s(document).on("click",'[href|="#wu-checkout-add"]',function(t){t.preventDefault();var t=s(this),e=t.attr("href").split("#").pop().replace("wu-checkout-add-","");"undefined"!=typeof wu_checkout_form&&-1===wu_checkout_form.products.indexOf(e)&&(wu_checkout_form.add_product(e),t.html(wu_checkout.i18n.added_to_order))}),window.addEventListener("pageshow",function(t){t.persisted&&this.window.wu_checkout_form&&this.window.wu_checkout_form.unblock()}),s(document).ready(function(){var t;void 0!==window.Vue&&(Object.defineProperty(Vue.prototype,"$moment",{value:moment}),t={plan:(t=function(t){return isNaN(t)?t:parseInt(t,10)})(wu_checkout.plan),errors:[],order:wu_checkout.order,products:i.map(wu_checkout.products,t),template_id:wu_checkout.template_id,template_category:"",gateway:wu_checkout.gateway,request_billing_address:wu_checkout.request_billing_address,country:wu_checkout.country,state:"",city:"",site_url:wu_checkout.site_url,site_domain:wu_checkout.site_domain,is_subdomain:wu_checkout.is_subdomain,discount_code:"",toggle_discount_code:0,payment_method:"",username:"",payment_id:wu_checkout.payment_id,membership_id:wu_checkout.membership_id,cart_type:"new",auto_renew:1,duration:wu_checkout.duration,duration_unit:wu_checkout.duration_unit,prevent_submission:!1,valid_password:!0,stored_templates:{},state_list:[],city_list:[],labels:{}},a.applyFilters("wu_before_form_init",t),jQuery("#wu_form").length)&&(Vue.component("colorPicker",{props:["value"],template:'',mounted(){let r=this;s(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(t,e){r.$emit("input",e.color.toString())}})},watch:{value(t){s(this.$el).wpColorPicker("color",t)}},destroyed(){s(this.$el).off().wpColorPicker("destroy")}}),window.wu_checkout_form=new Vue({el:"#wu_form",data:t,directives:{init:{bind(t,e,r){r.context[e.arg]=e.value}}},components:{dynamic:{functional:!0,template:"#dynamic",props:["template"],render(t,e){e=e.props.template;return t(e?{template:e}:"
nbsp;
")}}},computed:{hooks(){return wp.hooks},unique_products(){return i.uniq(this.products,!1,t=>parseInt(t,10))}},methods:{debounce(t){return i.debounce(t,200,!0)},open_url(t,e="_blank"){window.open(t,e)},get_template(t,e){void 0===e.id&&(e.id="default");var r=t+"/"+e.id;return void 0!==this.stored_templates[r]?this.stored_templates[r]:(r=this.hooks.applyFilters("wu_before_template_fetch",{duration:this.duration,duration_unit:this.duration_unit,products:this.products,...e},this),this.fetch_template(t,r),'
'+wu_checkout.i18n.loading+"
")},reset_templates(s){if(void 0===s)this.stored_templates={};else{let o={};i.forEach(this.stored_templates,function(t,e){var r=e.toString().substr(0,e.toString().indexOf("/"));!1===i.contains(s,r)&&(o[e]=t)}),this.stored_templates=o}},fetch_template(r,o){let s=this;void 0===o.id&&(o.id="default"),this.request("wu_render_field_template",{template:r,attributes:o},function(t){var e=r+"/"+o.id;t.success?Vue.set(s.stored_templates,e,t.data.html):Vue.set(s.stored_templates,e,"
"+t.data[0].message+"
")})},go_back(){console.log("Going back..."),this.block(),window.history.back()},set_prevent_submission(t){this.$nextTick(function(){this.prevent_submission=t})},remove_product(e,r){this.products=i.filter(this.products,function(t){return t!=e&&t!=r})},add_plan(t){this.plan&&this.remove_product(this.plan),this.plan=t,this.add_product(t)},add_product(t){this.products.push(t)},has_product(t){return-1',overlayCSS:{backgroundColor:t||"#ffffff",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}})},unblock(){jQuery(this.$el).wu_unblock()},request(t,e,r,o){var s="wu_validate_form"===t?wu_checkout.late_ajaxurl:wu_checkout.ajaxurl;jQuery.ajax({method:"POST",url:s+"&action="+t,data:e,success:r,error:o})},check_pass_strength(){if(jQuery("#pass-strength-result").length){jQuery("#pass-strength-result").attr("class","wu-py-2 wu-px-4 wu-bg-gray-100 wu-block wu-text-sm wu-border-solid wu-border wu-border-gray-200");var t=jQuery("#field-password").val();if(t){this.valid_password=!1;var e=void 0===wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.userInputBlacklist():wp.passwordStrength.userInputDisallowedList();switch(wp.passwordStrength.meter(t,e,t)){case-1:jQuery("#pass-strength-result").addClass("wu-bg-red-200 wu-border-red-300").html(pwsL10n.unknown);break;case 2:jQuery("#pass-strength-result").addClass("wu-bg-red-200 wu-border-red-300").html(pwsL10n.bad);break;case 3:jQuery("#pass-strength-result").addClass("wu-bg-green-200 wu-border-green-300").html(pwsL10n.good),this.valid_password=!0;break;case 4:jQuery("#pass-strength-result").addClass("wu-bg-green-200 wu-border-green-300").html(pwsL10n.strong),this.valid_password=!0;break;case 5:jQuery("#pass-strength-result").addClass("wu-bg-yellow-200 wu-border-yellow-300").html(pwsL10n.mismatch);break;default:jQuery("#pass-strength-result").addClass("wu-bg-yellow-200 wu-border-yellow-300").html(pwsL10n.short)}}else jQuery("#pass-strength-result").addClass("empty").html("Enter Password")}}},updated(){this.$nextTick(function(){a.doAction("wu_on_form_updated",this),wu_initialize_tooltip()})},mounted(){let o=this;jQuery(this.$el).on("click",function(t){s(this).data("submited_via",s(t.target))}),jQuery(this.$el).on("submit",async function(t){t.preventDefault();var e,t=jQuery(this).data("submited_via");t&&((e=jQuery("")).attr("type","hidden"),e.attr("name",t.attr("name")),e.attr("value",t.val()),jQuery(this).append(e)),o.block();try{var r=[];await Promise.all(a.applyFilters("wu_before_form_submitted",r,o,o.gateway))}catch(t){return o.errors=[],o.errors.push({code:"before-submit-error",message:t.message}),o.unblock(),void o.handle_errors(t)}o.validate_form(),a.doAction("wu_on_form_submitted",o,o.gateway)}),this.create_order(),a.doAction("wu_checkout_loaded",this),a.doAction("wu_on_change_gateway",this.gateway,this.gateway),jQuery("#field-password").on("input pwupdate",function(){o.check_pass_strength()}),wu_initialize_tooltip()},watch:{products(t,e){this.on_change_product(t,e)},toggle_discount_code(t){t||(this.discount_code="")},discount_code(t,e){this.on_change_discount_code(t,e)},gateway(t,e){this.on_change_gateway(t,e)},country(t,e){this.state="",this.on_change_country(t,e)},state(t,e){this.city="",this.on_change_state(t,e)},city(t,e){this.on_change_city(t,e)},duration(t,e){this.on_change_duration(t,e)},duration_unit(t,e){this.on_change_duration_unit(t,e)}}}))})})(jQuery,wp.hooks,_); diff --git a/assets/js/cookie-helpers.min.js b/assets/js/cookie-helpers.min.js index b85bd67..1ca09ad 100644 --- a/assets/js/cookie-helpers.min.js +++ b/assets/js/cookie-helpers.min.js @@ -1 +1 @@ -window.wu_create_cookie=function(e,o,n){let t;if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),t="; expires="+e.toGMTString()}else t="";document.cookie=e+"="+o+t+"; path=/"},window.wu_read_cookie=function(e){const o=e+"=",n=document.cookie.split(";");for(let e=0;e({preview:!1})});e("[data-wu-customizer-panel]").each((function(){const t=e(this),a="wu_"+t.data("wu-app");wp.hooks.addAction(a+"_changed","nextpress/wp-ultimo",(function(n){if("tab"===n)return;const i=jQuery.param(window[a].$data),r=t.find("input").serialize(),o=e("#preview-stage-iframe").attr("data-src");e("#preview-stage-iframe").attr("src",o+"&"+i+"&"+r)}))}))}))}(jQuery); \ No newline at end of file +(r=>{window.addEventListener("message",function(e){let a;"wu_preview_changed"===e.data&&(a=wu_block_ui("#preview_content")),r("#preview-stage-iframe").on("load",function(){a&&a.unblock()})},!1),r(document).ready(function(){new Vue({el:"#preview-stage",data(){return{preview:!1}}});r("[data-wu-customizer-panel]").each(function(){let n=r(this),i="wu_"+n.data("wu-app");wp.hooks.addAction(i+"_changed","nextpress/wp-ultimo",function(e){var a,t;"tab"!==e&&(e=jQuery.param(window[i].$data),a=n.find("input").serialize(),t=r("#preview-stage-iframe").attr("data-src"),r("#preview-stage-iframe").attr("src",t+"&"+e+"&"+a))})})})})(jQuery); diff --git a/assets/js/dashboard-statistics.min.js b/assets/js/dashboard-statistics.min.js index 4235fad..aecd9d3 100644 --- a/assets/js/dashboard-statistics.min.js +++ b/assets/js/dashboard-statistics.min.js @@ -1 +1 @@ -document.getElementById("wp-ultimo-mrr-growth")&&(mrr_graph=new Vue({el:"#wp-ultimo-mrr-growth",components:{apexchart:window.VueApexCharts},data:{start_date:wu_dashboard_statistics_vars.start_date,end_date:wu_dashboard_statistics_vars.end_date,chart_options:{mrr_growth:{series:[{name:wu_dashboard_statistics_vars.i18n.new_mrr,data:[wu_dashboard_statistics_vars.mrr_array.january.total,wu_dashboard_statistics_vars.mrr_array.february.total,wu_dashboard_statistics_vars.mrr_array.march.total,wu_dashboard_statistics_vars.mrr_array.april.total,wu_dashboard_statistics_vars.mrr_array.may.total,wu_dashboard_statistics_vars.mrr_array.june.total,wu_dashboard_statistics_vars.mrr_array.july.total,wu_dashboard_statistics_vars.mrr_array.august.total,wu_dashboard_statistics_vars.mrr_array.september.total,wu_dashboard_statistics_vars.mrr_array.october.total,wu_dashboard_statistics_vars.mrr_array.november.total,wu_dashboard_statistics_vars.mrr_array.december.total]},{name:wu_dashboard_statistics_vars.i18n.cancellations,data:[-wu_dashboard_statistics_vars.mrr_array.january.cancelled,-wu_dashboard_statistics_vars.mrr_array.february.cancelled,-wu_dashboard_statistics_vars.mrr_array.march.cancelled,-wu_dashboard_statistics_vars.mrr_array.april.cancelled,-wu_dashboard_statistics_vars.mrr_array.may.cancelled,-wu_dashboard_statistics_vars.mrr_array.june.cancelled,-wu_dashboard_statistics_vars.mrr_array.july.cancelled,-wu_dashboard_statistics_vars.mrr_array.august.cancelled,-wu_dashboard_statistics_vars.mrr_array.september.cancelled,-wu_dashboard_statistics_vars.mrr_array.october.cancelled,-wu_dashboard_statistics_vars.mrr_array.november.cancelled,-wu_dashboard_statistics_vars.mrr_array.december.cancelled]}],chartOptions:{chart:{type:"bar",height:300,stacked:!0,toolbar:{show:!1},zoom:{enabled:!0}},dataLabels:{enabled:!1,maxItems:0},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],colors:["#3498db","#e74c3c"],plotOptions:{bar:{horizontal:!1,columnWidth:"40%",endingShape:"rounded",startingShape:"rounded"}},xaxis:{categories:wu_dashboard_statistics_vars.month_list,position:"bottom",axisBorder:{show:!0},axisTicks:{show:!0},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0}},yaxis:{labels:{formatter:a=>a>=0?wu_format_money(a):"-"+wu_format_money(a)}},legend:{position:"top",offsetY:0},fill:{opacity:1}}}}}})),function(a){a(document).ready((function(){a(".wu-loader").on("click",(function(){wu_block_ui("#wpcontent")})),a("#wu-date-range").flatpickr({mode:"range",dateFormat:"Y-m-d",maxDate:wu_dashboard_statistics_vars.today,defaultDate:[wu_dashboard_statistics_vars.start_date,wu_dashboard_statistics_vars.end_date],onClose(a){const t=new URL(window.location.href);t.searchParams.set("start_date",moment(a[0]).format("YYYY-MM-DD")),t.searchParams.set("end_date",moment(a[1]).format("YYYY-MM-DD")),window.location.href=t.toString(),wu_block_ui("#wpcontent")}})}))}(jQuery),function(a){a(document).ready((function(){a(".wu-export-button").on("click",(function(t){t.preventDefault();const r=t.target.getAttribute("attr-slug-csv"),s=a("#csv_headers_"+r).val(),e=a("#csv_data_"+r).val(),o=a("#csv_action_"+r).val(),_=wu_dashboard_statistics_vars.start_date+"_to_"+wu_dashboard_statistics_vars.end_date,d=wu_block_ui("#wpcontent");setTimeout(()=>{d.unblock()},2e3),a("body").append(''),a("").attr("type","hidden").attr("name","headers").attr("value",s).appendTo("#export_csv"),a("").attr("type","hidden").attr("name","data").attr("value",e).appendTo("#export_csv"),a("").attr("type","hidden").attr("name","date_range").attr("value",_).appendTo("#export_csv"),a("#export_csv").submit(),a("#export_csv").remove()}))}))}(jQuery); \ No newline at end of file +document.getElementById("wp-ultimo-mrr-growth")&&(mrr_graph=new Vue({el:"#wp-ultimo-mrr-growth",components:{apexchart:window.VueApexCharts},data:{start_date:wu_dashboard_statistics_vars.start_date,end_date:wu_dashboard_statistics_vars.end_date,chart_options:{mrr_growth:{series:[{name:wu_dashboard_statistics_vars.i18n.new_mrr,data:[wu_dashboard_statistics_vars.mrr_array.january.total,wu_dashboard_statistics_vars.mrr_array.february.total,wu_dashboard_statistics_vars.mrr_array.march.total,wu_dashboard_statistics_vars.mrr_array.april.total,wu_dashboard_statistics_vars.mrr_array.may.total,wu_dashboard_statistics_vars.mrr_array.june.total,wu_dashboard_statistics_vars.mrr_array.july.total,wu_dashboard_statistics_vars.mrr_array.august.total,wu_dashboard_statistics_vars.mrr_array.september.total,wu_dashboard_statistics_vars.mrr_array.october.total,wu_dashboard_statistics_vars.mrr_array.november.total,wu_dashboard_statistics_vars.mrr_array.december.total]},{name:wu_dashboard_statistics_vars.i18n.cancellations,data:[-wu_dashboard_statistics_vars.mrr_array.january.cancelled,-wu_dashboard_statistics_vars.mrr_array.february.cancelled,-wu_dashboard_statistics_vars.mrr_array.march.cancelled,-wu_dashboard_statistics_vars.mrr_array.april.cancelled,-wu_dashboard_statistics_vars.mrr_array.may.cancelled,-wu_dashboard_statistics_vars.mrr_array.june.cancelled,-wu_dashboard_statistics_vars.mrr_array.july.cancelled,-wu_dashboard_statistics_vars.mrr_array.august.cancelled,-wu_dashboard_statistics_vars.mrr_array.september.cancelled,-wu_dashboard_statistics_vars.mrr_array.october.cancelled,-wu_dashboard_statistics_vars.mrr_array.november.cancelled,-wu_dashboard_statistics_vars.mrr_array.december.cancelled]}],chartOptions:{chart:{type:"bar",height:300,stacked:!0,toolbar:{show:!1},zoom:{enabled:!0}},dataLabels:{enabled:!1,maxItems:0},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],colors:["#3498db","#e74c3c"],plotOptions:{bar:{horizontal:!1,columnWidth:"40%",endingShape:"rounded",startingShape:"rounded"}},xaxis:{categories:wu_dashboard_statistics_vars.month_list,position:"bottom",axisBorder:{show:!0},axisTicks:{show:!0},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0}},yaxis:{labels:{formatter(a){return 0<=a?wu_format_money(a):"-"+wu_format_money(a)}}},legend:{position:"top",offsetY:0},fill:{opacity:1}}}}}})),(a=>{a(document).ready(function(){a(".wu-loader").on("click",function(){wu_block_ui("#wpcontent")}),a("#wu-date-range").flatpickr({mode:"range",dateFormat:"Y-m-d",maxDate:wu_dashboard_statistics_vars.today,defaultDate:[wu_dashboard_statistics_vars.start_date,wu_dashboard_statistics_vars.end_date],onClose(a){var t=new URL(window.location.href);t.searchParams.set("start_date",moment(a[0]).format("YYYY-MM-DD")),t.searchParams.set("end_date",moment(a[1]).format("YYYY-MM-DD")),window.location.href=t.toString(),wu_block_ui("#wpcontent")}})})})(jQuery),(_=>{_(document).ready(function(){_(".wu-export-button").on("click",function(a){a.preventDefault();var a=a.target.getAttribute("attr-slug-csv"),t=_("#csv_headers_"+a).val(),r=_("#csv_data_"+a).val(),s=_("#csv_action_"+a).val(),e=wu_dashboard_statistics_vars.start_date+"_to_"+wu_dashboard_statistics_vars.end_date;let o=wu_block_ui("#wpcontent");setTimeout(()=>{o.unblock()},2e3),_("body").append(''),_("").attr("type","hidden").attr("name","headers").attr("value",t).appendTo("#export_csv"),_("").attr("type","hidden").attr("name","data").attr("value",r).appendTo("#export_csv"),_("").attr("type","hidden").attr("name","date_range").attr("value",e).appendTo("#export_csv"),_("#export_csv").submit(),_("#export_csv").remove()})})})(jQuery); diff --git a/assets/js/dns-table.js b/assets/js/dns-table.js new file mode 100644 index 0000000..ad2ca8d --- /dev/null +++ b/assets/js/dns-table.js @@ -0,0 +1,45 @@ +(function($) { + + wu_dns_table = new Vue({ + el: '#wu-dns-table', + data: { + error: null, + results: {}, + loading: true, + }, + updated() { + this.$nextTick(function() { + + window.wu_initialize_tooltip(); + + }); + } + }) + + $(document).ready(function() { + + $.ajax({ + url: ajaxurl, + data: { + action: 'wu_get_dns_records', + domain: 'get_domain()); ?>', + }, + success: function(data) { + + Vue.set(wu_dns_table, 'loading', false); + + if (data.success) { + + Vue.set(wu_dns_table, 'results', data.data); + + } else { + + Vue.set(wu_dns_table, 'error', data.data); + + } + + }, + }) + + }); +})(jQuery); diff --git a/assets/js/dns-table.min.js b/assets/js/dns-table.min.js new file mode 100644 index 0000000..df462ee --- /dev/null +++ b/assets/js/dns-table.min.js @@ -0,0 +1 @@ +(e=>{wu_dns_table=new Vue({el:"#wu-dns-table",data:{error:null,results:{},loading:!0},updated(){this.$nextTick(function(){window.wu_initialize_tooltip()})}}),e(document).ready(function(){e.ajax({url:ajaxurl,data:{action:"wu_get_dns_records",domain:"get_domain()); ?>"},success:function(e){Vue.set(wu_dns_table,"loading",!1),e.success?Vue.set(wu_dns_table,"results",e.data):Vue.set(wu_dns_table,"error",e.data)}})})})(jQuery); diff --git a/assets/js/edit-placeholders.min.js b/assets/js/edit-placeholders.min.js index b90c138..b96f2c6 100644 --- a/assets/js/edit-placeholders.min.js +++ b/assets/js/edit-placeholders.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){e("#wu-template-placeholders").length&&(window.wu_placeholders=new Vue({el:"#wu-template-placeholders",data:{tax_category:"default",switching:!1,creating:!1,create_name:"",toggle:!1,loading:!0,saving:!1,initialLoading:!0,error:!1,changed:!1,data:{placeholders:[]},delete:[],saveMessage:"",errorMessage:"",rate_type:"standard_rate"},watch:{data:{deep:!0,handler(){this.initialLoading?this.initialLoading=!1:this.changed=!0}},loading(e){!0===e?window.wu_blocked_table=wu_block_ui("table.wp-list-table"):void 0!==window.wu_blocked_table&&window.wu_blocked_table.unblock()}},mounted(){this.loading=!0,this.pull_data(!0),e(".wu-tooltip-vue").tipTip()},created(){const e=document.createEvent("Event");e.initEvent("vue_loaded",!0,!0),e.vue=this,window.dispatchEvent(e)},computed:{selected(){return e(this.data.placeholders).filter((function(e,t){return t.selected}))}},methods:{refresh(e){e.preventDefault(),this.loading=!0,this.pull_data()},select_all(t){const a=e(t.target).is(":checked");this.data.placeholders=e.map(this.data.placeholders,(function(e){return e.selected=a,e}))},pull_data(){const e=this;jQuery.getJSON(ajaxurl+"?action=wu_get_placeholders").done((function(t){e.loading=!1,e.data=t.data})).fail((function(t){e.loading=!1,e.error=!0,e.errorMessage=t.statusText}))},add_row(){Vue.set(this.data,"placeholders",this.data.placeholders.concat([{placeholder:"",content:"",selected:!1}])),this.$forceUpdate()},delete_rows(){this.delete=this.delete.concat(this.selected.get());if(confirm(wu_placeholdersl10n.confirm_message)){const t=e(this.data.placeholders).filter((function(e,t){return!t.selected}));Vue.set(this.data,"placeholders",t.get()),this.$forceUpdate()}},save(){const t=this;t.saving=!0,e.post({url:ajaxurl+"?action=wu_save_placeholders&"+e("#nonce_form").serialize(),data:JSON.stringify({placeholders:t.data.placeholders}),dataType:"json",contentType:"application/json; charset=utf-8"}).success((function(e){t.saving=!1,t.changed=!1,t.delete=[],t.saveMessage=e.message,"success"===e.code&&(t.loading=!0,t.initialLoading=!0,t.pull_data()),setInterval((function(){t.saveMessage=""}),6e3)}))}}}))}))}(jQuery); \ No newline at end of file +(a=>{a(document).ready(function(){a("#wu-template-placeholders").length&&(window.wu_placeholders=new Vue({el:"#wu-template-placeholders",data:{tax_category:"default",switching:!1,creating:!1,create_name:"",toggle:!1,loading:!0,saving:!1,initialLoading:!0,error:!1,changed:!1,data:{placeholders:[]},delete:[],saveMessage:"",errorMessage:"",rate_type:"standard_rate"},watch:{data:{deep:!0,handler(){this.initialLoading?this.initialLoading=!1:this.changed=!0}},loading(e){!0===e?window.wu_blocked_table=wu_block_ui("table.wp-list-table"):void 0!==window.wu_blocked_table&&window.wu_blocked_table.unblock()}},mounted(){this.loading=!0,this.pull_data(!0),a(".wu-tooltip-vue").tipTip()},created(){var e=document.createEvent("Event");e.initEvent("vue_loaded",!0,!0),e.vue=this,window.dispatchEvent(e)},computed:{selected(){return a(this.data.placeholders).filter(function(e,t){return t.selected})}},methods:{refresh(e){e.preventDefault(),this.loading=!0,this.pull_data()},select_all(e){let t=a(e.target).is(":checked");this.data.placeholders=a.map(this.data.placeholders,function(e){return e.selected=t,e})},pull_data(){let t=this;jQuery.getJSON(ajaxurl+"?action=wu_get_placeholders").done(function(e){t.loading=!1,t.data=e.data}).fail(function(e){t.loading=!1,t.error=!0,t.errorMessage=e.statusText})},add_row(){Vue.set(this.data,"placeholders",this.data.placeholders.concat([{placeholder:"",content:"",selected:!1}])),this.$forceUpdate()},delete_rows(){var e;this.delete=this.delete.concat(this.selected.get()),confirm(wu_placeholdersl10n.confirm_message)&&(e=a(this.data.placeholders).filter(function(e,t){return!t.selected}),Vue.set(this.data,"placeholders",e.get()),this.$forceUpdate())},save(){let t=this;t.saving=!0,a.post({url:ajaxurl+"?action=wu_save_placeholders&"+a("#nonce_form").serialize(),data:JSON.stringify({placeholders:t.data.placeholders}),dataType:"json",contentType:"application/json; charset=utf-8"}).success(function(e){t.saving=!1,t.changed=!1,t.delete=[],t.saveMessage=e.message,"success"===e.code&&(t.loading=!0,t.initialLoading=!0,t.pull_data()),setInterval(function(){t.saveMessage=""},6e3)})}}}))})})(jQuery); diff --git a/assets/js/email-edit-page.min.js b/assets/js/email-edit-page.min.js index 361d431..7f14350 100644 --- a/assets/js/email-edit-page.min.js +++ b/assets/js/email-edit-page.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){wu_event_payload_placeholders=new Vue({el:"#wu_event_payload_placeholders",data:()=>({placeholders:[],event:e("select[name='event']").val(),search:"",loading:!0}),computed:{filtered_placeholders(){const e=this.search.toLowerCase();return _.filter(this.placeholders,(function(t){return t.name.toLowerCase().indexOf(e)>-1||t.placeholder.toLowerCase().indexOf(e)>-1}))}},watch:{event(){this.get_event_payload()}},methods:{get_event_payload(){const t=this;t.loading=!0,e.ajax({method:"post",url:ajaxurl,data:{action:"wu_get_event_payload_placeholders",email_event:t.event},success(e){t.placeholders=e,t.loading=!1}})}},mounted(){this.get_event_payload()}}),e(document).on("change",'select[name="event"]',(function(){wu_event_payload_placeholders.event=e("select[name='event']").val()}))}))}(jQuery); \ No newline at end of file +(e=>{e(document).ready(function(){wu_event_payload_placeholders=new Vue({el:"#wu_event_payload_placeholders",data(){return{placeholders:[],event:e("select[name='event']").val(),search:"",loading:!0}},computed:{filtered_placeholders(){let t=this.search.toLowerCase();return _.filter(this.placeholders,function(e){return-1({loading:!1,payload:e("#hidden_textarea").val()}),methods:{}}));new ClipboardJS(".btn-clipboard").on("success",(function(t){const a=e(t.trigger),d=a.text();a.attr("disabled","disabled").text("Copied!"),setTimeout((function(){a.text(d).removeAttr("disabled")}),3e3)}))}))}(jQuery); \ No newline at end of file +(d=>{d(function(){d("#wu_payload").length&&(wu_event_view_payload=new Vue({el:"#wu_payload",data(){return{loading:!1,payload:d("#hidden_textarea").val()}},methods:{}})),new ClipboardJS(".btn-clipboard").on("success",function(e){let t=d(e.trigger),a=t.text();t.attr("disabled","disabled").text("Copied!"),setTimeout(function(){t.text(a).removeAttr("disabled")},3e3)})})})(jQuery); diff --git a/assets/js/fields.min.js b/assets/js/fields.min.js index 9536fd9..0367b70 100644 --- a/assets/js/fields.min.js +++ b/assets/js/fields.min.js @@ -1 +1 @@ -void 0!==window.Vue&&Vue.component("colorPicker",{props:["value"],template:'',mounted(){const e=this;$(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(o,t){e.$emit("input",t.color.toString())}})},watch:{value(e){$(this.$el).wpColorPicker("color",e)}},destroyed(){$(this.$el).off().wpColorPicker("destroy")}}); \ No newline at end of file +void 0!==window.Vue&&Vue.component("colorPicker",{props:["value"],template:'',mounted(){let t=this;$(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(e,o){t.$emit("input",o.color.toString())}})},watch:{value(e){$(this.$el).wpColorPicker("color",e)}},destroyed(){$(this.$el).off().wpColorPicker("destroy")}}); diff --git a/assets/js/flags.js b/assets/js/flags.js new file mode 100644 index 0000000..f9148fc --- /dev/null +++ b/assets/js/flags.js @@ -0,0 +1,2 @@ +import { polyfillCountryFlagEmojis } from "https://cdn.skypack.dev/country-flag-emoji-polyfill"; +polyfillCountryFlagEmojis(); \ No newline at end of file diff --git a/assets/js/flags.min.js b/assets/js/flags.min.js new file mode 100644 index 0000000..622ebc6 --- /dev/null +++ b/assets/js/flags.min.js @@ -0,0 +1 @@ +import{polyfillCountryFlagEmojis}from"https://cdn.skypack.dev/country-flag-emoji-polyfill";polyfillCountryFlagEmojis(); diff --git a/assets/js/functions.min.js b/assets/js/functions.min.js index 2e894f0..85093ff 100644 --- a/assets/js/functions.min.js +++ b/assets/js/functions.min.js @@ -1 +1 @@ -function wu_on_load(){wu_initialize_tooltip(),wu_initialize_datepickers(),wu_initialize_colorpicker(),wu_initialize_iconfontpicker(),wu_initialize_editors(),wu_update_clock(),wu_initialize_clipboardjs(),wu_initialize_imagepicker(),wu_image_preview()}function wu_format_money(e){e=parseFloat(e.toString().replace(/[^0-9\.]/g,""));const i=wp.hooks.applyFilters("wu_format_money",{currency:{symbol:wu_settings.currency_symbol,format:wu_settings.currency_position,decimal:wu_settings.decimal_separator,thousand:wu_settings.thousand_separator,precision:wu_settings.precision},number:{precision:0,thousand:",",decimal:","}});return accounting.settings=i,accounting.formatMoney(e)}window.wu_initialize_tooltip=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})},window.wu_initialize_editors=function(){jQuery("textarea[data-editor]").each((function(){tinymce.remove("#"+jQuery(this).attr("id")),tinymce.init({selector:"#"+jQuery(this).attr("id"),menubar:"",theme:"modern",...wp.editor.getDefaultSettings().tinymce})}))},window.wu_initialize_imagepicker=function(){jQuery(".wu-wrapper-image-field").each((function(){const e=jQuery(this);e.find("img").css({maxWidth:"100%"});e.find("img").attr("src")?e.find(".wu-wrapper-image-field-upload-actions").show():e.find(".wu-add-image-wrapper").show(),e.on("click","a.wu-add-image",(function(){"undefined"==typeof wu_media_frame?(wu_media_frame=wp.media({title:wu_fields.l10n.image_picker_title,multiple:!1,button:{text:wu_fields.l10n.image_picker_button_text}}),wu_media_frame.on("select",(function(){const i=wu_media_frame.state().get("selection").first().toJSON(),t=e.find("img");e.find("img").removeClass("wu-absolute").attr("src",i.url),e.find(".wubox").attr("href",i.url),e.find("input").val(i.id),e.find(".wu-add-image-wrapper").hide(),t.on("load",(function(){e.find(".wu-wrapper-image-field-upload-actions").show()}))})),wu_media_frame.open()):wu_media_frame.open()})),e.find(".wu-remove-image").on("click",(function(i){i.preventDefault(),e.find("img").removeAttr("src").addClass("wu-absolute"),e.find("input").val(""),e.find(".wu-wrapper-image-field-upload-actions").hide(),e.find(".wu-add-image-wrapper").show()}))}))},window.wu_initialize_colorpicker=function(){jQuery(document).ready((function(){jQuery(".wu_color_field").each((function(){jQuery(this).wpColorPicker()}))}))},window.wu_initialize_iconfontpicker=function(){jQuery(document).ready((function(){jQuery(".wu_select_icon").length&&jQuery(".wu_select_icon").fontIconPicker({theme:"wu-theme"})}))},window.wu_initialize_clipboardjs=function(){new ClipboardJS(".wu-copy")},window.wu_initialize_datepickers=function(){jQuery(".wu-datepicker, [wu-datepicker]").each((function(){const e=jQuery(this),i=e.data("format"),t=e.data("allow-time");e.flatpickr({animate:!1,time_24hr:!0,enableTime:void 0===t||t,dateFormat:i,allowInput:!0,defaultDate:e.val()})}))},window.wu_update_clock=function(){const e=60*(60*wu_ticker.server_clock_offset+(new Date).getTimezoneOffset())*1e3;function i(){const i=new Date((new Date).getTime()+e),t=i.getFullYear();let n=i.getMonth()+1,o=i.getDate(),a=i.getHours(),r=i.getMinutes(),u=i.getSeconds();n<10&&(n="0"+n),o<10&&(o="0"+o),r<10&&(r="0"+r),u<10&&(u="0"+u),a<10&&(a="0"+a),jQuery("#wu-ticker").text(t+"-"+n+"-"+o+" "+a+":"+r+":"+u)}setInterval(i,500)},window.wu_on_load=wu_on_load,window.wu_block_ui=function(e){jQuery(e).wu_block({message:'
',overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}});const i=jQuery(e);return i.unblock=jQuery(e).wu_unblock,i},window.wu_image_preview=function(){const e="#wu-image-preview",i=1==wu_settings.disable_image_zoom?".wu-image-preview:not(img)":".wu-image-preview",t=e.replace("#","");0===jQuery(e).length&&jQuery("body").append(""),jQuery(i).hover((function(i){this.t=this.title,this.title="";const t=jQuery(this).data("image");jQuery(e).find("img").attr("src",t).attr("alt",this.t).end().css({position:"absolute",display:"none"}).css("top",i.pageY-10+"px").css("left",i.pageX+30+"px").fadeIn("fast")}),(function(){this.title=this.t,jQuery(e).fadeOut("fast")})),jQuery(i).mousemove((function(i){jQuery(e).css("top",i.pageY-10+"px").css("left",i.pageX+30+"px")}))},window.wu_initialize_code_editors=function(){jQuery("[data-code-editor]").length&&(void 0===window.wu_editor_instances&&(window.wu_editor_instances={}),jQuery("[data-code-editor]").each((function(){const e=jQuery(this),i=e.attr("id");if(void 0===window.wu_editor_instances[i]){if(!e.is(":visible"))return;window.wu_editor_instances[i]=wp.codeEditor.initialize(i,{codemirror:{mode:e.data("code-editor"),lint:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:2,indentWithTabs:!0,lineNumbers:!0,lineWrapping:!0,styleActiveLine:!0,continueComments:!0,inputStyle:"contenteditable",direction:"ltr",gutters:[],extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"}}})}})))},window.wu_moment=function(e){return moment.tz(e,"Etc/UTC")}; \ No newline at end of file +function wu_on_load(){wu_initialize_tooltip(),wu_initialize_datepickers(),wu_initialize_colorpicker(),wu_initialize_iconfontpicker(),wu_initialize_editors(),wu_update_clock(),wu_initialize_clipboardjs(),wu_initialize_imagepicker(),wu_image_preview()}function wu_format_money(e){e=parseFloat(e.toString().replace(/[^0-9\.]/g,""));var i=wp.hooks.applyFilters("wu_format_money",{currency:{symbol:wu_settings.currency_symbol,format:wu_settings.currency_position,decimal:wu_settings.decimal_separator,thousand:wu_settings.thousand_separator,precision:wu_settings.precision},number:{precision:0,thousand:",",decimal:","}});return accounting.settings=i,accounting.formatMoney(e)}window.wu_initialize_tooltip=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})},window.wu_initialize_editors=function(){jQuery("textarea[data-editor]").each(function(){tinymce.remove("#"+jQuery(this).attr("id")),tinymce.init({selector:"#"+jQuery(this).attr("id"),menubar:"",theme:"modern",...wp.editor.getDefaultSettings().tinymce})})},window.wu_initialize_imagepicker=function(){jQuery(".wu-wrapper-image-field").each(function(){let t=jQuery(this);t.find("img").css({maxWidth:"100%"}),(t.find("img").attr("src")?t.find(".wu-wrapper-image-field-upload-actions"):t.find(".wu-add-image-wrapper")).show(),t.on("click","a.wu-add-image",function(){"undefined"!=typeof wu_media_frame||(wu_media_frame=wp.media({title:wu_fields.l10n.image_picker_title,multiple:!1,button:{text:wu_fields.l10n.image_picker_button_text}})).on("select",function(){var e=wu_media_frame.state().get("selection").first().toJSON(),i=t.find("img");t.find("img").removeClass("wu-absolute").attr("src",e.url),t.find(".wubox").attr("href",e.url),t.find("input").val(e.id),t.find(".wu-add-image-wrapper").hide(),i.on("load",function(){t.find(".wu-wrapper-image-field-upload-actions").show()})}),wu_media_frame.open()}),t.find(".wu-remove-image").on("click",function(e){e.preventDefault(),t.find("img").removeAttr("src").addClass("wu-absolute"),t.find("input").val(""),t.find(".wu-wrapper-image-field-upload-actions").hide(),t.find(".wu-add-image-wrapper").show()})})},window.wu_initialize_colorpicker=function(){jQuery(document).ready(function(){jQuery(".wu_color_field").each(function(){jQuery(this).wpColorPicker()})})},window.wu_initialize_iconfontpicker=function(){jQuery(document).ready(function(){jQuery(".wu_select_icon").length&&jQuery(".wu_select_icon").fontIconPicker({theme:"wu-theme"})})},window.wu_initialize_clipboardjs=function(){new ClipboardJS(".wu-copy")},window.wu_initialize_datepickers=function(){jQuery(".wu-datepicker, [wu-datepicker]").each(function(){var e=jQuery(this),i=e.data("format"),t=e.data("allow-time");e.flatpickr({animate:!1,time_24hr:!0,enableTime:void 0===t||t,dateFormat:i,allowInput:!0,defaultDate:e.val()})})},window.wu_update_clock=function(){let u=60*(60*wu_ticker.server_clock_offset+(new Date).getTimezoneOffset())*1e3;function e(){var e=new Date((new Date).getTime()+u),i=e.getFullYear();let t=e.getMonth()+1,n=e.getDate(),o=e.getHours(),a=e.getMinutes(),r=e.getSeconds();t<10&&(t="0"+t),n<10&&(n="0"+n),a<10&&(a="0"+a),r<10&&(r="0"+r),o<10&&(o="0"+o),jQuery("#wu-ticker").text(i+"-"+t+"-"+n+" "+o+":"+a+":"+r)}setInterval(e,500)},window.wu_on_load=wu_on_load,window.wu_block_ui=function(e){jQuery(e).wu_block({message:'
',overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}});var i=jQuery(e);return i.unblock=jQuery(e).wu_unblock,i},window.wu_image_preview=function(){let t="#wu-image-preview";var e=1==wu_settings.disable_image_zoom?".wu-image-preview:not(img)":".wu-image-preview",i=t.replace("#","");0===jQuery(t).length&&jQuery("body").append(""),jQuery(e).hover(function(e){this.t=this.title,this.title="";var i=jQuery(this).data("image");jQuery(t).find("img").attr("src",i).attr("alt",this.t).end().css({position:"absolute",display:"none"}).css("top",e.pageY-10+"px").css("left",e.pageX+30+"px").fadeIn("fast")},function(){this.title=this.t,jQuery(t).fadeOut("fast")}),jQuery(e).mousemove(function(e){jQuery(t).css("top",e.pageY-10+"px").css("left",e.pageX+30+"px")})},window.wu_initialize_code_editors=function(){jQuery("[data-code-editor]").length&&(void 0===window.wu_editor_instances&&(window.wu_editor_instances={}),jQuery("[data-code-editor]").each(function(){var e=jQuery(this),i=e.attr("id");void 0===window.wu_editor_instances[i]&&e.is(":visible")&&(window.wu_editor_instances[i]=wp.codeEditor.initialize(i,{codemirror:{mode:e.data("code-editor"),lint:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:2,indentWithTabs:!0,lineNumbers:!0,lineWrapping:!0,styleActiveLine:!0,continueComments:!0,inputStyle:"contenteditable",direction:"ltr",gutters:[],extraKeys:{"Ctrl-Space":"autocomplete","Ctrl-/":"toggleComment","Cmd-/":"toggleComment","Alt-F":"findPersistent"}}}))}))},window.wu_moment=function(e){return moment.tz(e,"Etc/UTC")}; diff --git a/assets/js/gutenberg-support.min.js b/assets/js/gutenberg-support.min.js index 2e87d32..3f46ff1 100644 --- a/assets/js/gutenberg-support.min.js +++ b/assets/js/gutenberg-support.min.js @@ -1 +1 @@ -jQuery(document).ready((function(){const e=function(e){e=e.replace(wp.i18n.__("Generating preview…"),wu_gutenberg.replacement_message);const t='

';return e=e.replace("

",t),e+=""};"object"==typeof wp&&"object"==typeof wp.hooks&&wp.hooks.addFilter("editor.PostPreview.interstitialMarkup","wp-ultimo/custom-preview-message",e)})); \ No newline at end of file +jQuery(document).ready(function(){"object"==typeof wp&&"object"==typeof wp.hooks&&wp.hooks.addFilter("editor.PostPreview.interstitialMarkup","wp-ultimo/custom-preview-message",function(e){e=e.replace(wp.i18n.__("Generating preview…"),wu_gutenberg.replacement_message);var t='

';return e=e.replace("

",t),e+=""})}); diff --git a/assets/js/jumper.min.js b/assets/js/jumper.min.js index e0d41ee..0ba3df4 100644 --- a/assets/js/jumper.min.js +++ b/assets/js/jumper.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){const t=e("#wu-jumper-select").selectize({create:!1,maxItems:1,optgroupField:"group",optgroupValueField:"value",searchField:["text","name","display_name","domain","title","desc","code"],render:{option(e){void 0===e.model&&(e.model="jumper-link"),void 0===e.text&&(e.text=e.reference_code||e.name||e.title||e.display_name||e.code),void 0===e.group&&(e.group=e.model);const t=jQuery("#wu-template-"+e.model).length?jQuery("#wu-template-"+e.model).html():jQuery("#wu-template-default").html();return _.template(t,{interpolate:/\{\{(.+?)\}\}/g})(e)}},load(t,r){if(!t.length)return r();e("#wu-jumper .wu-jumper-loading").show(),jQuery.ajax({url:wu_jumper_vars.ajaxurl,type:"POST",data:{action:"wu_search",model:"all",number:99,query:{search:"*"+t+"*"}},error(){r()},success(t){e("#wu-jumper .wu-jumper-loading").hide(),r(t)}})}});t.on("change",(function(){var r;(r=e(this).val()).toLowerCase().indexOf(wu_jumper_vars.base_url)>=0||r.toLowerCase().indexOf(wu_jumper_vars.network_base_url)>=0?(window.location.href=e(this).val(),e(this).parent().parent().find(".wu-jumper-redirecting").show()):(window.open(e(this).val(),"_blank"),e(t.parent()).hide())})),e(document).on("click",":not(#wu-jumper-button-trigger)",(function(r){const u=r.target;"wu-jumper-button-trigger"!==e(u).attr("id")&&"wu-jumper-button-trigger"!==e(u).parent().attr("id")&&(e(u).is(t.parent())||e(u).parents().is(t.parent())||e(t.parent().parent()).hide())}));const r=wu_jumper_vars.trigger_key.charAt(0);function u(){return e("#wu-jumper").show(),e("#wu-jumper").find("input").focus(),!1}Mousetrap.bind(["command+option+"+r,"ctrl+alt+"+r],(function(e){e.preventDefault(),u()})),e(document).on("click","#wu-jumper-button-trigger",(function(e){e.preventDefault(),u()}))}))}(jQuery); \ No newline at end of file +(u=>{u(document).ready(function(){let t=u("#wu-jumper-select").selectize({create:!1,maxItems:1,optgroupField:"group",optgroupValueField:"value",searchField:["text","name","display_name","domain","title","desc","code"],render:{option(e){void 0===e.model&&(e.model="jumper-link"),void 0===e.text&&(e.text=e.reference_code||e.name||e.title||e.display_name||e.code),void 0===e.group&&(e.group=e.model);var t=(jQuery("#wu-template-"+e.model).length?jQuery("#wu-template-"+e.model):jQuery("#wu-template-default")).html();return _.template(t,{interpolate:/\{\{(.+?)\}\}/g})(e)}},load(e,t){if(!e.length)return t();u("#wu-jumper .wu-jumper-loading").show(),jQuery.ajax({url:wu_jumper_vars.ajaxurl,type:"POST",data:{action:"wu_search",model:"all",number:99,query:{search:"*"+e+"*"}},error(){t()},success(e){u("#wu-jumper .wu-jumper-loading").hide(),t(e)}})}});t.on("change",function(){var e;0<=(e=u(this).val()).toLowerCase().indexOf(wu_jumper_vars.base_url)||0<=e.toLowerCase().indexOf(wu_jumper_vars.network_base_url)?(window.location.href=u(this).val(),u(this).parent().parent().find(".wu-jumper-redirecting").show()):(window.open(u(this).val(),"_blank"),u(t.parent()).hide())}),u(document).on("click",":not(#wu-jumper-button-trigger)",function(e){e=e.target;"wu-jumper-button-trigger"===u(e).attr("id")||"wu-jumper-button-trigger"===u(e).parent().attr("id")||u(e).is(t.parent())||u(e).parents().is(t.parent())||u(t.parent().parent()).hide()});var e=wu_jumper_vars.trigger_key.charAt(0);function r(){u("#wu-jumper").show(),u("#wu-jumper").find("input").focus()}Mousetrap.bind(["command+option+"+e,"ctrl+alt+"+e],function(e){e.preventDefault(),r()}),u(document).on("click","#wu-jumper-button-trigger",function(e){e.preventDefault(),r()})})})(jQuery); diff --git a/assets/js/legacy-signup.min.js b/assets/js/legacy-signup.min.js index bf772ba..7d94c24 100644 --- a/assets/js/legacy-signup.min.js +++ b/assets/js/legacy-signup.min.js @@ -1 +1 @@ -(()=>{"use strict";const{addFilter:o}=window.wp.hooks;document.addEventListener("DOMContentLoaded",(()=>{o("wu_before_form_init","nextpress/wp-ultimo",(o=>(void 0!==o&&(o.billing_option=1,o.default_billing_option=12),o)))}))})(); \ No newline at end of file +(()=>{let o=window.wp.hooks.addFilter;document.addEventListener("DOMContentLoaded",()=>{o("wu_before_form_init","nextpress/wp-ultimo",o=>(void 0!==o&&(o.billing_option=1,o.default_billing_option=12),o))})})(); diff --git a/assets/js/list-tables.min.js b/assets/js/list-tables.min.js index a576bf1..96853b9 100644 --- a/assets/js/list-tables.min.js +++ b/assets/js/list-tables.min.js @@ -1 +1 @@ -!function(e,t){t.addAction("wu_list_table_update","nextpress/wp-ultimo",(function(e,t,n){"pending"===e.type&&"site_list_table"===t.table_id?n.find("select[name^=action] > option[value=delete]").attr("value","delete-pending"):n.find("select[name^=action] > option[value=delete-pending]").attr("value","delete")})),e(document).on("click","#cb-select-all-grid",(function(e){e.preventDefault();const t=jQuery(this).parents("form").find("#the-list").find("input[type=checkbox]"),n=t.prop("checked");t.parents(".wu-grid-item").toggleClass("wu-grid-item-selected",!n),t.prop("checked",!n)})),e(document).on("change",".wu-grid-item input[type=checkbox]",(function(){const t=e(this).prop("checked");e(this).parents(".wu-grid-item").toggleClass("wu-grid-item-selected",t)})),wu_create_list=function(n){return{el:"#"+n,filters_el:"#"+n+"-filters",initialized:!1,init(){const t=this,i=e("#wu-"+n);let a;return jQuery("body").on("click","#doaction, #doaction2",(function(e){const t=jQuery(e.target).parents("form").serialize(),n=new URL("https://example.com?"+t),i=n.searchParams.get("action")||n.searchParams.get("action2"),a=n.searchParams.getAll("bulk-delete[]");"-1"!==i&&a.length&&(e.preventDefault(),n.searchParams.set("bulk_action",i),n.searchParams.forEach(((e,t)=>{"bulk_action"!==t&&"bulk-delete[]"!==t&&n.searchParams.delete(t)})),n.searchParams.set("model",wu_list_table.model),wubox.show(wu_list_table.i18n.confirm,wu_list_table.base_url+"&"+n.searchParams.toString()))})),i.on("click",".tablenav-pages a, .manage-column.sortable a, .manage-column.sorted a",(function(n){n.preventDefault();const i=this.search.substring(1),a=e.extend({},t.__get_query(i),{order:t.__query(i,"order")||"DESC",paged:t.__query(i,"paged")||"1",s:t.__query(i,"s")||""});t.update(a)})),i.on("keyup","input[name=paged]",(function(n){13===n.which&&n.preventDefault();const i={paged:parseInt(e("input[name=paged]").val())||"1",s:e("input[name=s]").val()||""};window.clearTimeout(a),a=window.setTimeout((function(){t.update(i)}),500)})),!1===t.initialized&&e(t.filters_el).get(0)&&(t.filters=t.init_filters()),t.initialized=!0,t},copy:function(e){return JSON.parse(JSON.stringify(e))},init_filters(){if(void 0===window.Vue)return;const t=this,i=t.copy(window[n+"_config"].filters);return new Vue({el:t.filters_el,data:()=>({open:!0,view:!1,available_filters:[],filters:[]}),computed:{},mounted(){let n;wu_on_load(),e(t.filters_el+" form.search-form").on("submit",(function(e){e.preventDefault()})),e(t.filters_el+" input[name=s]").on("input keyup",(function(i){13===i.which&&i.preventDefault();const a={paged:parseInt(e("input[name=paged]").val())||"1",s:e("input[name=s]").val()||""};""!==e("input[name=s]").val()&&(a.paged="1"),window.clearTimeout(n),n=window.setTimeout((function(){t.update(a)}),500)}))},methods:{set_view(n,i){const a=window.location.href.split("?")[1],o=e.extend({},t.__get_query(a),{paged:t.__query(a,"paged")||"1",s:t.__query(a,"s")||""});this.view=i,o[n]=i,jQuery(".wu-filter .current").removeClass("current"),t.update(o)},get_filter_type:e=>_.findWhere(i,{field:e}).type,get_filter_rule:e=>_.findWhere(i,{field:e}).rule,remove_filter(e){this.filters.splice(e,1)},add_new_filter(){this.filters.push(_.first(t.copy(this.available_filters)))},open_filters(){this.open=!0},close_filters(){this.open=!1}}})},set_history(t){if("page"===window[n+"_config"].context)try{const n=_.omit(t,(function(e,t){return"action"===t||"table_id"===t||!e||0===t.indexOf("_")}));history.pushState({},null,"?"+e.param(n))}catch(e){console.warn("Browser does not support pushState.",e)}},update(i){const a=this,o=e("#wu-"+n),s={action:"wu_list_table_fetch_ajax_results",table_id:n,id:e("input#id").val()};s["_ajax_"+n+"_nonce"]=e("#_ajax_"+n+"_nonce").val();const l=e.extend({},s,i),r=o.find("tbody, .wu-grid-content");r.animate({opacity:.4},300),e.ajax({url:ajaxurl,data:l,statusCode:{403(){r.animate({opacity:1},300)}},success(n){a.set_history(l,s),r.animate({opacity:1},300),void 0!==n.rows&&r.html(n.rows),n.count,n.column_headers.length&&o.find("thead tr, tfoot tr").html(n.column_headers),n.pagination.top.length&&o.find(".tablenav.top .tablenav-pages").html(e(n.pagination.top).html()),n.pagination.bottom.length&&o.find(".tablenav.bottom .tablenav-pages").html(e(n.pagination.bottom).html()),t.doAction("wu_list_table_update",n,l,o)}})},__query(e,t){const n=e.split("&");for(let e=0;e{s.addAction("wu_list_table_update","nextpress/wp-ultimo",function(e,t,i){"pending"===e.type&&"site_list_table"===t.table_id?i.find("select[name^=action] > option[value=delete]").attr("value","delete-pending"):i.find("select[name^=action] > option[value=delete-pending]").attr("value","delete")}),o(document).on("click","#cb-select-all-grid",function(e){e.preventDefault();var e=jQuery(this).parents("form").find("#the-list").find("input[type=checkbox]"),t=e.prop("checked");e.parents(".wu-grid-item").toggleClass("wu-grid-item-selected",!t),e.prop("checked",!t)}),o(document).on("change",".wu-grid-item input[type=checkbox]",function(){var e=o(this).prop("checked");o(this).parents(".wu-grid-item").toggleClass("wu-grid-item-selected",e)}),wu_create_list=function(l){return{el:"#"+l,filters_el:"#"+l+"-filters",initialized:!1,init(){let i=this;var e=o("#wu-"+l);let a;return jQuery("body").on("click","#doaction, #doaction2",function(e){var t=jQuery(e.target).parents("form").serialize();let i=new URL("https://example.com?"+t);var t=i.searchParams.get("action")||i.searchParams.get("action2"),a=i.searchParams.getAll("bulk-delete[]");"-1"!==t&&a.length&&(e.preventDefault(),i.searchParams.set("bulk_action",t),i.searchParams.forEach((e,t)=>{"bulk_action"!==t&&"bulk-delete[]"!==t&&i.searchParams.delete(t)}),i.searchParams.set("model",wu_list_table.model),wubox.show(wu_list_table.i18n.confirm,wu_list_table.base_url+"&"+i.searchParams.toString()))}),e.on("click",".tablenav-pages a, .manage-column.sortable a, .manage-column.sorted a",function(e){e.preventDefault();e=this.search.substring(1),e=o.extend({},i.__get_query(e),{order:i.__query(e,"order")||"DESC",paged:i.__query(e,"paged")||"1",s:i.__query(e,"s")||""});i.update(e)}),e.on("keyup","input[name=paged]",function(e){13===e.which&&e.preventDefault();let t={paged:parseInt(o("input[name=paged]").val())||"1",s:o("input[name=s]").val()||""};window.clearTimeout(a),a=window.setTimeout(function(){i.update(t)},500)}),!1===i.initialized&&o(i.filters_el).get(0)&&(i.filters=i.init_filters()),i.initialized=!0,i},copy:function(e){return JSON.parse(JSON.stringify(e))},init_filters(){if(void 0!==window.Vue){let a=this,t=a.copy(window[l+"_config"].filters);return new Vue({el:a.filters_el,data(){return{open:!0,view:!1,available_filters:[],filters:[]}},computed:{},mounted(){let i;wu_on_load(),o(a.filters_el+" form.search-form").on("submit",function(e){e.preventDefault()}),o(a.filters_el+" input[name=s]").on("input keyup",function(e){13===e.which&&e.preventDefault();let t={paged:parseInt(o("input[name=paged]").val())||"1",s:o("input[name=s]").val()||""};""!==o("input[name=s]").val()&&(t.paged="1"),window.clearTimeout(i),i=window.setTimeout(function(){a.update(t)},500)})},methods:{set_view(e,t){var i=window.location.href.split("?")[1],i=o.extend({},a.__get_query(i),{paged:a.__query(i,"paged")||"1",s:a.__query(i,"s")||""});this.view=t,i[e]=t,jQuery(".wu-filter .current").removeClass("current"),a.update(i)},get_filter_type(e){return _.findWhere(t,{field:e}).type},get_filter_rule(e){return _.findWhere(t,{field:e}).rule},remove_filter(e){this.filters.splice(e,1)},add_new_filter(){this.filters.push(_.first(a.copy(this.available_filters)))},open_filters(){this.open=!0},close_filters(){this.open=!1}}})}},set_history(e){if("page"===window[l+"_config"].context)try{var t=_.omit(e,function(e,t){return"action"===t||"table_id"===t||!e||0===t.indexOf("_")});history.pushState({},null,"?"+o.param(t))}catch(e){console.warn("Browser does not support pushState.",e)}},update(e){let t=this,i=o("#wu-"+l),a={action:"wu_list_table_fetch_ajax_results",table_id:l,id:o("input#id").val()},n=(a["_ajax_"+l+"_nonce"]=o("#_ajax_"+l+"_nonce").val(),o.extend({},a,e)),r=i.find("tbody, .wu-grid-content");r.animate({opacity:.4},300),o.ajax({url:ajaxurl,data:n,statusCode:{403(){r.animate({opacity:1},300)}},success(e){t.set_history(n,a),r.animate({opacity:1},300),void 0!==e.rows&&r.html(e.rows),e.column_headers.length&&i.find("thead tr, tfoot tr").html(e.column_headers),e.pagination.top.length&&i.find(".tablenav.top .tablenav-pages").html(o(e.pagination.top).html()),e.pagination.bottom.length&&i.find(".tablenav.bottom .tablenav-pages").html(o(e.pagination.bottom).html()),s.doAction("wu_list_table_update",e,n,i)}})},__query(e,t){var i=e.split("&");for(let e=0;e{t(document).ready(function(){t("#scraper").on("click",function(e){e.preventDefault();let r=wu_block_ui("#wp-ultimo-image-widget");t(".wu-scraper-note, .wu-scraper-error").hide(),jQuery.ajax({url:ajaxurl,type:"POST",data:{action:"wu_get_screenshot",site_id:t("#id").val()},error(){r.unblock()},success(e){r.unblock(),e.success?(t("#wp-ultimo-image-widget img").attr("src",e.data.attachment_url),t("#wp-ultimo-image-widget input").val(e.data.attachment_id),t(".wu-scraper-note").show()):(t(".wu-scraper-error").show(),t(".wu-scraper-error-message").text(e.data.pop().message))}})})})})(jQuery); diff --git a/assets/js/selectizer.min.js b/assets/js/selectizer.min.js index b42d3b2..86c91de 100644 --- a/assets/js/selectizer.min.js +++ b/assets/js/selectizer.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){window.wu_initialize_selectizer=function(){jQuery("[data-selectize]").selectize(),e.each(e("[data-selectize-categories]"),(function(t,a){jQuery(e(a)).selectize({maxItems:e(a).data("max-items")||10,create:e=>({value:e,text:e})})})),e.each(e("[data-model]"),(function(t,a){wu_selector({el:a,valueField:e(a).data("value-field"),labelField:e(a).data("label-field"),searchField:e(a).data("search-field"),maxItems:e(a).data("max-items"),selected:e(a).data("selected"),options:[],data:{action:"wu_search",model:e(a).data("model"),number:10,exclude:e(a).data("exclude"),include:e(a).data("include")}})}))},wu_initialize_selectizer(),jQuery("body").on("wubox:load",(function(){wu_initialize_selectizer()}))})),window.wu_selector=function(e){if(e=_.defaults(e,{options:[],maxItems:1,templateName:!1,create:!1}),jQuery(e.el).data("init"))return;jQuery(e.el).data("__options",e);const t=jQuery(e.el).selectize({valueField:e.valueField,labelField:e.labelField,searchField:["text","name","display_name","domain","path","title","desc","code","post_title","reference_code"],options:e.options,maxItems:e.maxItems,create:e.create,render:{option(t){const a=e.templateName?e.templateName:e.data.model,l=jQuery("#wu-template-"+a).length?jQuery("#wu-template-"+a).html():jQuery("#wu-template-default").html();return _.template(l,{interpolate:/\{\{(.+?)\}\}/g})(t)}},load(t,l){if(!t.length)return l();const i=jQuery(e.el).data("__options");jQuery.ajax({url:wu_selectizer.ajaxurl,type:"POST",data:{...i.data,query:{search:"*"+t+"*"}},error(){l()},success(e){a.savedItems=e,l(e)}})}});jQuery(e.el).attr("data-init",1);const a=t[0].selectize;if(a.on("change",(function(e){const a=jQuery(t[0]),l=a.parents("[data-wu-app]").data("wu-app");l&&void 0!==window["wu_"+l]&&(window["wu_"+l][a.attr("name")]=e)})),a.on("item_add",(function(e){let t={url:null};jQuery.each(a.savedItems,(function(a,l){l.setting_id===e&&(t=l)})),t.url&&(window.location.href=t.url)})),e.selected){a.options=[],a.clearOptions();const t=_.isArray(e.selected)?e.selected:[e.selected];a.addOption(t);const l=_.isArray(e.selected)?_.pluck(e.selected,e.valueField):e.selected[e.valueField];a.setValue(l,!1)}}}(jQuery); \ No newline at end of file +(a=>{a(document).ready(function(){window.wu_initialize_selectizer=function(){jQuery("[data-selectize]").selectize(),a.each(a("[data-selectize-categories]"),function(e,t){jQuery(a(t)).selectize({maxItems:a(t).data("max-items")||10,create(e){return{value:e,text:e}}})}),a.each(a("[data-model]"),function(e,t){wu_selector({el:t,valueField:a(t).data("value-field"),labelField:a(t).data("label-field"),searchField:a(t).data("search-field"),maxItems:a(t).data("max-items"),selected:a(t).data("selected"),options:[],data:{action:"wu_search",model:a(t).data("model"),number:10,exclude:a(t).data("exclude"),include:a(t).data("include")}})})},wu_initialize_selectizer(),jQuery("body").on("wubox:load",function(){wu_initialize_selectizer()})}),window.wu_selector=function(l){if(l=_.defaults(l,{options:[],maxItems:1,templateName:!1,create:!1}),jQuery(l.el).data("init"))return;jQuery(l.el).data("__options",l);let i=jQuery(l.el).selectize({valueField:l.valueField,labelField:l.labelField,searchField:["text","name","display_name","domain","path","title","desc","code","post_title","reference_code"],options:l.options,maxItems:l.maxItems,create:l.create,render:{option(e){var t=l.templateName||l.data.model,t=(jQuery("#wu-template-"+t).length?jQuery("#wu-template-"+t):jQuery("#wu-template-default")).html();return _.template(t,{interpolate:/\{\{(.+?)\}\}/g})(e)}},load(e,t){if(!e.length)return t();var a=jQuery(l.el).data("__options");jQuery.ajax({url:wu_selectizer.ajaxurl,type:"POST",data:{...a.data,query:{search:"*"+e+"*"}},error(){t()},success(e){d.savedItems=e,t(e)}})}}),d=(jQuery(l.el).attr("data-init",1),i[0].selectize);var e;d.on("change",function(e){var t=jQuery(i[0]),a=t.parents("[data-wu-app]").data("wu-app");a&&void 0!==window["wu_"+a]&&(window["wu_"+a][t.attr("name")]=e)}),d.on("item_add",function(a){let l={url:null};jQuery.each(d.savedItems,function(e,t){t.setting_id===a&&(l=t)}),l.url&&(window.location.href=l.url)}),l.selected&&(d.options=[],d.clearOptions(),e=_.isArray(l.selected)?l.selected:[l.selected],d.addOption(e),e=_.isArray(l.selected)?_.pluck(l.selected,l.valueField):l.selected[l.valueField],d.setValue(e,!1))}})(jQuery); diff --git a/assets/js/settings-loader.js b/assets/js/settings-loader.js new file mode 100644 index 0000000..bba1620 --- /dev/null +++ b/assets/js/settings-loader.js @@ -0,0 +1,13 @@ +settings_loader = wu_block_ui('#wp-ultimo-wizard-body'); + +/** + * Remove the block ui after the settings loaded. + * + * @since 2.0.0 + * @return void + */ +function remove_block_ui() { + + settings_loader.unblock(); + +} \ No newline at end of file diff --git a/assets/js/settings-loader.min.js b/assets/js/settings-loader.min.js new file mode 100644 index 0000000..7565e48 --- /dev/null +++ b/assets/js/settings-loader.min.js @@ -0,0 +1 @@ +function remove_block_ui(){settings_loader.unblock()}settings_loader=wu_block_ui("#wp-ultimo-wizard-body"); diff --git a/assets/js/setup-wizard-polyfill.min.js b/assets/js/setup-wizard-polyfill.min.js index 707520e..7770f67 100644 --- a/assets/js/setup-wizard-polyfill.min.js +++ b/assets/js/setup-wizard-polyfill.min.js @@ -1 +1 @@ -let wu_block_ui_polyfill=function(o){jQuery(o).wu_block({message:'',overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}});const n=jQuery(o);return n.unblock=jQuery(o).wu_unblock,n};!function(o){o(document).ready((function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"}),o("#poststuff").on("submit","form",(function(){wu_block_ui_polyfill(o(this))}))}))}(jQuery); \ No newline at end of file +let wu_block_ui_polyfill=function(o){jQuery(o).wu_block({message:'',overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}});var n=jQuery(o);return n.unblock=jQuery(o).wu_unblock,n};(o=>{o(document).ready(function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"}),o("#poststuff").on("submit","form",function(){wu_block_ui_polyfill(o(this))})})})(jQuery); diff --git a/assets/js/setup-wizard.min.js b/assets/js/setup-wizard.min.js index 4b827c2..111bda9 100644 --- a/assets/js/setup-wizard.min.js +++ b/assets/js/setup-wizard.min.js @@ -1 +1 @@ -if(function(t){window._wu_block_ui_polyfill=wu_block_ui_polyfill,wu_block_ui_polyfill=function(){},t(document).ready((function(){t("#poststuff").on("submit","form",(function(n){n.preventDefault();const e=t(this),s=e.find("table[data-id]").data("id");e.find("[name=next]").attr("disabled","disabled");let i=e.find("tr[data-content]");i=i.filter((function(){const n=t(this).find("input[type=checkbox]");return!n.length||n.is(":checked")}));let a=0,d=0;!function n(l){if(window.onbeforeunload=function(){return""},0===l.length)return i.length!==a&&"migration"!==s||(window.onbeforeunload=null,_wu_block_ui_polyfill(t("#poststuff .inside")),setTimeout(()=>{e.get(0).submit()},100)),e.find("[name=next]").removeAttr("disabled"),!1;const o=t(l),u=o.data("content");o.get(0).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),o.find("td.status").attr("class","").addClass("status").find("> span").html(wu_setup[u].installing).end().find(".spinner").addClass("is-active").end().find("a.help").slideUp(),t.ajax({url:ajaxurl,method:"post",data:{action:"wu_setup_install",installer:u,"dry-run":wu_setup_settings.dry_run},success(t){!0===t.success?(o.find("td.status").attr("class","").addClass("status wu-text-green-600").find("> span").html(wu_setup[u].success).end().find(".spinner").removeClass("is-active"),o.removeAttr("data-content"),a++):o.find("td.status").attr("class","").addClass("status wu-text-red-400").find("> span").html(t.data[0].message).end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),d++,n(i.eq(d))},error(){o.find("td.status").attr("class","").addClass("status wu-text-red-400").find("span").html("").end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),d++,n(i.eq(d))}})}(i.eq(d))}))}))}(jQuery),"function"!=typeof wu_initialize_tooltip){const t=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})};jQuery(document).ready((function(){t()}))} \ No newline at end of file +if((r=>{window._wu_block_ui_polyfill=wu_block_ui_polyfill,wu_block_ui_polyfill=function(){},r(document).ready(function(){r("#poststuff").on("submit","form",function(t){t.preventDefault();let s=r(this),a=s.find("table[data-id]").data("id"),d=(s.find("[name=next]").attr("disabled","disabled"),s.find("tr[data-content]")),l=(d=d.filter(function(){var t=r(this).find("input[type=checkbox]");return!t.length||t.is(":checked")}),0),o=0;!function e(t){window.onbeforeunload=function(){return""};if(0===t.length)return d.length!==l&&"migration"!==a||(window.onbeforeunload=null,_wu_block_ui_polyfill(r("#poststuff .inside")),setTimeout(()=>{s.get(0).submit()},100)),s.find("[name=next]").removeAttr("disabled"),!1;let n=r(t);let i=n.data("content");n.get(0).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});n.find("td.status").attr("class","").addClass("status").find("> span").html(wu_setup[i].installing).end().find(".spinner").addClass("is-active").end().find("a.help").slideUp();r.ajax({url:ajaxurl,method:"post",data:{action:"wu_setup_install",installer:i,"dry-run":wu_setup_settings.dry_run},success(t){!0===t.success?(n.find("td.status").attr("class","").addClass("status wu-text-green-600").find("> span").html(wu_setup[i].success).end().find(".spinner").removeClass("is-active"),n.removeAttr("data-content"),l++):n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("> span").html(t.data[0].message).end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))},error(){n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("span").html("").end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))}})}(d.eq(o))})})})(jQuery),"function"!=typeof wu_initialize_tooltip){let t=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})},e=function(t){return jQuery(t).wu_block({message:"Please wait...",overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}}),jQuery(t)};jQuery(document).ready(function(){t()})} diff --git a/assets/js/site-maintenance.min.js b/assets/js/site-maintenance.min.js index 0a47059..ef2d707 100644 --- a/assets/js/site-maintenance.min.js +++ b/assets/js/site-maintenance.min.js @@ -1 +1 @@ -!function(e){e(document).ready((function(){e("#wu-tg-maintenance_mode").change((function(){const n=wu_block_ui("#wp-ultimo-site-maintenance-element .inside");jQuery.ajax({url:wu_site_maintenance.ajaxurl,type:"post",data:{action:"toggle_maintenance_mode",maintenance_status:e("#wu-tg-maintenance_mode").is(":checked"),site_hash:e("[name=site_hash]").val(),_wpnonce:wu_site_maintenance.nonce},success(a){n.unblock(),a.success&&(a.data.value?e("#wp-admin-bar-wu-maintenance-mode").show():e("#wp-admin-bar-wu-maintenance-mode").hide())},error(e){console.error(e)}})}))}))}(jQuery); \ No newline at end of file +(a=>{a(document).ready(function(){a("#wu-tg-maintenance_mode").change(function(){let n=wu_block_ui("#wp-ultimo-site-maintenance-element .inside");jQuery.ajax({url:wu_site_maintenance.ajaxurl,type:"post",data:{action:"toggle_maintenance_mode",maintenance_status:a("#wu-tg-maintenance_mode").is(":checked"),site_hash:a("[name=site_hash]").val(),_wpnonce:wu_site_maintenance.nonce},success(e){n.unblock(),e.success&&(e.data.value?a("#wp-admin-bar-wu-maintenance-mode").show():a("#wp-admin-bar-wu-maintenance-mode").hide())},error(e){console.error(e)}})})})})(jQuery); diff --git a/assets/js/sso.min.js b/assets/js/sso.min.js index 845a12a..ebdc9d0 100644 --- a/assets/js/sso.min.js +++ b/assets/js/sso.min.js @@ -1 +1,37 @@ -!function(n){window.wu=window.wu||{},window.is_incognito=!1,window.wu.sso_denied=function(){wu_create_cookie("wu_sso_denied",1,n.expiration_in_minutes)},window.wu.check_for_incognito_window=function(){detectIncognito(n=>window.is_incognito=n.isPrivate)},window.wu.check_for_incognito_window(),window.addEventListener("error",wu.sso_denied,!0);const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.defer=!0,o.src=n.server_url+"?_jsonp=1";const e=wu_read_cookie("wu_sso_denied");if(document.head.insertAdjacentHTML("beforeend",`\n \n `),!n.is_user_logged_in&&!e){const n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(o,n),document.body.insertAdjacentHTML("beforeend",'

 
')}window.wu.sso=function(o){const e=encodeURIComponent(window.location.href);if(200===o.code)n.use_overlay&&document.body.classList.add("sso-loading"),"must-redirect"===o.verify?window.location.replace(`${n.server_url}?return_url=${e}`):window.location.replace(`${n.server_url}?sso_verify=${o.verify}&return_url=${e}`);else{if(window.is_incognito)return n.use_overlay&&document.body.classList.add("sso-loading"),void window.location.replace(`${n.server_url}?return_url=${e}`);window.wu.sso_denied(),document.body.classList.remove("sso-loading")}},window.history.replaceState&&window.history.replaceState(null,null,n.filtered_url+window.location.hash)}(wu_sso_config); \ No newline at end of file +(n=>{window.wu=window.wu||{},window.is_incognito=!1,window.wu.sso_denied=function(){wu_create_cookie("wu_sso_denied",1,n.expiration_in_minutes)},window.wu.check_for_incognito_window=function(){detectIncognito(e=>window.is_incognito=e.isPrivate)},window.wu.check_for_incognito_window(),window.addEventListener("error",wu.sso_denied,!0);var e=document.createElement("script"),o=(e.type="text/javascript",e.async=!0,e.defer=!0,e.src=n.server_url+"?_jsonp=1",wu_read_cookie("wu_sso_denied"));document.head.insertAdjacentHTML("beforeend",` + + `),n.is_user_logged_in||o||((o=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,o),document.body.insertAdjacentHTML("beforeend",'
 
')),window.wu.sso=function(e){var o=encodeURIComponent(window.location.href);200===e.code?(n.use_overlay&&document.body.classList.add("sso-loading"),"must-redirect"===e.verify?window.location.replace(n.server_url+"?return_url="+o):window.location.replace(`${n.server_url}?sso_verify=${e.verify}&return_url=`+o)):window.is_incognito?(n.use_overlay&&document.body.classList.add("sso-loading"),window.location.replace(n.server_url+"?return_url="+o)):(window.wu.sso_denied(),document.body.classList.remove("sso-loading"))},window.history.replaceState&&window.history.replaceState(null,null,n.filtered_url+window.location.hash)})(wu_sso_config); diff --git a/assets/js/support.min.js b/assets/js/support.min.js index c4de820..670ed22 100644 --- a/assets/js/support.min.js +++ b/assets/js/support.min.js @@ -1 +1 @@ -let wu_install_support_widget_done=!1;const wu_install_support_widget=function(){!0!==wu_install_support_widget_done&&(!function(e,t,n){function a(){var e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],"complete"===t.readyState)return a();e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}(window,document,window.Beacon||function(){}),window.Beacon("init","687a385f-df79-4b37-b6a9-7114a7d3d586"),wu_install_support_widget_done=!0)},hs_beacon=document.getElementsByClassName("wu-trigger-support");hs_beacon.length&&hs_beacon[0].addEventListener("click",(function(e){!0!==wu_install_support_widget_done&&(function(e,t,n){function a(){var e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],"complete"===t.readyState)return a();e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}(window,document,window.Beacon||function(){}),window.Beacon("init","687a385f-df79-4b37-b6a9-7114a7d3d586"),wu_install_support_widget_done=!0);const t=wu_support_vars.should_use_polyfills?_wu_block_ui_polyfill("#wpcontent"):wu_block_ui("#wpcontent");e.preventDefault(),setTimeout((function(){Beacon("identify",{avatar:wu_support_vars.avatar,name:wu_support_vars.display_name,email:wu_support_vars.email,licenseKey:wu_support_vars.license_key,signature:wu_support_vars.signature}),(wu_support_vars.subject||wu_support_vars.message)&&Beacon("prefill",{subject:wu_support_vars.subject,text:wu_support_vars.message}),Beacon("on","open",(function(){t&&t.unblock()})),Beacon("open")}),5e3)}),!1); \ No newline at end of file +let wu_install_support_widget_done=!1,wu_install_support_widget=function(){var n,a,e;function t(){var e=a.getElementsByTagName("script")[0],t=a.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(t,e)}!0!==wu_install_support_widget_done&&(n=window,a=document,window.Beacon,n.Beacon=e=function(e,t,a){n.Beacon.readyQueue.push({method:e,options:t,data:a})},e.readyQueue=[],"complete"===a.readyState?t():n.attachEvent?n.attachEvent("onload",t):n.addEventListener("load",t,!1),window.Beacon("init","687a385f-df79-4b37-b6a9-7114a7d3d586"),wu_install_support_widget_done=!0)},hs_beacon=document.getElementsByClassName("wu-trigger-support");hs_beacon.length&&hs_beacon[0].addEventListener("click",function(e){wu_install_support_widget();let t=(wu_support_vars.should_use_polyfills?_wu_block_ui_polyfill:wu_block_ui)("#wpcontent");e.preventDefault(),setTimeout(function(){Beacon("identify",{avatar:wu_support_vars.avatar,name:wu_support_vars.display_name,email:wu_support_vars.email,licenseKey:wu_support_vars.license_key,signature:wu_support_vars.signature}),(wu_support_vars.subject||wu_support_vars.message)&&Beacon("prefill",{subject:wu_support_vars.subject,text:wu_support_vars.message}),Beacon("on","open",function(){t&&t.unblock()}),Beacon("open")},5e3)},!1); diff --git a/assets/js/tax-rates.min.js b/assets/js/tax-rates.min.js index fc80972..435d6c8 100644 --- a/assets/js/tax-rates.min.js +++ b/assets/js/tax-rates.min.js @@ -1 +1 @@ -!function(t){t(document).ready((function(){t("#wu-tax-rates").length&&(Vue.component("selectizer",{props:["value","id","name","model","country","state","selected","options","placeholder"],template:'',updated(){this.$nextTick((function(){const t=jQuery(this.$el).data("__options");t.data.country!==this.country&&(t.data.country=this.country,jQuery(this.$el).data("__options",t),this.$el.selectize.clear(),this.$el.selectize.clearOptions()),t.data.state!==this.state&&(t.data.state=this.state,jQuery(this.$el).data("__options",t))}))},mounted(){const t=this,e=this.$el;window.wu_selector({el:e,maxItems:1e3,options:this.options,valueField:"slug",labelField:"name",searchField:["slug","name"],create:!0,templateName:"checkout_form",data:{action:"wu_search",model:this.model,country:this.country,state:this.state,number:10}}),this.$el.selectize.on("change",(function(e){t.$emit("input",e)}))}}),window.wu_tax_rates=new Vue({el:"#wu-tax-rates",components:{vuedraggable:vuedraggable},data:()=>({dragging:!1,tax_category:"default",switching:!1,creating:!1,create_name:"",toggle:!1,loading:!0,saving:!1,initialLoading:!0,error:!1,changed:!1,data:{default:{name:"Default",rates:[]}},delete:[],saveMessage:"",errorMessage:"",rate_type:"standard_rate",editing:0,item:{title:wu_tax_ratesl10n.name,country:"",state:"",tax_rate:"",type:"regular",compound:!1}}),watch:{loading(t){!0===t?window.wu_blocked_table=wu_block_ui("table.wp-list-table"):void 0!==window.wu_blocked_table&&window.wu_blocked_table.unblock()}},mounted(){this.loading=!0,this.pull_data(!0),t(".wu-tooltip-vue").tipTip();const e=this;this.$watch("data",(function(){e.initialLoading?e.initialLoading=!1:e.changed=!0}),{deep:!0})},created(){const t=document.createEvent("Event");t.initEvent("vue_loaded",!0,!0),t.vue=this,window.dispatchEvent(t)},computed:{selected(){return t(this.data[this.tax_category].rates).filter((function(t,e){return e.selected}))}},methods:{refresh(t){t.preventDefault(),this.loading=!0,this.pull_data()},select_all(e){const a=t(e.target).is(":checked");this.data[this.tax_category].rates=t.map(this.data[this.tax_category].rates,(function(t){return t.selected=a,t}))},pull_data(){const t=this;jQuery.getJSON(ajaxurl+"?action=wu_get_tax_rates").done((function(e){t.loading=!1,t.data=e.data})).fail((function(e){t.loading=!1,t.error=!0,t.errorMessage=e.statusText}))},add_tax_category(){this.data[this.create_name]={name:this.create_name,rates:[]},this.creating=!1,this.tax_category=this.create_name},add_row(){Vue.set(this.data[this.tax_category],"rates",this.data[this.tax_category].rates.concat([{title:wu_tax_ratesl10n.name,country:"",state:"",tax_rate:"",type:"regular",compound:!1}])),this.$forceUpdate()},delete_tax_category(){const t=confirm(wu_tax_ratesl10n.confirm_delete_tax_category_message),e=this;if(t){const t=_.filter(this.data,(function(t,a){return a!==e.tax_category}));e.data=t.length?t:{default:{name:"Default",rates:[]}},e.tax_category=Object.keys(e.data).shift()}},delete_rows(){this.delete=this.delete.concat(this.selected.get());if(confirm(wu_tax_ratesl10n.confirm_message)){const e=t(this.data[this.tax_category].rates).filter((function(t,e){return!e.selected}));Vue.set(this.data[this.tax_category],"rates",e.get()),this.$forceUpdate()}},save(){const e=this;e.saving=!0,void 0!==e.data[e.tax_category].rates&&_.map(e.data[e.tax_category].rates,(t,e)=>(t.priority=10*e,t)),t.post({url:ajaxurl+"?action=wu_save_tax_rates&"+t("#nonce_form").serialize(),data:JSON.stringify({tax_rates:e.data,tax_category:e.tax_category}),dataType:"json",contentType:"application/json; charset=utf-8"}).success((function(t){e.saving=!1,e.changed=!1,e.delete=[],e.saveMessage=t.message,"success"===t.code&&(e.loading=!0,e.initialLoading=!0,e.pull_data(),e.tax_category=t.tax_category),setInterval((function(){e.saveMessage=""}),6e3)}))}}}))}))}(jQuery); \ No newline at end of file +(a=>{a(document).ready(function(){a("#wu-tax-rates").length&&(Vue.component("selectizer",{props:["value","id","name","model","country","state","selected","options","placeholder"],template:'',updated(){this.$nextTick(function(){var t=jQuery(this.$el).data("__options");t.data.country!==this.country&&(t.data.country=this.country,jQuery(this.$el).data("__options",t),this.$el.selectize.clear(),this.$el.selectize.clearOptions()),t.data.state!==this.state&&(t.data.state=this.state,jQuery(this.$el).data("__options",t))})},mounted(){let e=this;var t=this.$el;window.wu_selector({el:t,maxItems:1e3,options:this.options,valueField:"slug",labelField:"name",searchField:["slug","name"],create:!0,templateName:"checkout_form",data:{action:"wu_search",model:this.model,country:this.country,state:this.state,number:10}}),this.$el.selectize.on("change",function(t){e.$emit("input",t)})}}),window.wu_tax_rates=new Vue({el:"#wu-tax-rates",components:{vuedraggable:vuedraggable},data(){return{dragging:!1,tax_category:"default",switching:!1,creating:!1,create_name:"",toggle:!1,loading:!0,saving:!1,initialLoading:!0,error:!1,changed:!1,data:{default:{name:"Default",rates:[]}},delete:[],saveMessage:"",errorMessage:"",rate_type:"standard_rate",editing:0,item:{title:wu_tax_ratesl10n.name,country:"",state:"",tax_rate:"",type:"regular",compound:!1}}},watch:{loading(t){!0===t?window.wu_blocked_table=wu_block_ui("table.wp-list-table"):void 0!==window.wu_blocked_table&&window.wu_blocked_table.unblock()}},mounted(){this.loading=!0,this.pull_data(!0),a(".wu-tooltip-vue").tipTip();let t=this;this.$watch("data",function(){t.initialLoading?t.initialLoading=!1:t.changed=!0},{deep:!0})},created(){var t=document.createEvent("Event");t.initEvent("vue_loaded",!0,!0),t.vue=this,window.dispatchEvent(t)},computed:{selected(){return a(this.data[this.tax_category].rates).filter(function(t,e){return e.selected})}},methods:{refresh(t){t.preventDefault(),this.loading=!0,this.pull_data()},select_all(t){let e=a(t.target).is(":checked");this.data[this.tax_category].rates=a.map(this.data[this.tax_category].rates,function(t){return t.selected=e,t})},pull_data(){let e=this;jQuery.getJSON(ajaxurl+"?action=wu_get_tax_rates").done(function(t){e.loading=!1,e.data=t.data}).fail(function(t){e.loading=!1,e.error=!0,e.errorMessage=t.statusText})},add_tax_category(){this.data[this.create_name]={name:this.create_name,rates:[]},this.creating=!1,this.tax_category=this.create_name},add_row(){Vue.set(this.data[this.tax_category],"rates",this.data[this.tax_category].rates.concat([{title:wu_tax_ratesl10n.name,country:"",state:"",tax_rate:"",type:"regular",compound:!1}])),this.$forceUpdate()},delete_tax_category(){var t=confirm(wu_tax_ratesl10n.confirm_delete_tax_category_message);let a=this;t&&(t=_.filter(this.data,function(t,e){return e!==a.tax_category}),a.data=t.length?t:{default:{name:"Default",rates:[]}},a.tax_category=Object.keys(a.data).shift())},delete_rows(){var t;this.delete=this.delete.concat(this.selected.get()),confirm(wu_tax_ratesl10n.confirm_message)&&(t=a(this.data[this.tax_category].rates).filter(function(t,e){return!e.selected}),Vue.set(this.data[this.tax_category],"rates",t.get()),this.$forceUpdate())},save(){let e=this;e.saving=!0,void 0!==e.data[e.tax_category].rates&&_.map(e.data[e.tax_category].rates,(t,e)=>(t.priority=10*e,t)),a.post({url:ajaxurl+"?action=wu_save_tax_rates&"+a("#nonce_form").serialize(),data:JSON.stringify({tax_rates:e.data,tax_category:e.tax_category}),dataType:"json",contentType:"application/json; charset=utf-8"}).success(function(t){e.saving=!1,e.changed=!1,e.delete=[],e.saveMessage=t.message,"success"===t.code&&(e.loading=!0,e.initialLoading=!0,e.pull_data(),e.tax_category=t.tax_category),setInterval(function(){e.saveMessage=""},6e3)})}}}))})})(jQuery); diff --git a/assets/js/tax-statistics.min.js b/assets/js/tax-statistics.min.js index cc7882e..ff30cfd 100644 --- a/assets/js/tax-statistics.min.js +++ b/assets/js/tax-statistics.min.js @@ -1 +1 @@ -!function(){if(!document.getElementById("wp-ultimo-taxes"))return;new Vue({el:"#wp-ultimo-taxes",components:{apexchart:window.VueApexCharts},data:{chart_options:{mrr_growth:{series:[{name:wu_tax_statistics_vars.i18n.net_profit_label,data:[wu_tax_statistics_vars.data.january.net_profit,wu_tax_statistics_vars.data.february.net_profit,wu_tax_statistics_vars.data.march.net_profit,wu_tax_statistics_vars.data.april.net_profit,wu_tax_statistics_vars.data.may.net_profit,wu_tax_statistics_vars.data.june.net_profit,wu_tax_statistics_vars.data.july.net_profit,wu_tax_statistics_vars.data.august.net_profit,wu_tax_statistics_vars.data.september.net_profit,wu_tax_statistics_vars.data.october.net_profit,wu_tax_statistics_vars.data.november.net_profit,wu_tax_statistics_vars.data.december.net_profit]},{name:wu_tax_statistics_vars.i18n.taxes_label,data:[wu_tax_statistics_vars.data.january.tax_total,wu_tax_statistics_vars.data.february.tax_total,wu_tax_statistics_vars.data.march.tax_total,wu_tax_statistics_vars.data.april.tax_total,wu_tax_statistics_vars.data.may.tax_total,wu_tax_statistics_vars.data.june.tax_total,wu_tax_statistics_vars.data.july.tax_total,wu_tax_statistics_vars.data.august.tax_total,wu_tax_statistics_vars.data.september.tax_total,wu_tax_statistics_vars.data.october.tax_total,wu_tax_statistics_vars.data.november.tax_total,wu_tax_statistics_vars.data.december.tax_total]}],chartOptions:{chart:{type:"bar",height:300,stacked:!0,toolbar:{show:!1},zoom:{enabled:!0}},dataLabels:{enabled:!1,maxItems:0},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],colors:["#2c3e50","#95a5a6"],plotOptions:{bar:{horizontal:!1,columnWidth:"40%",endingShape:"rounded",startingShape:"rounded"}},xaxis:{categories:wu_tax_statistics_vars.month_list,position:"bottom",axisBorder:{show:!0},axisTicks:{show:!0},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0}},yaxis:{labels:{formatter:function(t){return t>=0?wu_format_money(t):"-"+wu_format_money(t)}}},legend:{position:"top",offsetY:0},fill:{opacity:1}}}}}})}(); \ No newline at end of file +document.getElementById("wp-ultimo-taxes")&&new Vue({el:"#wp-ultimo-taxes",components:{apexchart:window.VueApexCharts},data:{chart_options:{mrr_growth:{series:[{name:wu_tax_statistics_vars.i18n.net_profit_label,data:[wu_tax_statistics_vars.data.january.net_profit,wu_tax_statistics_vars.data.february.net_profit,wu_tax_statistics_vars.data.march.net_profit,wu_tax_statistics_vars.data.april.net_profit,wu_tax_statistics_vars.data.may.net_profit,wu_tax_statistics_vars.data.june.net_profit,wu_tax_statistics_vars.data.july.net_profit,wu_tax_statistics_vars.data.august.net_profit,wu_tax_statistics_vars.data.september.net_profit,wu_tax_statistics_vars.data.october.net_profit,wu_tax_statistics_vars.data.november.net_profit,wu_tax_statistics_vars.data.december.net_profit]},{name:wu_tax_statistics_vars.i18n.taxes_label,data:[wu_tax_statistics_vars.data.january.tax_total,wu_tax_statistics_vars.data.february.tax_total,wu_tax_statistics_vars.data.march.tax_total,wu_tax_statistics_vars.data.april.tax_total,wu_tax_statistics_vars.data.may.tax_total,wu_tax_statistics_vars.data.june.tax_total,wu_tax_statistics_vars.data.july.tax_total,wu_tax_statistics_vars.data.august.tax_total,wu_tax_statistics_vars.data.september.tax_total,wu_tax_statistics_vars.data.october.tax_total,wu_tax_statistics_vars.data.november.tax_total,wu_tax_statistics_vars.data.december.tax_total]}],chartOptions:{chart:{type:"bar",height:300,stacked:!0,toolbar:{show:!1},zoom:{enabled:!0}},dataLabels:{enabled:!1,maxItems:0},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],colors:["#2c3e50","#95a5a6"],plotOptions:{bar:{horizontal:!1,columnWidth:"40%",endingShape:"rounded",startingShape:"rounded"}},xaxis:{categories:wu_tax_statistics_vars.month_list,position:"bottom",axisBorder:{show:!0},axisTicks:{show:!0},crosshairs:{fill:{type:"gradient",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}}},tooltip:{enabled:!0}},yaxis:{labels:{formatter:function(t){return 0<=t?wu_format_money(t):"-"+wu_format_money(t)}}},legend:{position:"top",offsetY:0},fill:{opacity:1}}}}}}); diff --git a/assets/js/template-previewer.min.js b/assets/js/template-previewer.min.js index 1733bcb..d4e5761 100644 --- a/assets/js/template-previewer.min.js +++ b/assets/js/template-previewer.min.js @@ -1 +1 @@ -(()=>{"use strict";const e=(e,t,n)=>{let o;if(n){const e=new Date;e.setTime(e.getTime()+24*n*60*60*1e3),o="; expires="+e.toUTCString()}else o="";document.cookie=e+"="+t+o+"; path=/"},t=e=>{const t=e+"=",n=document.cookie.split(";");for(let e=0;e{var e;return null==(e=window.top)?void 0:e.postMessage("wu_preview_changed","*")})),e("wu_template","");document.addEventListener("DOMContentLoaded",(()=>{var n;((e,n)=>{let o=t(e);setInterval((function(){const l=t(e);l!==o&&(o=l,n(o))}),100)})("wu_selected_products",(()=>document.location.reload()));const o=document.getElementById("iframe"),l=null==o?void 0:o.contentWindow;null==l||l.postMessage("Hello to iframe from parent!","https://"+location.hostname);document.querySelectorAll("#action-select, #action-select2").forEach((t=>t.addEventListener("click",(t=>{t.preventDefault();const n=document.getElementById("template-selector").value;e("wu_template",n),window.close()})))),null==o||o.addEventListener("load",(()=>{var e;if((()=>{var e;window.addEventListener("touchstart",(()=>{}));const t=(null==(e=null==navigator?void 0:navigator.userAgentData)?void 0:e.platform)||(null==navigator?void 0:navigator.platform)||"";return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(t)})()){const t=null==(e=document.getElementById("iframe"))?void 0:e.getElementsByTagName("body")[0];null==t||t.classList.add("wu-fix-safari-preview"),(null==t?void 0:t.style)&&Object.assign(t.style,{position:"fixed",top:0,right:0,bottom:0,left:0,"overflow-y":"scroll","-webkit-overflow-scrolling":"touch"})}}));const i=()=>{var e;const t=(null==(e=document.getElementById("switcher"))?void 0:e.offsetHeight)||0;o.style.height=document.body.offsetHeight-t+"px"};window.addEventListener("resize",i),i();const a=()=>{document.querySelectorAll("#theme_list ul").forEach((e=>e.style.display="none"===e.style.display?"block":"none"))};a(),null==(n=document.getElementById("template_selector"))||n.addEventListener("click",(e=>{e.preventDefault(),a()})),document.querySelectorAll("#theme_list ul li a").forEach((e=>e.addEventListener("click",(e=>{e.preventDefault(),a();const t=e.currentTarget,n=t.getAttribute("href")||"";o.src=t.getAttribute("data-frame")||"";document.getElementById("template_selector").firstChild.nodeValue=t.getAttribute("data-title")||"",window.history.pushState({},"",n)}))));const r=document.getElementById("header-bar");r&&(r.style.display="none");const s={desktop:"100%",tabletlandscape:"1040px",tabletportrait:"788px",mobilelandscape:"500px",mobileportrait:"340px",placebo:"0px"};document.querySelectorAll(".responsive a").forEach((e=>e.addEventListener("click",(e=>{const t=e.currentTarget,n=Array.from(t.classList).reduce(((e,t)=>(s[t]&&(e=s[t]),e)),"");o.style.width=n,o.style.transition="200ms",document.querySelectorAll(".responsive a").forEach((e=>e.classList.remove("active"))),t.classList.add("active")})))),null!==navigator.userAgent.match(/iPad/i)&&(o.style.height="100%")}))})(); \ No newline at end of file +(()=>{let t=(e,t,l)=>{let n;var o;n=l?((o=new Date).setTime(o.getTime()+24*l*60*60*1e3),"; expires="+o.toUTCString()):"",document.cookie=e+"="+t+n+"; path=/"},a=e=>{var l=e+"=",n=document.cookie.split(";");for(let t=0;t{var e;return null==(e=window.top)?void 0:e.postMessage("wu_preview_changed","*")}),t("wu_template","");document.addEventListener("DOMContentLoaded",()=>{((t,l)=>{let n=a(t);setInterval(function(){var e=a(t);e!==n&&(n=e,l(n))},100)})("wu_selected_products",()=>document.location.reload());let n=document.getElementById("iframe");var e=null==n?void 0:n.contentWindow;null!=e&&e.postMessage("Hello to iframe from parent!","https://"+location.hostname);document.querySelectorAll("#action-select, #action-select2").forEach(e=>e.addEventListener("click",e=>{e.preventDefault();e=document.getElementById("template-selector").value;t("wu_template",e),window.close()})),null!=n&&n.addEventListener("load",()=>{var e;window.addEventListener("touchstart",()=>{}),e=(null==(e=null==navigator?void 0:navigator.userAgentData)?void 0:e.platform)||(null==navigator?void 0:navigator.platform)||"",["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(e)&&(null!=(e=null==(e=document.getElementById("iframe"))?void 0:e.getElementsByTagName("body")[0])&&e.classList.add("wu-fix-safari-preview"),null!=e)&&e.style&&Object.assign(e.style,{position:"fixed",top:0,right:0,bottom:0,left:0,"overflow-y":"scroll","-webkit-overflow-scrolling":"touch"})});var e=()=>{var e=(null==(e=document.getElementById("switcher"))?void 0:e.offsetHeight)||0;n.style.height=document.body.offsetHeight-e+"px"};window.addEventListener("resize",e),e();let o=()=>{document.querySelectorAll("#theme_list ul").forEach(e=>e.style.display="none"===e.style.display?"block":"none")};o(),null!=(e=document.getElementById("template_selector"))&&e.addEventListener("click",e=>{e.preventDefault(),o()}),document.querySelectorAll("#theme_list ul li a").forEach(e=>e.addEventListener("click",e=>{e.preventDefault(),o();var e=e.currentTarget,t=e.getAttribute("href")||"",l=(n.src=e.getAttribute("data-frame")||"",document.getElementById("template_selector"));l.firstChild.nodeValue=e.getAttribute("data-title")||"",window.history.pushState({},"",t)}));e=document.getElementById("header-bar");e&&(e.style.display="none");let l={desktop:"100%",tabletlandscape:"1040px",tabletportrait:"788px",mobilelandscape:"500px",mobileportrait:"340px",placebo:"0px"};document.querySelectorAll(".responsive a").forEach(e=>e.addEventListener("click",e=>{var e=e.currentTarget,t=Array.from(e.classList).reduce((e,t)=>e=l[t]?l[t]:e,"");n.style.width=t,n.style.transition="200ms",document.querySelectorAll(".responsive a").forEach(e=>e.classList.remove("active")),e.classList.add("active")})),null!==navigator.userAgent.match(/iPad/i)&&(n.style.height="100%")})})(); diff --git a/assets/js/template-switching.min.js b/assets/js/template-switching.min.js index 71b0635..8624cd0 100644 --- a/assets/js/template-switching.min.js +++ b/assets/js/template-switching.min.js @@ -1 +1 @@ -!function(t,e){e.addAction("wu_checkout_loaded","nextpress/wp-ultimo",(function(){wu_create_cookie("wu_template",!1),wu_listen_to_cookie_change("wu_template",(function(t){window.wu_template_switching.template_id=t}))})),t(document).ready((function(){const i={functional:!0,template:"#dynamic",props:["template"],render(t,e){const i=e.props.template;return t(i?{template:i}:"
nbsp;
")}};e.doAction("wu_checkout_loaded"),window.wu_template_switching=new Vue({el:"#wp-ultimo-form-wu-template-switching-form",data:()=>({template_id:0,original_template_id:-1,template_category:"",stored_templates:{},confirm_switch:0,ready:!1}),directives:{init:{bind(t,e,i){i.context[e.arg]=e.value}}},components:{dynamic:i},watch:{ready(){const t=this;!1!==t.ready&&t.switch_template()}},methods:{get_template(t,e){void 0===e.id&&(e.id="default");const i=t+"/"+e.id;if(void 0!==this.stored_templates[i])return this.stored_templates[i];const o={duration:this.duration,duration_unit:this.duration_unit,products:this.products,...e};return this.fetch_template(t,o),'
Loading
'},fetch_template(t,e){const i=this;void 0===e.id&&(e.id="default"),this.request("wu_render_field_template",{template:t,attributes:e},(function(o){const a=t+"/"+e.id;o.success?Vue.set(i.stored_templates,a,o.data.html):Vue.set(i.stored_templates,a,"
"+o.data[0].message+"
")}))},switch_template(){this.block(),this.request("wu_switch_template",{template_id:this.template_id},(function(t){"string"==typeof t.data.redirect_url&&(window.location.href=t.data.redirect_url)}))},block(){const e=jQuery(this.$el).parents().filter((function(){return"rgba(0, 0, 0, 0)"!==t(this).css("backgroundColor")})).first().css("backgroundColor");jQuery(this.$el).wu_block({message:'
',overlayCSS:{backgroundColor:e||"#ffffff",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}})},unblock(){jQuery(this.$el).wu_unblock()},request(t,e,i,o){jQuery.ajax({method:"POST",url:wu_template_switching_params.ajaxurl+"&action="+t,data:e,success:i,error:o})}}})}))}(jQuery,wp.hooks); \ No newline at end of file +((e,t)=>{t.addAction("wu_checkout_loaded","nextpress/wp-ultimo",function(){wu_create_cookie("wu_template",!1),wu_listen_to_cookie_change("wu_template",function(t){window.wu_template_switching.template_id=t})}),e(document).ready(function(){t.doAction("wu_checkout_loaded"),window.wu_template_switching=new Vue({el:"#wp-ultimo-form-wu-template-switching-form",data(){return{template_id:0,original_template_id:-1,template_category:"",stored_templates:{},confirm_switch:0,ready:!1}},directives:{init:{bind(t,e,i){i.context[e.arg]=e.value}}},components:{dynamic:{functional:!0,template:"#dynamic",props:["template"],render(t,e){e=e.props.template;return t(e?{template:e}:"
nbsp;
")}}},watch:{ready(){!1!==this.ready&&this.switch_template()}},methods:{get_template(t,e){void 0===e.id&&(e.id="default");var i=t+"/"+e.id;return void 0!==this.stored_templates[i]?this.stored_templates[i]:(i={duration:this.duration,duration_unit:this.duration_unit,products:this.products,...e},this.fetch_template(t,i),'
Loading
')},fetch_template(i,a){let o=this;void 0===a.id&&(a.id="default"),this.request("wu_render_field_template",{template:i,attributes:a},function(t){var e=i+"/"+a.id;t.success?Vue.set(o.stored_templates,e,t.data.html):Vue.set(o.stored_templates,e,"
"+t.data[0].message+"
")})},switch_template(){this.block(),this.request("wu_switch_template",{template_id:this.template_id},function(t){"string"==typeof t.data.redirect_url&&(window.location.href=t.data.redirect_url)})},block(){var t=jQuery(this.$el).parents().filter(function(){return"rgba(0, 0, 0, 0)"!==e(this).css("backgroundColor")}).first().css("backgroundColor");jQuery(this.$el).wu_block({message:'
',overlayCSS:{backgroundColor:t||"#ffffff",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}})},unblock(){jQuery(this.$el).wu_unblock()},request(t,e,i,a){jQuery.ajax({method:"POST",url:wu_template_switching_params.ajaxurl+"&action="+t,data:e,success:i,error:a})}}})})})(jQuery,wp.hooks); diff --git a/assets/js/thank-you.min.js b/assets/js/thank-you.min.js index d47565a..d9d0ac8 100644 --- a/assets/js/thank-you.min.js +++ b/assets/js/thank-you.min.js @@ -1 +1 @@ -(()=>{"use strict";const e=(e,t=!1)=>({classes:[],has_icon:!1,original_value:e.innerHTML,get_icon(){return this.has_icon?'':""},clear_classes(){e.classList.remove(...this.classes)},add_classes(t){this.classes=t,e.classList.add(...t)},text(t,s,n=!1){return this.clear_classes(),n&&(this.has_icon=!this.has_icon),e.animate([{opacity:"1"},{opacity:"0.75"}],{duration:300,iterations:1}),setTimeout((()=>{this.add_classes(s??[]),e.innerHTML=this.get_icon()+t,e.style.opacity="0.75"}),300),this},done(t=5e3){return setTimeout((()=>{e.animate([{opacity:"0.75"},{opacity:"1"}],{duration:300,iterations:1}),setTimeout((()=>{this.clear_classes(),e.innerHTML=this.original_value,e.style.opacity="1"}),300)}),t),this}});document.addEventListener("DOMContentLoaded",(()=>{if(document.querySelectorAll(".wu-resend-verification-email").forEach((t=>t.addEventListener("click",(async s=>{s.preventDefault();const n=e(t,!0).text(wu_thank_you.i18n.resending_verification_email,["wu-text-gray-400"]),i=await fetch(wu_thank_you.ajaxurl,{method:"POST",body:JSON.stringify({action:"wu_resend_verification_email",_ajax_nonce:wu_thank_you.resend_verification_email_nonce})}),a=await i.json();a.success?n.text(wu_thank_you.i18n.email_sent,["wu-text-green-700"],!0).done():n.text(a.data[0].message,["wu-text-red-600"],!0).done()})))),!document.getElementById("wu-sites"))return;const{Vue:t,defineComponent:s}=window.wu_vue;window.wu_sites=new t(s({el:"#wu-sites",data:()=>({creating:wu_thank_you.creating,next_queue:parseInt(wu_thank_you.next_queue,10)+5,random:0,progress_in_seconds:0}),computed:{progress(){return Math.round(this.progress_in_seconds/this.next_queue*100)}},mounted(){if(wu_thank_you.has_pending_site)return void this.check_site_created();if(this.next_queue<=0||wu_thank_you.creating)return;const e=setInterval((()=>{this.progress_in_seconds++,this.progress_in_seconds>=this.next_queue&&(clearInterval(e),window.location.reload()),this.progress_in_seconds%5==0&&fetch("/wp-cron.php?doing_wp_cron")}),1e3)},methods:{async check_site_created(){const e=new URL(wu_thank_you.ajaxurl);e.searchParams.set("action","wu_check_pending_site_created"),e.searchParams.set("membership_hash",wu_thank_you.membership_hash);const t=await fetch(e).then((e=>e.json()));"completed"===t.publish_status?window.location.reload():(this.creating="running"===t.publish_status,setTimeout(this.check_site_created,3e3))}}}))}))})(); \ No newline at end of file +document.addEventListener("DOMContentLoaded",()=>{var e,t;document.querySelectorAll(".wu-resend-verification-email").forEach(s=>s.addEventListener("click",async e=>{e.preventDefault();var n,e={classes:[],has_icon:!1,original_value:(n=s).innerHTML,get_icon(){return this.has_icon?'':""},clear_classes(){n.classList.remove(...this.classes)},add_classes(e){this.classes=e,n.classList.add(...e)},text(e,t,s=!1){return this.clear_classes(),s&&(this.has_icon=!this.has_icon),n.animate([{opacity:"1"},{opacity:"0.75"}],{duration:300,iterations:1}),setTimeout(()=>{this.add_classes(t??[]),n.innerHTML=this.get_icon()+e,n.style.opacity="0.75"},300),this},done(e=5e3){return setTimeout(()=>{n.animate([{opacity:"0.75"},{opacity:"1"}],{duration:300,iterations:1}),setTimeout(()=>{this.clear_classes(),n.innerHTML=this.original_value,n.style.opacity="1"},300)},e),this}}.text(wu_thank_you.i18n.resending_verification_email,["wu-text-gray-400"]),t=await(await fetch(wu_thank_you.ajaxurl,{method:"POST",body:JSON.stringify({action:"wu_resend_verification_email",_ajax_nonce:wu_thank_you.resend_verification_email_nonce})})).json();(t.success?e.text(wu_thank_you.i18n.email_sent,["wu-text-green-700"],!0):e.text(t.data[0].message,["wu-text-red-600"],!0)).done()})),document.getElementById("wu-sites")&&({Vue:e,defineComponent:t}=window.wu_vue,window.wu_sites=new e(t({el:"#wu-sites",data(){return{creating:wu_thank_you.creating,next_queue:parseInt(wu_thank_you.next_queue,10)+5,random:0,progress_in_seconds:0}},computed:{progress(){return Math.round(this.progress_in_seconds/this.next_queue*100)}},mounted(){if(wu_thank_you.has_pending_site)this.check_site_created();else if(!(this.next_queue<=0||wu_thank_you.creating)){let e=setInterval(()=>{this.progress_in_seconds++,this.progress_in_seconds>=this.next_queue&&(clearInterval(e),window.location.reload()),this.progress_in_seconds%5==0&&fetch("/wp-cron.php?doing_wp_cron")},1e3)}},methods:{async check_site_created(){var e=new URL(wu_thank_you.ajaxurl),e=(e.searchParams.set("action","wu_check_pending_site_created"),e.searchParams.set("membership_hash",wu_thank_you.membership_hash),await fetch(e).then(e=>e.json()));"completed"===e.publish_status?window.location.reload():(this.creating="running"===e.publish_status,setTimeout(this.check_site_created,3e3))}}})))}); diff --git a/assets/js/tours.min.js b/assets/js/tours.min.js index 2e155ef..15bd0a8 100644 --- a/assets/js/tours.min.js +++ b/assets/js/tours.min.js @@ -1 +1 @@ -!function(t){t(document).ready((function(){_.each(wu_tours,(function(n,u){window[u]=new Shepherd.Tour({useModalOverlay:!0,includeStyles:!1,styleVariables:{arrowSize:1.1},defaultStepOptions:{classes:"wu-p-2 wu-bg-white wu-shadow-sm wu-rounded wu-text-left wu-text-gray-700",scrollTo:{block:"center",behavior:"smooth"},tippyOptions:{zIndex:999999,onCreate(t){t.popper.classList.add("wu-styling");const n=t.popperChildren.content.children[0].children[0].children;n[0].children[0]&&n[0].children[0].classList.add("wu-p-2","wu-pb-0","wu-m-0","wu--mb-1","wu-text-gray-800"),n[1].classList.add("wu-p-2"),n[2].classList.add("wu--mt-1","wu-p-2","wu-bg-gray-200","wu-rounded","wu-text-right")}}}}),window[u].on("complete",(function(){t.ajax({url:ajaxurl,data:{action:"wu_mark_tour_as_finished",tour_id:u,nonce:wu_tours_vars.nonce}})})),_.each(n,(function(t,e){const o=e+1===n.length;t.buttons=_.isArray(t.buttons)?t.buttons:[],t.buttons=_.map(t.buttons,(function(t){return t.action=function(t,n="_blank"){return()=>{window.open(t,n)}}(t.url,t.target),t})),window[u].addStep({...t,buttons:[...t.buttons,{classes:"button button-primary wu-text-xs sm:wu-normal-case",text:o?wu_tours_vars.i18n.finish:wu_tours_vars.i18n.next,action:window[u].next}]})})),window[u].start()}))}))}(jQuery); \ No newline at end of file +(t=>{t(document).ready(function(){_.each(wu_tours,function(e,u){window[u]=new Shepherd.Tour({useModalOverlay:!0,includeStyles:!1,styleVariables:{arrowSize:1.1},defaultStepOptions:{classes:"wu-p-2 wu-bg-white wu-shadow-sm wu-rounded wu-text-left wu-text-gray-700",scrollTo:{block:"center",behavior:"smooth"},tippyOptions:{zIndex:999999,onCreate(t){t.popper.classList.add("wu-styling");t=t.popperChildren.content.children[0].children[0].children;t[0].children[0]&&t[0].children[0].classList.add("wu-p-2","wu-pb-0","wu-m-0","wu--mb-1","wu-text-gray-800"),t[1].classList.add("wu-p-2"),t[2].classList.add("wu--mt-1","wu-p-2","wu-bg-gray-200","wu-rounded","wu-text-right")}}}}),window[u].on("complete",function(){t.ajax({url:ajaxurl,data:{action:"wu_mark_tour_as_finished",tour_id:u,nonce:wu_tours_vars.nonce}})}),_.each(e,function(t,n){n=n+1===e.length;t.buttons=_.isArray(t.buttons)?t.buttons:[],t.buttons=_.map(t.buttons,function(t){var n,e;return t.action=([n,e="_blank"]=[t.url,t.target],()=>{window.open(n,e)}),t}),window[u].addStep({...t,buttons:[...t.buttons,{classes:"button button-primary wu-text-xs sm:wu-normal-case",text:n?wu_tours_vars.i18n.finish:wu_tours_vars.i18n.next,action:window[u].next}]})}),window[u].start()})})})(jQuery); diff --git a/assets/js/url-preview.min.js b/assets/js/url-preview.min.js index cca1073..f49503b 100644 --- a/assets/js/url-preview.min.js +++ b/assets/js/url-preview.min.js @@ -1 +1 @@ -!function(t){t(document).ready((function(){t(".login").on("keyup","#field-site_url",(function(n){n.preventDefault();const e=t(this);t("#wu-your-site").text(e.val())})),t(".login").on("keyup","#field-site_url",(function(n){n.preventDefault();const e=t(this);t("#wu-your-site").text(e.val())})),t(".login").on("change","#domain_option",(function(n){n.preventDefault();const e=t(this);t("#wu-site-domain").text(e.val())}))}))}(jQuery); \ No newline at end of file +(e=>{e(document).ready(function(){e(".login").on("keyup","#field-site_url",function(t){t.preventDefault();t=e(this);e("#wu-your-site").text(t.val())}),e(".login").on("keyup","#field-site_url",function(t){t.preventDefault();t=e(this);e("#wu-your-site").text(t.val())}),e(".login").on("change","#domain_option",function(t){t.preventDefault();t=e(this);e("#wu-site-domain").text(t.val())})})})(jQuery); diff --git a/assets/js/view-logs.min.js b/assets/js/view-logs.min.js index d805d5b..b32a7d5 100644 --- a/assets/js/view-logs.min.js +++ b/assets/js/view-logs.min.js @@ -1 +1 @@ -!function(o){o(document).ready((function(){wu_log_payload=new Vue({el:"#wu_payload",data:()=>({payload:"",log:o("select[name=log_file]").val(),loading:!0}),watch:{log(){this.get_log_payload()}},methods:{get_log_payload(){const e=wu_block_ui("#wu_payload_content"),t=this;t.loading=!0,o.ajax({method:"post",url:ajaxurl,data:{action:"wu_handle_view_logs",file:t.log},success(o){t.payload=o.data.contents,t.loading=!1,e.unblock();try{history.pushState({},null,"?page=wp-ultimo-view-logs&log_file="+t.log)}catch(o){console.warn("Browser does not support pushState.",o)}}})}},mounted(){this.get_log_payload()}}),o(document).on("change","select[name=log_file]",(function(){wu_log_payload.log=o("select[name=log_file]").val()}));new ClipboardJS(".btn-clipboard").on("success",(function(e){const t=o(e.trigger),l=t.text();t.attr("disabled","disabled").text(wu_view_logs.i18n.copied),setTimeout((function(){t.text(l).removeAttr("disabled")}),3e3)}))}))}(jQuery); \ No newline at end of file +(t=>{t(document).ready(function(){wu_log_payload=new Vue({el:"#wu_payload",data(){return{payload:"",log:t("select[name=log_file]").val(),loading:!0}},watch:{log(){this.get_log_payload()}},methods:{get_log_payload(){let o=wu_block_ui("#wu_payload_content"),l=this;l.loading=!0,t.ajax({method:"post",url:ajaxurl,data:{action:"wu_handle_view_logs",file:l.log},success(e){l.payload=e.data.contents,l.loading=!1,o.unblock();try{history.pushState({},null,"?page=wp-ultimo-view-logs&log_file="+l.log)}catch(e){console.warn("Browser does not support pushState.",e)}}})}},mounted(){this.get_log_payload()}}),t(document).on("change","select[name=log_file]",function(){wu_log_payload.log=t("select[name=log_file]").val()}),new ClipboardJS(".btn-clipboard").on("success",function(e){let o=t(e.trigger),l=o.text();o.attr("disabled","disabled").text(wu_view_logs.i18n.copied),setTimeout(function(){o.text(l).removeAttr("disabled")},3e3)})})})(jQuery); diff --git a/assets/js/visits-counter.min.js b/assets/js/visits-counter.min.js index 5c5bf5b..f5925ae 100644 --- a/assets/js/visits-counter.min.js +++ b/assets/js/visits-counter.min.js @@ -1,3 +1 @@ -(() => { -"use strict";const CreateCookie=(name,value,days)=>{let expires;if(days){const date=new Date;date.setTime(date.getTime()+days*24*60*60*1e3),expires="; expires="+date.toUTCString()}else expires="";document.cookie=name+"="+value+expires+"; path=/"},ReadCookie=name=>{const nameEQ=name+"=",ca=document.cookie.split(";");for(let i=0;i{if(ReadCookie("WUVISIT")==="1")return;const countVisit2=async()=>{const url=new URL(wu_visits_counter.ajaxurl);url.searchParams.set("action","wu_count_visits"),url.searchParams.set("code",wu_visits_counter.code),await fetch(url),CreateCookie("WUVISIT","1",1)};document.addEventListener("DOMContentLoaded",()=>{setTimeout(function(){countVisit2()},1e4)})};countVisit(); -})() \ No newline at end of file +(()=>{var e=(e=>{var n=e+"=",i=document.cookie.split(";");for(let t=0;t{var e=new URL(wu_visits_counter.ajaxurl);e.searchParams.set("action","wu_count_visits"),e.searchParams.set("code",wu_visits_counter.code),await fetch(e),((e,t,n)=>{let i;var r;i=n?((r=new Date).setTime(r.getTime()+24*n*60*60*1e3),"; expires="+r.toUTCString()):"",document.cookie=e+"="+t+i+"; path=/"})("WUVISIT","1",1)};document.addEventListener("DOMContentLoaded",()=>{setTimeout(function(){e()},1e4)})}})(); diff --git a/assets/js/vue-apps.min.js b/assets/js/vue-apps.min.js index 91cd7a1..37cf6d2 100644 --- a/assets/js/vue-apps.min.js +++ b/assets/js/vue-apps.min.js @@ -1,3 +1 @@ -(() => { -"use strict";const{Vue:Vue$1,defineComponent}=window.wu_vue||{},hooks=wp.hooks||{},loadApp=(element,app_id,callback=null)=>{window["wu_"+app_id]&&!["add_checkout_form_field"].includes(app_id)||(window["wu_"+app_id]=new Vue$1(defineComponent({name:typeof app_id=="string"?app_id:"",el:element,directives:{init:{bind(el,binding,vnode){vnode.context[binding.arg]=binding.value}},initempty:{bind(el,binding,vnode){vnode.context[binding.arg]===""&&(vnode.context[binding.arg]=binding.value)}}},data(){let prefix=wu_settings.currency_symbol,suffix="";wu_settings.currency_position==="%v%s"?(prefix="",suffix=wu_settings.currency_symbol):wu_settings.currency_position==="%s %v"?prefix=wu_settings.currency_symbol+" ":wu_settings.currency_position==="%v %s"&&(prefix="",suffix=" "+wu_settings.currency_symbol);const settings={money_settings:{prefix,suffix,decimal:wu_settings.decimal_separator,thousands:wu_settings.thousand_separator,precision:parseInt(wu_settings.precision,10),masked:!1}};return Object.assign({},JSON.parse(element.dataset.state||"{}"),settings)},computed:{hooks:()=>hooks,console:()=>console,window:()=>window,shortcode(){return typeof this.id>"u"||typeof this.attributes>"u"?"":"["+(this.id+" "+Object.entries(this.attributes).map(([key,value])=>value===this.defaults[key]||typeof value=="object"||this.attributes[key+"_shortcode_requires"]&&Object.entries(this.attributes[key+"_shortcode_requires"]).some(([k,v])=>this.attributes[k]!==v)?"":key+'="'+(typeof value=="string"?value.trim():value)+'"').filter(value=>value).join(" ")).trim()+"]"}},mounted(){wu_on_load(),hooks.doAction("wu_"+app_id+"_mounted",this.$data);const cb=element.dataset.onLoad;typeof window[cb]=="function"&&window[cb](),callback&&callback(),this.$nextTick(function(){window.wu_initialize_code_editors(),window.wubox.refresh()})},updated(){this._priorState||(this._priorState=this.$options.data());const self=this,changedProp=Object.keys(this._data).find(key=>JSON.stringify(this._data[key])!==JSON.stringify(self._priorState[key]));this._priorState={...this._data},this.$nextTick(function(){hooks.doAction("wu_"+app_id+"_changed",changedProp,self.$data),window.wu_initialize_code_editors(),window.wubox.refresh()})},methods:{send(scope,function_name,value,cb){return scope==="window"?window[function_name](value,cb):window[scope][function_name](value,cb)},get_value(variable_name){return window[variable_name]},set_value(key,value){this[key]=value},get_state_value(value,default_value){return typeof this[value]>"u"?default_value:this[value]},duplicate_and_clean($event,query){var _a;const elements=document.querySelectorAll(query),target=elements.item(elements.length-1),clone=target.cloneNode(!0);clone.id=clone.id+"_copy",clone.querySelectorAll("input, textarea").forEach(el=>el.value=""),(_a=target.parentNode)==null||_a.insertBefore(clone,target.nextSibling)},wu_format_money(value){return wu_format_money(value)},require(data,value){return Object.prototype.toString.call(this[data])==="[object Array]"?this[data].indexOf(value)>-1:Object.prototype.toString.call(value)==="[object Array]"?value.indexOf(this[data])>-1:this[data]==value},open($event){$event.preventDefault(),this.edit=!0}}})),window["wu_"+app_id].$watch("section",function(new_value){try{const url=new URL(window.location.href);url.searchParams.set(app_id,new_value),history.pushState({},"",url)}catch(err){console.warn("Browser does not support pushState.",err)}}))},{Vue}=window.wu_vue||{},loadApps=()=>{document.querySelectorAll("[data-wu-app]").forEach(element=>{if(!Vue)return;const appId=element.dataset.wuApp;appId&&loadApp(element,appId)})};document.addEventListener("DOMContentLoaded",()=>{Vue.component("colorPicker",{props:["value"],template:'',mounted(){const vm=this;jQuery(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(event,ui){vm.$emit("input",ui.color.toString())}})},watch:{value(value){jQuery(this.$el).wpColorPicker("color",value)}},destroyed(){jQuery(this.$el).off().wpColorPicker("destroy")}}),Vue.component("wpEditor",{props:["value","id","name"],template:'',mounted(){if(typeof wp.editor>"u")return;const that=this;wp.editor.remove(this.id),wp.editor.initialize(this.id,{tinymce:{setup(editor){editor.on("init",function(){wubox.refresh()}),editor.on("keyup",()=>{editor.isDirty()&&that.$emit("input",editor.getContent())})}}})},destroyed(){typeof wp.editor>"u"||wp.editor.remove(this.id)}}),document.body.addEventListener("wubox:unload",function(){const app_name="wu_"+document.getElementById("WUB_window").querySelector("ul[data-wu-app]").dataset.wuApp;delete window[app_name],delete window[app_name+"_errors"]}),document.body.addEventListener("wubox:load",loadApps),loadApps()}); -})() \ No newline at end of file +(()=>{let{Vue:n,defineComponent:r}=window.wu_vue||{},s=wp.hooks||{},i=(window.wu_vue||{}).Vue,t=()=>{document.querySelectorAll("[data-wu-app]").forEach(t=>{var e;i&&(e=t.dataset.wuApp)&&((o,i,e=null)=>{if(window["wu_"+i]&&!["add_checkout_form_field"].includes(i))return;window["wu_"+i]=new n(r({name:"string"==typeof i?i:"",el:o,directives:{init:{bind(t,e,i){i.context[e.arg]=e.value}},initempty:{bind(t,e,i){""===i.context[e.arg]&&(i.context[e.arg]=e.value)}}},data(){let t=wu_settings.currency_symbol,e="";"%v%s"===wu_settings.currency_position?(t="",e=wu_settings.currency_symbol):"%s %v"===wu_settings.currency_position?t=wu_settings.currency_symbol+" ":"%v %s"===wu_settings.currency_position&&(t="",e=" "+wu_settings.currency_symbol);var i={money_settings:{prefix:t,suffix:e,decimal:wu_settings.decimal_separator,thousands:wu_settings.thousand_separator,precision:parseInt(wu_settings.precision,10),masked:!1}};return Object.assign({},JSON.parse(o.dataset.state||"{}"),i)},computed:{hooks:()=>s,console:()=>console,window:()=>window,shortcode(){return void 0===this.id||void 0===this.attributes?"":"["+(this.id+" "+Object.entries(this.attributes).map(([t,e])=>{if(e===this.defaults[t]||"object"==typeof e)return"";if(this.attributes[t+"_shortcode_requires"]&&Object.entries(this.attributes[t+"_shortcode_requires"]).some(([t,e])=>this.attributes[t]!==e))return"";return t+'="'+("string"==typeof e?e.trim():e)+'"'}).filter(t=>t).join(" ")).trim()+"]"}},mounted(){wu_on_load(),s.doAction("wu_"+i+"_mounted",this.$data);var t=o.dataset.onLoad;"function"==typeof window[t]&&window[t](),e&&e(),this.$nextTick(function(){window.wu_initialize_code_editors(),window.wubox.refresh()})},updated(){this._priorState||(this._priorState=this.$options.data());let e=this,t=Object.keys(this._data).find(t=>JSON.stringify(this._data[t])!==JSON.stringify(e._priorState[t]));this._priorState={...this._data},this.$nextTick(function(){s.doAction("wu_"+i+"_changed",t,e.$data),window.wu_initialize_code_editors(),window.wubox.refresh()})},methods:{send(t,e,i,o){return("window"===t?window:window[t])[e](i,o)},get_value(t){return window[t]},set_value(t,e){this[t]=e},get_state_value(t,e){return void 0===this[t]?e:this[t]},duplicate_and_clean(t,e){var i,e=document.querySelectorAll(e),e=e.item(e.length-1),o=e.cloneNode(!0);o.id=o.id+"_copy",o.querySelectorAll("input, textarea").forEach(t=>t.value=""),null!=(i=e.parentNode)&&i.insertBefore(o,e.nextSibling)},wu_format_money(t){return wu_format_money(t)},require(t,e){return"[object Array]"===Object.prototype.toString.call(this[t])?-1{i.component("colorPicker",{props:["value"],template:'',mounted(){let i=this;jQuery(this.$el).val(this.value).wpColorPicker({width:200,defaultColor:this.value,change(t,e){i.$emit("input",e.color.toString())}})},watch:{value(t){jQuery(this.$el).wpColorPicker("color",t)}},destroyed(){jQuery(this.$el).off().wpColorPicker("destroy")}}),i.component("wpEditor",{props:["value","id","name"],template:'',mounted(){if(void 0!==wp.editor){let e=this;wp.editor.remove(this.id),wp.editor.initialize(this.id,{tinymce:{setup(t){t.on("init",function(){wubox.refresh()}),t.on("keyup",()=>{t.isDirty()&&e.$emit("input",t.getContent())})}}})}},destroyed(){void 0!==wp.editor&&wp.editor.remove(this.id)}}),document.body.addEventListener("wubox:unload",function(){var t="wu_"+document.getElementById("WUB_window").querySelector("ul[data-wu-app]").dataset.wuApp;delete window[t],delete window[t+"_errors"]}),document.body.addEventListener("wubox:load",t),t()})})(); diff --git a/assets/js/webhook-page.js b/assets/js/webhook-page.js index 5daae17..fd91149 100644 --- a/assets/js/webhook-page.js +++ b/assets/js/webhook-page.js @@ -27,9 +27,9 @@ if (page === 'edit') { - webhook_url = $('input[name=webhook_url').val(); + webhook_url = $('input[name=webhook_url]').val(); - webhook_event = $('select[name=event').val(); + webhook_event = $('select[name=event]').val(); const id = $(this).data('object'); diff --git a/assets/js/webhook-page.min.js b/assets/js/webhook-page.min.js index 5c8e6c9..95bf27b 100644 --- a/assets/js/webhook-page.min.js +++ b/assets/js/webhook-page.min.js @@ -1 +1 @@ -!function(e){jQuery(document).ready((function(){let t;jQuery(document).on("click","#action_button",(function(t){t.preventDefault();const a=e(this).data("page");let o="",n="";if("list"===a){o=e(this).data("url"),n=e(this).data("event");const t=e(this).data("object");jQuery('[data-loading="wu_action_button_loading_'+t+'"]').removeClass("hidden")}if("edit"===a){o=e("input[name=webhook_url").val(),n=e("select[name=event").val();const t=e(this).data("object");jQuery('[data-loading="wu_action_button_loading_'+t+'"]').removeClass("hidden")}e.ajax({method:"post",url:ajaxurl,data:{action:e(this).data("action"),webhook_id:e(this).data("object"),webhook_url:o,webhook_event:n},success(t){t.response?(e('[data-loading="wu_action_button_loading_'+t.id+'"]').addClass("hidden"),Swal.fire({title:"Test Response",icon:"success",html:'
'+JSON.stringify(t.response,null,2)+"
",showCloseButton:!0,showCancelButton:!1})):(e('[data-loading="wu_action_button_loading_'+t.id+'"]').addClass("hidden"),Swal.fire({title:wu_webhook_page.i18n.error_title,icon:"error",html:wu_webhook_page.i18n.error_message,showCloseButton:!0,showCancelButton:!1}))}})})),e("#wu_payload").length&&(t=new Vue({el:"#wu_payload",data:()=>({payload:"",event:e('select[name="event"]').val(),loading:!0}),watch:{event(){this.get_event_payload()}},methods:{get_event_payload(){const t=this;t.loading=!0,e.ajax({method:"post",url:ajaxurl,data:{action:"wu_get_event_payload_preview",event:t.event},success(e){t.payload=e.data??{},t.loading=!1}})}},mounted(){this.get_event_payload()}})),e(document).on("change",'select[name="event"]',(function(){t.event=e('select[name="event"]').val()}));new ClipboardJS(".btn-clipboard").on("success",(function(t){const a=e(t.trigger),o=a.text();a.attr("disabled","disabled").text(wu_webhook_page.i18n.copied),setTimeout((function(){a.text(o).removeAttr("disabled")}),3e3)}))}))}(jQuery); \ No newline at end of file +(n=>{jQuery(document).ready(function(){jQuery(document).on("click","#action_button",function(e){e.preventDefault();var t,e=n(this).data("page");let a="",o="";"list"===e&&(a=n(this).data("url"),o=n(this).data("event"),t=n(this).data("object"),jQuery('[data-loading="wu_action_button_loading_'+t+'"]').removeClass("hidden")),"edit"===e&&(a=n("input[name=webhook_url]").val(),o=n("select[name=event]").val(),t=n(this).data("object"),jQuery('[data-loading="wu_action_button_loading_'+t+'"]').removeClass("hidden")),n.ajax({method:"post",url:ajaxurl,data:{action:n(this).data("action"),webhook_id:n(this).data("object"),webhook_url:a,webhook_event:o},success(e){e.response?(n('[data-loading="wu_action_button_loading_'+e.id+'"]').addClass("hidden"),Swal.fire({title:"Test Response",icon:"success",html:'
'+JSON.stringify(e.response,null,2)+"
",showCloseButton:!0,showCancelButton:!1})):(n('[data-loading="wu_action_button_loading_'+e.id+'"]').addClass("hidden"),Swal.fire({title:wu_webhook_page.i18n.error_title,icon:"error",html:wu_webhook_page.i18n.error_message,showCloseButton:!0,showCancelButton:!1}))}})});let e;n("#wu_payload").length&&(e=new Vue({el:"#wu_payload",data(){return{payload:"",event:n('select[name="event"]').val(),loading:!0}},watch:{event(){this.get_event_payload()}},methods:{get_event_payload(){let t=this;t.loading=!0,n.ajax({method:"post",url:ajaxurl,data:{action:"wu_get_event_payload_preview",event:t.event},success(e){t.payload=e.data??{},t.loading=!1}})}},mounted(){this.get_event_payload()}})),n(document).on("change",'select[name="event"]',function(){e.event=n('select[name="event"]').val()}),new ClipboardJS(".btn-clipboard").on("success",function(e){let t=n(e.trigger),a=t.text();t.attr("disabled","disabled").text(wu_webhook_page.i18n.copied),setTimeout(function(){t.text(a).removeAttr("disabled")},3e3)})})})(jQuery); diff --git a/assets/js/wubox.min.js b/assets/js/wubox.min.js index fd0bb4a..0faec89 100644 --- a/assets/js/wubox.min.js +++ b/assets/js/wubox.min.js @@ -1,13 +1,12 @@ -(() => { -"use strict";const createImageBox=(boxWindow,loaded,url,caption,imageGroup)=>{let prevCaption="",prevURL="",prevHTML="",nextCaption="",nextURL="",nextHTML="",imageCount="",foundURL=!1;if(imageGroup){const tempArray=document.querySelectorAll(`a[rel="${imageGroup}"]`);for(let index=0;index  
"+wuboxL10n.next+""):(prevCaption=tempArray[index].title,prevURL=tempArray[index].href,prevHTML="  "+wuboxL10n.prev+""):(foundURL=!0,imageCount=wuboxL10n.image+" "+(index+1)+" "+wuboxL10n.of+" "+tempArray.length)}const imgPreloader=new Image;imgPreloader.onload=()=>{var _a,_b,_c,_d;imgPreloader.onload=null;const pagesize=getPageSize(),x=pagesize.width-150,y=pagesize.height-150;let imageWidth=imgPreloader.width,imageHeight=imgPreloader.height;imageWidth>x?(imageHeight=imageHeight*(x/imageWidth),imageWidth=x,imageHeight>y&&(imageWidth=imageWidth*(y/imageHeight),imageHeight=y)):imageHeight>y&&(imageWidth=imageWidth*(y/imageHeight),imageHeight=y,imageWidth>x&&(imageHeight=imageHeight*(x/imageWidth),imageWidth=x)),setBoxPosition(boxWindow,imageWidth,imageHeight),boxWindow.insertAdjacentHTML("beforeend",` +(()=>{let l=(r,s,c,u,m)=>{let w="",h="",v="",y="",b="",g="",B="",t=!1;if(m){var n=document.querySelectorAll(`a[rel="${m}"]`);for(let e=0;e  "+wuboxL10n.next+""):(w=n[e].title,h=n[e].href,v="  "+wuboxL10n.prev+""):(t=!0,B=wuboxL10n.image+" "+(e+1)+" "+wuboxL10n.of+" "+n.length)}let p=new Image;p.onload=()=>{p.onload=null,t=document.documentElement,e=window.innerWidth||self.innerWidth||t&&t.clientWidth||document.body.clientWidth,t=window.innerHeight||self.innerHeight||t&&t.clientHeight||document.body.clientHeight;var e={width:e,height:t},t=e.width-150,e=e.height-150;let n=p.width,d=p.height,i=(n>t?(d*=t/n,n=t,d>e&&(n*=e/d,d=e)):d>e&&(n*=e/d,d=e,n>t)&&(d*=t/n,n=t),f(r,n,d),r.insertAdjacentHTML("beforeend",` ${wuboxL10n.close} - ${caption} + ${u}
- ${caption} + ${u}
- ${imageCount+prevHTML+nextHTML} + ${B+v+g}
@@ -16,18 +15,18 @@
- `),(_a=document.getElementById("WUB_closeWindowButton"))==null||_a.addEventListener("click",removeBox);const goPrev=()=>{boxWindow.innerHTML="",unloadKeydownEvent(),showBox(prevCaption,prevURL,imageGroup)},goNext=()=>{boxWindow.innerHTML="",unloadKeydownEvent(),showBox(nextCaption,nextURL,imageGroup)};(_b=document.getElementById("WUB_prev"))==null||_b.addEventListener("click",goPrev),(_c=document.getElementById("WUB_next"))==null||_c.addEventListener("click",goNext);const keydownEvent=e=>{e.key==="Escape"?removeBox():e.key==="ArrowRight"&&nextHTML?goNext():e.key==="ArrowLeft"&&prevHTML&&goPrev()},unloadKeydownEvent=()=>{window.removeEventListener("keydown",keydownEvent),document.body.removeEventListener("wubox:unload",unloadKeydownEvent)};window.addEventListener("keydown",keydownEvent),document.body.addEventListener("wubox:unload",unloadKeydownEvent),(_d=document.getElementById("WUB_ImageOff"))==null||_d.addEventListener("click",removeBox),loaded()},imgPreloader.src=url},createIframeBox=(boxWindow,boxOverlay,loaded,url,caption,params)=>{var _a,_b,_c;const urlNoQuery=url.split("WUB_");(_a=document.getElementById("WUB_load"))==null||_a.remove(),params.modal?(boxOverlay.removeEventListener("click",removeBox),boxWindow.insertAdjacentHTML("beforeend",` + `),null!=(e=document.getElementById("WUB_closeWindowButton"))&&e.addEventListener("click",W),()=>{r.innerHTML="",l(),_(w,h,m)}),o=()=>{r.innerHTML="",l(),_(y,b,m)},a=(null!=(t=document.getElementById("WUB_prev"))&&t.addEventListener("click",i),null!=(e=document.getElementById("WUB_next"))&&e.addEventListener("click",o),e=>{"Escape"===e.key?W():"ArrowRight"===e.key&&g?o():"ArrowLeft"===e.key&&v&&i()}),l=()=>{window.removeEventListener("keydown",a),document.body.removeEventListener("wubox:unload",l)};window.addEventListener("keydown",a),document.body.addEventListener("wubox:unload",l),null!=(t=document.getElementById("WUB_ImageOff"))&&t.addEventListener("click",W),s()},p.src=c},r=(e,t,n,d,i,o)=>{var a,d=d.split("WUB_");null!=(a=document.getElementById("WUB_load"))&&a.remove(),o.modal?(t.removeEventListener("click",W),e.insertAdjacentHTML("beforeend",` `),(_b=document.getElementById("WUB_iframeContent"))==null||_b.addEventListener("load",showBoxIframe)):(boxWindow.insertAdjacentHTML("beforeend",` + src='${d[0]}' + name='WUB_iframeContent${Math.round(1e3*Math.random())}' + style='width:${o.width+29}px; height:${o.height+17}px;'>${wuboxL10n.noiframes} + `),null!=(a=document.getElementById("WUB_iframeContent"))&&a.addEventListener("load",m)):(e.insertAdjacentHTML("beforeend",`
-
${caption}
+
${i}
-
`);else{const ajaxContent=document.getElementById("WUB_ajaxContent");ajaxContent.style.width=params.width+"px",ajaxContent.style.height=params.height+"px",ajaxContent.scrollTop=0,ajaxContent.innerHTML=caption}return document.getElementById("WUB_ajaxContent")},createAjaxBox=(boxWindow,boxOverlay,loaded,url,caption,params)=>{const ajaxContent=baseAjaxElement(boxWindow,boxOverlay,caption,params),load_url=url+(url.includes("?")?"&":"?")+"random="+new Date().getTime();fetch(load_url,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(response=>response.text()).then(html=>{ajaxContent.innerHTML=html,setBoxPosition(boxWindow,params.width,params.height),loaded()})},createInlineBox=(boxWindow,boxOverlay,loaded,caption,params)=>{const ajaxContent=baseAjaxElement(boxWindow,boxOverlay,caption,params),element=document.getElementById(params.inlineId);ajaxContent.insertAdjacentElement("beforeend",element==null?void 0:element.children[0]);const unloadAction=()=>{element==null||element.insertAdjacentElement("afterbegin",ajaxContent.children[0]),document.body.removeEventListener("wubox:unload",unloadAction)};document.body.addEventListener("wubox:unload",unloadAction),setBoxPosition(boxWindow,params.width,params.height),loaded()},formSubmit=form=>async event=>{event.preventDefault();const textArea=form.querySelector("textarea[data-editor]"),textAreaInput=textArea?form.querySelector('input[name="'+textArea.id+'"]'):null;textArea&&textAreaInput&&(textAreaInput.value=textArea.value);const blocked_form=wu_block_ui(form);window["wu_"+form.getAttribute("id")+"_errors"]&&(window["wu_"+form.getAttribute("id")+"_errors"].errors=[]);const submitButton=event.submitter.value,formData=new FormData(form);formData.append("submit",submitButton);const response=await fetch(form.getAttribute("action"),{method:"POST",body:formData,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(response2=>response2.text()).then(txt=>txt?JSON.parse(txt):null);if(response===null||response.data===null){blocked_form.unblock(),removeBox();return}if(!response.success){blocked_form.unblock();const formId=form.getAttribute("id");window["wu_"+formId+"_errors"]&&(window["wu_"+formId+"_errors"].errors=response.data);const formApp=document.querySelector('[data-wu-app="'+formId+'_errors"]');formApp==null||formApp.setAttribute("tabindex","-1"),formApp==null||formApp.focus()}typeof response.data.tables=="object"&&(blocked_form.unblock(),removeBox(),Object.keys(response.data.tables).forEach(key=>{window[key].update()})),typeof response.data.redirect_url=="string"&&(window.location.href=response.data.redirect_url),typeof response.data.send=="object"&&window[response.data.send.scope][response.data.send.function_name](response.data.send.data,removeBox)};function getPageSize(){const de=document.documentElement,width=window.innerWidth||self.innerWidth||de&&de.clientWidth||document.body.clientWidth,height=window.innerHeight||self.innerHeight||de&&de.clientHeight||document.body.clientHeight;return{width,height}}function setBoxPosition(boxWindow,width,height){boxWindow.style.marginLeft="-"+width/2+"px",boxWindow.style.marginTop="-"+height/2+"px"}function fadeOutEffect(element,duration,callback){const startOpacity=parseFloat(getComputedStyle(element).opacity);let startTime=null;function step(timestamp){startTime||(startTime=timestamp);const progress=timestamp-startTime,opacity=Math.max(startOpacity-progress/duration,0);element.style.opacity=opacity.toString(),progress{boxWindow.style.visibility="visible",document.body.dispatchEvent(new Event("wubox:load")),loader.remove(),refreshBox()};document.body.insertAdjacentElement("beforeend",loader);const baseURL=url.split("?")[0],urlString=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;if(!!baseURL.toLowerCase().match(urlString))createImageBox(boxWindow,loaded,url,caption,imageGroup);else{const queryString=url.replace(/^[^\?]+\??/,""),searchParams=new URLSearchParams(queryString),params={width:parseInt(searchParams.get("width")||"")||630,height:parseInt(searchParams.get("height")||"")||440,modal:!!searchParams.get("modal")||!1,inlineId:searchParams.get("inlineId")||""};url.includes("WUB_iframe")?createIframeBox(boxWindow,boxOverlay,loaded,url,caption,params):url.includes("WUB_inline")?createInlineBox(boxWindow,boxOverlay,loaded,caption,params):createAjaxBox(boxWindow,boxOverlay,loaded,url,caption,params),(_a=document.getElementById("WUB_closeWindowButton"))==null||_a.addEventListener("click",removeBox)}const closeBoxWindowButton=document.getElementById("WUB_closeWindowButton"),closeIcon=closeBoxWindowButton==null?void 0:closeBoxWindowButton.querySelector(".wutb-close-icon");closeIcon&&(closeIcon.offsetWidth||closeIcon.offsetHeight||closeIcon.getClientRects().length)&&closeBoxWindowButton.focus()}function initForm(form){form.addEventListener("submit",formSubmit(form))}const setBodyListeners=domChunk=>{document.body.addEventListener("wubox:iframe:loaded",()=>{var _a;(_a=document.getElementById("WUB_window"))==null||_a.classList.remove("wubox-loading")}),document.body.addEventListener("wubox:load",()=>{const form=document.querySelector("#WUB_ajaxContent .wu_form");form&&(initForm(form),wu_initialize_editors())})},onClickEvent=event=>{event.preventDefault();const target=event.currentTarget,caption=target.title||target.name||"",url=target.href||target.alt,imageGroup=target.rel||!1;showBox(caption,url,imageGroup),target.blur()},initBox=(domChunk,addGlobalListeners=!1,addMutationObserver=!1)=>{if(document.querySelectorAll(domChunk).forEach(el=>{el.removeEventListener("click",onClickEvent),el.addEventListener("click",onClickEvent)}),addGlobalListeners&&setBodyListeners(),addMutationObserver){const observerOptions={childList:!0,subtree:!0};new MutationObserver(()=>{initBox(domChunk,!1,!1)}).observe(document.body,observerOptions)}},removeBox=()=>{var _a,_b,_c;(_a=document.getElementById("WUB_ImageOff"))==null||_a.removeEventListener("click",removeBox),(_b=document.getElementById("WUB_closeWindowButton"))==null||_b.removeEventListener("click",removeBox),document.body.classList.remove("modal-open"),(_c=document.getElementById("WUB_load"))==null||_c.remove(),fadeOutEffect(document.getElementById("WUB_window"),200),fadeOutEffect(document.getElementById("WUB_overlay"),150,()=>{document.body.dispatchEvent(new Event("wubox:unload")),document.querySelectorAll("#WUB_window, #WUB_overlay, #WUB_HideSelect").forEach(el=>el.remove()),document.body.dispatchEvent(new Event("wubox:removed"))})},refreshBox=()=>{const form=document.querySelector("#WUB_ajaxContent .wu_form");if(!form)return;wu_initialize_editors();const content=document.getElementById("WUB_ajaxContent"),boxWindow=document.getElementById("WUB_window");content.style.height="100vh";const max_height=window.innerHeight-120,height=form.offsetHeight>=max_height?max_height:form.offsetHeight+1;boxWindow.style.transition="margin 200ms",content.style.height=height+"px",boxWindow.style.marginTop="-"+height/2+"px"},setBoxWidth=width=>{const content=document.getElementById("WUB_ajaxContent"),boxWindow=document.getElementById("WUB_window");content&&(content.style.transition="width 150ms",boxWindow.style.transition="margin 150ms",content.style.width=width+"px",boxWindow.style.marginLeft="-"+width/2+"px",boxWindow.style.width=width+"px",setTimeout(()=>{refreshBox()},150))};window.wubox={init:initBox,show:showBox,remove:removeBox,refresh:refreshBox,width:setBoxWidth};window.addEventListener("DOMContentLoaded",()=>{window.wubox.init(".wubox",!0,!0)}); -})() \ No newline at end of file +
`):((t=document.getElementById("WUB_ajaxContent")).style.width=d.width+"px",t.style.height=d.height+"px",t.scrollTop=0,t.innerHTML=n),document.getElementById("WUB_ajaxContent")),c=(t,e,n,d,i,o)=>{let a=s(t,e,i,o);e=d+(d.includes("?")?"&":"?")+"random="+(new Date).getTime();fetch(e,{headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>{a.innerHTML=e,f(t,o.width,o.height),n()})},u=(e,t,n,d,i)=>{let o=s(e,t,d,i),a=document.getElementById(i.inlineId),l=(o.insertAdjacentElement("beforeend",null==a?void 0:a.children[0]),()=>{null!=a&&a.insertAdjacentElement("afterbegin",o.children[0]),document.body.removeEventListener("wubox:unload",l)});document.body.addEventListener("wubox:unload",l),f(e,i.width,i.height),n()},t=d=>async e=>{e.preventDefault();var t=d.querySelector("textarea[data-editor]"),n=t?d.querySelector('input[name="'+t.id+'"]'):null,n=(t&&n&&(n.value=t.value),wu_block_ui(d)),t=(window["wu_"+d.getAttribute("id")+"_errors"]&&(window["wu_"+d.getAttribute("id")+"_errors"].errors=[]),e.submitter.value),e=new FormData(d),t=(e.append("submit",t),await fetch(d.getAttribute("action"),{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>e?JSON.parse(e):null));null===t||null===t.data?(n.unblock(),W()):(t.success||(n.unblock(),e=d.getAttribute("id"),window["wu_"+e+"_errors"]&&(window["wu_"+e+"_errors"].errors=t.data),null!=(e=document.querySelector('[data-wu-app="'+e+'_errors"]'))&&e.setAttribute("tabindex","-1"),null!=e&&e.focus()),"object"==typeof t.data.tables&&(n.unblock(),W(),Object.keys(t.data.tables).forEach(e=>{window[e].update()})),"string"==typeof t.data.redirect_url&&(window.location.href=t.data.redirect_url),"object"==typeof t.data.send&&window[t.data.send.scope][t.data.send.function_name](t.data.send.data,W))};function f(e,t,n){e.style.marginLeft="-"+t/2+"px",e.style.marginTop="-"+n/2+"px"}function n(d,i,o){let a=parseFloat(getComputedStyle(d).opacity),l=null;requestAnimationFrame(function e(t){var t=t-(l=l||t),n=Math.max(a-t/i,0);d.style.opacity=n.toString(),t{i.style.visibility="visible",document.body.dispatchEvent(new Event("wubox:load")),o.remove(),w()};document.body.insertAdjacentElement("beforeend",o);!!t.split("?")[0].toLowerCase().match(/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/)?l(i,a,t,e,n):(n=t.replace(/^[^\?]+\??/,""),n=new URLSearchParams(n),n={width:parseInt(n.get("width")||"")||630,height:parseInt(n.get("height")||"")||440,modal:!!n.get("modal")||!1,inlineId:n.get("inlineId")||""},t.includes("WUB_iframe")?r(i,d,a,t,e,n):t.includes("WUB_inline")?u(i,d,a,e,n):c(i,d,a,t,e,n),null!=(d=document.getElementById("WUB_closeWindowButton"))&&d.addEventListener("click",W));a=document.getElementById("WUB_closeWindowButton"),t=null==a?void 0:a.querySelector(".wutb-close-icon");t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&a.focus()}let d=e=>{document.body.addEventListener("wubox:iframe:loaded",()=>{var e;null!=(e=document.getElementById("WUB_window"))&&e.classList.remove("wubox-loading")}),document.body.addEventListener("wubox:load",()=>{var e=document.querySelector("#WUB_ajaxContent .wu_form");e&&((e=e).addEventListener("submit",t(e)),wu_initialize_editors())})},i=e=>{e.preventDefault();e=e.currentTarget;_(e.title||e.name||"",e.href||e.alt,e.rel||!1),e.blur()},o=(e,t=!1,n=!1)=>{document.querySelectorAll(e).forEach(e=>{e.removeEventListener("click",i),e.addEventListener("click",i)}),t&&d(),n&&(t={childList:!0,subtree:!0},new MutationObserver(()=>{o(e,!1,!1)}).observe(document.body,t))},W=()=>{var e;null!=(e=document.getElementById("WUB_ImageOff"))&&e.removeEventListener("click",W),null!=(e=document.getElementById("WUB_closeWindowButton"))&&e.removeEventListener("click",W),document.body.classList.remove("modal-open"),null!=(e=document.getElementById("WUB_load"))&&e.remove(),n(document.getElementById("WUB_window"),200),n(document.getElementById("WUB_overlay"),150,()=>{document.body.dispatchEvent(new Event("wubox:unload")),document.querySelectorAll("#WUB_window, #WUB_overlay, #WUB_HideSelect").forEach(e=>e.remove()),document.body.dispatchEvent(new Event("wubox:removed"))})},w=()=>{var e,t,n,d=document.querySelector("#WUB_ajaxContent .wu_form");d&&(wu_initialize_editors(),e=document.getElementById("WUB_ajaxContent"),t=document.getElementById("WUB_window"),e.style.height="100vh",n=window.innerHeight-120,n=d.offsetHeight>=n?n:d.offsetHeight+1,t.style.transition="margin 200ms",e.style.height=n+"px",t.style.marginTop="-"+n/2+"px")};window.wubox={init:o,show:_,remove:W,refresh:w,width:e=>{var t=document.getElementById("WUB_ajaxContent"),n=document.getElementById("WUB_window");t&&(t.style.transition="width 150ms",n.style.transition="margin 150ms",t.style.width=e+"px",n.style.marginLeft="-"+e/2+"px",n.style.width=e+"px",setTimeout(()=>{w()},150))}},window.addEventListener("DOMContentLoaded",()=>{window.wubox.init(".wubox",!0,!0)})})(); diff --git a/composer.json b/composer.json index 9ffce5c..5bf22a5 100644 --- a/composer.json +++ b/composer.json @@ -51,7 +51,7 @@ "symfony/polyfill-php82": "^1.31.0", "symfony/polyfill-php83": "^1.31.0", "symfony/polyfill-php84": "^1.31.0", - "ext-curl": "*" + "ext-curl": "*" }, "require-dev": { "composer/installers": "^1.9.0", @@ -113,7 +113,8 @@ } }, "scripts": { - "post-update-cmd": "cd vendor/mpdf/mpdf/ttfonts && rm -f AboriginalSansREGULAR.ttf Aegean.otf Aegyptus.otf Akkadian.otf ayar.ttf damase_v.2.ttf DBSILBR.ttf DejaVuSerif.ttf Dhyana-Regular.ttf DejaVuSansMono-Oblique.ttf DejaVuSerif-BoldItalic.ttf DhyanaOFL.txt DejaVuSerifCondensed-BoldItalic.ttf DejaVuSansMono-Bold.ttf DejaVuSerif-Italic.ttf DejaVuSansMono.ttf DejaVuSansMono-BoldOblique.ttf DejaVuSerif-Bold.ttf Dhyana-Bold.ttf DejaVuSerifCondensed-Italic.ttf DejaVuSansCondensed-BoldOblique.ttf DejaVuSansCondensed-Oblique.ttf DejaVuSans-Oblique.ttf DejaVuSans-BoldOblique.ttf DejaVuSans-Bold.ttf DejaVuSans.ttf FreeMonoBoldOblique.ttf FreeMonoOblique.ttf FreeSans.ttf FreeSansBold.ttf FreeSansBoldOblique.ttf FreeSansOblique.ttf FreeSerif.ttf FreeSerifBold.ttf FreeSerifBoldItalic.ttf FreeSerifItalic.ttf Garuda.ttf Garuda-Bold.ttf Garuda-BoldOblique.ttf Garuda-Oblique.ttf GNUFreeFontinfo.txt Jomolhari.ttf Jomolhari-OFL.txt kaputaunicode.ttf KhmerOFL.txt KhmerOS.ttf lannaalif-v1-03.ttf 'Lateef font OFL.txt' LateefRegOT.ttf Lohit-Kannada.ttf LohitKannadaOFL.txt ocrb10.ttf ocrbinfo.txt Padauk-book.ttf Pothana2000.ttf Quivira.otf Sun-ExtA.ttf Sun-ExtB.ttf SundaneseUnicode-1.0.5.ttf SyrCOMEdessa.otf SyrCOMEdessa_license.txt TaameyDavidCLM-LICENSE.txt TaameyDavidCLM-Medium.ttf TaiHeritagePro.ttf Tharlon-Regular.ttf TharlonOFL.txt UnBatang_0613.ttf Uthman.otf 'XB Riyaz.ttf' 'XB RiyazBd.ttf' 'XB RiyazBdIt.ttf' 'XB RiyazIt.ttf' 'XW Zar Font Info.txt' ZawgyiOne.ttf Abyssinica_SIL.ttf" + "post-update-cmd": "cd vendor/mpdf/mpdf/ttfonts && rm -f AboriginalSansREGULAR.ttf Aegean.otf Aegyptus.otf Akkadian.otf ayar.ttf damase_v.2.ttf DBSILBR.ttf DejaVuSerif.ttf Dhyana-Regular.ttf DejaVuSansMono-Oblique.ttf DejaVuSerif-BoldItalic.ttf DhyanaOFL.txt DejaVuSerifCondensed-BoldItalic.ttf DejaVuSansMono-Bold.ttf DejaVuSerif-Italic.ttf DejaVuSansMono.ttf DejaVuSansMono-BoldOblique.ttf DejaVuSerif-Bold.ttf Dhyana-Bold.ttf DejaVuSerifCondensed-Italic.ttf DejaVuSansCondensed-BoldOblique.ttf DejaVuSansCondensed-Oblique.ttf DejaVuSans-Oblique.ttf DejaVuSans-BoldOblique.ttf DejaVuSans-Bold.ttf DejaVuSans.ttf FreeMonoBoldOblique.ttf FreeMonoOblique.ttf FreeSans.ttf FreeSansBold.ttf FreeSansBoldOblique.ttf FreeSansOblique.ttf FreeSerif.ttf FreeSerifBold.ttf FreeSerifBoldItalic.ttf FreeSerifItalic.ttf Garuda.ttf Garuda-Bold.ttf Garuda-BoldOblique.ttf Garuda-Oblique.ttf GNUFreeFontinfo.txt Jomolhari.ttf Jomolhari-OFL.txt kaputaunicode.ttf KhmerOFL.txt KhmerOS.ttf lannaalif-v1-03.ttf 'Lateef font OFL.txt' LateefRegOT.ttf Lohit-Kannada.ttf LohitKannadaOFL.txt ocrb10.ttf ocrbinfo.txt Padauk-book.ttf Pothana2000.ttf Quivira.otf Sun-ExtA.ttf Sun-ExtB.ttf SundaneseUnicode-1.0.5.ttf SyrCOMEdessa.otf SyrCOMEdessa_license.txt TaameyDavidCLM-LICENSE.txt TaameyDavidCLM-Medium.ttf TaiHeritagePro.ttf Tharlon-Regular.ttf TharlonOFL.txt UnBatang_0613.ttf Uthman.otf 'XB Riyaz.ttf' 'XB RiyazBd.ttf' 'XB RiyazBdIt.ttf' 'XB RiyazIt.ttf' 'XW Zar Font Info.txt' ZawgyiOne.ttf Abyssinica_SIL.ttf", + "post-install-cmd": "cd vendor/mpdf/mpdf/ttfonts && rm -f AboriginalSansREGULAR.ttf Aegean.otf Aegyptus.otf Akkadian.otf ayar.ttf damase_v.2.ttf DBSILBR.ttf DejaVuSerif.ttf Dhyana-Regular.ttf DejaVuSansMono-Oblique.ttf DejaVuSerif-BoldItalic.ttf DhyanaOFL.txt DejaVuSerifCondensed-BoldItalic.ttf DejaVuSansMono-Bold.ttf DejaVuSerif-Italic.ttf DejaVuSansMono.ttf DejaVuSansMono-BoldOblique.ttf DejaVuSerif-Bold.ttf Dhyana-Bold.ttf DejaVuSerifCondensed-Italic.ttf DejaVuSansCondensed-BoldOblique.ttf DejaVuSansCondensed-Oblique.ttf DejaVuSans-Oblique.ttf DejaVuSans-BoldOblique.ttf DejaVuSans-Bold.ttf DejaVuSans.ttf FreeMonoBoldOblique.ttf FreeMonoOblique.ttf FreeSans.ttf FreeSansBold.ttf FreeSansBoldOblique.ttf FreeSansOblique.ttf FreeSerif.ttf FreeSerifBold.ttf FreeSerifBoldItalic.ttf FreeSerifItalic.ttf Garuda.ttf Garuda-Bold.ttf Garuda-BoldOblique.ttf Garuda-Oblique.ttf GNUFreeFontinfo.txt Jomolhari.ttf Jomolhari-OFL.txt kaputaunicode.ttf KhmerOFL.txt KhmerOS.ttf lannaalif-v1-03.ttf 'Lateef font OFL.txt' LateefRegOT.ttf Lohit-Kannada.ttf LohitKannadaOFL.txt ocrb10.ttf ocrbinfo.txt Padauk-book.ttf Pothana2000.ttf Quivira.otf Sun-ExtA.ttf Sun-ExtB.ttf SundaneseUnicode-1.0.5.ttf SyrCOMEdessa.otf SyrCOMEdessa_license.txt TaameyDavidCLM-LICENSE.txt TaameyDavidCLM-Medium.ttf TaiHeritagePro.ttf Tharlon-Regular.ttf TharlonOFL.txt UnBatang_0613.ttf Uthman.otf 'XB Riyaz.ttf' 'XB RiyazBd.ttf' 'XB RiyazBdIt.ttf' 'XB RiyazIt.ttf' 'XW Zar Font Info.txt' ZawgyiOne.ttf Abyssinica_SIL.ttf" }, "autoload-dev": { "psr-4": { @@ -121,4 +122,4 @@ "Utils\\Rector\\Tests\\": "utils/rector/tests" } } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index 4785893..a527e21 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c27fa56bfcbf860f1ae2a70ef5153e7a", + "content-hash": "aa95a1b59acc93d92d18448d166a5f0e", "packages": [ { "name": "amphp/amp", @@ -97,16 +97,16 @@ }, { "name": "automattic/jetpack-autoloader", - "version": "v5.0.1", + "version": "v5.0.6", "source": { "type": "git", "url": "https://github.com/Automattic/jetpack-autoloader.git", - "reference": "ba3f5146426367c718312a0da87ebd596ed9cf33" + "reference": "5d533e1ff64ed0107b3b46928705fbfa8d3cdb1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/ba3f5146426367c718312a0da87ebd596ed9cf33", - "reference": "ba3f5146426367c718312a0da87ebd596ed9cf33", + "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/5d533e1ff64ed0107b3b46928705fbfa8d3cdb1b", + "reference": "5d533e1ff64ed0107b3b46928705fbfa8d3cdb1b", "shasum": "" }, "require": { @@ -114,9 +114,10 @@ "php": ">=7.2" }, "require-dev": { - "automattic/jetpack-changelogger": "^5.1.0", + "automattic/jetpack-changelogger": "^6.0.3", + "automattic/phpunit-select-config": "^1.0.2", "composer/composer": "^2.2", - "yoast/phpunit-polyfills": "^1.1.1" + "yoast/phpunit-polyfills": "^3.0.0" }, "type": "composer-plugin", "extra": { @@ -155,9 +156,9 @@ "wordpress" ], "support": { - "source": "https://github.com/Automattic/jetpack-autoloader/tree/v5.0.1" + "source": "https://github.com/Automattic/jetpack-autoloader/tree/v5.0.6" }, - "time": "2025-01-20T16:46:39+00:00" + "time": "2025-03-31T17:43:05+00:00" }, { "name": "berlindb/core", @@ -370,16 +371,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.9.2", + "version": "7.9.3", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b" + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", - "reference": "d281ed313b989f213357e3be1a179f02196ac99b", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", + "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77", "shasum": "" }, "require": { @@ -476,7 +477,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + "source": "https://github.com/guzzle/guzzle/tree/7.9.3" }, "funding": [ { @@ -492,7 +493,7 @@ "type": "tidelift" } ], - "time": "2024-07-24T11:22:20+00:00" + "time": "2025-03-27T13:37:11+00:00" }, { "name": "guzzlehttp/promises", @@ -575,16 +576,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", - "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16", + "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16", "shasum": "" }, "require": { @@ -671,7 +672,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.7.0" + "source": "https://github.com/guzzle/psr7/tree/2.7.1" }, "funding": [ { @@ -687,7 +688,7 @@ "type": "tidelift" } ], - "time": "2024-07-18T11:15:46+00:00" + "time": "2025-03-27T12:30:47+00:00" }, { "name": "hashids/hashids", @@ -1151,16 +1152,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.1", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" + "reference": "024473a478be9df5fdaca2c793f2232fe788e414" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", - "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/024473a478be9df5fdaca2c793f2232fe788e414", + "reference": "024473a478be9df5fdaca2c793f2232fe788e414", "shasum": "" }, "require": { @@ -1199,7 +1200,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.0" }, "funding": [ { @@ -1207,7 +1208,7 @@ "type": "tidelift" } ], - "time": "2024-11-08T17:47:46+00:00" + "time": "2025-02-12T12:17:51+00:00" }, { "name": "nyholm/psr7", @@ -1514,16 +1515,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.0.0", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299" + "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299", - "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", + "reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68", "shasum": "" }, "require": { @@ -1555,9 +1556,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.1.0" }, - "time": "2024-10-13T11:29:49+00:00" + "time": "2025-02-19T13:28:12+00:00" }, { "name": "psr/cache", @@ -4170,12 +4171,12 @@ "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "27f32faacb65a1230d9dac09f1b6c5ce78a6e61a" + "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/27f32faacb65a1230d9dac09f1b6c5ce78a6e61a", - "reference": "27f32faacb65a1230d9dac09f1b6c5ce78a6e61a", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/c04f96cb232fab12a3cbcccf5a47767f0665c3f4", + "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4", "shasum": "" }, "require-dev": { @@ -4210,7 +4211,7 @@ "issues": "https://github.com/php-stubs/wordpress-stubs/issues", "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.2" }, - "time": "2025-02-05T17:57:54+00:00" + "time": "2025-02-12T04:51:58+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -4632,16 +4633,16 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.3", + "version": "2.1.11", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "64ae44e48214f3deebdaeebf2694297a10a2bea9" + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/64ae44e48214f3deebdaeebf2694297a10a2bea9", - "reference": "64ae44e48214f3deebdaeebf2694297a10a2bea9", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30", + "reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30", "shasum": "" }, "require": { @@ -4686,7 +4687,7 @@ "type": "github" } ], - "time": "2025-02-07T15:05:24+00:00" + "time": "2025-03-24T13:45:00+00:00" }, { "name": "phpunit/php-code-coverage", @@ -5112,21 +5113,21 @@ }, { "name": "rector/rector", - "version": "2.0.8", + "version": "2.0.11", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "3c70238bc677eb98866000a05b19a34f12955954" + "reference": "059b827cc648929711606e9824337e41e2f9ed92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/3c70238bc677eb98866000a05b19a34f12955954", - "reference": "3c70238bc677eb98866000a05b19a34f12955954", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/059b827cc648929711606e9824337e41e2f9ed92", + "reference": "059b827cc648929711606e9824337e41e2f9ed92", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.2" + "phpstan/phpstan": "^2.1.9" }, "conflict": { "rector/rector-doctrine": "*", @@ -5159,7 +5160,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.0.8" + "source": "https://github.com/rectorphp/rector/tree/2.0.11" }, "funding": [ { @@ -5167,7 +5168,7 @@ "type": "github" } ], - "time": "2025-02-06T14:02:49+00:00" + "time": "2025-03-28T10:25:17+00:00" }, { "name": "sebastian/cli-parser", @@ -6134,16 +6135,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.11.3", + "version": "3.12.1", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10" + "reference": "ea16a1f3719783345febd3aab41beb55c8c84bfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", - "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ea16a1f3719783345febd3aab41beb55c8c84bfd", + "reference": "ea16a1f3719783345febd3aab41beb55c8c84bfd", "shasum": "" }, "require": { @@ -6210,24 +6211,24 @@ "type": "open_collective" }, { - "url": "https://thanks.dev/phpcsstandards", + "url": "https://thanks.dev/u/gh/phpcsstandards", "type": "thanks_dev" } ], - "time": "2025-01-23T17:04:15+00:00" + "time": "2025-04-04T12:57:55+00:00" }, { "name": "symplify/vendor-patches", - "version": "11.3.7", + "version": "11.4.1", "source": { "type": "git", "url": "https://github.com/symplify/vendor-patches.git", - "reference": "dec8ec588192a3ee0d886288395b5cd6a768126e" + "reference": "085a3a3e456e4d2d9a6b4fe02e86f92ce5b1fe35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symplify/vendor-patches/zipball/dec8ec588192a3ee0d886288395b5cd6a768126e", - "reference": "dec8ec588192a3ee0d886288395b5cd6a768126e", + "url": "https://api.github.com/repos/symplify/vendor-patches/zipball/085a3a3e456e4d2d9a6b4fe02e86f92ce5b1fe35", + "reference": "085a3a3e456e4d2d9a6b4fe02e86f92ce5b1fe35", "shasum": "" }, "require": { @@ -6245,7 +6246,7 @@ "description": "Generate vendor patches for packages with single command", "support": { "issues": "https://github.com/symplify/vendor-patches/issues", - "source": "https://github.com/symplify/vendor-patches/tree/11.3.7" + "source": "https://github.com/symplify/vendor-patches/tree/11.4.1" }, "funding": [ { @@ -6257,7 +6258,7 @@ "type": "github" } ], - "time": "2024-01-23T17:12:30+00:00" + "time": "2025-02-18T08:19:39+00:00" }, { "name": "szepeviktor/phpstan-wordpress", @@ -6478,16 +6479,16 @@ }, { "name": "yoast/phpunit-polyfills", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "0b31ce834facf03b8b44b6587e65b3cf1d7cfb94" + "reference": "e6faedf5e34cea4438e341f660e2f719760c531d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/0b31ce834facf03b8b44b6587e65b3cf1d7cfb94", - "reference": "0b31ce834facf03b8b44b6587e65b3cf1d7cfb94", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/e6faedf5e34cea4438e341f660e2f719760c531d", + "reference": "e6faedf5e34cea4438e341f660e2f719760c531d", "shasum": "" }, "require": { @@ -6502,7 +6503,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.x-dev" + "dev-main": "4.x-dev" } }, "autoload": { @@ -6537,7 +6538,7 @@ "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy", "source": "https://github.com/Yoast/PHPUnit-Polyfills" }, - "time": "2025-01-08T16:58:34+00:00" + "time": "2025-02-09T18:13:44+00:00" } ], "aliases": [], @@ -6550,7 +6551,8 @@ "prefer-lowest": false, "platform": { "php": ">=7.4.1", - "ext-json": "*" + "ext-json": "*", + "ext-curl": "*" }, "platform-dev": {}, "platform-overrides": { diff --git a/data/translatable-strings.php b/data/translatable-strings.php index 83cff06..9d51a6b 100644 --- a/data/translatable-strings.php +++ b/data/translatable-strings.php @@ -10,12 +10,12 @@ defined('ABSPATH') || exit; return [ - 'day' => __('day', 'wp-ultimo'), - 'days' => __('days', 'wp-ultimo'), - 'week' => __('week', 'wp-ultimo'), - 'weeks' => __('weeks', 'wp-ultimo'), - 'month' => __('month', 'wp-ultimo'), - 'months' => __('months', 'wp-ultimo'), - 'year' => __('year', 'wp-ultimo'), - 'years' => __('years', 'wp-ultimo'), + 'day' => __('day', 'wp-multisite-waas'), + 'days' => __('days', 'wp-multisite-waas'), + 'week' => __('week', 'wp-multisite-waas'), + 'weeks' => __('weeks', 'wp-multisite-waas'), + 'month' => __('month', 'wp-multisite-waas'), + 'months' => __('months', 'wp-multisite-waas'), + 'year' => __('year', 'wp-multisite-waas'), + 'years' => __('years', 'wp-multisite-waas'), ]; diff --git a/inc/admin-pages/class-about-admin-page.php b/inc/admin-pages/class-about-admin-page.php index c6da15f..8cc9a13 100644 --- a/inc/admin-pages/class-about-admin-page.php +++ b/inc/admin-pages/class-about-admin-page.php @@ -86,7 +86,7 @@ class About_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('About', 'wp-ultimo'); + return __('About', 'wp-multisite-waas'); } /** @@ -97,7 +97,7 @@ class About_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Multisite WaaS', 'wp-ultimo'); + return __('Multisite WaaS', 'wp-multisite-waas'); } /** @@ -108,7 +108,7 @@ class About_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('About', 'wp-ultimo'); + return __('About', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-base-admin-page.php b/inc/admin-pages/class-base-admin-page.php index a4bdcf0..a135e27 100644 --- a/inc/admin-pages/class-base-admin-page.php +++ b/inc/admin-pages/class-base-admin-page.php @@ -188,7 +188,7 @@ abstract class Base_Admin_Page { /* * Add forms */ - add_action('plugins_loaded', [$this, 'register_forms']); + $this->register_forms(); /** * Allow plugin developers to run additional things when pages are registered. @@ -626,7 +626,7 @@ abstract class Base_Admin_Page { if (wu_get_documentation_url($this->get_id(), false)) { $this->action_links[] = [ 'url' => wu_get_documentation_url($this->get_id()), - 'label' => __('Documentation', 'wp-ultimo'), + 'label' => __('Documentation', 'wp-multisite-waas'), 'icon' => 'wu-open-book', ]; } diff --git a/inc/admin-pages/class-base-customer-facing-admin-page.php b/inc/admin-pages/class-base-customer-facing-admin-page.php index 99812e0..3cc8393 100644 --- a/inc/admin-pages/class-base-customer-facing-admin-page.php +++ b/inc/admin-pages/class-base-customer-facing-admin-page.php @@ -122,7 +122,7 @@ abstract class Base_Customer_Facing_Admin_Page extends Base_Admin_Page { $fields['title'] = [ 'type' => 'text', - 'title' => __('Page & Menu Title', 'wp-ultimo'), + 'title' => __('Page & Menu Title', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'title', ''), 'tooltip' => '', ]; @@ -130,14 +130,14 @@ abstract class Base_Customer_Facing_Admin_Page extends Base_Admin_Page { if ($this->menu_settings) { $fields['position'] = [ 'type' => 'number', - 'title' => __('Menu', 'wp-ultimo'), + 'title' => __('Menu', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'position', ''), 'tooltip' => '', ]; $fields['menu_icon'] = [ 'type' => 'dashicon', - 'title' => __('Menu Icon', 'wp-ultimo'), + 'title' => __('Menu Icon', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'menu_icon', ''), 'tooltip' => '', ]; @@ -150,14 +150,14 @@ abstract class Base_Customer_Facing_Admin_Page extends Base_Admin_Page { 'fields' => [ 'reset' => [ 'type' => 'submit', - 'title' => __('Reset Settings', 'wp-ultimo'), + 'title' => __('Reset Settings', 'wp-multisite-waas'), 'value' => 'edit', 'classes' => 'button', 'wrapper_classes' => 'wu-mb-0', ], 'submit' => [ 'type' => 'submit', - 'title' => __('Save Changes', 'wp-ultimo'), + 'title' => __('Save Changes', 'wp-multisite-waas'), 'value' => 'edit', 'classes' => 'button button-primary', 'wrapper_classes' => 'wu-mb-0', @@ -372,9 +372,9 @@ abstract class Base_Customer_Facing_Admin_Page extends Base_Admin_Page { 'customize_link' => add_query_arg('customize', 1), 'close_link' => remove_query_arg('customize'), 'i18n' => [ - 'page_customize_label' => __('Customize Page', 'wp-ultimo'), - 'customize_label' => __('Customize Elements', 'wp-ultimo'), - 'close_label' => __('Exit Customize Mode', 'wp-ultimo'), + 'page_customize_label' => __('Customize Page', 'wp-multisite-waas'), + 'customize_label' => __('Customize Elements', 'wp-multisite-waas'), + 'close_label' => __('Exit Customize Mode', 'wp-multisite-waas'), ], ] ); diff --git a/inc/admin-pages/class-broadcast-edit-admin-page.php b/inc/admin-pages/class-broadcast-edit-admin-page.php index 1c41a75..6d72a7f 100644 --- a/inc/admin-pages/class-broadcast-edit-admin-page.php +++ b/inc/admin-pages/class-broadcast-edit-admin-page.php @@ -93,7 +93,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -113,12 +113,12 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'type' => [ 'type' => 'select', - 'title' => __('Broadcast Type', 'wp-ultimo'), - 'placeholder' => __('Type', 'wp-ultimo'), - 'desc' => __('Broadcast type cannot be edited.', 'wp-ultimo'), + 'title' => __('Broadcast Type', 'wp-multisite-waas'), + 'placeholder' => __('Type', 'wp-multisite-waas'), + 'desc' => __('Broadcast type cannot be edited.', 'wp-multisite-waas'), 'options' => [ - 'broadcast_email' => __('Email', 'wp-ultimo'), - 'broadcast_notice' => __('Admin Notice', 'wp-ultimo'), + 'broadcast_email' => __('Email', 'wp-multisite-waas'), + 'broadcast_notice' => __('Admin Notice', 'wp-multisite-waas'), ], 'value' => $this->get_object()->get_type(), 'tooltip' => '', @@ -129,14 +129,14 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { ], 'notice_type' => [ 'type' => 'select', - 'title' => __('Broadcast Status', 'wp-ultimo'), - 'placeholder' => __('Status', 'wp-ultimo'), - 'desc' => __('This option determines the color of the admin notice.', 'wp-ultimo'), + 'title' => __('Broadcast Status', 'wp-multisite-waas'), + 'placeholder' => __('Status', 'wp-multisite-waas'), + 'desc' => __('This option determines the color of the admin notice.', 'wp-multisite-waas'), 'options' => [ - 'info' => __('Info (blue)', 'wp-ultimo'), - 'success' => __('Success (green)', 'wp-ultimo'), - 'warning' => __('Warning (yellow)', 'wp-ultimo'), - 'error' => __('Error (red)', 'wp-ultimo'), + 'info' => __('Info (blue)', 'wp-multisite-waas'), + 'success' => __('Success (green)', 'wp-multisite-waas'), + 'warning' => __('Warning (yellow)', 'wp-multisite-waas'), + 'error' => __('Error (red)', 'wp-multisite-waas'), ], 'value' => $this->get_object()->get_notice_type(), 'tooltip' => '', @@ -149,9 +149,9 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { ] ); - add_meta_box('wp-ultimo-broadcast-customer-targets', __('Customer Targets', 'wp-ultimo'), [$this, 'output_default_widget_customer_targets'], get_current_screen()->id, 'side'); + add_meta_box('wp-ultimo-broadcast-customer-targets', __('Customer Targets', 'wp-multisite-waas'), [$this, 'output_default_widget_customer_targets'], get_current_screen()->id, 'side'); - add_meta_box('wp-ultimo-broadcast-product-targets', __('Product Targets', 'wp-ultimo'), [$this, 'output_default_widget_product_targets'], get_current_screen()->id, 'side'); + add_meta_box('wp-ultimo-broadcast-product-targets', __('Product Targets', 'wp-multisite-waas'), [$this, 'output_default_widget_product_targets'], get_current_screen()->id, 'side'); } /** @@ -187,7 +187,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { switch ($targets) { case $targets_count < 0: - $not_found = __('No customer found', 'wp-ultimo'); + $not_found = __('No customer found', 'wp-multisite-waas'); $html .= " 
@@ -270,9 +270,9 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { %s %s
', wu_get_form_url('view_broadcast_targets', $modal_atts), - __('Targets', 'wp-ultimo'), + __('Targets', 'wp-multisite-waas'), $targets_count, - __('Targets', 'wp-ultimo') + __('Targets', 'wp-multisite-waas') ); } else { $count = $targets_count - 6; @@ -290,9 +290,9 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { %s %s ', wu_get_form_url('view_broadcast_targets', $modal_atts), - __('Targets', 'wp-ultimo'), + __('Targets', 'wp-multisite-waas'), $targets_count, - __('Targets', 'wp-ultimo') + __('Targets', 'wp-multisite-waas') ); } @@ -345,7 +345,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { } // translators: %s is the number of customers. - $description = sprintf(__('%s customer(s) targeted.', 'wp-ultimo'), $customer_count); + $description = sprintf(__('%s customer(s) targeted.', 'wp-multisite-waas'), $customer_count); $product_targets[ $key ] = [ 'link' => $link, @@ -360,7 +360,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { $args = [ 'targets' => $product_targets, - 'loading_text' => __('Loading...', 'wp-ultimo'), + 'loading_text' => __('Loading...', 'wp-multisite-waas'), 'wrapper_class' => 'wu-bg-gray-100 wu--mt-3 wu--mb-6 wu--mx-3', 'modal_class' => 'wubox', ]; @@ -376,7 +376,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Broadcast', 'wp-ultimo') : __('Add new Broadcast', 'wp-ultimo'); + return $this->edit ? __('Edit Broadcast', 'wp-multisite-waas') : __('Add new Broadcast', 'wp-multisite-waas'); } /** @@ -387,7 +387,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Broadcast', 'wp-ultimo'); + return __('Edit Broadcast', 'wp-multisite-waas'); } /** @@ -410,15 +410,15 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Broadcast', 'wp-ultimo'), - 'add_new_label' => __('Add new Broadcast', 'wp-ultimo'), - 'updated_message' => __('Broadcast updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Broadcast Title', 'wp-ultimo'), - 'title_description' => __('This title is used on the message itself, and in the case of a broadcast email, it will be used as the subject.', 'wp-ultimo'), - 'save_button_label' => __('Save Broadcast', 'wp-ultimo'), + 'edit_label' => __('Edit Broadcast', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Broadcast', 'wp-multisite-waas'), + 'updated_message' => __('Broadcast updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Broadcast Title', 'wp-multisite-waas'), + 'title_description' => __('This title is used on the message itself, and in the case of a broadcast email, it will be used as the subject.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Broadcast', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Broadcast', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Broadcast', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -454,7 +454,7 @@ class Broadcast_Edit_Admin_Page extends Edit_Admin_Page { $item = $query->get_item_by('id', $_GET['id']); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-broadcasts')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-broadcasts')); exit; } diff --git a/inc/admin-pages/class-broadcast-list-admin-page.php b/inc/admin-pages/class-broadcast-list-admin-page.php index bb8083d..cdb5299 100644 --- a/inc/admin-pages/class-broadcast-list-admin-page.php +++ b/inc/admin-pages/class-broadcast-list-admin-page.php @@ -176,7 +176,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { } // translators: %s is the number of customers. - $description = sprintf(__('%s customer(s) targeted.', 'wp-ultimo'), $customer_count); + $description = sprintf(__('%s customer(s) targeted.', 'wp-multisite-waas'), $customer_count); $display_targets[ $key ] = [ 'link' => $link, @@ -267,8 +267,8 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { $fields = [ 'type' => [ 'type' => 'select-icon', - 'title' => __('Broadcast Type', 'wp-ultimo'), - 'desc' => __('Select the type of message you want to send.', 'wp-ultimo'), + 'title' => __('Broadcast Type', 'wp-multisite-waas'), + 'desc' => __('Select the type of message you want to send.', 'wp-multisite-waas'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -281,29 +281,29 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'options' => [ 'broadcast_notice' => [ - 'title' => __('Message', 'wp-ultimo'), - 'tooltip' => __('Display a message on your customers\' dashboard.', 'wp-ultimo'), + 'title' => __('Message', 'wp-multisite-waas'), + 'tooltip' => __('Display a message on your customers\' dashboard.', 'wp-multisite-waas'), 'icon' => 'dashicons-before dashicons-excerpt-view', ], 'broadcast_email' => [ - 'title' => __('Email', 'wp-ultimo'), - 'tooltip' => __('Send an email to your customers.', 'wp-ultimo'), + 'title' => __('Email', 'wp-multisite-waas'), + 'tooltip' => __('Send an email to your customers.', 'wp-multisite-waas'), 'icon' => 'dashicons-before dashicons-email', ], ], ], 'step_note' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('← Back to Type Selection', 'wp-ultimo')), + 'desc' => sprintf('%s', __('← Back to Type Selection', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-show' => 'step === 2', ], ], 'target_customers' => [ 'type' => 'model', - 'title' => __('Target Customers', 'wp-ultimo'), - 'desc' => __('This broadcast will be sent to the user or users that are selected here. You can select more than one.', 'wp-ultimo'), - 'placeholder' => __('Search a customer...', 'wp-ultimo'), + 'title' => __('Target Customers', 'wp-multisite-waas'), + 'desc' => __('This broadcast will be sent to the user or users that are selected here. You can select more than one.', 'wp-multisite-waas'), + 'placeholder' => __('Search a customer...', 'wp-multisite-waas'), 'min' => 1, 'html_attr' => [ 'v-model' => 'target_customers', @@ -319,9 +319,9 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'target_products' => [ 'type' => 'model', - 'title' => __('Target Product', 'wp-ultimo'), - 'desc' => __('This broadcast will be sent to the users that have this product. You can select more than one.', 'wp-ultimo'), - 'placeholder' => __('Search for a product..', 'wp-ultimo'), + 'title' => __('Target Product', 'wp-multisite-waas'), + 'desc' => __('This broadcast will be sent to the users that have this product. You can select more than one.', 'wp-multisite-waas'), + 'placeholder' => __('Search for a product..', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'target_products', 'data-model' => 'product', @@ -335,15 +335,15 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], ], 'notice_type' => [ - 'title' => __('Message Type', 'wp-ultimo'), - 'desc' => __('The color of the notice is based on the type.', 'wp-ultimo'), + 'title' => __('Message Type', 'wp-multisite-waas'), + 'desc' => __('The color of the notice is based on the type.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'success', 'options' => [ - 'success' => __('Success (green)', 'wp-ultimo'), - 'info' => __('Info (blue)', 'wp-ultimo'), - 'warning' => __('Warning (orange)', 'wp-ultimo'), - 'error' => __('Error (red)', 'wp-ultimo'), + 'success' => __('Success (green)', 'wp-multisite-waas'), + 'info' => __('Info (blue)', 'wp-multisite-waas'), + 'warning' => __('Warning (orange)', 'wp-multisite-waas'), + 'error' => __('Error (red)', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => "step === 2 && require('type', 'broadcast_notice')", @@ -352,16 +352,16 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'step_note_2' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('← Back to Target Selection', 'wp-ultimo')), + 'desc' => sprintf('%s', __('← Back to Target Selection', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-show' => 'step === 3', ], ], 'subject' => [ 'type' => 'text', - 'title' => __('Message Subject', 'wp-ultimo'), - 'desc' => __('The title will appear above the main content in the notice or used as subject of the email.', 'wp-ultimo'), - 'placeholder' => __('Enter a title for your broadcast.', 'wp-ultimo'), + 'title' => __('Message Subject', 'wp-multisite-waas'), + 'desc' => __('The title will appear above the main content in the notice or used as subject of the email.', 'wp-multisite-waas'), + 'placeholder' => __('Enter a title for your broadcast.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'subject', ], @@ -371,8 +371,8 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'content' => [ 'id' => 'content', - 'title' => __('Content', 'wp-ultimo'), - 'desc' => __('The main content of your broadcast.', 'wp-ultimo'), + 'title' => __('Content', 'wp-multisite-waas'), + 'desc' => __('The main content of your broadcast.', 'wp-multisite-waas'), 'type' => 'wp-editor', 'settings' => [ 'tinymce' => ['toolbar1' => 'bold,italic,strikethrough,link,unlink,undo,redo,pastetext'], @@ -386,7 +386,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Next Step →', 'wp-ultimo'), + 'title' => __('Next Step →', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -400,7 +400,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'submit_button_2' => [ 'type' => 'submit', - 'title' => __('Next Step →', 'wp-ultimo'), + 'title' => __('Next Step →', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -414,7 +414,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { ], 'submit_button_3' => [ 'type' => 'submit', - 'title' => __('Send →', 'wp-ultimo'), + 'title' => __('Send →', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -484,8 +484,8 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Broadcast removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Broadcast', 'wp-ultimo'), + 'deleted_message' => __('Broadcast removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Broadcast', 'wp-multisite-waas'), ]; } @@ -497,7 +497,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Broadcast', 'wp-ultimo'); + return __('Broadcast', 'wp-multisite-waas'); } /** @@ -508,7 +508,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Broadcasts', 'wp-ultimo'); + return __('Broadcasts', 'wp-multisite-waas'); } /** @@ -519,7 +519,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Broadcasts', 'wp-ultimo'); + return __('Broadcasts', 'wp-multisite-waas'); } /** @@ -532,7 +532,7 @@ class Broadcast_List_Admin_Page extends List_Admin_Page { return [ [ - 'label' => __('Add Broadcast', 'wp-ultimo'), + 'label' => __('Add Broadcast', 'wp-multisite-waas'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_broadcast_message'), diff --git a/inc/admin-pages/class-checkout-form-edit-admin-page.php b/inc/admin-pages/class-checkout-form-edit-admin-page.php index 7e8ad23..df13637 100644 --- a/inc/admin-pages/class-checkout-form-edit-admin-page.php +++ b/inc/admin-pages/class-checkout-form-edit-admin-page.php @@ -107,7 +107,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { */ public function add_width_control_script(): void { - wp_enqueue_script('wu-checkout-form-edit-modal', wu_get_asset('checkout-form-editor-modal.js', 'js'), [], wu_get_version()); + wp_enqueue_script('wu-checkout-form-edit-modal', wu_get_asset('checkout-form-editor-modal.js', 'js'), [], wu_get_version(), true); } /** @@ -212,7 +212,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ); if ($index < $count - 1) { - $content .= sprintf('
', __('Step Separator', 'wp-ultimo')); + $content .= sprintf('
', __('Step Separator', 'wp-multisite-waas')); } } @@ -380,9 +380,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'v-model' => 'tab', ], 'options' => [ - 'content' => __('Field', 'wp-ultimo'), - 'advanced' => __('Additional Settings', 'wp-ultimo'), - 'style' => __('Style', 'wp-ultimo'), + 'content' => __('Field', 'wp-multisite-waas'), + 'advanced' => __('Additional Settings', 'wp-multisite-waas'), + 'style' => __('Style', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'type', @@ -392,8 +392,8 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { // Content Tab 'type' => [ 'type' => 'select-icon', - 'title' => __('Field Type', 'wp-ultimo'), - 'desc' => __('Select the type of field you want to add to the checkout form.', 'wp-ultimo'), + 'title' => __('Field Type', 'wp-multisite-waas'), + 'desc' => __('Select the type of field you want to add to the checkout form.', 'wp-multisite-waas'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -410,7 +410,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'type_note' => [ 'type' => 'note', 'order' => 0, - 'desc' => sprintf('%s', __('← Back to Field Type Selection', 'wp-ultimo')), + 'desc' => sprintf('%s', __('← Back to Field Type Selection', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-show' => 'type && (!saved && !name)', 'v-cloak' => '1', @@ -428,9 +428,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { // Advanced Tab 'from_request' => [ 'type' => 'toggle', - 'title' => __('Pre-fill from Request', 'wp-ultimo'), - 'tooltip' => __('The key is the field slug. If your field has the slug "my-color" for example, adding ?my-color=blue will pre-fill this field with the value "blue".', 'wp-ultimo'), - 'desc' => __('Enable this to allow this field to be pre-filled based on the request parameters.', 'wp-ultimo'), + 'title' => __('Pre-fill from Request', 'wp-multisite-waas'), + 'tooltip' => __('The key is the field slug. If your field has the slug "my-color" for example, adding ?my-color=blue will pre-fill this field with the value "blue".', 'wp-multisite-waas'), + 'desc' => __('Enable this to allow this field to be pre-filled based on the request parameters.', 'wp-multisite-waas'), 'value' => 1, 'order' => 100, 'html_attr' => [ @@ -446,12 +446,12 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'logged' => [ 'type' => 'select', 'value' => 'always', - 'title' => __('Field Visibility', 'wp-ultimo'), - 'desc' => __('Select the visibility of this field.', 'wp-ultimo'), + 'title' => __('Field Visibility', 'wp-multisite-waas'), + 'desc' => __('Select the visibility of this field.', 'wp-multisite-waas'), 'options' => [ - 'always' => __('Always show', 'wp-ultimo'), - 'logged_only' => __('Only show for logged in users', 'wp-ultimo'), - 'guests_only' => __('Only show for guests', 'wp-ultimo'), + 'always' => __('Always show', 'wp-multisite-waas'), + 'logged_only' => __('Only show for logged in users', 'wp-multisite-waas'), + 'guests_only' => __('Only show for guests', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'logged', @@ -473,9 +473,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { // Style Tab 'width' => [ 'type' => 'number', - 'title' => __('Wrapper Width', 'wp-ultimo'), - 'placeholder' => __('100', 'wp-ultimo'), - 'desc' => __('Set the width of this field wrapper (in %).', 'wp-ultimo'), + 'title' => __('Wrapper Width', 'wp-multisite-waas'), + 'placeholder' => __('100', 'wp-multisite-waas'), + 'desc' => __('Set the width of this field wrapper (in %).', 'wp-multisite-waas'), 'min' => 0, 'max' => 100, 'value' => 100, @@ -490,9 +490,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], 'wrapper_element_classes' => [ 'type' => 'text', - 'title' => __('Wrapper CSS Classes', 'wp-ultimo'), - 'placeholder' => __('e.g. custom-field example-class', 'wp-ultimo'), - 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field wrapper element.', 'wp-ultimo'), + 'title' => __('Wrapper CSS Classes', 'wp-multisite-waas'), + 'placeholder' => __('e.g. custom-field example-class', 'wp-multisite-waas'), + 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field wrapper element.', 'wp-multisite-waas'), 'value' => '', 'order' => 54, 'html_attr' => [ @@ -505,9 +505,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], 'element_classes' => [ 'type' => 'text', - 'title' => __('Field CSS Classes', 'wp-ultimo'), - 'placeholder' => __('e.g. custom-field example-class', 'wp-ultimo'), - 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field element itself, when possible.', 'wp-ultimo'), + 'title' => __('Field CSS Classes', 'wp-multisite-waas'), + 'placeholder' => __('e.g. custom-field example-class', 'wp-multisite-waas'), + 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field element itself, when possible.', 'wp-multisite-waas'), 'value' => '', 'order' => 56, 'html_attr' => [ @@ -544,7 +544,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $default_field['wrapper_html_attr'] = array_merge( wu_get_isset($default_field, 'wrapper_html_attr', []), [ - 'v-if' => sprintf('type && require("type", %s) && require("tab", "%s")', json_encode($reqs), $tab), + 'v-if' => sprintf('type && require("type", %s) && require("tab", "%s")', wp_json_encode($reqs), $tab), 'v-cloak' => '1', ] ); @@ -552,11 +552,11 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { if ('name' === $default_field_slug || 'id' === $default_field_slug || 'default_value' === $default_field_slug) { unset($default_field['wrapper_html_attr']['v-if']); - $default_field['wrapper_html_attr']['v-show'] = sprintf('type && require("type", %s) && require("tab", "%s")', json_encode($reqs), $tab); + $default_field['wrapper_html_attr']['v-show'] = sprintf('type && require("type", %s) && require("tab", "%s")', wp_json_encode($reqs), $tab); } if ('id' === $default_field_slug) { - $default_field['html_attr']['v-bind:required'] = sprintf('type && require("type", %s) && require("tab", "content")', json_encode($reqs)); + $default_field['html_attr']['v-bind:required'] = sprintf('type && require("type", %s) && require("tab", "content")', wp_json_encode($reqs)); } } @@ -567,7 +567,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { [ 'submit_button' => [ 'type' => 'submit', - 'title' => empty($attributes) ? __('Add Field', 'wp-ultimo') : __('Save Field', 'wp-ultimo'), + 'title' => empty($attributes) ? __('Add Field', 'wp-multisite-waas') : __('Save Field', 'wp-multisite-waas'), 'value' => 'save', 'order' => 100, 'classes' => 'button button-primary wu-w-full', @@ -777,7 +777,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { wp_send_json_error( new \WP_Error( 'checkout-form-not-found', - __('The checkout form could not be found.', 'wp-ultimo') + __('The checkout form could not be found.', 'wp-multisite-waas') ) ); } @@ -855,18 +855,18 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'v-model' => 'tab', ], 'options' => [ - 'content' => __('Content', 'wp-ultimo'), - 'visibility' => __('Visibility', 'wp-ultimo'), - 'style' => __('Style', 'wp-ultimo'), + 'content' => __('Content', 'wp-multisite-waas'), + 'visibility' => __('Visibility', 'wp-multisite-waas'), + 'style' => __('Style', 'wp-multisite-waas'), ], ], // Content Tab 'id' => [ 'type' => 'text', - 'title' => __('Step ID', 'wp-ultimo'), - 'placeholder' => __('e.g. step-name', 'wp-ultimo'), - 'desc' => __('This will be used on the URL. Only alpha-numeric and hyphens allowed.', 'wp-ultimo'), + 'title' => __('Step ID', 'wp-multisite-waas'), + 'placeholder' => __('e.g. step-name', 'wp-multisite-waas'), + 'desc' => __('This will be used on the URL. Only alpha-numeric and hyphens allowed.', 'wp-multisite-waas'), 'value' => '', 'html_attr' => [ 'v-on:input' => 'id = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', @@ -887,9 +887,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], 'name' => [ 'type' => 'text', - 'title' => __('Step Title', 'wp-ultimo'), - 'placeholder' => __('e.g. My Extra Step', 'wp-ultimo'), - 'desc' => __('Mostly used internally, but made available for templates.', 'wp-ultimo'), + 'title' => __('Step Title', 'wp-multisite-waas'), + 'placeholder' => __('e.g. My Extra Step', 'wp-multisite-waas'), + 'desc' => __('Mostly used internally, but made available for templates.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => '', 'html_attr' => [ @@ -903,9 +903,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], 'desc' => [ 'type' => 'textarea', - 'title' => __('Step Description', 'wp-ultimo'), - 'placeholder' => __('e.g. This is the last step!', 'wp-ultimo'), - 'desc' => __('Mostly used internally, but made available for templates.', 'wp-ultimo'), + 'title' => __('Step Description', 'wp-multisite-waas'), + 'placeholder' => __('e.g. This is the last step!', 'wp-multisite-waas'), + 'desc' => __('Mostly used internally, but made available for templates.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => '', 'html_attr' => [ @@ -922,12 +922,12 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'logged' => [ 'type' => 'select', 'value' => 'always', - 'title' => __('Logged Status', 'wp-ultimo'), - 'desc' => __('Select the visibility of this step.', 'wp-ultimo'), + 'title' => __('Logged Status', 'wp-multisite-waas'), + 'desc' => __('Select the visibility of this step.', 'wp-multisite-waas'), 'options' => [ - 'always' => __('Always show', 'wp-ultimo'), - 'logged_only' => __('Only show for logged in users', 'wp-ultimo'), - 'guests_only' => __('Only show for guests', 'wp-ultimo'), + 'always' => __('Always show', 'wp-multisite-waas'), + 'logged_only' => __('Only show for logged in users', 'wp-multisite-waas'), + 'guests_only' => __('Only show for guests', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'logged', @@ -941,9 +941,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { // Style Tab 'element_id' => [ 'type' => 'text', - 'title' => __('Element ID', 'wp-ultimo'), - 'placeholder' => __('myfield', 'wp-ultimo'), - 'desc' => __('A custom ID to be added to the form element. Do not add the # symbol.', 'wp-ultimo'), + 'title' => __('Element ID', 'wp-multisite-waas'), + 'placeholder' => __('myfield', 'wp-multisite-waas'), + 'desc' => __('A custom ID to be added to the form element. Do not add the # symbol.', 'wp-multisite-waas'), 'value' => '', 'html_attr' => [ 'v-model' => 'element_id', @@ -956,9 +956,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'classes' => [ 'type' => 'text', - 'title' => __('Extra CSS Classes', 'wp-ultimo'), - 'placeholder' => __('custom-field example-class', 'wp-ultimo'), - 'desc' => __('You can enter multiple CSS classes separated by spaces.', 'wp-ultimo'), + 'title' => __('Extra CSS Classes', 'wp-multisite-waas'), + 'placeholder' => __('custom-field example-class', 'wp-multisite-waas'), + 'desc' => __('You can enter multiple CSS classes separated by spaces.', 'wp-multisite-waas'), 'value' => '', 'html_attr' => [ 'v-model' => 'classes', @@ -972,7 +972,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { // Submit Button 'submit_button' => [ 'type' => 'submit', - 'title' => empty($_step) ? __('Add Step', 'wp-ultimo') : __('Save Step', 'wp-ultimo'), + 'title' => empty($_step) ? __('Add Step', 'wp-multisite-waas') : __('Save Step', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -1033,7 +1033,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { wp_send_json_error( new \WP_Error( 'checkout-form-not-found', - __('The checkout form could not be found.', 'wp-ultimo') + __('The checkout form could not be found.', 'wp-multisite-waas') ) ); } @@ -1150,10 +1150,10 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'register_page' => wu_get_registration_url(), 'steps' => $steps, 'headers' => [ - 'order' => __('Order', 'wp-ultimo'), - 'name' => __('Label', 'wp-ultimo'), - 'type' => __('Type', 'wp-ultimo'), - 'slug' => __('Slug', 'wp-ultimo'), + 'order' => __('Order', 'wp-multisite-waas'), + 'name' => __('Label', 'wp-multisite-waas'), + 'type' => __('Type', 'wp-multisite-waas'), + 'slug' => __('Slug', 'wp-multisite-waas'), 'move' => '', ], ] @@ -1161,10 +1161,10 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { wp_enqueue_script('wu-checkout-form-editor'); - wp_enqueue_script('wu-vue-sortable', '//cdn.jsdelivr.net/npm/sortablejs@1.8.4/Sortable.min.js', [], wu_get_version()); - wp_enqueue_script('wu-vue-draggable', '//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.20.0/vuedraggable.umd.min.js', [], wu_get_version()); + wp_enqueue_script('wu-vue-sortable', '//cdn.jsdelivr.net/npm/sortablejs@1.8.4/Sortable.min.js', [], wu_get_version(), true); + wp_enqueue_script('wu-vue-draggable', '//cdnjs.cloudflare.com/ajax/libs/Vue.Draggable/2.20.0/vuedraggable.umd.min.js', [], wu_get_version(), true); - wp_enqueue_style('wu-checkout-form-editor', wu_get_asset('checkout-editor.css', 'css')); + wp_enqueue_style('wu-checkout-form-editor', wu_get_asset('checkout-editor.css', 'css'), [], wu_get_version()); } /** @@ -1209,9 +1209,9 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $new_fields['conversion_snippets'] = [ 'type' => 'code-editor', - 'title' => __('Conversion Snippets', 'wp-ultimo'), + 'title' => __('Conversion Snippets', 'wp-multisite-waas'), // translators: %s is a list of placeholders. - 'desc' => sprintf(__('Add custom snippets in HTML (with javascript support) to add conversion tracking pixels and such. This code is only run on the successful Thank You step.
Available placeholders are: %s', 'wp-ultimo'), $fields_placeholder), + 'desc' => sprintf(__('Add custom snippets in HTML (with javascript support) to add conversion tracking pixels and such. This code is only run on the successful Thank You step.
Available placeholders are: %s', 'wp-multisite-waas'), $fields_placeholder), 'value' => $this->get_object()->get_conversion_snippets(), 'lang' => 'htmlmixed', ]; @@ -1247,15 +1247,15 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'advanced', [ - 'title' => __('Advanced Options', 'wp-ultimo'), + 'title' => __('Advanced Options', 'wp-multisite-waas'), 'position' => 'advanced', 'html_attr' => [ 'data-on-load' => 'wu_initialize_code_editors', ], 'sections' => [ 'thank-you' => [ - 'title' => __('Thank You', 'wp-ultimo'), - 'desc' => __('Configure the Thank You page for this Checkout Form.', 'wp-ultimo'), + 'title' => __('Thank You', 'wp-multisite-waas'), + 'desc' => __('Configure the Thank You page for this Checkout Form.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-emoji-happy', 'state' => [ 'enable_thank_you_page' => $this->get_object()->has_thank_you_page(), @@ -1264,8 +1264,8 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => $this->get_thank_you_page_fields(), ], 'scripts' => [ - 'title' => __('Scripts', 'wp-ultimo'), - 'desc' => __('Configure the Thank You page for this Checkout Form.', 'wp-ultimo'), + 'title' => __('Scripts', 'wp-multisite-waas'), + 'desc' => __('Configure the Thank You page for this Checkout Form.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-code', 'state' => [ 'enable_thank_you_page' => $this->get_object()->has_thank_you_page(), @@ -1274,16 +1274,16 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'custom_css' => [ 'type' => 'code-editor', - 'title' => __('Custom CSS', 'wp-ultimo'), - 'desc' => __('Add custom CSS code to your checkout form. SCSS syntax is supported.', 'wp-ultimo'), + 'title' => __('Custom CSS', 'wp-multisite-waas'), + 'desc' => __('Add custom CSS code to your checkout form. SCSS syntax is supported.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_custom_css(), 'lang' => 'css', ], ], ], 'restrictions' => [ - 'title' => __('Restrictions', 'wp-ultimo'), - 'desc' => __('Control the access to this checkout form.', 'wp-ultimo'), + 'title' => __('Restrictions', 'wp-multisite-waas'), + 'desc' => __('Control the access to this checkout form.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-block', 'state' => [ 'restrict_by_country' => $this->get_object()->has_country_lock(), @@ -1291,17 +1291,17 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'restrict_by_country' => [ 'type' => 'toggle', - 'title' => __('Restrict by Country', 'wp-ultimo'), - 'desc' => __('Restrict this checkout form to specific countries.', 'wp-ultimo'), + 'title' => __('Restrict by Country', 'wp-multisite-waas'), + 'desc' => __('Restrict this checkout form to specific countries.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'restrict_by_country', ], ], 'allowed_countries' => [ 'type' => 'select', - 'title' => __('Allowed Countries', 'wp-ultimo'), - 'desc' => __('Select the allowed countries.', 'wp-ultimo'), - 'placeholder' => __('Type to search countries...', 'wp-ultimo'), + 'title' => __('Allowed Countries', 'wp-multisite-waas'), + 'desc' => __('Select the allowed countries.', 'wp-multisite-waas'), + 'placeholder' => __('Type to search countries...', 'wp-multisite-waas'), 'options' => 'wu_get_countries', 'value' => $this->get_object()->get_allowed_countries(), 'wrapper_html_attr' => [ @@ -1322,7 +1322,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], 'position' => 'advanced', @@ -1344,8 +1344,8 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Checkout Form Slug', 'wp-ultimo'), - 'desc' => __('This is used to create shortcodes and more.', 'wp-ultimo'), + 'title' => __('Checkout Form Slug', 'wp-multisite-waas'), + 'desc' => __('This is used to create shortcodes and more.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_slug(), 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -1358,7 +1358,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], 'slug_change_note' => [ 'type' => 'note', - 'desc' => __('You are changing the form slug. If you save this change, all the shortcodes and blocks referencing this slug will stop working until you update them with the new slug.', 'wp-ultimo'), + 'desc' => __('You are changing the form slug. If you save this change, all the shortcodes and blocks referencing this slug will stop working until you update them with the new slug.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_slug != slug) && slug', @@ -1372,12 +1372,12 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this checkout form.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this checkout form.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -1389,17 +1389,17 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { [ [ 'id' => 'checkout-form-editor', - 'title' => __('Welcome to the Checkout Form builder!', 'wp-ultimo'), + 'title' => __('Welcome to the Checkout Form builder!', 'wp-multisite-waas'), 'text' => [ - __('You should be able to create registration forms in any way, shape, and form you desire. This editor allows you to do just that 😃', 'wp-ultimo'), - __('Want a registration form with multiple steps? Check! A single step? Check! Control the visibility of certain steps and fields based on the context of the customer? Check!', 'wp-ultimo'), + __('You should be able to create registration forms in any way, shape, and form you desire. This editor allows you to do just that 😃', 'wp-multisite-waas'), + __('Want a registration form with multiple steps? Check! A single step? Check! Control the visibility of certain steps and fields based on the context of the customer? Check!', 'wp-multisite-waas'), ], ], [ 'id' => 'add-new-step', - 'title' => __('Adding new Steps', 'wp-ultimo'), + 'title' => __('Adding new Steps', 'wp-multisite-waas'), 'text' => [ - __('To add a new step to the registration form, use this button here.', 'wp-ultimo'), + __('To add a new step to the registration form, use this button here.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#wp-ultimo-list-table-add-new-1 > div > div.wu-w-1\/2.wu-text-right > ul > li:nth-child(2) > a', @@ -1408,10 +1408,10 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { ], [ 'id' => 'add-new-field', - 'title' => __('Adding new Fields', 'wp-ultimo'), + 'title' => __('Adding new Fields', 'wp-multisite-waas'), 'text' => [ - __('To add a new field to a step, use this button here. You can add fields to capture additional data from your customers and use that data to populate site templates.', 'wp-ultimo'), - sprintf('%s', wu_get_documentation_url('wp-ultimo-populate-site-template'), __('You can learn more about that here →', 'wp-ultimo')), + __('To add a new field to a step, use this button here. You can add fields to capture additional data from your customers and use that data to populate site templates.', 'wp-multisite-waas'), + sprintf('%s', wu_get_documentation_url('wp-ultimo-populate-site-template'), __('You can learn more about that here →', 'wp-multisite-waas')), ], 'attachTo' => [ 'element' => '#wp-ultimo-list-table-checkout > div.inside > div.wu-bg-gray-100.wu-px-4.wu-py-3.wu--m-3.wu-mt-3.wu-border-t.wu-border-l-0.wu-border-r-0.wu-border-b-0.wu-border-gray-400.wu-border-solid.wu-text-right > ul > li:nth-child(3) > a', @@ -1430,7 +1430,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Checkout Form', 'wp-ultimo') : __('Add new Checkout Form', 'wp-ultimo'); + return $this->edit ? __('Edit Checkout Form', 'wp-multisite-waas') : __('Add new Checkout Form', 'wp-multisite-waas'); } /** @@ -1441,7 +1441,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Checkout_Form', 'wp-ultimo'); + return __('Edit Checkout_Form', 'wp-multisite-waas'); } /** @@ -1453,15 +1453,15 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Checkout Form', 'wp-ultimo'), - 'add_new_label' => __('Add new Checkout Form', 'wp-ultimo'), - 'updated_message' => __('Checkout Form updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Checkout Form Name', 'wp-ultimo'), - 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'), - 'save_button_label' => __('Save Checkout Form', 'wp-ultimo'), + 'edit_label' => __('Edit Checkout Form', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Checkout Form', 'wp-multisite-waas'), + 'updated_message' => __('Checkout Form updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Checkout Form Name', 'wp-multisite-waas'), + 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Checkout Form', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Checkout Form', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Checkout Form', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -1500,7 +1500,7 @@ class Checkout_Form_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_checkout_form($item_id); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-checkout-forms')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-checkout-forms')); exit; } diff --git a/inc/admin-pages/class-checkout-form-list-admin-page.php b/inc/admin-pages/class-checkout-form-list-admin-page.php index 7c1cc97..963169c 100644 --- a/inc/admin-pages/class-checkout-form-list-admin-page.php +++ b/inc/admin-pages/class-checkout-form-list-admin-page.php @@ -69,17 +69,17 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { [ [ 'id' => 'checkout-form-list', - 'title' => __('Checkout Forms', 'wp-ultimo'), + 'title' => __('Checkout Forms', 'wp-multisite-waas'), 'text' => [ - __('Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers.', 'wp-ultimo'), + __('Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers.', 'wp-multisite-waas'), ], ], [ 'id' => 'default-form', - 'title' => __('Experiment!', 'wp-ultimo'), + 'title' => __('Experiment!', 'wp-multisite-waas'), 'text' => [ - __('You can create as many checkout forms as you want, with different fields, products on offer, etc.', 'wp-ultimo'), - __('Planning on running some sort of promotion? Why not create a custom landing page with a tailor-maid checkout form to go with? The possibilities are endless.', 'wp-ultimo'), + __('You can create as many checkout forms as you want, with different fields, products on offer, etc.', 'wp-multisite-waas'), + __('Planning on running some sort of promotion? Why not create a custom landing page with a tailor-maid checkout form to go with? The possibilities are endless.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#wp-ultimo-wrap > h1 > a:first-child', @@ -121,8 +121,8 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { $fields = [ 'template' => [ 'type' => 'select-icon', - 'title' => __('Checkout Form Template', 'wp-ultimo'), - 'desc' => __('Select a starting point for a new Checkout Form.', 'wp-ultimo'), + 'title' => __('Checkout Form Template', 'wp-multisite-waas'), + 'desc' => __('Select a starting point for a new Checkout Form.', 'wp-multisite-waas'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -132,22 +132,22 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { ], 'options' => [ 'single-step' => [ - 'title' => __('Single Step', 'wp-ultimo'), + 'title' => __('Single Step', 'wp-multisite-waas'), 'icon' => 'dashicons-before dashicons-list-view', ], 'multi-step' => [ - 'title' => __('Multi-Step', 'wp-ultimo'), + 'title' => __('Multi-Step', 'wp-multisite-waas'), 'icon' => 'dashicons-before dashicons-excerpt-view', ], 'blank' => [ - 'title' => __('Blank', 'wp-ultimo'), + 'title' => __('Blank', 'wp-multisite-waas'), 'icon' => 'dashicons-before dashicons-admin-page', ], ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Go to the Editor →', 'wp-ultimo'), + 'title' => __('Go to the Editor →', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -163,7 +163,7 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'add_checkout_form_field', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'template' => 'single-step', ] @@ -189,7 +189,7 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { $checkout_form->use_template($template); - $checkout_form->set_name(__('Draft Checkout Form', 'wp-ultimo')); + $checkout_form->set_name(__('Draft Checkout Form', 'wp-multisite-waas')); $checkout_form->set_slug(uniqid()); @@ -222,8 +222,8 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Checkout Form removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Checkout Form', 'wp-ultimo'), + 'deleted_message' => __('Checkout Form removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Checkout Form', 'wp-multisite-waas'), ]; } @@ -235,7 +235,7 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Checkout Forms', 'wp-ultimo'); + return __('Checkout Forms', 'wp-multisite-waas'); } /** @@ -246,7 +246,7 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Checkout Forms', 'wp-ultimo'); + return __('Checkout Forms', 'wp-multisite-waas'); } /** @@ -257,7 +257,7 @@ class Checkout_Form_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Checkout Forms', 'wp-ultimo'); + return __('Checkout Forms', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-customer-edit-admin-page.php b/inc/admin-pages/class-customer-edit-admin-page.php index b6313c9..2917107 100644 --- a/inc/admin-pages/class-customer-edit-admin-page.php +++ b/inc/admin-pages/class-customer-edit-admin-page.php @@ -108,6 +108,8 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { wp_enqueue_style('wu-flags'); + wp_enqueue_script_module('wu-flags-polyfill'); + wp_enqueue_editor(); wp_enqueue_media(); @@ -159,16 +161,16 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'wp-ultimo'), - 'desc' => __('This will start the transfer of assets from one user to another.', 'wp-ultimo'), + 'title' => __('Confirm Transfer', 'wp-multisite-waas'), + 'desc' => __('This will start the transfer of assets from one user to another.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'wp-ultimo'), - 'placeholder' => __('Start Transfer', 'wp-ultimo'), + 'title' => __('Start Transfer', 'wp-multisite-waas'), + 'placeholder' => __('Start Transfer', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -221,11 +223,11 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $target_user = get_user_by('id', wu_request('target_user_id')); if ( ! $customer) { - wp_send_json_error(new \WP_Error('not-found', __('Customer not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Customer not found.', 'wp-multisite-waas'))); } if ( ! $target_user) { - wp_send_json_error(new \WP_Error('not-found', __('User not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('User not found.', 'wp-multisite-waas'))); } $customer->set_user_id($target_user->ID); @@ -261,8 +263,8 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $custom_fields = [ 'delete_all' => [ 'type' => 'toggle', - 'title' => __('Delete everything', 'wp-ultimo'), - 'desc' => __('Sites, payments and memberships.', 'wp-ultimo'), + 'title' => __('Delete everything', 'wp-multisite-waas'), + 'desc' => __('Sites, payments and memberships.', 'wp-multisite-waas'), 'html_attr' => [ 'v-bind:value' => 'delete_all_confirmed', 'v-model' => 'delete_all_confirmed', @@ -270,8 +272,8 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 're_assignment_customer_id' => [ 'type' => 'model', - 'title' => __('Re-assignment to customer', 'wp-ultimo'), - 'placeholder' => __('Select Customer...', 'wp-ultimo'), + 'title' => __('Re-assignment to customer', 'wp-multisite-waas'), + 'placeholder' => __('Select Customer...', 'wp-multisite-waas'), 'html_attr' => [ 'data-model' => 'customer', 'data-value-field' => 'id', @@ -411,7 +413,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $field_location_breadcrumbs = [ __( 'orphan field - the original form no longer exists', - 'wp-ultimo' + 'wp-multisite-waas' ), ]; @@ -427,7 +429,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $location = sprintf( '%s %s', - __('Location:', 'wp-ultimo'), + __('Location:', 'wp-multisite-waas'), implode(' → ', array_filter($field_location_breadcrumbs)) ); @@ -475,10 +477,10 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { if ($meta_fields_unset) { $collapsible_header['display_unset_fields'] = [ - 'title' => __('Display unset fields', 'wp-ultimo'), + 'title' => __('Display unset fields', 'wp-multisite-waas'), 'desc' => __( 'If fields were added after the customer creation or onto a different form, they will not have a set value for this customer. You can manually set those here.', - 'wp-ultimo' + 'wp-multisite-waas' ), 'type' => 'toggle', 'wrapper_classes' => 'wu-bg-gray-100', @@ -493,14 +495,14 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { if (empty($final_fields)) { $final_fields['empty'] = [ 'type' => 'note', - 'desc' => __('No custom meta data collected and no custom fields found.', 'wp-ultimo'), + 'desc' => __('No custom meta data collected and no custom fields found.', 'wp-multisite-waas'), 'classes' => 'wu-text-center', ]; } $final_fields['display_new_meta_repeater'] = [ - 'title' => __('Manually add custom meta fields', 'wp-ultimo'), - 'desc' => __('Add new custom meta fields to this customer.', 'wp-ultimo'), + 'title' => __('Manually add custom meta fields', 'wp-multisite-waas'), + 'desc' => __('Add new custom meta fields to this customer.', 'wp-multisite-waas'), 'type' => 'toggle', 'wrapper_classes' => 'wu-bg-gray-100', 'html_attr' => [ @@ -509,7 +511,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ]; $default_meta_value = fn(string $type, $value = '', bool $is_default = false) => [ - 'title' => __('Value', 'wp-ultimo'), + 'title' => __('Value', 'wp-multisite-waas'), 'type' => $type, 'value' => $value, 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', @@ -534,12 +536,12 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'type' => 'note', 'desc' => sprintf( '', - __('Remove', 'wp-ultimo') + __('Remove', 'wp-multisite-waas') ), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'new_meta_slug' => [ - 'title' => __('Slug', 'wp-ultimo'), + 'title' => __('Slug', 'wp-multisite-waas'), 'type' => 'text', 'value' => '', 'wrapper_classes' => 'wu-w-1/4', @@ -550,7 +552,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], ], 'new_meta_title' => [ - 'title' => __('Title', 'wp-ultimo'), + 'title' => __('Title', 'wp-multisite-waas'), 'type' => 'text', 'value' => '', 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', @@ -559,14 +561,14 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], ], 'new_meta_type' => [ - 'title' => __('Type', 'wp-ultimo'), + 'title' => __('Type', 'wp-multisite-waas'), 'type' => 'select', 'options' => [ - 'text' => __('Text', 'wp-ultimo'), - 'textarea' => __('Textarea', 'wp-ultimo'), - 'checkbox' => __('Checkbox', 'wp-ultimo'), - 'color' => __('Color', 'wp-ultimo'), - 'image' => __('Image', 'wp-ultimo'), + 'text' => __('Text', 'wp-multisite-waas'), + 'textarea' => __('Textarea', 'wp-multisite-waas'), + 'checkbox' => __('Checkbox', 'wp-multisite-waas'), + 'color' => __('Color', 'wp-multisite-waas'), + 'image' => __('Image', 'wp-multisite-waas'), ], 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', 'html_attr' => [ @@ -589,7 +591,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 'repeat_option' => [ 'type' => 'submit', - 'title' => __('+ Add meta field', 'wp-ultimo'), + 'title' => __('+ Add meta field', 'wp-multisite-waas'), 'classes' => 'button wu-self-end', 'wrapper_classes' => 'wu-bg-whiten wu-items-end', 'html_attr' => [ @@ -628,7 +630,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'wp-ultimo'), + 'title' => __('At a Glance', 'wp-multisite-waas'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-m-0 wu--mt-1 wu--mx-3 wu--mb-3', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', @@ -639,23 +641,23 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'id' => [ 'type' => 'text-display', 'copy' => true, - 'title' => __('Customer ID', 'wp-ultimo'), + 'title' => __('Customer ID', 'wp-multisite-waas'), 'display_value' => $this->get_object()->get_id(), 'tooltip' => '', ], 'last_login' => [ 'edit' => false, - 'title' => __('Last Login', 'wp-ultimo'), + 'title' => __('Last Login', 'wp-multisite-waas'), 'type' => 'text-edit', 'value' => $this->edit ? $this->get_object()->get_last_login(false) : __( 'No date', - 'wp-ultimo' + 'wp-multisite-waas' ), 'display_value' => $this->edit ? $this->get_object()->get_last_login(false) : false, ], 'total_grossed' => [ 'type' => 'text-display', - 'title' => __('Total Grossed', 'wp-ultimo'), + 'title' => __('Total Grossed', 'wp-multisite-waas'), 'display_value' => wu_format_currency($this->get_object()->get_total_grossed()), 'tooltip' => '', ], @@ -666,7 +668,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'memberships', [ - 'title' => __('Memberships', 'wp-ultimo'), + 'title' => __('Memberships', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Customers_Membership_List_Table(), 'query_filter' => [$this, 'memberships_query_filter'], ] @@ -675,34 +677,34 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Customer Options', 'wp-ultimo'), + 'title' => __('Customer Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => apply_filters( 'wu_customer_options_sections', [ 'general' => [ - 'title' => __('General', 'wp-ultimo'), - 'desc' => __('General options for the customer.', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), + 'desc' => __('General options for the customer.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-globe', 'fields' => [ 'vip' => [ 'type' => 'toggle', - 'title' => __('VIP', 'wp-ultimo'), - 'desc' => __('Set this customer as a VIP.', 'wp-ultimo'), + 'title' => __('VIP', 'wp-multisite-waas'), + 'desc' => __('Set this customer as a VIP.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => $this->get_object()->is_vip(), ], ], ], 'billing_info' => [ - 'title' => __('Billing Info', 'wp-ultimo'), - 'desc' => __('Billing information for this particular customer', 'wp-ultimo'), + 'title' => __('Billing Info', 'wp-multisite-waas'), + 'desc' => __('Billing information for this particular customer', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-address', 'fields' => $this->get_object()->get_billing_address()->get_fields(), ], 'custom_meta' => [ - 'title' => __('Custom Meta', 'wp-ultimo'), - 'desc' => __('Custom data collected via WP Multisite WaaS forms.', 'wp-ultimo'), + 'title' => __('Custom Meta', 'wp-multisite-waas'), + 'desc' => __('Custom data collected via WP Multisite WaaS forms.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-database wu-pt-px', 'fields' => $this->generate_customer_meta_fields(), 'state' => [ @@ -719,8 +721,8 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { // @todo: bring these back // phpcs:disable // 'payment_methods' => array( - // 'title' => __('Payment Methods', 'wp-ultimo'), - // 'desc' => __('Add extra information to this customer.', 'wp-ultimo'), + // 'title' => __('Payment Methods', 'wp-multisite-waas'), + // 'desc' => __('Add extra information to this customer.', 'wp-multisite-waas'), // 'icon' => 'dashicons-wu-credit-card', // 'fields' => apply_filters('wu_customer_payment_methods', array(), $this->get_object(), $this), // ), @@ -734,7 +736,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'payments', [ - 'title' => __('Payments', 'wp-ultimo'), + 'title' => __('Payments', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Customers_Payment_List_Table(), 'query_filter' => [$this, 'memberships_query_filter'], ] @@ -743,7 +745,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'sites', [ - 'title' => __('Sites', 'wp-ultimo'), + 'title' => __('Sites', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Customers_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] @@ -752,7 +754,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -763,7 +765,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { [ 'html_attr' => [ 'data-wu-app' => 'customer_save', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'original_user_id' => $this->get_object()->get_user_id(), 'user_id' => $this->get_object()->get_user_id(), @@ -782,9 +784,9 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'user_id' => [ 'type' => 'model', - 'title' => __('User', 'wp-ultimo'), - 'placeholder' => __('Search WordPress user...', 'wp-ultimo'), - 'desc' => __('The WordPress user associated to this customer.', 'wp-ultimo'), + 'title' => __('User', 'wp-multisite-waas'), + 'placeholder' => __('Search WordPress user...', 'wp-multisite-waas'), + 'desc' => __('The WordPress user associated to this customer.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_user_id(), 'tooltip' => '', 'min' => 1, @@ -795,7 +797,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'display_name', 'data-search-field' => 'display_name', 'data-max-items' => 1, - 'data-selected' => json_encode($this->get_object()->get_user()->data), + 'data-selected' => wp_json_encode($this->get_object()->get_user()->data), ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -805,7 +807,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'type' => 'note', 'desc' => __( 'Changing the user will transfer the customer and all its assets to the new user.', - 'wp-ultimo' + 'wp-multisite-waas' ), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ @@ -815,16 +817,16 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 'email_verification' => [ 'type' => 'select', - 'title' => __('Email Verification', 'wp-ultimo'), - 'placeholder' => __('Select Status', 'wp-ultimo'), + 'title' => __('Email Verification', 'wp-multisite-waas'), + 'placeholder' => __('Select Status', 'wp-multisite-waas'), 'desc' => __( 'The email verification status. This gets automatically switched to Verified when the customer verifies their email address.', - 'wp-ultimo' + 'wp-multisite-waas' ), 'options' => [ - 'none' => __('None', 'wp-ultimo'), - 'pending' => __('Pending', 'wp-ultimo'), - 'verified' => __('Verified', 'wp-ultimo'), + 'none' => __('None', 'wp-multisite-waas'), + 'pending' => __('Pending', 'wp-multisite-waas'), + 'verified' => __('Verified', 'wp-multisite-waas'), ], 'value' => $this->get_object()->get_email_verification(), 'tooltip' => '', @@ -837,10 +839,10 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 'confirm_membership' => [ 'type' => 'toggle', - 'title' => __('Activate Memberships', 'wp-ultimo'), + 'title' => __('Activate Memberships', 'wp-multisite-waas'), 'desc' => __( 'If you toggle this option, this change in status will also activate the related pending memberships. If any sites are pending, they are also going to be published automatically.', - 'wp-ultimo' + 'wp-multisite-waas' ), 'value' => 0, 'wrapper_html_attr' => [ @@ -850,7 +852,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 'send_verification' => [ 'type' => 'submit', - 'title' => __('Re-send Verification Email →', 'wp-ultimo'), + 'title' => __('Re-send Verification Email →', 'wp-multisite-waas'), 'value' => 'send_verification', 'classes' => 'button wu-w-full', 'wrapper_html_attr' => [ @@ -871,7 +873,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Customer', 'wp-ultimo'), + 'display_value' => __('Transfer Customer', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -886,7 +888,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { 'target_user_id' => '', ] ) . "=' + user_id", - 'title' => __('Transfer Customer', 'wp-ultimo'), + 'title' => __('Transfer Customer', 'wp-multisite-waas'), ], ], ], @@ -896,16 +898,16 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'last-login', [ - 'title' => __('Last Login & IPs', 'wp-ultimo'), + 'title' => __('Last Login & IPs', 'wp-multisite-waas'), 'fields' => [ 'last_login' => [ 'edit' => true, - 'title' => __('Last Login', 'wp-ultimo'), + 'title' => __('Last Login', 'wp-multisite-waas'), 'type' => 'text-edit', 'date' => true, 'value' => $this->edit ? $this->get_object()->get_last_login(false) : __( 'No date', - 'wp-ultimo' + 'wp-multisite-waas' ), 'display_value' => $this->edit ? $this->get_object()->get_last_login(false) : false, 'placeholder' => '2020-04-04 12:00:00', @@ -916,12 +918,12 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ], ], 'ips' => [ - 'title' => __('IP Address', 'wp-ultimo'), + 'title' => __('IP Address', 'wp-multisite-waas'), 'type' => 'text-edit', 'display_value' => $this->get_object()->get_last_ip(), ], 'country' => [ - 'title' => __('IP Address Country', 'wp-ultimo'), + 'title' => __('IP Address Country', 'wp-multisite-waas'), 'type' => 'text-edit', 'display_value' => [$this, 'render_country'], ], @@ -944,10 +946,10 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { if ($country_code) { $html = sprintf( - '%s', + '%s%s', $country_name, - strtolower((string) $country_code), - wu_tooltip_text($country_name) + wu_tooltip_text($country_name), + wu_get_flag_emoji((string) $country_code) ); } else { $html = $country_name; @@ -964,7 +966,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Customer', 'wp-ultimo') : __('Add new Customer', 'wp-ultimo'); + return $this->edit ? __('Edit Customer', 'wp-multisite-waas') : __('Add new Customer', 'wp-multisite-waas'); } /** @@ -975,7 +977,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Customer', 'wp-ultimo'); + return __('Edit Customer', 'wp-multisite-waas'); } /** @@ -998,15 +1000,15 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Customer', 'wp-ultimo'), - 'add_new_label' => __('Add new Customer', 'wp-ultimo'), - 'updated_message' => __('Customer updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Customer', 'wp-ultimo'), + 'edit_label' => __('Edit Customer', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Customer', 'wp-multisite-waas'), + 'updated_message' => __('Customer updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Customer', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save Customer', 'wp-ultimo'), + 'save_button_label' => __('Save Customer', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Customer', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Customer', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -1080,7 +1082,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_customer($item_id); if ( ! $item || $item->get_type() !== 'customer') { - wp_redirect(wu_network_admin_url('wp-ultimo-customers')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-customers')); exit; } @@ -1121,7 +1123,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { ] ); - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } @@ -1222,7 +1224,7 @@ class Customer_Edit_Admin_Page extends Edit_Admin_Page { if (isset($_GET['notice_verification_sent'])) : ?>
-

+

'type', ], 'options' => [ - 'existing' => __('Existing User', 'wp-ultimo'), - 'new' => __('Invite New', 'wp-ultimo'), + 'existing' => __('Existing User', 'wp-multisite-waas'), + 'new' => __('Invite New', 'wp-multisite-waas'), ], ], 'user_id' => [ 'type' => 'model', - 'title' => __('Existing User', 'wp-ultimo'), - 'placeholder' => __('Search WordPress user...', 'wp-ultimo'), + 'title' => __('Existing User', 'wp-multisite-waas'), + 'placeholder' => __('Search WordPress user...', 'wp-multisite-waas'), 'tooltip' => '', 'min' => 1, 'wrapper_html_attr' => [ @@ -206,24 +206,24 @@ class Customer_List_Admin_Page extends List_Admin_Page { ], 'username' => [ 'type' => 'text', - 'title' => __('Username', 'wp-ultimo'), - 'placeholder' => __('E.g. johnsmith', 'wp-ultimo'), + 'title' => __('Username', 'wp-multisite-waas'), + 'placeholder' => __('E.g. johnsmith', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], ], 'email_address' => [ 'type' => 'email', - 'title' => __('Email Address', 'wp-ultimo'), - 'placeholder' => __('E.g. customer@wpultimo.dev', 'wp-ultimo'), + 'title' => __('Email Address', 'wp-multisite-waas'), + 'placeholder' => __('E.g. customer@wpultimo.dev', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], ], 'set_password' => [ 'type' => 'toggle', - 'title' => __('Set Password', 'wp-ultimo'), - 'desc' => __('If not set, the user will be asked to set a password after accepting the invite.', 'wp-ultimo'), + 'title' => __('Set Password', 'wp-multisite-waas'), + 'desc' => __('If not set, the user will be asked to set a password after accepting the invite.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], @@ -233,15 +233,15 @@ class Customer_List_Admin_Page extends List_Admin_Page { ], 'password' => [ 'type' => 'password', - 'title' => __('Password', 'wp-ultimo'), - 'placeholder' => __('E.g. p@$$w0rd', 'wp-ultimo'), + 'title' => __('Password', 'wp-multisite-waas'), + 'placeholder' => __('E.g. p@$$w0rd', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new') && require('set_password', true)", ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Create Customer', 'wp-ultimo'), + 'title' => __('Create Customer', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -260,7 +260,7 @@ class Customer_List_Admin_Page extends List_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'add_new_customer', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'set_password' => false, 'type' => 'existing', @@ -332,8 +332,8 @@ class Customer_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Customer removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Customer', 'wp-ultimo'), + 'deleted_message' => __('Customer removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Customer', 'wp-multisite-waas'), ]; } @@ -345,7 +345,7 @@ class Customer_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Customers', 'wp-ultimo'); + return __('Customers', 'wp-multisite-waas'); } /** @@ -356,7 +356,7 @@ class Customer_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Customers', 'wp-ultimo'); + return __('Customers', 'wp-multisite-waas'); } /** @@ -367,7 +367,7 @@ class Customer_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Customers', 'wp-ultimo'); + return __('Customers', 'wp-multisite-waas'); } /** @@ -380,13 +380,13 @@ class Customer_List_Admin_Page extends List_Admin_Page { return [ [ - 'label' => __('Add Customer', 'wp-ultimo'), + 'label' => __('Add Customer', 'wp-multisite-waas'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_customer'), ], [ - 'label' => __('Export as CSV', 'wp-ultimo'), + 'label' => __('Export as CSV', 'wp-multisite-waas'), 'icon' => 'wu-export', 'url' => add_query_arg( [ diff --git a/inc/admin-pages/class-customizer-admin-page.php b/inc/admin-pages/class-customizer-admin-page.php index 05226ec..b979340 100644 --- a/inc/admin-pages/class-customizer-admin-page.php +++ b/inc/admin-pages/class-customizer-admin-page.php @@ -89,7 +89,16 @@ abstract class Customizer_Admin_Page extends Edit_Admin_Page { parent::register_scripts(); - wp_enqueue_script('wu-customizer', wu_get_asset('customizer.js', 'js'), ['jquery', 'wu-vue', 'wu-block-ui']); + wp_enqueue_script( + 'wu-customizer', + wu_get_asset('customizer.js', 'js'), + ['jquery', 'wu-vue', 'wu-block-ui'], + \WP_Ultimo::VERSION, + [ + 'async' => true, + 'in_footer' => true, + ] + ); wp_enqueue_style('wp-color-picker'); diff --git a/inc/admin-pages/class-dashboard-admin-page.php b/inc/admin-pages/class-dashboard-admin-page.php index 01c6681..250559b 100644 --- a/inc/admin-pages/class-dashboard-admin-page.php +++ b/inc/admin-pages/class-dashboard-admin-page.php @@ -137,17 +137,17 @@ class Dashboard_Admin_Page extends Base_Admin_Page { if ('wp-ultimo' === $page->id) { $preset_options = [ 'last_7_days' => [ - 'label' => __('Last 7 days', 'wp-ultimo'), + 'label' => __('Last 7 days', 'wp-multisite-waas'), 'start_date' => date_i18n('Y-m-d', strtotime('-7 days')), 'end_date' => date_i18n('Y-m-d'), ], 'last_30_days' => [ - 'label' => __('Last 30 days', 'wp-ultimo'), + 'label' => __('Last 30 days', 'wp-multisite-waas'), 'start_date' => date_i18n('Y-m-d', strtotime('-30 days')), 'end_date' => date_i18n('Y-m-d'), ], 'year_to_date' => [ - 'label' => __('Year to date', 'wp-ultimo'), + 'label' => __('Year to date', 'wp-multisite-waas'), 'start_date' => date_i18n('Y-m-d', strtotime('first day of january this year')), 'end_date' => date_i18n('Y-m-d'), ], @@ -180,7 +180,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page { 'general' => [ 'field' => 'type', 'url' => add_query_arg('tab', 'general'), - 'label' => __('General', 'wp-ultimo'), + 'label' => __('General', 'wp-multisite-waas'), 'count' => 0, ], ]; @@ -230,16 +230,16 @@ class Dashboard_Admin_Page extends Base_Admin_Page { [ [ 'id' => 'your-dashboard', - 'title' => __('Our dashboard', 'wp-ultimo'), + 'title' => __('Our dashboard', 'wp-multisite-waas'), 'text' => [ - __('This is the WP Multisite WaaS Dashboard, where you will find most of the important information you will need regarding your business\' performance.', 'wp-ultimo'), + __('This is the WP Multisite WaaS Dashboard, where you will find most of the important information you will need regarding your business\' performance.', 'wp-multisite-waas'), ], ], [ 'id' => 'documentation', - 'title' => __('Learning more', 'wp-ultimo'), + 'title' => __('Learning more', 'wp-multisite-waas'), 'text' => [ - __('Most of the WP Multisite WaaS admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the WP Multisite WaaS site.', 'wp-ultimo'), + __('Most of the WP Multisite WaaS admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the WP Multisite WaaS site.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#wp-ultimo-wrap > h1 > a:last-child', @@ -248,9 +248,9 @@ class Dashboard_Admin_Page extends Base_Admin_Page { ], [ 'id' => 'mrr-growth', - 'title' => __('It\'s all about growth!', 'wp-ultimo'), + 'title' => __('It\'s all about growth!', 'wp-multisite-waas'), 'text' => [ - __('This graph allows you to follow how your monthly recurring revenue is growing this year.', 'wp-ultimo'), + __('This graph allows you to follow how your monthly recurring revenue is growing this year.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#wp-ultimo-mrr-growth', @@ -259,10 +259,10 @@ class Dashboard_Admin_Page extends Base_Admin_Page { ], [ 'id' => 'tailor-made', - 'title' => __('Date-range support', 'wp-ultimo'), + 'title' => __('Date-range support', 'wp-multisite-waas'), 'text' => [ - __('Checking statistics and comparing data for different periods is key in maintaining a good grasp on your business.', 'wp-ultimo'), - __('You can use the date-range selectors to have access to just the data you need and nothing more.', 'wp-ultimo'), + __('Checking statistics and comparing data for different periods is key in maintaining a good grasp on your business.', 'wp-multisite-waas'), + __('You can use the date-range selectors to have access to just the data you need and nothing more.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#dashboard-filters', @@ -286,18 +286,18 @@ class Dashboard_Admin_Page extends Base_Admin_Page { public function register_general_tab_widgets($tab, $screen): void { if (current_user_can('wu_read_financial')) { - add_meta_box('wp-ultimo-mrr-growth', __('Monthly Recurring Revenue Growth', 'wp-ultimo'), [$this, 'output_widget_mrr_growth'], $screen->id, 'full', 'high'); + add_meta_box('wp-ultimo-mrr-growth', __('Monthly Recurring Revenue Growth', 'wp-multisite-waas'), [$this, 'output_widget_mrr_growth'], $screen->id, 'full', 'high'); - add_meta_box('wp-ultimo-revenue', __('Revenue', 'wp-ultimo'), [$this, 'output_widget_revenues'], $screen->id, 'normal', 'high'); + add_meta_box('wp-ultimo-revenue', __('Revenue', 'wp-multisite-waas'), [$this, 'output_widget_revenues'], $screen->id, 'normal', 'high'); } - add_meta_box('wp-ultimo-countries', __('Signups by Countries', 'wp-ultimo'), [$this, 'output_widget_countries'], $screen->id, 'side', 'high'); + add_meta_box('wp-ultimo-countries', __('Signups by Countries', 'wp-multisite-waas'), [$this, 'output_widget_countries'], $screen->id, 'side', 'high'); - add_meta_box('wp-ultimo-signups', __('Signups by Form', 'wp-ultimo'), [$this, 'output_widget_forms'], $screen->id, 'side', 'high'); + add_meta_box('wp-ultimo-signups', __('Signups by Form', 'wp-multisite-waas'), [$this, 'output_widget_forms'], $screen->id, 'side', 'high'); - add_meta_box('wp-ultimo-most-visited-sites', __('Most Visited Sites', 'wp-ultimo'), [$this, 'output_widget_most_visited_sites'], $screen->id, 'side', 'low'); + add_meta_box('wp-ultimo-most-visited-sites', __('Most Visited Sites', 'wp-multisite-waas'), [$this, 'output_widget_most_visited_sites'], $screen->id, 'side', 'low'); - add_meta_box('wp-ultimo-new-accounts', __('New Memberships', 'wp-ultimo'), [$this, 'output_widget_new_accounts'], $screen->id, 'normal', 'low'); + add_meta_box('wp-ultimo-new-accounts', __('New Memberships', 'wp-multisite-waas'), [$this, 'output_widget_new_accounts'], $screen->id, 'normal', 'low'); } /** @@ -449,7 +449,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page { * Add edge case for no plan. */ $products['none'] = (object) [ - 'name' => __('No Product', 'wp-ultimo'), + 'name' => __('No Product', 'wp-multisite-waas'), 'count' => 0, ]; @@ -514,8 +514,8 @@ class Dashboard_Admin_Page extends Base_Admin_Page { 'today' => date_i18n('Y-m-d', strtotime('tomorrow')), 'month_list' => $month_list, 'i18n' => [ - 'new_mrr' => __('New MRR', 'wp-ultimo'), - 'cancellations' => __('Cancellations', 'wp-ultimo'), + 'new_mrr' => __('New MRR', 'wp-multisite-waas'), + 'cancellations' => __('Cancellations', 'wp-multisite-waas'), ], ] ); @@ -525,6 +525,8 @@ class Dashboard_Admin_Page extends Base_Admin_Page { wp_enqueue_style('wu-apex-charts', wu_get_asset('apexcharts.css', 'css'), [], wu_get_version()); wp_enqueue_style('wu-flags'); + + wp_enqueue_script_module('wu-flags-polyfill'); } /** @@ -535,7 +537,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Dashboard', 'wp-ultimo'); + return __('Dashboard', 'wp-multisite-waas'); } /** @@ -546,7 +548,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Multisite WaaS', 'wp-ultimo'); + return __('Multisite WaaS', 'wp-multisite-waas'); } /** @@ -557,7 +559,7 @@ class Dashboard_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Dashboard', 'wp-ultimo'); + return __('Dashboard', 'wp-multisite-waas'); } /** @@ -602,9 +604,9 @@ class Dashboard_Admin_Page extends Base_Admin_Page { $slug = $args['slug']; - $header_strings = json_encode($args['headers']); + $header_strings = wp_json_encode($args['headers']); - $data_strings = json_encode($args['data']); + $data_strings = wp_json_encode($args['data']); $html = "
@@ -620,6 +622,6 @@ class Dashboard_Admin_Page extends Base_Admin_Page { $html = apply_filters('wu_export_html_render', $html, $html); - printf($html, apply_filters('wu_export_data_table_label', __('CSV', 'wp-ultimo'))); + printf($html, apply_filters('wu_export_data_table_label', __('CSV', 'wp-multisite-waas'))); } } diff --git a/inc/admin-pages/class-discount-code-edit-admin-page.php b/inc/admin-pages/class-discount-code-edit-admin-page.php index c20b9f1..8baf4ae 100644 --- a/inc/admin-pages/class-discount-code-edit-admin-page.php +++ b/inc/admin-pages/class-discount-code-edit-admin-page.php @@ -94,13 +94,13 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'description', [ - 'title' => __('Description', 'wp-ultimo'), + 'title' => __('Description', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Description', 'wp-ultimo'), - 'placeholder' => __('Tell your customers what this product is about.', 'wp-ultimo'), + 'title' => __('Description', 'wp-multisite-waas'), + 'placeholder' => __('Tell your customers what this product is about.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_description(), 'html_attr' => [ 'rows' => 3, @@ -114,30 +114,30 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $options = [ 'general' => [ - 'title' => __('Limit Uses', 'wp-ultimo'), + 'title' => __('Limit Uses', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-lock', - 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-ultimo'), + 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-multisite-waas'), 'fields' => [ 'uses' => [ - 'title' => __('Uses', 'wp-ultimo'), + 'title' => __('Uses', 'wp-multisite-waas'), 'type' => 'text-display', // translators: %d is the number of times the coupon was used. - 'display_value' => sprintf(__('This discount code was used %d times.', 'wp-ultimo'), $this->get_object()->get_uses()), - 'tooltip' => __('The number of times that this discount code was used so far.', 'wp-ultimo'), + 'display_value' => sprintf(__('This discount code was used %d times.', 'wp-multisite-waas'), $this->get_object()->get_uses()), + 'tooltip' => __('The number of times that this discount code was used so far.', 'wp-multisite-waas'), ], 'max_uses' => [ - 'title' => __('Max Uses', 'wp-ultimo'), - 'desc' => __('Use this option to set a limit on how many times this discount code can be used. Leave blank or 0 for unlimited uses.', 'wp-ultimo'), + 'title' => __('Max Uses', 'wp-multisite-waas'), + 'desc' => __('Use this option to set a limit on how many times this discount code can be used. Leave blank or 0 for unlimited uses.', 'wp-multisite-waas'), 'type' => 'number', 'min' => 0, 'placeholder' => 0, - 'value' => $this->get_object()->has_max_uses() ? $this->get_object()->get_max_uses() : __('Unlimited', 'wp-ultimo'), + 'value' => $this->get_object()->has_max_uses() ? $this->get_object()->get_max_uses() : __('Unlimited', 'wp-multisite-waas'), ], ], ], 'time' => [ - 'title' => __('Start & Expiration Dates', 'wp-ultimo'), - 'desc' => __('Define a start and end date for this discount code. Useful when running campaigns for a pre-determined period.', 'wp-ultimo'), + 'title' => __('Start & Expiration Dates', 'wp-multisite-waas'), + 'desc' => __('Define a start and end date for this discount code. Useful when running campaigns for a pre-determined period.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-calendar', 'state' => [ 'enable_date_start' => $this->get_object()->get_date_start(), @@ -146,19 +146,19 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'enable_date_start' => [ 'type' => 'toggle', - 'title' => __('Enable Start Date', 'wp-ultimo'), - 'desc' => __('Allows you to set a start date for this coupon code.', 'wp-ultimo'), + 'title' => __('Enable Start Date', 'wp-multisite-waas'), + 'desc' => __('Allows you to set a start date for this coupon code.', 'wp-multisite-waas'), 'value' => 1, 'html_attr' => [ 'v-model' => 'enable_date_start', ], ], 'date_start' => [ - 'title' => __('Start Date', 'wp-ultimo'), - 'desc' => __('The discount code will only be good to be used after this date.', 'wp-ultimo') . ' ' . $tz_note, + 'title' => __('Start Date', 'wp-multisite-waas'), + 'desc' => __('The discount code will only be good to be used after this date.', 'wp-multisite-waas') . ' ' . $tz_note, 'type' => 'text', 'date' => true, - 'value' => $this->edit ? $this->get_object()->get_date_start() : __('No date', 'wp-ultimo'), + 'value' => $this->edit ? $this->get_object()->get_date_start() : __('No date', 'wp-multisite-waas'), 'placeholder' => 'E.g. 2020-04-04 12:00:00', 'wrapper_html_attr' => [ 'v-cloak' => 1, @@ -173,19 +173,19 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'enable_date_expiration' => [ 'type' => 'toggle', - 'title' => __('Enable Expiration Date', 'wp-ultimo'), - 'desc' => __('Allows you to set an expiration date for this coupon code.', 'wp-ultimo'), + 'title' => __('Enable Expiration Date', 'wp-multisite-waas'), + 'desc' => __('Allows you to set an expiration date for this coupon code.', 'wp-multisite-waas'), 'value' => 1, 'html_attr' => [ 'v-model' => 'enable_date_expiration', ], ], 'date_expiration' => [ - 'title' => __('Expiration Date', 'wp-ultimo'), - 'desc' => __('The discount code will expire after this date.', 'wp-ultimo') . ' ' . $tz_note, + 'title' => __('Expiration Date', 'wp-multisite-waas'), + 'desc' => __('The discount code will expire after this date.', 'wp-multisite-waas') . ' ' . $tz_note, 'type' => 'text', 'date' => true, - 'value' => $this->edit ? $this->get_object()->get_date_expiration() : __('Never Expires', 'wp-ultimo'), + 'value' => $this->edit ? $this->get_object()->get_date_expiration() : __('Never Expires', 'wp-multisite-waas'), 'placeholder' => 'E.g. 2020-04-04 12:00:00', 'wrapper_html_attr' => [ 'v-cloak' => 1, @@ -201,8 +201,8 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], ], 'products' => [ - 'title' => __('Limit Products', 'wp-ultimo'), - 'desc' => __('Determine if you want this discount code to apply to all discountable products or not.', 'wp-ultimo'), + 'title' => __('Limit Products', 'wp-multisite-waas'), + 'desc' => __('Determine if you want this discount code to apply to all discountable products or not.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-price-tag', 'state' => [ 'limit_products' => $this->get_object()->get_limit_products(), @@ -211,8 +211,8 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { [ 'limit_products' => [ 'type' => 'toggle', - 'title' => __('Select Products', 'wp-ultimo'), - 'desc' => __('Manually select to which products this discount code should be applicable.', 'wp-ultimo'), + 'title' => __('Select Products', 'wp-multisite-waas'), + 'desc' => __('Manually select to which products this discount code should be applicable.', 'wp-multisite-waas'), 'value' => 1, 'html_attr' => [ 'v-model' => 'limit_products', @@ -227,7 +227,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Advanced Options', 'wp-ultimo'), + 'title' => __('Advanced Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => apply_filters('wu_discount_code_options_sections', $options, $this->get_object()), ] @@ -241,7 +241,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -265,10 +265,10 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'fields' => [ 'code' => [ - 'title' => __('Coupon Code', 'wp-ultimo'), + 'title' => __('Coupon Code', 'wp-multisite-waas'), 'type' => 'text', - 'placeholder' => __('E.g. XMAS10OFF', 'wp-ultimo'), - 'desc' => __('The actual code your customers will enter during checkout.', 'wp-ultimo'), + 'placeholder' => __('E.g. XMAS10OFF', 'wp-multisite-waas'), + 'desc' => __('The actual code your customers will enter during checkout.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_code(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -281,7 +281,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'value_group' => [ 'type' => 'group', - 'title' => __('Discount', 'wp-ultimo'), + 'title' => __('Discount', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-cloak' => '1', ], @@ -292,9 +292,9 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'wp-ultimo'), + 'percentage' => __('Percentage (%)', 'wp-multisite-waas'), // translators: %s is the currency symbol. e.g. $ - 'absolute' => sprintf(__('Absolute (%s)', 'wp-ultimo'), wu_get_currency_symbol()), + 'absolute' => sprintf(__('Absolute (%s)', 'wp-multisite-waas'), wu_get_currency_symbol()), ], 'html_attr' => [ 'v-model' => 'type', @@ -315,8 +315,8 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'apply_to_renewals' => [ 'type' => 'toggle', - 'title' => __('Apply to Renewals', 'wp-ultimo'), - 'desc' => __('By default, discounts are only applied to the first payment.', 'wp-ultimo'), + 'title' => __('Apply to Renewals', 'wp-multisite-waas'), + 'desc' => __('By default, discounts are only applied to the first payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->should_apply_to_renewals(), 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -324,8 +324,8 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'apply_to_setup_fee' => [ 'type' => 'toggle', - 'title' => __('Setup Fee Discount', 'wp-ultimo'), - 'desc' => __('Also set a discount for setup fee?', 'wp-ultimo'), + 'title' => __('Setup Fee Discount', 'wp-multisite-waas'), + 'desc' => __('Also set a discount for setup fee?', 'wp-multisite-waas'), 'value' => $this->get_object()->get_setup_fee_value() > 0, 'html_attr' => [ 'v-model' => 'apply_to_setup_fee', @@ -336,7 +336,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { ], 'setup_fee_value_group' => [ 'type' => 'group', - 'title' => __('Setup Fee Discount', 'wp-ultimo'), + 'title' => __('Setup Fee Discount', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'apply_to_setup_fee', 'v-cloak' => '1', @@ -348,9 +348,9 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'wp-ultimo'), - // translators: %s is the currency symbol. e.g $ - 'absolute' => sprintf(__('Absolute (%s)', 'wp-ultimo'), wu_get_currency_symbol()), + 'percentage' => __('Percentage (%)', 'wp-multisite-waas'), + // translators: %s is the currency symbol. e.g. $ + 'absolute' => sprintf(__('Absolute (%s)', 'wp-multisite-waas'), wu_get_currency_symbol()), ], 'html_attr' => [ 'v-model' => 'setup_fee_type', @@ -375,12 +375,12 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this discount code for new sign-ups.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this discount code for new sign-ups.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -404,12 +404,12 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $fields[ "allowed_products_{$product_id}" ] = [ 'type' => 'toggle', 'title' => $product->get_name(), - 'desc' => __('Make applicable to this product.', 'wp-ultimo'), + 'desc' => __('Make applicable to this product.', 'wp-multisite-waas'), 'tooltip' => '', 'wrapper_classes' => '', 'html_attr' => [ ':name' => "'allowed_products[]'", - ':checked' => json_encode(!$this->get_object()->get_limit_products() || in_array($product_id, $this->get_object()->get_allowed_products())), // phpcs:ignore + ':checked' => wp_json_encode(!$this->get_object()->get_limit_products() || in_array($product_id, $this->get_object()->get_allowed_products())), // phpcs:ignore ':value' => $product_id, ], 'wrapper_html_attr' => [ @@ -432,7 +432,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $fields['allowed_products_no_products'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('You do not have any products at this moment.', 'wp-ultimo'), + 'desc' => __('You do not have any products at this moment.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-cloak' => 1, 'v-show' => 'limit_products', @@ -453,7 +453,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { global $wp_filter; - $tabs = [__('Legacy Add-ons', 'wp-ultimo')]; + $tabs = [__('Legacy Add-ons', 'wp-multisite-waas')]; if ( ! isset($wp_filter['wp_ultimo_coupon_advanced_options'])) { return; @@ -466,9 +466,9 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'heading' => [ 'type' => 'header', - 'title' => __('Legacy Options', 'wp-ultimo'), + 'title' => __('Legacy Options', 'wp-multisite-waas'), // translators: %s is the comma-separated list of legacy add-ons. - 'desc' => sprintf(__('Options for %s, and others.', 'wp-ultimo'), implode(', ', $tabs)), + 'desc' => sprintf(__('Options for %s, and others.', 'wp-multisite-waas'), implode(', ', $tabs)), ], ]; @@ -488,7 +488,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'legacy-options', [ - 'title' => __('Legacy Options', 'wp-ultimo'), + 'title' => __('Legacy Options', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => $fields, 'classes' => 'wu-legacy-options-panel', @@ -545,7 +545,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Discount Code', 'wp-ultimo') : __('Add new Discount Code', 'wp-ultimo'); + return $this->edit ? __('Edit Discount Code', 'wp-multisite-waas') : __('Add new Discount Code', 'wp-multisite-waas'); } /** @@ -556,7 +556,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Discount Code', 'wp-ultimo'); + return __('Edit Discount Code', 'wp-multisite-waas'); } /** @@ -579,15 +579,15 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Discount Code', 'wp-ultimo'), - 'add_new_label' => __('Add new Discount Code', 'wp-ultimo'), - 'updated_message' => __('Discount Code updated successfully!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Discount Code', 'wp-ultimo'), + 'edit_label' => __('Edit Discount Code', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Discount Code', 'wp-multisite-waas'), + 'updated_message' => __('Discount Code updated successfully!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Discount Code', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save Discount Code', 'wp-ultimo'), + 'save_button_label' => __('Save Discount Code', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Discount Code', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Discount Code', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -609,7 +609,7 @@ class Discount_Code_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_discount_code($item_id); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-discount_codes')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-discount_codes')); exit; } diff --git a/inc/admin-pages/class-discount-code-list-admin-page.php b/inc/admin-pages/class-discount-code-list-admin-page.php index a31a898..28c385d 100644 --- a/inc/admin-pages/class-discount-code-list-admin-page.php +++ b/inc/admin-pages/class-discount-code-list-admin-page.php @@ -71,8 +71,8 @@ class Discount_Code_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Discount Code removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Discount Code', 'wp-ultimo'), + 'deleted_message' => __('Discount Code removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Discount Code', 'wp-multisite-waas'), ]; } @@ -84,7 +84,7 @@ class Discount_Code_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Discount Codes', 'wp-ultimo'); + return __('Discount Codes', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Discount_Code_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Discount Codes', 'wp-ultimo'); + return __('Discount Codes', 'wp-multisite-waas'); } /** @@ -106,7 +106,7 @@ class Discount_Code_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Discount Codes', 'wp-ultimo'); + return __('Discount Codes', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-domain-edit-admin-page.php b/inc/admin-pages/class-domain-edit-admin-page.php index 3c22026..980c2ba 100644 --- a/inc/admin-pages/class-domain-edit-admin-page.php +++ b/inc/admin-pages/class-domain-edit-admin-page.php @@ -94,6 +94,26 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { add_action('wu_after_delete_domain_modal', [$this, 'domain_after_delete_actions']); } + /** + * Registers the necessary scripts and styles for this admin page. + * + * @since 2.0.0 + * @return void + */ + public function register_scripts(): void { + parent::register_scripts(); + + wp_enqueue_script( + 'wu-dns-table', + wu_get_asset('dns-table.js', 'js'), + ['jquery', 'wu-vue'], + \WP_Ultimo::VERSION, + [ + 'async' => true, + 'in_footer' => true, + ] + ); + } /** * Adds the extra delete fields to the delete form. @@ -119,15 +139,15 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { $custom_fields = [ 'set_domain_as_primary' => [ 'type' => 'model', - 'title' => __('Set another domain as primary', 'wp-ultimo'), + 'title' => __('Set another domain as primary', 'wp-multisite-waas'), 'html_attr' => [ 'data-model' => 'domain', 'data-value-field' => 'id', 'data-label-field' => 'domain', 'data-search-field' => 'domain', 'data-max-items' => 1, - 'data-exclude' => json_encode([$domain->get_id()]), - 'data-include' => json_encode($domain->get_blog_id()), + 'data-exclude' => wp_json_encode([$domain->get_id()]), + 'data-include' => wp_json_encode($domain->get_blog_id()), ], 'wrapper_html_attr' => [ 'v-if' => $is_primary_domain && $has_other_domains ? 'true' : 'false', @@ -135,16 +155,16 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'wp-ultimo'), - 'desc' => __('This action can not be undone.', 'wp-ultimo'), + 'title' => __('Confirm Deletion', 'wp-multisite-waas'), + 'desc' => __('This action can not be undone.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'wp-ultimo'), - 'placeholder' => __('Delete', 'wp-ultimo'), + 'title' => __('Delete', 'wp-multisite-waas'), + 'placeholder' => __('Delete', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -195,14 +215,14 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'domain-url', [ - 'title' => __('Domain URL', 'wp-ultimo'), + 'title' => __('Domain URL', 'wp-multisite-waas'), 'position' => 'normal', 'after' => [$this, 'render_dns_widget'], 'fields' => [ 'domain' => [ 'type' => 'text-display', - 'title' => __('Domain', 'wp-ultimo'), - 'tooltip' => __('Editing an existing domain is not possible. If you want to make changes to this domain, first delete it, and then re-add the right domain.', 'wp-ultimo'), + 'title' => __('Domain', 'wp-multisite-waas'), + 'tooltip' => __('Editing an existing domain is not possible. If you want to make changes to this domain, first delete it, and then re-add the right domain.', 'wp-multisite-waas'), 'display_value' => '' . $this->get_object()->get_domain() . ' ', ], ], @@ -212,12 +232,12 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Domain Options', 'wp-ultimo'), + 'title' => __('Domain Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => [ 'general' => [ - 'title' => __('General', 'wp-ultimo'), - 'desc' => __('General options for the domain.', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), + 'desc' => __('General options for the domain.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-globe', 'state' => [ 'primary_domain' => $this->get_object()->is_primary_domain(), @@ -225,9 +245,9 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'primary_domain' => [ 'type' => 'toggle', - 'title' => __('Is Primary Domain?', 'wp-ultimo'), - 'desc' => __('Set as the primary domain.', 'wp-ultimo'), - 'tooltip' => __('Setting this as the primary domain will remove any other domain mapping marked as the primary domain for this site.', 'wp-ultimo'), + 'title' => __('Is Primary Domain?', 'wp-multisite-waas'), + 'desc' => __('Set as the primary domain.', 'wp-multisite-waas'), + 'tooltip' => __('Setting this as the primary domain will remove any other domain mapping marked as the primary domain for this site.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_primary_domain(), 'html_attr' => [ 'v-model' => 'primary_domain', @@ -235,15 +255,15 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { ], 'primary_note' => [ 'type' => 'note', - 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-ultimo'), + 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-if' => "require('primary_domain', true)", ], ], 'secure' => [ 'type' => 'toggle', - 'title' => __('Is Secure?', 'wp-ultimo'), - 'desc' => __('Force the load using HTTPS.', 'wp-ultimo'), + 'title' => __('Is Secure?', 'wp-multisite-waas'), + 'desc' => __('Force the load using HTTPS.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_secure(), ], ], @@ -255,18 +275,18 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'sites', [ - 'title' => __('Linked Site', 'wp-ultimo'), + 'title' => __('Linked Site', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Memberships_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] ); - add_meta_box('wp-ultimo-domain-log', __('Domain Test Log', 'wp-ultimo'), [$this, 'render_log_widget'], get_current_screen()->id, 'normal', null); + add_meta_box('wp-ultimo-domain-log', __('Domain Test Log', 'wp-multisite-waas'), [$this, 'render_log_widget'], get_current_screen()->id, 'normal', null); $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -286,9 +306,9 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'stage' => [ 'type' => 'select', - 'title' => __('Stage', 'wp-ultimo'), - 'placeholder' => __('Select Stage', 'wp-ultimo'), - 'desc' => __('The stage in the checking lifecycle of this domain.', 'wp-ultimo'), + 'title' => __('Stage', 'wp-multisite-waas'), + 'placeholder' => __('Select Stage', 'wp-multisite-waas'), + 'desc' => __('The stage in the checking lifecycle of this domain.', 'wp-multisite-waas'), 'options' => Domain_Stage::to_array(), 'value' => $this->get_object()->get_stage(), 'wrapper_html_attr' => [ @@ -301,9 +321,9 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { ], 'blog_id' => [ 'type' => 'model', - 'title' => __('Site', 'wp-ultimo'), - 'placeholder' => __('Search Site...', 'wp-ultimo'), - 'desc' => __('The target site of this domain.', 'wp-ultimo'), + 'title' => __('Site', 'wp-multisite-waas'), + 'placeholder' => __('Search Site...', 'wp-multisite-waas'), + 'desc' => __('The target site of this domain.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_blog_id(), 'tooltip' => '', 'html_attr' => [ @@ -312,7 +332,7 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'title', 'data-search-field' => 'title', 'data-max-items' => 1, - 'data-selected' => $this->get_object()->get_site() ? json_encode($this->get_object()->get_site()->to_search_results()) : '', + 'data-selected' => $this->get_object()->get_site() ? wp_json_encode($this->get_object()->get_site()->to_search_results()) : '', ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -322,12 +342,12 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { ] ); - $check_for_active_string = sprintf('%s.includes(stage)', json_encode(\WP_Ultimo\Models\Domain::INACTIVE_STAGES)); + $check_for_active_string = sprintf('%s.includes(stage)', wp_json_encode(\WP_Ultimo\Models\Domain::INACTIVE_STAGES)); $this->add_fields_widget( 'basic', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'html_attr' => [ 'data-wu-app' => 'basic', 'data-state' => wu_convert_to_state( @@ -339,8 +359,8 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this domain.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this domain.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), 'html_attr' => [ 'v-cloak' => '1', @@ -353,7 +373,7 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { ], 'note' => [ 'type' => 'note', - 'desc' => __('This domain has a domain stage that forces it to be inactive. Change the status to Ready or Ready (without SSL) to be able to control the active status directly.', 'wp-ultimo'), + 'desc' => __('This domain has a domain stage that forces it to be inactive. Change the status to Ready or Ready (without SSL) to be able to control the active status directly.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => $check_for_active_string, @@ -406,7 +426,7 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Domain', 'wp-ultimo') : __('Add new Domain', 'wp-ultimo'); + return $this->edit ? __('Edit Domain', 'wp-multisite-waas') : __('Add new Domain', 'wp-multisite-waas'); } /** @@ -417,7 +437,7 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Domain', 'wp-ultimo'); + return __('Edit Domain', 'wp-multisite-waas'); } /** @@ -440,15 +460,15 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Domain', 'wp-ultimo'), - 'add_new_label' => __('Add new Domain', 'wp-ultimo'), - 'updated_message' => __('Domain updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Domain', 'wp-ultimo'), + 'edit_label' => __('Edit Domain', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Domain', 'wp-multisite-waas'), + 'updated_message' => __('Domain updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Domain', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save Domain', 'wp-ultimo'), + 'save_button_label' => __('Save Domain', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Domain', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Domain', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -502,7 +522,7 @@ class Domain_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_domain($item_id); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-domains')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-domains')); exit; } diff --git a/inc/admin-pages/class-domain-list-admin-page.php b/inc/admin-pages/class-domain-list-admin-page.php index bbc26ee..b3a9b72 100644 --- a/inc/admin-pages/class-domain-list-admin-page.php +++ b/inc/admin-pages/class-domain-list-admin-page.php @@ -93,14 +93,14 @@ class Domain_List_Admin_Page extends List_Admin_Page { ); // translators: %s is the URL to the add-on. - $note_desc = sprintf(__('To activate this feature you need to install the WP Multisite WaaS: Domain Seller add-on.', 'wp-ultimo'), $addon_url); + $note_desc = sprintf(__('To activate this feature you need to install the WP Multisite WaaS: Domain Seller add-on.', 'wp-multisite-waas'), $addon_url); $fields = [ 'type' => [ 'type' => 'tab-select', 'options' => [ - 'add' => __('Add Existing Domain', 'wp-ultimo'), - 'register' => __('Register New', 'wp-ultimo'), + 'add' => __('Add Existing Domain', 'wp-multisite-waas'), + 'register' => __('Register New', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'type', @@ -108,18 +108,18 @@ class Domain_List_Admin_Page extends List_Admin_Page { ], 'domain' => [ 'type' => 'text', - 'title' => __('Domain', 'wp-ultimo'), - 'placeholder' => __('E.g. mydomain.com', 'wp-ultimo'), - 'desc' => __('Be sure the domain has the right DNS setup in place before adding it.', 'wp-ultimo'), + 'title' => __('Domain', 'wp-multisite-waas'), + 'placeholder' => __('E.g. mydomain.com', 'wp-multisite-waas'), + 'desc' => __('Be sure the domain has the right DNS setup in place before adding it.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'add')", ], ], 'blog_id' => [ 'type' => 'model', - 'title' => __('Apply to Site', 'wp-ultimo'), - 'placeholder' => __('Search Sites...', 'wp-ultimo'), - 'desc' => __('The target site of the domain being added.', 'wp-ultimo'), + 'title' => __('Apply to Site', 'wp-multisite-waas'), + 'placeholder' => __('Search Sites...', 'wp-multisite-waas'), + 'desc' => __('The target site of the domain being added.', 'wp-multisite-waas'), 'html_attr' => [ 'data-model' => 'site', 'data-value-field' => 'blog_id', @@ -133,30 +133,30 @@ class Domain_List_Admin_Page extends List_Admin_Page { ], 'stage' => [ 'type' => 'select', - 'title' => __('Stage', 'wp-ultimo'), - 'placeholder' => __('Select Stage', 'wp-ultimo'), - 'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through WP Multisite WaaS\'s automated tests.', 'wp-ultimo'), + 'title' => __('Stage', 'wp-multisite-waas'), + 'placeholder' => __('Select Stage', 'wp-multisite-waas'), + 'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through WP Multisite WaaS\'s automated tests.', 'wp-multisite-waas'), 'options' => Domain_Stage::to_array(), 'value' => Domain_Stage::CHECKING_DNS, ], 'primary_domain' => [ 'type' => 'toggle', - 'title' => __('Primary Domain', 'wp-ultimo'), - 'desc' => __('Check to set this domain as the primary', 'wp-ultimo'), + 'title' => __('Primary Domain', 'wp-multisite-waas'), + 'desc' => __('Check to set this domain as the primary', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'primary_domain', ], ], 'primary_note' => [ 'type' => 'note', - 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-ultimo'), + 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => "require('primary_domain', true)", ], ], 'submit_button_new' => [ 'type' => 'submit', - 'title' => __('Add Existing Domain', 'wp-ultimo'), + 'title' => __('Add Existing Domain', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -174,7 +174,7 @@ class Domain_List_Admin_Page extends List_Admin_Page { ], 'submit_button_register' => [ 'type' => 'submit', - 'title' => __('Register and Add Domain (soon)', 'wp-ultimo'), + 'title' => __('Register and Add Domain (soon)', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -196,7 +196,7 @@ class Domain_List_Admin_Page extends List_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'add_new_domain', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'type' => 'add', 'primary_domain' => false, @@ -281,8 +281,8 @@ class Domain_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Domains removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Domains', 'wp-ultimo'), + 'deleted_message' => __('Domains removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Domains', 'wp-multisite-waas'), ]; } @@ -294,7 +294,7 @@ class Domain_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Domains', 'wp-ultimo'); + return __('Domains', 'wp-multisite-waas'); } /** @@ -305,7 +305,7 @@ class Domain_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Domains', 'wp-ultimo'); + return __('Domains', 'wp-multisite-waas'); } /** @@ -316,7 +316,7 @@ class Domain_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Domains', 'wp-ultimo'); + return __('Domains', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-edit-admin-page.php b/inc/admin-pages/class-edit-admin-page.php index d3a6f94..5c832d7 100644 --- a/inc/admin-pages/class-edit-admin-page.php +++ b/inc/admin-pages/class-edit-admin-page.php @@ -141,11 +141,11 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { if ($locked && $this->edit) { // translators: %s is the date, using the site format options - $message = sprintf(__('This item is locked from editions.
This is probably due to a background action being performed (like a transfer between different accounts, for example). You can manually unlock it, but be careful. The lock should be released automatically in %s seconds.', 'wp-ultimo'), wu_get_next_queue_run() + 10); + $message = sprintf(__('This item is locked from editions.
This is probably due to a background action being performed (like a transfer between different accounts, for example). You can manually unlock it, but be careful. The lock should be released automatically in %s seconds.', 'wp-multisite-waas'), wu_get_next_queue_run() + 10); $actions = [ 'preview' => [ - 'title' => __('Unlock', 'wp-ultimo'), + 'title' => __('Unlock', 'wp-multisite-waas'), 'url' => add_query_arg( [ 'remove-lock' => 1, @@ -184,7 +184,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { */ $this->get_object()->unlock(); - wp_redirect( + wp_safe_redirect( remove_query_arg( [ 'remove-lock', @@ -264,15 +264,15 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { public function get_labels() { $default_labels = [ - 'edit_label' => __('Edit Object', 'wp-ultimo'), - 'add_new_label' => __('Add New Object', 'wp-ultimo'), - 'updated_message' => __('Object updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Object Name', 'wp-ultimo'), + 'edit_label' => __('Edit Object', 'wp-multisite-waas'), + 'add_new_label' => __('Add New Object', 'wp-multisite-waas'), + 'updated_message' => __('Object updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Object Name', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save', 'wp-ultimo'), + 'save_button_label' => __('Save', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; return apply_filters('wu_edit_admin_page_labels', $default_labels); @@ -320,7 +320,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $this->add_info_widget( 'info', [ - 'title' => __('Timestamps', 'wp-ultimo'), + 'title' => __('Timestamps', 'wp-multisite-waas'), 'position' => 'side-bottom', ] ); @@ -350,7 +350,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $created_value = call_user_func([$this->get_object(), "get_$created_key"]); $atts['fields'][ $created_key ] = [ - 'title' => __('Created at', 'wp-ultimo'), + 'title' => __('Created at', 'wp-multisite-waas'), 'type' => 'text-display', 'date' => true, 'display_value' => $this->edit ? $created_value : false, @@ -367,10 +367,10 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { if ($this->edit && true === $show_modified) { $atts['fields']['date_modified'] = [ - 'title' => __('Last Modified at', 'wp-ultimo'), + 'title' => __('Last Modified at', 'wp-multisite-waas'), 'type' => 'text-display', 'date' => true, - 'display_value' => $this->edit ? $this->get_object()->get_date_modified() : __('No date', 'wp-ultimo'), + 'display_value' => $this->edit ? $this->get_object()->get_date_modified() : __('No date', 'wp-multisite-waas'), 'value' => $this->get_object()->get_date_modified(), 'placeholder' => '2020-04-04 12:00:00', 'html_attr' => [ @@ -401,7 +401,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('List Table', 'wp-ultimo'), + 'title' => __('List Table', 'wp-multisite-waas'), 'position' => 'advanced', 'screen' => get_current_screen(), 'page' => $this, @@ -466,7 +466,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'wp-ultimo'), + 'title' => __('Fields', 'wp-multisite-waas'), 'position' => 'side', 'screen' => get_current_screen(), 'fields' => [], @@ -484,7 +484,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { if (wu_get_isset($atts['html_attr'], 'data-wu-app')) { $atts['fields']['loading'] = [ 'type' => 'note', - 'desc' => sprintf('
%s
', __('Loading...', 'wp-ultimo')), + 'desc' => sprintf('
%s
', __('Loading...', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-if' => 0, ], @@ -535,7 +535,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Tabs', 'wp-ultimo'), + 'title' => __('Tabs', 'wp-multisite-waas'), 'position' => 'advanced', 'screen' => get_current_screen(), 'sections' => [], @@ -651,7 +651,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'wp-ultimo'), + 'title' => __('Fields', 'wp-multisite-waas'), 'screen' => get_current_screen(), 'position' => 'side', 'display' => '__return_empty_string', @@ -674,7 +674,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $labels = $this->get_labels(); - $atts['title'] = __('Save', 'wp-ultimo'); + $atts['title'] = __('Save', 'wp-multisite-waas'); /** * Adds Submit Button @@ -694,7 +694,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { } if ($this->get_object() && $this->edit && $this->get_object()->is_locked()) { - $atts['fields']['submit_save']['title'] = __('Locked', 'wp-ultimo'); + $atts['fields']['submit_save']['title'] = __('Locked', 'wp-multisite-waas'); $atts['fields']['submit_save']['value'] = 'none'; $atts['fields']['submit_save']['html_attr']['disabled'] = 'disabled'; } @@ -716,7 +716,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $labels = $this->get_labels(); $atts_default = [ - 'title' => __('Delete', 'wp-ultimo'), + 'title' => __('Delete', 'wp-multisite-waas'), 'position' => 'side-bottom', ]; $atts = array_merge($atts_default, $atts); @@ -856,7 +856,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $url = add_query_arg($array_params); - wp_redirect($url); + wp_safe_redirect($url); return true; } @@ -885,7 +885,7 @@ abstract class Edit_Admin_Page extends Base_Admin_Page { $url = str_replace('_', '-', (string) $object->model); $url = wu_network_admin_url("wp-ultimo-{$url}s"); - wp_redirect($url); + wp_safe_redirect($url); exit; } diff --git a/inc/admin-pages/class-email-edit-admin-page.php b/inc/admin-pages/class-email-edit-admin-page.php index d8ef1a6..23e17fd 100644 --- a/inc/admin-pages/class-email-edit-admin-page.php +++ b/inc/admin-pages/class-email-edit-admin-page.php @@ -124,10 +124,10 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { $object = $this->get_object(); // translators: %s is replaced with the number of days. - $days_text = sprintf(__('Send %s day(s) after the event.', 'wp-ultimo'), '{{ days }}'); + $days_text = sprintf(__('Send %s day(s) after the event.', 'wp-multisite-waas'), '{{ days }}'); // translators: %1$s is replaced with the number of hours, %2$s is replaced with the number of minutes. - $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'wp-ultimo'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}'); + $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'wp-multisite-waas'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}'); $desc = sprintf( '%s @@ -155,8 +155,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Slug', 'wp-ultimo'), - 'desc' => __('An unique identifier for this system email.', 'wp-ultimo'), + 'title' => __('Slug', 'wp-multisite-waas'), + 'desc' => __('An unique identifier for this system email.', 'wp-multisite-waas'), 'value' => $this->edit ? $object->get_slug() : '', 'html_attr' => [ 'required' => 'required', @@ -166,9 +166,9 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'event' => [ 'type' => 'select', - 'title' => __('Event', 'wp-ultimo'), - 'desc' => __('The event that will trigger the sending of this email.', 'wp-ultimo'), - 'placeholder' => __('Event', 'wp-ultimo'), + 'title' => __('Event', 'wp-multisite-waas'), + 'desc' => __('The event that will trigger the sending of this email.', 'wp-multisite-waas'), + 'placeholder' => __('Event', 'wp-multisite-waas'), 'options' => 'wu_get_event_types_as_options', 'value' => $this->edit ? $object->get_event() : 0, 'html_attr' => [ @@ -177,13 +177,13 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'target' => [ 'type' => 'select', - 'title' => __('Target', 'wp-ultimo'), - 'desc' => __('To whom this email should be sent.', 'wp-ultimo'), - 'placeholder' => __('Network Administrators', 'wp-ultimo'), + 'title' => __('Target', 'wp-multisite-waas'), + 'desc' => __('To whom this email should be sent.', 'wp-multisite-waas'), + 'placeholder' => __('Network Administrators', 'wp-multisite-waas'), 'value' => $this->edit ? $object->get_target() : 'admin', 'options' => [ - 'admin' => __('Network Administrators', 'wp-ultimo'), - 'customer' => __('Customer', 'wp-ultimo'), + 'admin' => __('Network Administrators', 'wp-multisite-waas'), + 'customer' => __('Customer', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'target', @@ -191,8 +191,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'send_copy_to_admin' => [ 'type' => 'toggle', - 'title' => __('Send Copy to Admins?', 'wp-ultimo'), - 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'wp-ultimo'), + 'title' => __('Send Copy to Admins?', 'wp-multisite-waas'), + 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'wp-multisite-waas'), 'value' => $this->edit ? $object->get_send_copy_to_admin() : false, 'wrapper_html_attr' => [ 'v-show' => 'target == "customer"', @@ -201,8 +201,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'schedule' => [ 'type' => 'toggle', - 'title' => __('Schedule?', 'wp-ultimo'), - 'desc' => __('You can define when the email is sent after the event triggers.', 'wp-ultimo'), + 'title' => __('Schedule?', 'wp-multisite-waas'), + 'desc' => __('You can define when the email is sent after the event triggers.', 'wp-multisite-waas'), 'value' => $this->edit ? $this->get_object()->has_schedule() : 0, 'html_attr' => [ 'v-model' => 'schedule', @@ -210,8 +210,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'send_date' => [ 'type' => 'group', - 'title' => __('Scheduling Options', 'wp-ultimo'), - 'tooltip' => __('When this email will be sent after the event?', 'wp-ultimo'), + 'title' => __('Scheduling Options', 'wp-multisite-waas'), + 'tooltip' => __('When this email will be sent after the event?', 'wp-multisite-waas'), 'desc' => $desc, 'desc_id' => 'send_date_desc', 'wrapper_html_attr' => [ @@ -225,8 +225,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { 'wrapper_classes' => 'wu-w-2/3', 'value' => $this->edit ? $object->get_schedule_type() : 'days', 'options' => [ - 'hours' => __('Delay for hours', 'wp-ultimo'), - 'days' => __('Delay for days', 'wp-ultimo'), + 'hours' => __('Delay for hours', 'wp-multisite-waas'), + 'days' => __('Delay for days', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'schedule_type', @@ -271,17 +271,17 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ] ); - add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'wp-ultimo'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []); + add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'wp-multisite-waas'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []); $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this email.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this email.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -291,40 +291,40 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'email_edit_options', [ - 'title' => __('Advanced Options', 'wp-ultimo'), + 'title' => __('Advanced Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => [ 'general' => [ - 'title' => __('General', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-lock', - 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-ultimo'), + 'desc' => __('Rules and limitations to the applicability of this discount code.', 'wp-multisite-waas'), 'state' => [ 'sender' => $this->edit ? $object->get_custom_sender() : 0, ], 'fields' => [ 'style' => [ 'type' => 'select', - 'title' => __('Email Style', 'wp-ultimo'), - 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-ultimo'), - 'placeholder' => __('Style', 'wp-ultimo'), + 'title' => __('Email Style', 'wp-multisite-waas'), + 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'wp-multisite-waas'), + 'placeholder' => __('Style', 'wp-multisite-waas'), 'options' => [ - 'default' => __('Use Default', 'wp-ultimo'), - 'html' => __('HTML Emails', 'wp-ultimo'), - 'plain' => __('Plain Emails', 'wp-ultimo'), + 'default' => __('Use Default', 'wp-multisite-waas'), + 'html' => __('HTML Emails', 'wp-multisite-waas'), + 'plain' => __('Plain Emails', 'wp-multisite-waas'), ], 'value' => $this->edit ? $object->get_style() : 'html', ], ], ], 'sender' => [ - 'title' => __('Custom Sender', 'wp-ultimo'), + 'title' => __('Custom Sender', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-mail', - 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-ultimo'), + 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-multisite-waas'), 'fields' => [ 'custom_sender' => [ 'type' => 'toggle', - 'title' => __('Use a custom sender?', 'wp-ultimo'), - 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-ultimo'), + 'title' => __('Use a custom sender?', 'wp-multisite-waas'), + 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'wp-multisite-waas'), 'value' => $this->edit ? $object->get_custom_sender() : 0, 'html_attr' => [ 'v-model' => 'sender', @@ -332,8 +332,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'custom_sender_name' => [ 'type' => 'text', - 'title' => __('From "Name"', 'wp-ultimo'), - 'desc' => __('Override the global from name for this particular email.', 'wp-ultimo'), + 'title' => __('From "Name"', 'wp-multisite-waas'), + 'desc' => __('Override the global from name for this particular email.', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-full', 'value' => $this->edit ? $object->get_custom_sender_name() : '', 'wrapper_html_attr' => [ @@ -343,8 +343,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { ], 'custom_sender_email' => [ 'type' => 'email', - 'title' => __('From "Email"', 'wp-ultimo'), - 'desc' => __('Override the global from email for this particular email.', 'wp-ultimo'), + 'title' => __('From "Email"', 'wp-multisite-waas'), + 'desc' => __('Override the global from email for this particular email.', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-full', 'value' => $this->edit ? $object->get_custom_sender_email() : '', 'wrapper_html_attr' => [ @@ -373,8 +373,8 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { wu_get_template( 'email/widget-placeholders', [ - 'title' => __('Event Payload', 'wp-ultimo'), - 'loading_text' => __('Loading Payload', 'wp-ultimo'), + 'title' => __('Event Payload', 'wp-multisite-waas'), + 'loading_text' => __('Loading Payload', 'wp-multisite-waas'), ] ); } @@ -387,7 +387,7 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Email', 'wp-ultimo') : __('Add new Email', 'wp-ultimo'); + return $this->edit ? __('Edit Email', 'wp-multisite-waas') : __('Add new Email', 'wp-multisite-waas'); } /** @@ -398,7 +398,7 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Email', 'wp-ultimo'); + return __('Edit Email', 'wp-multisite-waas'); } /** @@ -420,12 +420,12 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { return [ [ 'url' => wu_network_admin_url('wp-ultimo-emails'), - 'label' => __('Go Back', 'wp-ultimo'), + 'label' => __('Go Back', 'wp-multisite-waas'), 'icon' => 'wu-reply', ], [ 'url' => $send_test_link, - 'label' => __('Send Test Email', 'wp-ultimo'), + 'label' => __('Send Test Email', 'wp-multisite-waas'), 'icon' => 'wu-mail', 'classes' => 'wubox', ], @@ -441,15 +441,15 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Email', 'wp-ultimo'), - 'add_new_label' => __('Add new Email', 'wp-ultimo'), - 'updated_message' => __('Email updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Email Subject', 'wp-ultimo'), - 'title_description' => __('This will be used as the email subject line.', 'wp-ultimo'), - 'save_button_label' => __('Save Email', 'wp-ultimo'), + 'edit_label' => __('Edit Email', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Email', 'wp-multisite-waas'), + 'updated_message' => __('Email updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Email Subject', 'wp-multisite-waas'), + 'title_description' => __('This will be used as the email subject line.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Email', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Email', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Email', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -528,7 +528,7 @@ class Email_Edit_Admin_Page extends Edit_Admin_Page { $item = $query->get_item_by('id', $_GET['id']); if (! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-emails')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-emails')); exit; } diff --git a/inc/admin-pages/class-email-list-admin-page.php b/inc/admin-pages/class-email-list-admin-page.php index c4a5f8d..2852cdb 100644 --- a/inc/admin-pages/class-email-list-admin-page.php +++ b/inc/admin-pages/class-email-list-admin-page.php @@ -102,7 +102,7 @@ class Email_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('System Emails', 'wp-ultimo'); + return __('System Emails', 'wp-multisite-waas'); } /** @@ -113,7 +113,7 @@ class Email_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('System Emails', 'wp-ultimo'); + return __('System Emails', 'wp-multisite-waas'); } /** @@ -124,7 +124,7 @@ class Email_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('System Emails', 'wp-ultimo'); + return __('System Emails', 'wp-multisite-waas'); } /** @@ -182,9 +182,9 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields = [ 'send_to' => [ 'type' => 'email', - 'title' => __('Send To', 'wp-ultimo'), - 'placeholder' => __('E.g. network@email.com', 'wp-ultimo'), - 'desc' => __('The test email will be sent to the above email address.', 'wp-ultimo'), + 'title' => __('Send To', 'wp-multisite-waas'), + 'placeholder' => __('E.g. network@email.com', 'wp-multisite-waas'), + 'desc' => __('The test email will be sent to the above email address.', 'wp-multisite-waas'), 'value' => get_network_option(null, 'admin_email'), 'html_attr' => [ 'required' => 'required', @@ -200,7 +200,7 @@ class Email_List_Admin_Page extends List_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Send Test Email', 'wp-ultimo'), + 'title' => __('Send Test Email', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -236,7 +236,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $send_to = wu_request('send_to'); if ( ! $email_id || ! $send_to) { - $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo')); + $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -275,7 +275,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $send_mail = wu_send_mail($from, $to, $args); if ( ! $send_mail) { - $error = new \WP_Error('error', __('Something wrong happened with your test.', 'wp-ultimo')); + $error = new \WP_Error('error', __('Something wrong happened with your test.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -289,7 +289,7 @@ class Email_List_Admin_Page extends List_Admin_Page { 'wp-ultimo-edit-email', [ 'id' => $email_id, - 'test_notice' => __('Test sent successfully', 'wp-ultimo'), + 'test_notice' => __('Test sent successfully', 'wp-multisite-waas'), ] ), ] @@ -303,7 +303,7 @@ class Email_List_Admin_Page extends List_Admin_Page { 'redirect_url' => wu_network_admin_url( 'wp-ultimo-emails', [ - 'notice' => __('Test sent successfully', 'wp-ultimo'), + 'notice' => __('Test sent successfully', 'wp-multisite-waas'), ] ), ] @@ -326,8 +326,8 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields = [ 'reset_emails' => [ 'type' => 'toggle', - 'title' => __('Reset System Emails ', 'wp-ultimo'), - 'desc' => __('Restore the system emails to their original content.', 'wp-ultimo'), + 'title' => __('Reset System Emails ', 'wp-multisite-waas'), + 'desc' => __('Restore the system emails to their original content.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -339,7 +339,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields['reset_note'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('No emails to reset.', 'wp-ultimo'), + 'desc' => __('No emails to reset.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'wrapper_html_attr' => [ @@ -379,8 +379,8 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields['import_emails'] = [ 'type' => 'toggle', - 'title' => __('Import System Emails', 'wp-ultimo'), - 'desc' => __('Add new system emails based on WP Multisite WaaS presets.', 'wp-ultimo'), + 'title' => __('Import System Emails', 'wp-multisite-waas'), + 'desc' => __('Add new system emails based on WP Multisite WaaS presets.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -391,7 +391,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields['import_note'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('All emails are already present.', 'wp-ultimo'), + 'desc' => __('All emails are already present.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'wrapper_html_attr' => [ @@ -429,7 +429,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields['submit_button'] = [ 'type' => 'submit', - 'title' => __('Reset and/or Import', 'wp-ultimo'), + 'title' => __('Reset and/or Import', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -543,8 +543,8 @@ class Email_List_Admin_Page extends List_Admin_Page { $fields = [ 'single_reset' => [ 'type' => 'toggle', - 'title' => __('Confirm Reset', 'wp-ultimo'), - 'desc' => __('This action can not be undone.', 'wp-ultimo'), + 'title' => __('Confirm Reset', 'wp-multisite-waas'), + 'desc' => __('This action can not be undone.', 'wp-multisite-waas'), 'default' => 0, 'html_attr' => [ 'required' => 'required', @@ -556,7 +556,7 @@ class Email_List_Admin_Page extends List_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Reset Email', 'wp-ultimo'), + 'title' => __('Reset Email', 'wp-multisite-waas'), 'value' => 'reset', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -593,7 +593,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $email_id = wu_request('email_id'); if ( ! $single_reset || ! $email_id) { - $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo')); + $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -612,7 +612,7 @@ class Email_List_Admin_Page extends List_Admin_Page { $new_email = wu_get_email_by('slug', $slug); if ( ! $new_email) { - $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo')); + $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -643,18 +643,18 @@ class Email_List_Admin_Page extends List_Admin_Page { return [ [ 'url' => wu_network_admin_url('wp-ultimo-edit-email'), - 'label' => __('Add System Email', 'wp-ultimo'), + 'label' => __('Add System Email', 'wp-multisite-waas'), 'icon' => 'wu-circle-with-plus', ], [ 'url' => wu_network_admin_url('wp-ultimo-customize-email-template&id=' . $email_template_default), - 'label' => __('Email Template', 'wp-ultimo'), + 'label' => __('Email Template', 'wp-multisite-waas'), 'icon' => 'wu-mail', ], [ 'url' => wu_get_form_url('reset_import'), 'classes' => 'wubox', - 'label' => __('Reset or Import', 'wp-ultimo'), + 'label' => __('Reset or Import', 'wp-multisite-waas'), 'icon' => 'wu-cycle', ], ]; diff --git a/inc/admin-pages/class-email-template-customize-admin-page.php b/inc/admin-pages/class-email-template-customize-admin-page.php index c0b36ae..4ba51d9 100644 --- a/inc/admin-pages/class-email-template-customize-admin-page.php +++ b/inc/admin-pages/class-email-template-customize-admin-page.php @@ -156,7 +156,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'site_url' => get_site_url(), 'logo_url' => wu_get_network_logo(), 'content' => $content, - 'subject' => __('Sample Subject', 'wp-ultimo'), + 'subject' => __('Sample Subject', 'wp-multisite-waas'), 'is_editor' => true, 'template_settings' => [ 'use_custom_logo' => wu_string_to_bool(wu_request('use_custom_logo', $first_request ? $object->get_setting('use_custom_logo', false) : false)), @@ -218,7 +218,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'fields' => [ 'note' => [ 'type' => 'note', - 'desc' => __('System emails and broadcasts will be sent using this template.', 'wp-ultimo'), + 'desc' => __('System emails and broadcasts will be sent using this template.', 'wp-multisite-waas'), ], ], ] @@ -243,15 +243,15 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'v-model' => 'tab', ], 'options' => [ - 'header' => __('Header', 'wp-ultimo'), - 'content' => __('Content', 'wp-ultimo'), - 'footer' => __('Footer', 'wp-ultimo'), + 'header' => __('Header', 'wp-multisite-waas'), + 'content' => __('Content', 'wp-multisite-waas'), + 'footer' => __('Footer', 'wp-multisite-waas'), ], ], 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'wp-ultimo'), - 'desc' => __('You can set a different logo to be used on the system emails.', 'wp-ultimo'), + 'title' => __('Use Custom Logo', 'wp-multisite-waas'), + 'desc' => __('You can set a different logo to be used on the system emails.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', 'v-cloak' => 1, @@ -263,8 +263,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'custom_logo' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Custom Logo', 'wp-ultimo'), - 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'wp-ultimo'), + 'title' => __('Custom Logo', 'wp-multisite-waas'), + 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'wp-multisite-waas'), 'value' => $custom_logo, 'img' => $custom_logo_url, 'wrapper_html_attr' => [ @@ -277,8 +277,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'background_color' => [ 'type' => 'color-picker', - 'title' => __('Background Color', 'wp-ultimo'), - 'tooltip' => __('The cover background color of the email.', 'wp-ultimo'), + 'title' => __('Background Color', 'wp-multisite-waas'), + 'tooltip' => __('The cover background color of the email.', 'wp-multisite-waas'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -290,7 +290,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'title_color' => [ 'type' => 'color-picker', - 'title' => __('Title Color', 'wp-ultimo'), + 'title' => __('Title Color', 'wp-multisite-waas'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -302,14 +302,14 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'title_size' => [ 'type' => 'select', - 'title' => __('Title Size', 'wp-ultimo'), + 'title' => __('Title Size', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'title_size'), 'options' => [ - 'h1' => __('h1', 'wp-ultimo'), - 'h2' => __('h2', 'wp-ultimo'), - 'h3' => __('h3', 'wp-ultimo'), - 'h4' => __('h4', 'wp-ultimo'), - 'h5' => __('h5', 'wp-ultimo'), + 'h1' => __('h1', 'wp-multisite-waas'), + 'h2' => __('h2', 'wp-multisite-waas'), + 'h3' => __('h3', 'wp-multisite-waas'), + 'h4' => __('h4', 'wp-multisite-waas'), + 'h5' => __('h5', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -321,13 +321,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'title_align' => [ 'type' => 'select', - 'title' => __('Title Align', 'wp-ultimo'), - 'tooltip' => __('Aligment of the font in the title.', 'wp-ultimo'), + 'title' => __('Title Align', 'wp-multisite-waas'), + 'tooltip' => __('Aligment of the font in the title.', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'title_align', ''), 'options' => [ - 'left' => __('Left', 'wp-ultimo'), - 'center' => __('Center', 'wp-ultimo'), - 'right' => __('Right', 'wp-ultimo'), + 'left' => __('Left', 'wp-multisite-waas'), + 'center' => __('Center', 'wp-multisite-waas'), + 'right' => __('Right', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -339,13 +339,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'title_font' => [ 'type' => 'select', - 'title' => __('Title Font-Family', 'wp-ultimo'), + 'title' => __('Title Font-Family', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'title_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -357,7 +357,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'content_color' => [ 'type' => 'color-picker', - 'title' => __('Content Color', 'wp-ultimo'), + 'title' => __('Content Color', 'wp-multisite-waas'), 'value' => '#000000', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -369,13 +369,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'content_align' => [ 'type' => 'select', - 'title' => __('Content Alignment', 'wp-ultimo'), - 'tooltip' => __('Alignment of the font in the main email content.', 'wp-ultimo'), + 'title' => __('Content Alignment', 'wp-multisite-waas'), + 'tooltip' => __('Alignment of the font in the main email content.', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'content_align', ''), 'options' => [ - 'left' => __('Left', 'wp-ultimo'), - 'center' => __('Center', 'wp-ultimo'), - 'right' => __('Right', 'wp-ultimo'), + 'left' => __('Left', 'wp-multisite-waas'), + 'center' => __('Center', 'wp-multisite-waas'), + 'right' => __('Right', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -387,13 +387,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'content_font' => [ 'type' => 'select', - 'title' => __('Content Font-Family', 'wp-ultimo'), + 'title' => __('Content Font-Family', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'content_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -405,8 +405,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'display_company_address' => [ 'type' => 'toggle', - 'title' => __('Display Company Address', 'wp-ultimo'), - 'desc' => __('Toggle to show/hide your company address.', 'wp-ultimo'), + 'title' => __('Display Company Address', 'wp-multisite-waas'), + 'desc' => __('Toggle to show/hide your company address.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', 'v-cloak' => 1, @@ -417,8 +417,8 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'footer_text' => [ 'type' => 'textarea', - 'title' => __('Footer Content', 'wp-ultimo'), - 'placeholder' => __('e.g. Extra info in the email footer.', 'wp-ultimo'), + 'title' => __('Footer Content', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Extra info in the email footer.', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'footer_text', ''), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -430,13 +430,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'footer_font' => [ 'type' => 'select', - 'title' => __('Footer Font-Family', 'wp-ultimo'), + 'title' => __('Footer Font-Family', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'footer_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-ultimo'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-ultimo'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-ultimo'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-ultimo'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'wp-multisite-waas'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'wp-multisite-waas'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'wp-multisite-waas'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -448,7 +448,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'footer_color' => [ 'type' => 'color-picker', - 'title' => __('Footer Color', 'wp-ultimo'), + 'title' => __('Footer Color', 'wp-multisite-waas'), 'value' => '#000000', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -460,13 +460,13 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'footer_align' => [ 'type' => 'select', - 'title' => __('Footer Alignment', 'wp-ultimo'), - 'tooltip' => __('Alignment of the font in the main email footer.', 'wp-ultimo'), + 'title' => __('Footer Alignment', 'wp-multisite-waas'), + 'tooltip' => __('Alignment of the font in the main email footer.', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'footer_align', ''), 'options' => [ - 'left' => __('Left', 'wp-ultimo'), - 'center' => __('Center', 'wp-ultimo'), - 'right' => __('Right', 'wp-ultimo'), + 'left' => __('Left', 'wp-multisite-waas'), + 'center' => __('Center', 'wp-multisite-waas'), + 'right' => __('Right', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -489,14 +489,14 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'wp-ultimo'), + 'title' => __('Customizer', 'wp-multisite-waas'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ 'style' => 'margin-top: -6px;', 'data-wu-app' => 'email_template_customizer', 'data-wu-customizer-panel' => true, - 'data-state' => json_encode($state), + 'data-state' => wp_json_encode($state), ], ] ); @@ -510,7 +510,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_title() { - return __('Customize Email Template:', 'wp-ultimo'); + return __('Customize Email Template:', 'wp-multisite-waas'); } /** @@ -521,7 +521,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_menu_title() { - return __('Customize Email Template', 'wp-ultimo'); + return __('Customize Email Template', 'wp-multisite-waas'); } /** @@ -544,16 +544,16 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { public function get_labels() { return [ - 'customize_label' => __('Customize Email Template', 'wp-ultimo'), - 'add_new_label' => __('Customize Email Template', 'wp-ultimo'), - 'edit_label' => __('Edit Email Template', 'wp-ultimo'), - 'updated_message' => __('Email Template updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Email Template Name', 'wp-ultimo'), - 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'), - 'save_button_label' => __('Save Template', 'wp-ultimo'), + 'customize_label' => __('Customize Email Template', 'wp-multisite-waas'), + 'add_new_label' => __('Customize Email Template', 'wp-multisite-waas'), + 'edit_label' => __('Edit Email Template', 'wp-multisite-waas'), + 'updated_message' => __('Email Template updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Email Template Name', 'wp-multisite-waas'), + 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Template', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Email Template', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Email Template', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -577,7 +577,7 @@ class Email_Template_Customize_Admin_Page extends Customizer_Admin_Page { $url = add_query_arg('updated', '1'); - wp_redirect($url); + wp_safe_redirect($url); exit; } diff --git a/inc/admin-pages/class-event-list-admin-page.php b/inc/admin-pages/class-event-list-admin-page.php index 835a21c..66e824e 100644 --- a/inc/admin-pages/class-event-list-admin-page.php +++ b/inc/admin-pages/class-event-list-admin-page.php @@ -160,8 +160,8 @@ class Event_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Event removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Event', 'wp-ultimo'), + 'deleted_message' => __('Event removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Event', 'wp-multisite-waas'), ]; } @@ -173,7 +173,7 @@ class Event_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Events', 'wp-ultimo'); + return __('Events', 'wp-multisite-waas'); } /** @@ -184,7 +184,7 @@ class Event_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Events', 'wp-ultimo'); + return __('Events', 'wp-multisite-waas'); } /** @@ -195,7 +195,7 @@ class Event_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Events', 'wp-ultimo'); + return __('Events', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-event-view-admin-page.php b/inc/admin-pages/class-event-view-admin-page.php index 238c84c..d5f403f 100644 --- a/inc/admin-pages/class-event-view-admin-page.php +++ b/inc/admin-pages/class-event-view-admin-page.php @@ -128,16 +128,16 @@ class Event_View_Admin_Page extends Edit_Admin_Page { parent::register_widgets(); - add_meta_box('wp-ultimo-message', __('Event Message', 'wp-ultimo'), [$this, 'output_default_widget_message'], get_current_screen()->id, 'normal', 'default'); + add_meta_box('wp-ultimo-message', __('Event Message', 'wp-multisite-waas'), [$this, 'output_default_widget_message'], get_current_screen()->id, 'normal', 'default'); - add_meta_box('wp-ultimo-initiator', __('Event', 'wp-ultimo'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default'); + add_meta_box('wp-ultimo-initiator', __('Event', 'wp-multisite-waas'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default'); - add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default'); + add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default'); $this->add_info_widget( 'info', [ - 'title' => __('Timestamps', 'wp-ultimo'), + 'title' => __('Timestamps', 'wp-multisite-waas'), 'position' => 'side', 'modified' => false, ] @@ -176,9 +176,9 @@ class Event_View_Admin_Page extends Edit_Admin_Page { wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'wp-ultimo'), - 'loading_text' => __('Loading Payload', 'wp-ultimo'), - 'payload' => json_encode($object->get_payload(), JSON_PRETTY_PRINT), + 'title' => __('Event Payload', 'wp-multisite-waas'), + 'loading_text' => __('Loading Payload', 'wp-multisite-waas'), + 'payload' => wp_json_encode($object->get_payload(), JSON_PRETTY_PRINT), ] ); } @@ -208,7 +208,7 @@ class Event_View_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Event', 'wp-ultimo') : __('Add new Event', 'wp-ultimo'); + return $this->edit ? __('Edit Event', 'wp-multisite-waas') : __('Add new Event', 'wp-multisite-waas'); } /** @@ -219,7 +219,7 @@ class Event_View_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Event', 'wp-ultimo'); + return __('Edit Event', 'wp-multisite-waas'); } /** @@ -242,15 +242,15 @@ class Event_View_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Event', 'wp-ultimo'), - 'add_new_label' => __('Add new Event', 'wp-ultimo'), - 'updated_message' => __('Event updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Event', 'wp-ultimo'), + 'edit_label' => __('Edit Event', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Event', 'wp-multisite-waas'), + 'updated_message' => __('Event updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Event', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save Event', 'wp-ultimo'), + 'save_button_label' => __('Save Event', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Event', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Event', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -272,7 +272,7 @@ class Event_View_Admin_Page extends Edit_Admin_Page { } } - wp_redirect(wu_network_admin_url('wp-ultimo-events')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-events')); exit; } diff --git a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php index 7d04e18..c6324ae 100644 --- a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php +++ b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php @@ -93,7 +93,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { } if ( ! $this->integration) { - wp_redirect(network_admin_url('admin.php?page=wp-ultimo-settings')); + wp_safe_redirect(network_admin_url('admin.php?page=wp-ultimo-settings')); exit; } @@ -109,7 +109,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { */ public function get_title(): string { - return sprintf(__('Integration Setup', 'wp-ultimo')); + return sprintf(__('Integration Setup', 'wp-multisite-waas')); } /** @@ -120,7 +120,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { */ public function get_menu_title() { - return __('Host Provider Integration', 'wp-ultimo'); + return __('Host Provider Integration', 'wp-multisite-waas'); } /** @@ -133,25 +133,25 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { $sections = [ 'activation' => [ - 'title' => __('Activation', 'wp-ultimo'), + 'title' => __('Activation', 'wp-multisite-waas'), 'view' => [$this, 'section_activation'], 'handler' => [$this, 'handle_activation'], ], 'instructions' => [ - 'title' => __('Instructions', 'wp-ultimo'), + 'title' => __('Instructions', 'wp-multisite-waas'), 'view' => [$this, 'section_instructions'], ], 'config' => [ - 'title' => __('Configuration', 'wp-ultimo'), + 'title' => __('Configuration', 'wp-multisite-waas'), 'view' => [$this, 'section_configuration'], 'handler' => [$this, 'handle_configuration'], ], 'testing' => [ - 'title' => __('Testing Integration', 'wp-ultimo'), + 'title' => __('Testing Integration', 'wp-multisite-waas'), 'view' => [$this, 'section_test'], ], 'done' => [ - 'title' => __('Ready!', 'wp-ultimo'), + 'title' => __('Ready!', 'wp-multisite-waas'), 'view' => [$this, 'section_ready'], ], ]; @@ -294,7 +294,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { $this->integration->enable(); - wp_redirect($this->get_next_section_link()); + wp_safe_redirect($this->get_next_section_link()); exit; } @@ -316,7 +316,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { ] ); - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } @@ -332,7 +332,7 @@ class Hosting_Integration_Wizard_Admin_Page extends Wizard_Admin_Page { $redirect_url = remove_query_arg('manual', $redirect_url); - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } diff --git a/inc/admin-pages/class-invoice-template-customize-admin-page.php b/inc/admin-pages/class-invoice-template-customize-admin-page.php index 58a7aad..5f9f5cd 100644 --- a/inc/admin-pages/class-invoice-template-customize-admin-page.php +++ b/inc/admin-pages/class-invoice-template-customize-admin-page.php @@ -144,7 +144,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'fields' => [ 'note' => [ 'type' => 'note', - 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.

Existing PDF Invoices will not be affected unless explicitly re-generated', 'wp-ultimo'), + 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.

Existing PDF Invoices will not be affected unless explicitly re-generated', 'wp-multisite-waas'), ], ], ] @@ -167,17 +167,17 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'v-model' => 'tab', ], 'options' => [ - 'general' => __('General', 'wp-ultimo'), - 'colors' => __('Colors', 'wp-ultimo'), - 'images' => __('Images', 'wp-ultimo'), + 'general' => __('General', 'wp-multisite-waas'), + 'colors' => __('Colors', 'wp-multisite-waas'), + 'images' => __('Images', 'wp-multisite-waas'), ], ], 'paid_tag_text' => [ 'type' => 'text', - 'title' => __('Paid Tag', 'wp-ultimo'), - 'placeholder' => __('e.g. Paid.', 'wp-ultimo'), - 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-ultimo')), + 'title' => __('Paid Tag', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Paid.', 'wp-multisite-waas'), + 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', 'v-cloak' => 1, @@ -188,12 +188,12 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'font' => [ 'type' => 'select', - 'title' => __('Font-Family', 'wp-ultimo'), + 'title' => __('Font-Family', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'font', ''), 'options' => [ - 'DejaVuSansCondensed' => __('Sans-Serif', 'wp-ultimo'), - 'DejaVuSerifCondensed' => __('Serif', 'wp-ultimo'), - 'FreeMono' => __('Mono', 'wp-ultimo'), + 'DejaVuSansCondensed' => __('Sans-Serif', 'wp-multisite-waas'), + 'DejaVuSerifCondensed' => __('Serif', 'wp-multisite-waas'), + 'FreeMono' => __('Mono', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -205,8 +205,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'footer_message' => [ 'type' => 'textarea', - 'title' => __('Footer Content', 'wp-ultimo'), - 'placeholder' => __('e.g. Extra Info about the Invoice.', 'wp-ultimo'), + 'title' => __('Footer Content', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Extra Info about the Invoice.', 'wp-multisite-waas'), 'value' => wu_get_isset($settings, 'footer_message', ''), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -219,7 +219,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'primary_color' => [ 'type' => 'color-picker', - 'title' => __('Primary Color', 'wp-ultimo'), + 'title' => __('Primary Color', 'wp-multisite-waas'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', @@ -232,8 +232,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'wp-ultimo'), - 'desc' => __('You can set a different logo to be used on the invoice.', 'wp-ultimo'), + 'title' => __('Use Custom Logo', 'wp-multisite-waas'), + 'desc' => __('You can set a different logo to be used on the invoice.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "images")', 'v-cloak' => 1, @@ -244,8 +244,8 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { ], 'custom_logo' => [ 'type' => 'image', - 'title' => __('Custom Logo', 'wp-ultimo'), - 'desc' => __('This will be added to the top of the generated PDF.', 'wp-ultimo'), + 'title' => __('Custom Logo', 'wp-multisite-waas'), + 'desc' => __('This will be added to the top of the generated PDF.', 'wp-multisite-waas'), 'value' => '', 'img' => $custom_logo_url, 'stacked' => true, @@ -261,7 +261,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { $settings = [ 'footer_message' => wu_get_isset($settings, 'footer_message', ''), - 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-ultimo')), + 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'wp-multisite-waas')), 'primary_color' => wu_get_isset($settings, 'primary_color', '00a1ff'), 'use_custom_logo' => wu_get_isset($settings, 'use_custom_logo'), 'custom_logo' => wu_get_isset($settings, 'custom_logo'), @@ -279,14 +279,14 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'wp-ultimo'), + 'title' => __('Customizer', 'wp-multisite-waas'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ 'style' => 'margin-top: -6px;', 'data-wu-app' => 'invoice_customizer', 'data-wu-customizer-panel' => true, - 'data-state' => json_encode($state), + 'data-state' => wp_json_encode($state), ], ] ); @@ -300,7 +300,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_title() { - return __('Customize Invoice Template', 'wp-ultimo'); + return __('Customize Invoice Template', 'wp-multisite-waas'); } /** @@ -311,7 +311,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_menu_title() { - return __('Customize Invoice Template', 'wp-ultimo'); + return __('Customize Invoice Template', 'wp-multisite-waas'); } /** @@ -334,14 +334,14 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { public function get_labels() { return [ - 'customize_label' => __('Customize Invoice Template', 'wp-ultimo'), - 'add_new_label' => __('Customize Invoice Template', 'wp-ultimo'), - 'edit_label' => __('Edit Invoice Template', 'wp-ultimo'), - 'updated_message' => __('Invoice Template updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Invoice Template Name', 'wp-ultimo'), - 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'), - 'save_button_label' => __('Save Invoice Template', 'wp-ultimo'), - 'save_description' => __('Save Invoice Template', 'wp-ultimo'), + 'customize_label' => __('Customize Invoice Template', 'wp-multisite-waas'), + 'add_new_label' => __('Customize Invoice Template', 'wp-multisite-waas'), + 'edit_label' => __('Edit Invoice Template', 'wp-multisite-waas'), + 'updated_message' => __('Invoice Template updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Invoice Template Name', 'wp-multisite-waas'), + 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Invoice Template', 'wp-multisite-waas'), + 'save_description' => __('Save Invoice Template', 'wp-multisite-waas'), ]; } @@ -357,7 +357,7 @@ class Invoice_Template_Customize_Admin_Page extends Customizer_Admin_Page { $url = add_query_arg('updated', '1'); - wp_redirect($url); + wp_safe_redirect($url); exit; } diff --git a/inc/admin-pages/class-jobs-list-admin-page.php b/inc/admin-pages/class-jobs-list-admin-page.php index f9bd3ce..5d25ad2 100644 --- a/inc/admin-pages/class-jobs-list-admin-page.php +++ b/inc/admin-pages/class-jobs-list-admin-page.php @@ -108,7 +108,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Jobs', 'wp-ultimo'); + return __('Jobs', 'wp-multisite-waas'); } /** @@ -119,7 +119,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Jobs', 'wp-ultimo'); + return __('Jobs', 'wp-multisite-waas'); } /** @@ -130,7 +130,7 @@ class Jobs_List_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Jobs', 'wp-ultimo'); + return __('Jobs', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-list-admin-page.php b/inc/admin-pages/class-list-admin-page.php index 07a63b6..6283057 100644 --- a/inc/admin-pages/class-list-admin-page.php +++ b/inc/admin-pages/class-list-admin-page.php @@ -123,8 +123,8 @@ abstract class List_Admin_Page extends Base_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Object removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Object', 'wp-ultimo'), + 'deleted_message' => __('Object removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Object', 'wp-multisite-waas'), ]; } diff --git a/inc/admin-pages/class-membership-edit-admin-page.php b/inc/admin-pages/class-membership-edit-admin-page.php index 8a4167b..2ea5594 100644 --- a/inc/admin-pages/class-membership-edit-admin-page.php +++ b/inc/admin-pages/class-membership-edit-admin-page.php @@ -120,7 +120,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $actions = [ 'preview' => [ - 'title' => __('Preview', 'wp-ultimo'), + 'title' => __('Preview', 'wp-multisite-waas'), 'url' => add_query_arg('preview-swap', 1), ], ]; @@ -128,7 +128,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $date = new \DateTime($swap_order->scheduled_date); // translators: %s is the date, using the site format options - $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'wp-ultimo'), $date->format(get_option('date_format'))); + $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'wp-multisite-waas'), $date->format(get_option('date_format'))); WP_Ultimo()->notices->add($message, 'warning', 'network-admin', false, $actions); } @@ -223,16 +223,16 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'wp-ultimo'), - 'desc' => __('This will start the transfer of assets from one customer to another.', 'wp-ultimo'), + 'title' => __('Confirm Transfer', 'wp-multisite-waas'), + 'desc' => __('This will start the transfer of assets from one customer to another.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'wp-ultimo'), - 'placeholder' => __('Start Transfer', 'wp-ultimo'), + 'title' => __('Start Transfer', 'wp-multisite-waas'), + 'placeholder' => __('Start Transfer', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -259,7 +259,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'true', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'confirmed' => false, ] @@ -282,17 +282,17 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-multisite-waas'))); } $target_customer = wu_get_customer(wu_request('target_customer_id')); if ( ! $target_customer) { - wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'wp-multisite-waas'))); } if ($target_customer->get_id() === $membership->get_customer_id()) { - wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'wp-multisite-waas'))); } /* @@ -354,26 +354,26 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'wp-ultimo'), + 'title' => __('At a Glance', 'wp-multisite-waas'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-widget-inset', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', 'fields' => [ 'status' => [ 'type' => 'text-display', - 'title' => __('Membership Status', 'wp-ultimo'), + 'title' => __('Membership Status', 'wp-multisite-waas'), 'display_value' => $tag, 'tooltip' => '', ], 'hash' => [ 'copy' => true, 'type' => 'text-display', - 'title' => __('Reference ID', 'wp-ultimo'), + 'title' => __('Reference ID', 'wp-multisite-waas'), 'display_value' => $this->get_object()->get_hash(), ], 'total_grossed' => [ 'type' => 'text-display', - 'title' => __('Total Grossed', 'wp-ultimo'), + 'title' => __('Total Grossed', 'wp-multisite-waas'), 'display_value' => wu_format_currency($this->get_object()->get_total_grossed(), $this->get_object()->get_currency()), 'wrapper_classes' => 'sm:wu-border-r-0', ], @@ -385,7 +385,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'membership-products', [ 'position' => 'normal', - 'title' => __('Products', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Membership_Line_Item_List_Table(), 'after' => $this->output_widget_products(), ] @@ -394,7 +394,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'payments', [ - 'title' => __('Payments', 'wp-ultimo'), + 'title' => __('Payments', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Customers_Payment_List_Table(), 'query_filter' => [$this, 'payments_query_filter'], ] @@ -403,7 +403,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'sites', [ - 'title' => __('Sites', 'wp-ultimo'), + 'title' => __('Sites', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Memberships_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] @@ -412,7 +412,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'customer', [ - 'title' => __('Linked Customer', 'wp-ultimo'), + 'title' => __('Linked Customer', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Site_Customer_List_Table(), 'query_filter' => [$this, 'customer_query_filter'], ] @@ -421,27 +421,27 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Membership Options', 'wp-ultimo'), + 'title' => __('Membership Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => apply_filters( 'wu_membership_options_sections', [ 'general' => [ - 'title' => __('General', 'wp-ultimo'), - 'desc' => __('General membership options', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), + 'desc' => __('General membership options', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-globe', 'fields' => [ 'blocking' => [ 'type' => 'toggle', - 'title' => __('Is Blocking?', 'wp-ultimo'), - 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'wp-ultimo'), + 'title' => __('Is Blocking?', 'wp-multisite-waas'), + 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'wp-multisite-waas'), 'value' => true, ], ], ], 'billing_info' => [ - 'title' => __('Billing Info', 'wp-ultimo'), - 'desc' => __('Billing information for this particular membership.', 'wp-ultimo'), + 'title' => __('Billing Info', 'wp-multisite-waas'), + 'desc' => __('Billing information for this particular membership.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-address', 'fields' => $this->get_object()->get_billing_address()->get_fields(), ], @@ -458,7 +458,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -468,8 +468,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $regular_fields = [ 'status' => [ 'type' => 'select', - 'title' => __('Status', 'wp-ultimo'), - 'desc' => __('The membership current status.', 'wp-ultimo'), + 'title' => __('Status', 'wp-multisite-waas'), + 'desc' => __('The membership current status.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_status(), 'options' => Membership_Status::to_array(), 'tooltip' => '', @@ -482,8 +482,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'cancellation_reason' => [ 'type' => 'textarea', - 'title' => __('Cancellation Reason', 'wp-ultimo'), - 'desc' => __('The reason why the customer cancelled this membership.', 'wp-ultimo'), + 'title' => __('Cancellation Reason', 'wp-multisite-waas'), + 'desc' => __('The reason why the customer cancelled this membership.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_cancellation_reason(), 'wrapper_html_attr' => [ 'v-show' => 'status == \'cancelled\'', @@ -492,8 +492,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'cancel_gateway' => [ 'type' => 'toggle', - 'title' => __('Cancel on gateway', 'wp-ultimo'), - 'desc' => __('If enable we will cancel the subscription on payment method', 'wp-ultimo'), + 'title' => __('Cancel on gateway', 'wp-multisite-waas'), + 'desc' => __('If enable we will cancel the subscription on payment method', 'wp-multisite-waas'), 'value' => false, 'wrapper_html_attr' => [ 'v-show' => ! empty($this->get_object()->get_gateway_customer_id()) ? 'status == \'cancelled\'' : 'false', @@ -506,9 +506,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'customer_id' => [ 'type' => 'model', - 'title' => __('Customer', 'wp-ultimo'), - 'placeholder' => __('Search a Customer...', 'wp-ultimo'), - 'desc' => __('The owner of this membership.', 'wp-ultimo'), + 'title' => __('Customer', 'wp-multisite-waas'), + 'placeholder' => __('Search a Customer...', 'wp-multisite-waas'), + 'desc' => __('The owner of this membership.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_customer_id(), 'tooltip' => '', 'html_attr' => [ @@ -519,7 +519,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'display_name', 'data-search-field' => 'display_name', 'data-max-items' => 1, - 'data-selected' => $this->get_object()->get_customer() ? json_encode($this->get_object()->get_customer()->to_search_results()) : '', + 'data-selected' => $this->get_object()->get_customer() ? wp_json_encode($this->get_object()->get_customer()->to_search_results()) : '', ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -527,7 +527,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'transfer_note' => [ 'type' => 'note', - 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'wp-ultimo'), + 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_customer_id != customer_id) && customer_id', @@ -548,7 +548,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Membership', 'wp-ultimo'), + 'display_value' => __('Transfer Membership', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -563,7 +563,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'target_customer_id' => '', ] ) . "=' + customer_id", - 'title' => __('Transfer Membership', 'wp-ultimo'), + 'title' => __('Transfer Membership', 'wp-multisite-waas'), ], ], ]; @@ -573,7 +573,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { unset($regular_fields['transfer']); - $regular_fields['submit_save']['title'] = __('Locked', 'wp-ultimo'); + $regular_fields['submit_save']['title'] = __('Locked', 'wp-multisite-waas'); $regular_fields['submit_save']['value'] = 'none'; $regular_fields['submit_save']['html_attr']['disabled'] = 'disabled'; } @@ -583,7 +583,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { [ 'html_attr' => [ 'data-wu-app' => 'membership_save', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'status' => $this->get_object()->get_status(), 'original_customer_id' => $this->get_object()->get_customer_id(), @@ -599,10 +599,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'pricing', [ - 'title' => __('Billing Amount', 'wp-ultimo'), + 'title' => __('Billing Amount', 'wp-multisite-waas'), 'html_attr' => [ 'data-wu-app' => 'true', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'is_recurring' => $this->get_object()->is_recurring(), 'is_auto_renew' => $this->get_object()->should_auto_renew(), @@ -620,10 +620,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { // Fields for price '_initial_amount' => [ 'type' => 'text', - 'title' => __('Initial Amount', 'wp-ultimo'), + 'title' => __('Initial Amount', 'wp-multisite-waas'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(199)), - 'desc' => __('The initial amount collected on the first payment.', 'wp-ultimo'), + 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(199)), + 'desc' => __('The initial amount collected on the first payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_initial_amount(), 'money' => true, 'html_attr' => [ @@ -641,8 +641,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'recurring' => [ 'type' => 'toggle', - 'title' => __('Is Recurring', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this membership.', 'wp-ultimo'), + 'title' => __('Is Recurring', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this membership.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_recurring(), 'html_attr' => [ 'v-model' => 'is_recurring', @@ -659,9 +659,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'recurring_amount_group' => [ 'type' => 'group', - 'title' => __('Recurring Amount', 'wp-ultimo'), + 'title' => __('Recurring Amount', 'wp-multisite-waas'), // translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week) - 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-ultimo'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), + 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-multisite-waas'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), 'wrapper_html_attr' => [ 'v-show' => 'is_recurring', 'v-cloak' => '1', @@ -697,10 +697,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'v-model' => 'duration_unit', ], 'options' => [ - 'day' => __('Days', 'wp-ultimo'), - 'week' => __('Weeks', 'wp-ultimo'), - 'month' => __('Months', 'wp-ultimo'), - 'year' => __('Years', 'wp-ultimo'), + 'day' => __('Days', 'wp-multisite-waas'), + 'week' => __('Weeks', 'wp-multisite-waas'), + 'month' => __('Months', 'wp-multisite-waas'), + 'year' => __('Years', 'wp-multisite-waas'), ], ], ], @@ -733,9 +733,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'billing_cycles' => [ 'type' => 'number', - 'title' => __('Billing Cycles', 'wp-ultimo'), - 'placeholder' => __('E.g. 0', 'wp-ultimo'), - 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-ultimo'), + 'title' => __('Billing Cycles', 'wp-multisite-waas'), + 'placeholder' => __('E.g. 0', 'wp-multisite-waas'), + 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_billing_cycles(), 'min' => 0, 'wrapper_html_attr' => [ @@ -745,8 +745,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'times_billed' => [ 'type' => 'number', - 'title' => __('Times Billed', 'wp-ultimo'), - 'desc' => __('The number of times this membership was billed so far.', 'wp-ultimo'), + 'title' => __('Times Billed', 'wp-multisite-waas'), + 'desc' => __('The number of times this membership was billed so far.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_times_billed(), 'min' => 0, 'wrapper_html_attr' => [ @@ -757,8 +757,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'auto_renew' => [ 'type' => 'toggle', - 'title' => __('Auto-Renew?', 'wp-ultimo'), - 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'wp-ultimo'), + 'title' => __('Auto-Renew?', 'wp-multisite-waas'), + 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'wp-multisite-waas'), 'value' => $this->get_object()->should_auto_renew(), 'wrapper_html_attr' => [ 'v-show' => 'is_recurring', @@ -770,10 +770,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'gateway' => [ 'type' => 'text', - 'title' => __('Gateway', 'wp-ultimo'), - 'placeholder' => __('e.g. stripe', 'wp-ultimo'), - 'description' => __('e.g. stripe', 'wp-ultimo'), - 'desc' => __('Payment gateway used to process the payment.', 'wp-ultimo'), + 'title' => __('Gateway', 'wp-multisite-waas'), + 'placeholder' => __('e.g. stripe', 'wp-multisite-waas'), + 'description' => __('e.g. stripe', 'wp-multisite-waas'), + 'desc' => __('Payment gateway used to process the payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_gateway(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -797,7 +797,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $url = apply_filters("wu_{$gateway_id}_remote_customer_url", $this->get_object()->get_gateway_customer_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas')); } return ''; @@ -809,8 +809,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'gateway_customer_id' => [ 'type' => 'text', - 'title' => __('Gateway Customer ID', 'wp-ultimo'), - 'placeholder' => __('Gateway Customer ID', 'wp-ultimo'), + 'title' => __('Gateway Customer ID', 'wp-multisite-waas'), + 'placeholder' => __('Gateway Customer ID', 'wp-multisite-waas'), 'value' => $this->get_object()->get_gateway_customer_id(), 'tooltip' => '', 'wrapper_classes' => 'wu-w-full', @@ -835,7 +835,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $url = apply_filters("wu_{$gateway_id}_remote_subscription_url", $this->get_object()->get_gateway_subscription_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas')); } return ''; @@ -847,8 +847,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'gateway_subscription_id' => [ 'type' => 'text', - 'title' => __('Gateway Subscription ID', 'wp-ultimo'), - 'placeholder' => __('Gateway Subscription ID', 'wp-ultimo'), + 'title' => __('Gateway Subscription ID', 'wp-multisite-waas'), + 'placeholder' => __('Gateway Subscription ID', 'wp-multisite-waas'), 'value' => $this->get_object()->get_gateway_subscription_id(), 'tooltip' => '', 'wrapper_classes' => 'wu-w-full', @@ -862,7 +862,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'gateway_note' => [ 'type' => 'note', - 'desc' => __('We will try to cancel the old subscription on the gateway.', 'wp-ultimo'), + 'desc' => __('We will try to cancel the old subscription on the gateway.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => 'is_recurring && (' . implode( @@ -883,10 +883,10 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $timestamp_fields = []; $timestamps = [ - 'date_expiration' => __('Expires at', 'wp-ultimo'), - 'date_renewed' => __('Last Renewed at', 'wp-ultimo'), - 'date_trial_end' => __('Trial Ends at', 'wp-ultimo'), - 'date_cancellation' => __('Cancelled at', 'wp-ultimo'), + 'date_expiration' => __('Expires at', 'wp-multisite-waas'), + 'date_renewed' => __('Last Renewed at', 'wp-multisite-waas'), + 'date_trial_end' => __('Trial Ends at', 'wp-multisite-waas'), + 'date_cancellation' => __('Cancelled at', 'wp-multisite-waas'), ]; foreach ($timestamps as $timestamp_name => $timestamp_label) { @@ -911,7 +911,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { if ( ! $this->get_object()->is_lifetime()) { $timestamp_fields['convert_to_lifetime'] = [ 'type' => 'submit', - 'title' => __('Convert to Lifetime', 'wp-ultimo'), + 'title' => __('Convert to Lifetime', 'wp-multisite-waas'), 'value' => 'convert_to_lifetime', 'classes' => 'button wu-w-full', 'wrapper_html_attr' => [], @@ -921,7 +921,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'membership-timestamps', [ - 'title' => __('Important Timestamps', 'wp-ultimo'), + 'title' => __('Important Timestamps', 'wp-multisite-waas'), 'fields' => $timestamp_fields, ] ); @@ -951,7 +951,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Membership', 'wp-ultimo') : __('Add new Membership', 'wp-ultimo'); + return $this->edit ? __('Edit Membership', 'wp-multisite-waas') : __('Add new Membership', 'wp-multisite-waas'); } /** @@ -962,7 +962,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Membership', 'wp-ultimo'); + return __('Edit Membership', 'wp-multisite-waas'); } /** @@ -985,15 +985,15 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Membership', 'wp-ultimo'), - 'add_new_label' => __('Add new Membership', 'wp-ultimo'), - 'updated_message' => __('Membership updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Membership Name', 'wp-ultimo'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'), - 'save_button_label' => __('Save Membership', 'wp-ultimo'), + 'edit_label' => __('Edit Membership', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Membership', 'wp-multisite-waas'), + 'updated_message' => __('Membership updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Membership Name', 'wp-multisite-waas'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Membership', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Membership', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Membership', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -1082,7 +1082,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_membership($item_id); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-memberships')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-memberships')); exit; } @@ -1103,7 +1103,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $actions = [ 'preview' => [ - 'title' => __('← Go back', 'wp-ultimo'), + 'title' => __('← Go back', 'wp-multisite-waas'), 'url' => remove_query_arg('preview-swap', wu_get_current_url()), ], ]; @@ -1111,7 +1111,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $date = new \DateTime($swap_order->scheduled_date); // translators: %s is the date, using the site format options - $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'wp-ultimo'), $date->format(get_option('date_format'))); + $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'wp-multisite-waas'), $date->format(get_option('date_format'))); WP_Ultimo()->notices->add($message, 'info', 'network-admin', false, $actions); @@ -1162,7 +1162,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $url = add_query_arg($array_params); - wp_redirect($url); + wp_safe_redirect($url); return true; } @@ -1227,7 +1227,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $url = remove_query_arg('preview-swap', $url); - wp_redirect($url); + wp_safe_redirect($url); return true; } @@ -1260,8 +1260,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'product_id' => [ 'type' => 'model', - 'title' => __('Product', 'wp-ultimo'), - 'placeholder' => __('Search product...', 'wp-ultimo'), + 'title' => __('Product', 'wp-multisite-waas'), + 'placeholder' => __('Search product...', 'wp-multisite-waas'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -1275,7 +1275,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'wp-ultimo'), + 'title' => __('Quantity', 'wp-multisite-waas'), 'value' => 1, 'placeholder' => 1, 'wrapper_classes' => 'wu-w-1/2', @@ -1286,8 +1286,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing', 'wp-ultimo'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'), + 'title' => __('Update Pricing', 'wp-multisite-waas'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1303,8 +1303,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add Product', 'wp-ultimo'), - 'placeholder' => __('Add Product', 'wp-ultimo'), + 'title' => __('Add Product', 'wp-multisite-waas'), + 'placeholder' => __('Add Product', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1351,7 +1351,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1359,7 +1359,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $product = wu_get_product(wu_request('product_id')); if ( ! $product) { - $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-ultimo')); + $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1415,7 +1415,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'wp-ultimo'), + 'title' => __('Quantity', 'wp-multisite-waas'), 'value' => 1, 'placeholder' => 1, 'wrapper_classes' => 'wu-w-1/2', @@ -1426,8 +1426,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing?', 'wp-ultimo'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'), + 'title' => __('Update Pricing?', 'wp-multisite-waas'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1443,8 +1443,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Remove Product', 'wp-ultimo'), - 'placeholder' => __('Remove Product', 'wp-ultimo'), + 'title' => __('Remove Product', 'wp-multisite-waas'), + 'placeholder' => __('Remove Product', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1495,7 +1495,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1503,7 +1503,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $product = wu_get_product(wu_request('product_id')); if ( ! $product) { - $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-ultimo')); + $error = new \WP_Error('product-not-found', __('Product not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1571,9 +1571,9 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'plan_id' => [ 'type' => 'model', - 'title' => __('Plan', 'wp-ultimo'), - 'placeholder' => __('Search new Plan...', 'wp-ultimo'), - 'desc' => __('Select a new plan for this membership.', 'wp-ultimo'), + 'title' => __('Plan', 'wp-multisite-waas'), + 'placeholder' => __('Search new Plan...', 'wp-multisite-waas'), + 'desc' => __('Select a new plan for this membership.', 'wp-multisite-waas'), 'value' => $product->get_id(), 'tooltip' => '', 'html_attr' => [ @@ -1583,13 +1583,13 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'name', 'data-search-field' => 'name', 'data-max-items' => 1, - 'data-selected' => json_encode($product->to_search_results()), + 'data-selected' => wp_json_encode($product->to_search_results()), ], ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing', 'wp-ultimo'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-ultimo'), + 'title' => __('Update Pricing', 'wp-multisite-waas'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1605,8 +1605,8 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Change Product', 'wp-ultimo'), - 'placeholder' => __('Change Product', 'wp-ultimo'), + 'title' => __('Change Product', 'wp-multisite-waas'), + 'placeholder' => __('Change Product', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1659,7 +1659,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-ultimo')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1667,7 +1667,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $plan = wu_get_product(wu_request('plan_id')); if ( ! $plan) { - $error = new \WP_Error('plan-not-found', __('Plan not found.', 'wp-ultimo')); + $error = new \WP_Error('plan-not-found', __('Plan not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -1675,7 +1675,7 @@ class Membership_Edit_Admin_Page extends Edit_Admin_Page { $original_plan_id = $membership->get_plan_id(); if (absint($original_plan_id) === absint($plan->get_id())) { - $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'wp-ultimo')); + $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'wp-multisite-waas')); wp_send_json_error($error); } diff --git a/inc/admin-pages/class-membership-list-admin-page.php b/inc/admin-pages/class-membership-list-admin-page.php index 0f00401..da784c3 100644 --- a/inc/admin-pages/class-membership-list-admin-page.php +++ b/inc/admin-pages/class-membership-list-admin-page.php @@ -88,9 +88,9 @@ class Membership_List_Admin_Page extends List_Admin_Page { $fields = [ 'customer_id' => [ 'type' => 'model', - 'title' => __('Customer', 'wp-ultimo'), - 'placeholder' => __('Search Customer...', 'wp-ultimo'), - 'desc' => __('The customer to attach this membership to.', 'wp-ultimo'), + 'title' => __('Customer', 'wp-multisite-waas'), + 'placeholder' => __('Search Customer...', 'wp-multisite-waas'), + 'desc' => __('The customer to attach this membership to.', 'wp-multisite-waas'), 'html_attr' => [ 'data-model' => 'customer', 'data-value-field' => 'id', @@ -101,9 +101,9 @@ class Membership_List_Admin_Page extends List_Admin_Page { ], 'product_ids' => [ 'type' => 'model', - 'title' => __('Products', 'wp-ultimo'), - 'placeholder' => __('Search Products...', 'wp-ultimo'), - 'desc' => __('You can add multiples products to this membership.', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), + 'placeholder' => __('Search Products...', 'wp-multisite-waas'), + 'desc' => __('You can add multiples products to this membership.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-model' => 'product', @@ -115,25 +115,25 @@ class Membership_List_Admin_Page extends List_Admin_Page { ], 'status' => [ 'type' => 'select', - 'title' => __('Status', 'wp-ultimo'), - 'placeholder' => __('Status', 'wp-ultimo'), - 'desc' => __('The membership status.', 'wp-ultimo'), + 'title' => __('Status', 'wp-multisite-waas'), + 'placeholder' => __('Status', 'wp-multisite-waas'), + 'desc' => __('The membership status.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => Membership_Status::PENDING, 'options' => Membership_Status::to_array(), ], 'lifetime' => [ 'type' => 'toggle', - 'title' => __('Lifetime', 'wp-ultimo'), - 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'wp-ultimo'), + 'title' => __('Lifetime', 'wp-multisite-waas'), + 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'wp-multisite-waas'), 'value' => 1, 'html_attr' => [ 'v-model' => 'lifetime', ], ], 'date_expiration' => [ - 'title' => __('Expiration Date', 'wp-ultimo'), - 'desc' => __('Set the expiration date of the membership to be created.', 'wp-ultimo'), + 'title' => __('Expiration Date', 'wp-multisite-waas'), + 'desc' => __('Set the expiration date of the membership to be created.', 'wp-multisite-waas'), 'type' => 'text', 'date' => true, 'value' => gmdate('Y-m-d', strtotime('+1 month')), @@ -150,7 +150,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Create Membership', 'wp-ultimo'), + 'title' => __('Create Membership', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -197,7 +197,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { wp_send_json_error( new \WP_Error( 'empty-products', - __('Products can not be empty.', 'wp-ultimo') + __('Products can not be empty.', 'wp-multisite-waas') ) ); } @@ -208,7 +208,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { wp_send_json_error( new \WP_Error( 'customer-not-found', - __('The selected customer does not exist.', 'wp-ultimo') + __('The selected customer does not exist.', 'wp-multisite-waas') ) ); } @@ -263,8 +263,8 @@ class Membership_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Membership removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Membership', 'wp-ultimo'), + 'deleted_message' => __('Membership removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Membership', 'wp-multisite-waas'), ]; } @@ -276,7 +276,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Memberships', 'wp-ultimo'); + return __('Memberships', 'wp-multisite-waas'); } /** @@ -287,7 +287,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Memberships', 'wp-ultimo'); + return __('Memberships', 'wp-multisite-waas'); } /** @@ -298,7 +298,7 @@ class Membership_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Memberships', 'wp-ultimo'); + return __('Memberships', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-migration-alert-admin-page.php b/inc/admin-pages/class-migration-alert-admin-page.php index 61370ec..d128a76 100644 --- a/inc/admin-pages/class-migration-alert-admin-page.php +++ b/inc/admin-pages/class-migration-alert-admin-page.php @@ -104,7 +104,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page { */ public function get_title(): string { - return sprintf(__('Migration', 'wp-ultimo')); + return sprintf(__('Migration', 'wp-multisite-waas')); } /** @@ -115,7 +115,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page { */ public function get_menu_title() { - return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Migration Alert', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo'); + return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Migration Alert', 'wp-multisite-waas') : __('WP Multisite WaaS', 'wp-multisite-waas'); } /** @@ -128,7 +128,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page { return [ 'alert' => [ - 'title' => __('Alert!', 'wp-ultimo'), + 'title' => __('Alert!', 'wp-multisite-waas'), 'view' => [$this, 'section_alert'], 'handler' => [$this, 'handle_proceed'], ], @@ -163,7 +163,7 @@ class Migration_Alert_Admin_Page extends Wizard_Admin_Page { delete_network_option(null, 'wu_setup_finished'); delete_network_option(null, 'wu_is_migration_done'); - wp_redirect(wu_network_admin_url('wp-ultimo-setup')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-setup')); exit; } diff --git a/inc/admin-pages/class-payment-edit-admin-page.php b/inc/admin-pages/class-payment-edit-admin-page.php index c1ce10f..7930fd1 100644 --- a/inc/admin-pages/class-payment-edit-admin-page.php +++ b/inc/admin-pages/class-payment-edit-admin-page.php @@ -167,15 +167,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'wp-ultimo'), - 'desc' => __('This action can not be undone.', 'wp-ultimo'), + 'title' => __('Confirm Deletion', 'wp-multisite-waas'), + 'desc' => __('This action can not be undone.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'wp-ultimo'), + 'title' => __('Delete', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -227,7 +227,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $line_item = wu_get_line_item(wu_request('line_item_id'), $payment->get_id()); if ( ! $payment || ! $line_item) { - wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-multisite-waas'))); } $line_items = $payment->get_line_items(); @@ -266,8 +266,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ '_amount' => [ 'type' => 'text', - 'title' => __('Refund Amount', 'wp-ultimo'), - 'placeholder' => __('Refund Amount', 'wp-ultimo'), + 'title' => __('Refund Amount', 'wp-multisite-waas'), + 'placeholder' => __('Refund Amount', 'wp-multisite-waas'), 'money' => true, 'min' => 0, 'html_attr' => [ @@ -287,15 +287,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'cancel_membership' => [ 'type' => 'toggle', - 'title' => __('Cancel Related Membership?', 'wp-ultimo'), - 'desc' => __('Checking this option will cancel the membership as well.', 'wp-ultimo'), + 'title' => __('Cancel Related Membership?', 'wp-multisite-waas'), + 'desc' => __('Checking this option will cancel the membership as well.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'step === 1', ], ], 'refund_not_immediate_note' => [ 'type' => 'note', - 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and WP Multisite WaaS relies on the gateway reporting a successful refund before changing the status.', 'wp-ultimo'), + 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and WP Multisite WaaS relies on the gateway reporting a successful refund before changing the status.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => 'step === 2', @@ -304,8 +304,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Refund', 'wp-ultimo'), - 'desc' => __('This action can not be undone.', 'wp-ultimo'), + 'title' => __('Confirm Refund', 'wp-multisite-waas'), + 'desc' => __('This action can not be undone.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'step === 2', ], @@ -315,8 +315,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Next Step', 'wp-ultimo'), - 'placeholder' => __('Next Step', 'wp-ultimo'), + 'title' => __('Next Step', 'wp-multisite-waas'), + 'placeholder' => __('Next Step', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -330,8 +330,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_button_2' => [ 'type' => 'submit', - 'title' => __('Issue Refund', 'wp-ultimo'), - 'placeholder' => __('Issue Refund', 'wp-ultimo'), + 'title' => __('Issue Refund', 'wp-multisite-waas'), + 'placeholder' => __('Issue Refund', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -385,14 +385,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $payment = wu_get_payment(wu_request('id')); if ( ! $payment) { - wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'wp-multisite-waas'))); } /* * Checks for a valid amount. */ if (empty($amount) || $amount > $payment->get_total()) { - wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'wp-multisite-waas'))); } /* @@ -402,7 +402,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $is_refundable = in_array($payment->get_status(), wu_get_refundable_payment_types(), true); if ( ! $is_refundable) { - wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'wp-multisite-waas'))); } /* @@ -453,7 +453,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $gateway = wu_get_gateway($gateway_id); if ( ! $gateway) { - wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'wp-multisite-waas'))); } /* @@ -482,14 +482,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { if (is_wp_error($status)) { // translators: %s is the exception error message. - $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-ultimo'), $status->get_error_message())); + $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-multisite-waas'), $status->get_error_message())); wp_send_json_error($error); } } catch (\Throwable $e) { // translators: %s is the exception error message. - $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-ultimo'), $e->getMessage())); + $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'wp-multisite-waas'), $e->getMessage())); wp_send_json_error($error); } @@ -541,7 +541,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $product = wu_get_product(wu_request('product_id')); if (empty($product)) { - $error = new \WP_Error('missing-product', __('The product was not found.', 'wp-ultimo')); + $error = new \WP_Error('missing-product', __('The product was not found.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -578,7 +578,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ); if ( ! in_array($type, $allowed_types, true)) { - $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'wp-ultimo')); + $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'wp-multisite-waas')); wp_send_json_error($error); } @@ -610,7 +610,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $saved = $payment->recalculate_totals()->save(); if ( ! $saved) { - wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas'))); } if (is_wp_error($saved)) { @@ -648,9 +648,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'tab' => [ 'type' => 'tab-select', 'options' => [ - 'type' => __('Type', 'wp-ultimo'), - 'info' => __('Additional Info', 'wp-ultimo'), - 'tax' => __('Tax Info', 'wp-ultimo'), + 'type' => __('Type', 'wp-multisite-waas'), + 'info' => __('Additional Info', 'wp-multisite-waas'), + 'tax' => __('Tax Info', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'tab', @@ -658,13 +658,13 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'type' => [ 'type' => 'select', - 'title' => __('Line Item Type', 'wp-ultimo'), - 'desc' => __('Select the line item type.', 'wp-ultimo'), + 'title' => __('Line Item Type', 'wp-multisite-waas'), + 'desc' => __('Select the line item type.', 'wp-multisite-waas'), 'options' => [ - 'product' => __('Product', 'wp-ultimo'), - 'refund' => __('Refund', 'wp-ultimo'), - 'fee' => __('Fee', 'wp-ultimo'), - 'credit' => __('Credit', 'wp-ultimo'), + 'product' => __('Product', 'wp-multisite-waas'), + 'refund' => __('Refund', 'wp-multisite-waas'), + 'fee' => __('Fee', 'wp-multisite-waas'), + 'credit' => __('Credit', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-show' => 'tab === "type"', @@ -675,9 +675,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'product_id' => [ 'type' => 'model', - 'title' => __('Product', 'wp-ultimo'), - 'desc' => __('Product associated with this line item.', 'wp-ultimo'), - 'placeholder' => __('Search Products', 'wp-ultimo'), + 'title' => __('Product', 'wp-multisite-waas'), + 'desc' => __('Product associated with this line item.', 'wp-multisite-waas'), + 'placeholder' => __('Search Products', 'wp-multisite-waas'), 'value' => $line_item->get_product_id(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -689,14 +689,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'name', 'data-search-field' => 'name', 'data-max-items' => 1, - 'data-selected' => $line_item->get_product() ? json_encode($line_item->get_product()->to_search_results()) : '', + 'data-selected' => $line_item->get_product() ? wp_json_encode($line_item->get_product()->to_search_results()) : '', ], ], 'title' => [ 'type' => 'text', - 'title' => __('Line Item Title', 'wp-ultimo'), - 'placeholder' => __('E.g. Extra Charge', 'wp-ultimo'), - 'desc' => __('This is used when generating invoices.', 'wp-ultimo'), + 'title' => __('Line Item Title', 'wp-multisite-waas'), + 'placeholder' => __('E.g. Extra Charge', 'wp-multisite-waas'), + 'desc' => __('This is used when generating invoices.', 'wp-multisite-waas'), 'value' => $line_item->get_title(), 'wrapper_html_attr' => [ 'v-show' => 'tab === "info"', @@ -704,9 +704,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'description' => [ 'type' => 'textarea', - 'title' => __('Line Item Description', 'wp-ultimo'), - 'placeholder' => __('E.g. This service was done to improve performance.', 'wp-ultimo'), - 'desc' => __('This is used when generating invoices.', 'wp-ultimo'), + 'title' => __('Line Item Description', 'wp-multisite-waas'), + 'placeholder' => __('E.g. This service was done to improve performance.', 'wp-multisite-waas'), + 'desc' => __('This is used when generating invoices.', 'wp-multisite-waas'), 'value' => $line_item->get_description(), 'html_attr' => [ 'rows' => 4, @@ -717,10 +717,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'wp-ultimo'), - 'desc' => __('Item quantity.', 'wp-ultimo'), + 'title' => __('Quantity', 'wp-multisite-waas'), + 'desc' => __('Item quantity.', 'wp-multisite-waas'), 'value' => $line_item->get_quantity(), - 'placeholder' => __('E.g. 1', 'wp-ultimo'), + 'placeholder' => __('E.g. 1', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-1/2', 'wrapper_html_attr' => [ 'v-show' => 'type === "product" && tab === "type"', @@ -738,10 +738,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], '_unit_price' => [ 'type' => 'text', - 'title' => __('Unit Price', 'wp-ultimo'), - 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'wp-ultimo'), + 'title' => __('Unit Price', 'wp-multisite-waas'), + 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'wp-multisite-waas'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(99)), + 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(99)), 'value' => $line_item->get_unit_price(), 'money' => true, 'wrapper_classes' => 'wu-w-1/2', @@ -756,10 +756,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], '_unit_price_amount' => [ 'type' => 'text', - 'title' => __('Amount', 'wp-ultimo'), - 'desc' => __('Refund, credit or fee amount.', 'wp-ultimo'), + 'title' => __('Amount', 'wp-multisite-waas'), + 'desc' => __('Refund, credit or fee amount.', 'wp-multisite-waas'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(99)), + 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(99)), 'value' => $line_item->get_unit_price(), 'money' => true, 'wrapper_classes' => 'wu-w-1/2', @@ -774,8 +774,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'taxable' => [ 'type' => 'toggle', - 'title' => __('Is Taxable?', 'wp-ultimo'), - 'desc' => __('Checking this box will toggle the tax controls.', 'wp-ultimo'), + 'title' => __('Is Taxable?', 'wp-multisite-waas'), + 'desc' => __('Checking this box will toggle the tax controls.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-bind:class' => 'type !== "product" ? "wu-opacity-50" : ""', 'v-show' => 'tab === "tax"', @@ -787,9 +787,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'tax_label' => [ 'type' => 'text', - 'title' => __('Tax Label', 'wp-ultimo'), - 'placeholder' => __('E.g. ES VAT', 'wp-ultimo'), - 'desc' => __('Tax description. This is shown on invoices to end customers.', 'wp-ultimo'), + 'title' => __('Tax Label', 'wp-multisite-waas'), + 'placeholder' => __('E.g. ES VAT', 'wp-multisite-waas'), + 'desc' => __('Tax description. This is shown on invoices to end customers.', 'wp-multisite-waas'), 'value' => $line_item->get_tax_label(), 'wrapper_html_attr' => [ 'v-show' => 'taxable && tab === "tax"', @@ -797,8 +797,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'tax_rate_group' => [ 'type' => 'group', - 'title' => __('Tax Rate', 'wp-ultimo'), - 'desc' => __('Tax rate and type to apply to this item.', 'wp-ultimo'), + 'title' => __('Tax Rate', 'wp-multisite-waas'), + 'desc' => __('Tax rate and type to apply to this item.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'taxable && tab === "tax"', ], @@ -819,16 +819,16 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'wp-ultimo'), - 'absolute' => __('Flat Rate ($)', 'wp-ultimo'), + 'percentage' => __('Percentage (%)', 'wp-multisite-waas'), + 'absolute' => __('Flat Rate ($)', 'wp-multisite-waas'), ], ], ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Save', 'wp-ultimo'), - 'placeholder' => __('Save', 'wp-ultimo'), + 'title' => __('Save', 'wp-multisite-waas'), + 'placeholder' => __('Save', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -881,7 +881,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { if ($is_refundable) { $actions['refund_payment'] = [ - 'label' => __('Refund Payment', 'wp-ultimo'), + 'label' => __('Refund Payment', 'wp-multisite-waas'), 'icon_classes' => 'dashicons-wu-ccw wu-align-text-bottom', 'classes' => 'button wubox', 'href' => wu_get_form_url( @@ -894,7 +894,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { } $actions['add_line_item'] = [ - 'label' => __('Add Line Item', 'wp-ultimo'), + 'label' => __('Add Line Item', 'wp-multisite-waas'), 'icon_classes' => 'dashicons-wu-circle-with-plus wu-align-text-bottom', 'classes' => 'button wubox', 'href' => wu_get_form_url( @@ -952,26 +952,26 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'wp-ultimo'), + 'title' => __('At a Glance', 'wp-multisite-waas'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-widget-inset', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', 'fields' => [ 'status' => [ 'type' => 'text-display', - 'title' => __('Payment Status', 'wp-ultimo'), + 'title' => __('Payment Status', 'wp-multisite-waas'), 'display_value' => $tag, 'tooltip' => '', ], 'hash' => [ 'copy' => true, 'type' => 'text-display', - 'title' => __('Reference ID', 'wp-ultimo'), + 'title' => __('Reference ID', 'wp-multisite-waas'), 'display_value' => $this->get_object()->get_hash(), ], 'total' => [ 'type' => 'text-display', - 'title' => __('Total', 'wp-ultimo'), + 'title' => __('Total', 'wp-multisite-waas'), 'display_value' => wu_format_currency($this->get_object()->get_total(), $this->get_object()->get_currency()), 'wrapper_classes' => 'sm:wu-border-r-0', ], @@ -982,7 +982,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'line-items', [ - 'title' => __('Line Items', 'wp-ultimo'), + 'title' => __('Line Items', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Payment_Line_Item_List_Table(), 'position' => 'normal', 'query_filter' => [$this, 'payments_query_filter'], @@ -993,7 +993,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $this->add_widget( 'tax-rates', [ - 'title' => __('Tax Rate Breakthrough', 'wp-ultimo'), + 'title' => __('Tax Rate Breakthrough', 'wp-multisite-waas'), 'position' => 'normal', 'display' => [$this, 'display_tax_breakthrough'], ] @@ -1002,7 +1002,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Payment Options', 'wp-ultimo'), + 'title' => __('Payment Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => apply_filters('wu_payments_options_sections', [], $this->get_object()), ] @@ -1011,7 +1011,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -1037,9 +1037,9 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'status' => [ 'type' => 'select', - 'title' => __('Status', 'wp-ultimo'), - 'placeholder' => __('Status', 'wp-ultimo'), - 'desc' => __('The payment current status.', 'wp-ultimo'), + 'title' => __('Status', 'wp-multisite-waas'), + 'placeholder' => __('Status', 'wp-multisite-waas'), + 'desc' => __('The payment current status.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_status(), 'options' => Payment_Status::to_array(), 'tooltip' => '', @@ -1052,8 +1052,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'confirm_membership' => [ 'type' => 'toggle', - 'title' => __('Activate Membership?', 'wp-ultimo'), - 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'wp-ultimo'), + 'title' => __('Activate Membership?', 'wp-multisite-waas'), + 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'wp-multisite-waas'), 'value' => 0, 'wrapper_html_attr' => [ 'v-if' => 'status !== original_status && status === "completed" && membership_status === "pending"', @@ -1062,8 +1062,8 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Membership', 'wp-ultimo'), - 'desc' => __('The membership associated with this payment.', 'wp-ultimo'), + 'title' => __('Membership', 'wp-multisite-waas'), + 'desc' => __('The membership associated with this payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_membership_id(), 'tooltip' => '', 'html_attr' => [ @@ -1073,7 +1073,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'data-value-field' => 'id', 'data-label-field' => 'reference_code', 'data-max-items' => 1, - 'data-selected' => $this->get_object()->get_membership() ? json_encode($this->get_object()->get_membership()->to_search_results()) : '', + 'data-selected' => $this->get_object()->get_membership() ? wp_json_encode($this->get_object()->get_membership()->to_search_results()) : '', ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -1081,10 +1081,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { ], 'gateway' => [ 'type' => 'text', - 'title' => __('Gateway', 'wp-ultimo'), - 'placeholder' => __('e.g. stripe', 'wp-ultimo'), - 'description' => __('e.g. stripe', 'wp-ultimo'), - 'desc' => __('Payment gateway used to process the payment.', 'wp-ultimo'), + 'title' => __('Gateway', 'wp-multisite-waas'), + 'placeholder' => __('e.g. stripe', 'wp-multisite-waas'), + 'description' => __('e.g. stripe', 'wp-multisite-waas'), + 'desc' => __('Payment gateway used to process the payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_gateway(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -1108,7 +1108,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $url = apply_filters("wu_{$gateway_id}_remote_payment_url", $this->get_object()->get_gateway_payment_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-ultimo')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'wp-multisite-waas')); } return ''; @@ -1120,10 +1120,10 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'gateway_payment_id' => [ 'type' => 'text', - 'title' => __('Gateway Payment ID', 'wp-ultimo'), - 'placeholder' => __('e.g. EX897540987913', 'wp-ultimo'), - 'description' => __('e.g. EX897540987913', 'wp-ultimo'), - 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'wp-ultimo'), + 'title' => __('Gateway Payment ID', 'wp-multisite-waas'), + 'placeholder' => __('e.g. EX897540987913', 'wp-multisite-waas'), + 'description' => __('e.g. EX897540987913', 'wp-multisite-waas'), + 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_gateway_payment_id(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [], @@ -1134,14 +1134,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { 'invoice_number' => [ 'type' => 'number', 'min' => 0, - 'title' => __('Invoice Number', 'wp-ultimo'), - 'placeholder' => __('e.g. 20', 'wp-ultimo'), - 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'wp-ultimo'), - 'desc' => __('The invoice number for this particular payment.', 'wp-ultimo'), + 'title' => __('Invoice Number', 'wp-multisite-waas'), + 'placeholder' => __('e.g. 20', 'wp-multisite-waas'), + 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'wp-multisite-waas'), + 'desc' => __('The invoice number for this particular payment.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_saved_invoice_number(), 'wrapper_classes' => 'wu-w-full', 'wrapper_html_attr' => [ - 'v-show' => json_encode(wu_get_setting('invoice_numbering_scheme', 'reference_code') === 'sequential_number'), + 'v-show' => wp_json_encode(wu_get_setting('invoice_numbering_scheme', 'reference_code') === 'sequential_number'), 'v-cloak' => '1', ], ], @@ -1158,7 +1158,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Payment', 'wp-ultimo') : __('Add new Payment', 'wp-ultimo'); + return $this->edit ? __('Edit Payment', 'wp-multisite-waas') : __('Add new Payment', 'wp-multisite-waas'); } /** @@ -1169,7 +1169,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Payment', 'wp-ultimo'); + return __('Edit Payment', 'wp-multisite-waas'); } /** @@ -1187,14 +1187,14 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { if ($payment) { $actions[] = [ 'url' => $payment->get_invoice_url(), - 'label' => __('Generate Invoice', 'wp-ultimo'), + 'label' => __('Generate Invoice', 'wp-multisite-waas'), 'icon' => 'wu-attachment', ]; if ($payment->is_payable()) { $actions[] = [ 'url' => $payment->get_payment_url(), - 'label' => __('Payment URL', 'wp-ultimo'), + 'label' => __('Payment URL', 'wp-multisite-waas'), 'icon' => 'wu-credit-card', ]; } @@ -1212,15 +1212,15 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Payment', 'wp-ultimo'), - 'add_new_label' => __('Add new Payment', 'wp-ultimo'), - 'updated_message' => __('Payment updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Payment Name', 'wp-ultimo'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'), - 'save_button_label' => __('Save Payment', 'wp-ultimo'), + 'edit_label' => __('Edit Payment', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Payment', 'wp-multisite-waas'), + 'updated_message' => __('Payment updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Payment Name', 'wp-multisite-waas'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Payment', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Payment', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Payment', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -1280,7 +1280,7 @@ class Payment_Edit_Admin_Page extends Edit_Admin_Page { $item = $query->get_item_by('id', $_GET['id']); if ( ! $item || $item->get_parent_id()) { - wp_redirect(wu_network_admin_url('wp-ultimo-payments')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-payments')); exit; } diff --git a/inc/admin-pages/class-payment-list-admin-page.php b/inc/admin-pages/class-payment-list-admin-page.php index fad858e..c3a0ae9 100644 --- a/inc/admin-pages/class-payment-list-admin-page.php +++ b/inc/admin-pages/class-payment-list-admin-page.php @@ -87,9 +87,9 @@ class Payment_List_Admin_Page extends List_Admin_Page { $fields = [ 'products' => [ 'type' => 'model', - 'title' => __('Products', 'wp-ultimo'), - 'placeholder' => __('Search Products...', 'wp-ultimo'), - 'desc' => __('Each product will be added as a line item.', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), + 'placeholder' => __('Search Products...', 'wp-multisite-waas'), + 'desc' => __('Each product will be added as a line item.', 'wp-multisite-waas'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -102,18 +102,18 @@ class Payment_List_Admin_Page extends List_Admin_Page { ], 'status' => [ 'type' => 'select', - 'title' => __('Status', 'wp-ultimo'), - 'placeholder' => __('Status', 'wp-ultimo'), - 'desc' => __('The payment status to attach to the newly created payment.', 'wp-ultimo'), + 'title' => __('Status', 'wp-multisite-waas'), + 'placeholder' => __('Status', 'wp-multisite-waas'), + 'desc' => __('The payment status to attach to the newly created payment.', 'wp-multisite-waas'), 'value' => Payment_Status::COMPLETED, 'options' => Payment_Status::to_array(), 'tooltip' => '', ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Membership', 'wp-ultimo'), - 'placeholder' => __('Search Membership...', 'wp-ultimo'), - 'desc' => __('The membership associated with this payment.', 'wp-ultimo'), + 'title' => __('Membership', 'wp-multisite-waas'), + 'placeholder' => __('Search Membership...', 'wp-multisite-waas'), + 'desc' => __('The membership associated with this payment.', 'wp-multisite-waas'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -126,13 +126,13 @@ class Payment_List_Admin_Page extends List_Admin_Page { ], 'add_setup_fees' => [ 'type' => 'toggle', - 'title' => __('Include Setup Fees', 'wp-ultimo'), - 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'wp-ultimo'), + 'title' => __('Include Setup Fees', 'wp-multisite-waas'), + 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'wp-multisite-waas'), 'value' => 1, ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add Payment', 'wp-ultimo'), + 'title' => __('Add Payment', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -172,7 +172,7 @@ class Payment_List_Admin_Page extends List_Admin_Page { $membership = wu_get_membership(wu_request('membership_id')); if ( ! $membership) { - $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'wp-ultimo')); + $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'wp-multisite-waas')); return wp_send_json_error($error); } @@ -228,8 +228,8 @@ class Payment_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Payment removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Payment', 'wp-ultimo'), + 'deleted_message' => __('Payment removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Payment', 'wp-multisite-waas'), ]; } @@ -241,7 +241,7 @@ class Payment_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Payments', 'wp-ultimo'); + return __('Payments', 'wp-multisite-waas'); } /** @@ -252,7 +252,7 @@ class Payment_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Payments', 'wp-ultimo'); + return __('Payments', 'wp-multisite-waas'); } /** @@ -263,7 +263,7 @@ class Payment_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Payments', 'wp-ultimo'); + return __('Payments', 'wp-multisite-waas'); } /** @@ -276,7 +276,7 @@ class Payment_List_Admin_Page extends List_Admin_Page { return [ [ - 'label' => __('Add Payment', 'wp-ultimo'), + 'label' => __('Add Payment', 'wp-multisite-waas'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_payment'), diff --git a/inc/admin-pages/class-placeholders-admin-page.php b/inc/admin-pages/class-placeholders-admin-page.php index 0162e8e..4d0f2ed 100644 --- a/inc/admin-pages/class-placeholders-admin-page.php +++ b/inc/admin-pages/class-placeholders-admin-page.php @@ -70,7 +70,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Edit Template Placeholders', 'wp-ultimo'); + return __('Edit Template Placeholders', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Edit Template Placeholders', 'wp-ultimo'); + return __('Edit Template Placeholders', 'wp-multisite-waas'); } /** @@ -92,7 +92,7 @@ class Placeholders_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Edit Template Placeholders', 'wp-ultimo'); + return __('Edit Template Placeholders', 'wp-multisite-waas'); } /** @@ -108,8 +108,8 @@ class Placeholders_Admin_Page extends Base_Admin_Page { $columns = apply_filters( 'wu_edit_placeholders_columns', [ - 'placeholder' => __('Placeholder', 'wp-ultimo'), - 'content' => __('Content', 'wp-ultimo'), + 'placeholder' => __('Placeholder', 'wp-multisite-waas'), + 'content' => __('Content', 'wp-multisite-waas'), ] ); @@ -138,9 +138,9 @@ class Placeholders_Admin_Page extends Base_Admin_Page { 'wu-edit-placeholders', 'wu_placeholdersl10n', [ - 'name' => __('Tax', 'wp-ultimo'), - 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-ultimo'), - 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-ultimo'), + 'name' => __('Tax', 'wp-multisite-waas'), + 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-multisite-waas'), + 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-multisite-waas'), ] ); diff --git a/inc/admin-pages/class-product-edit-admin-page.php b/inc/admin-pages/class-product-edit-admin-page.php index 7673899..b8828ec 100644 --- a/inc/admin-pages/class-product-edit-admin-page.php +++ b/inc/admin-pages/class-product-edit-admin-page.php @@ -116,16 +116,16 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { [ [ 'id' => 'new-product-warning', - 'title' => __('On adding a new product...', 'wp-ultimo'), + 'title' => __('On adding a new product...', 'wp-multisite-waas'), 'text' => [ - __("You just successfully added a new product to your WP Multisite WaaS network and that's awesome!", 'wp-ultimo'), - __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'wp-ultimo'), - __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'wp-ultimo'), + __("You just successfully added a new product to your WP Multisite WaaS network and that's awesome!", 'wp-multisite-waas'), + __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'wp-multisite-waas'), + __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'wp-multisite-waas'), ], 'buttons' => [ [ 'classes' => 'button wu-text-xs sm:wu-normal-case wu-float-left', - 'text' => __('Go to Checkout Forms', 'wp-ultimo'), + 'text' => __('Go to Checkout Forms', 'wp-multisite-waas'), 'url' => wu_network_admin_url('wp-ultimo-checkout-forms'), ], ], @@ -153,16 +153,16 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $custom_fields = [ 're_assignment_product_id' => [ 'type' => 'model', - 'title' => __('Re-assign Memberships to', 'wp-ultimo'), - 'placeholder' => __('Select Product...', 'wp-ultimo'), - 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'wp-ultimo'), + 'title' => __('Re-assign Memberships to', 'wp-multisite-waas'), + 'placeholder' => __('Select Product...', 'wp-multisite-waas'), + 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'wp-multisite-waas'), 'html_attr' => [ 'data-model' => 'product', 'data-value-field' => 'id', 'data-label-field' => 'name', 'data-search-field' => 'name', 'data-max-items' => 1, - 'data-exclude' => json_encode([$product->get_id()]), + 'data-exclude' => wp_json_encode([$product->get_id()]), ], ], ]; @@ -225,14 +225,14 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'description', [ - 'title' => __('Description', 'wp-ultimo'), + 'title' => __('Description', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Product Description', 'wp-ultimo'), - 'placeholder' => __('Tell your customers what this product is about.', 'wp-ultimo'), - 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'wp-ultimo'), + 'title' => __('Product Description', 'wp-multisite-waas'), + 'placeholder' => __('Tell your customers what this product is about.', 'wp-multisite-waas'), + 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_description(), 'html_attr' => [ 'rows' => 3, @@ -245,7 +245,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'product_options', [ - 'title' => __('Product Options', 'wp-ultimo'), + 'title' => __('Product Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => $this->get_product_option_sections(), ] @@ -259,7 +259,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -270,7 +270,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { [ 'html_attr' => [ 'data-wu-app' => 'product_pricing', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'is_recurring' => $this->get_object()->is_recurring(), 'pricing_type' => $this->get_object()->get_pricing_type(), @@ -287,15 +287,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { // Fields for price 'pricing_type' => [ 'type' => 'select', - 'title' => __('Pricing Type', 'wp-ultimo'), - 'placeholder' => __('Select Pricing Type', 'wp-ultimo'), - 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'wp-ultimo'), + 'title' => __('Pricing Type', 'wp-multisite-waas'), + 'placeholder' => __('Select Pricing Type', 'wp-multisite-waas'), + 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_pricing_type(), 'tooltip' => '', 'options' => [ - 'paid' => __('Paid', 'wp-ultimo'), - 'free' => __('Free', 'wp-ultimo'), - 'contact_us' => __('Contact Us', 'wp-ultimo'), + 'paid' => __('Paid', 'wp-multisite-waas'), + 'free' => __('Free', 'wp-multisite-waas'), + 'contact_us' => __('Contact Us', 'wp-multisite-waas'), ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -306,9 +306,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'contact_us_label' => [ 'type' => 'text', - 'title' => __('Button Label', 'wp-ultimo'), - 'placeholder' => __('E.g. Contact us', 'wp-ultimo'), - 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'wp-ultimo'), + 'title' => __('Button Label', 'wp-multisite-waas'), + 'placeholder' => __('E.g. Contact us', 'wp-multisite-waas'), + 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_contact_us_label(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'contact_us'", @@ -317,9 +317,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'contact_us_link' => [ 'type' => 'url', - 'title' => __('Button Link', 'wp-ultimo'), - 'placeholder' => __('E.g. https://contactus.page.com', 'wp-ultimo'), - 'desc' => __('This will be used on the pricing table CTA button.', 'wp-ultimo'), + 'title' => __('Button Link', 'wp-multisite-waas'), + 'placeholder' => __('E.g. https://contactus.page.com', 'wp-multisite-waas'), + 'desc' => __('This will be used on the pricing table CTA button.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_contact_us_link(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'contact_us'", @@ -328,8 +328,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'recurring' => [ 'type' => 'toggle', - 'title' => __('Is Recurring?', 'wp-ultimo'), - 'desc' => __('Check this if this product has a recurring charge.', 'wp-ultimo'), + 'title' => __('Is Recurring?', 'wp-multisite-waas'), + 'desc' => __('Check this if this product has a recurring charge.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_recurring(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -347,8 +347,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], '_amount' => [ 'type' => 'text', - 'title' => __('Price', 'wp-ultimo'), - 'placeholder' => __('Price', 'wp-ultimo'), + 'title' => __('Price', 'wp-multisite-waas'), + 'placeholder' => __('Price', 'wp-multisite-waas'), 'value' => $this->get_object()->get_formatted_amount(), 'tooltip' => '', 'money' => true, @@ -363,9 +363,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'amount_group' => [ 'type' => 'group', - 'title' => __('Price', 'wp-ultimo'), + 'title' => __('Price', 'wp-multisite-waas'), // translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week) - 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-ultimo'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), + 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'wp-multisite-waas'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), 'tooltip' => '', 'wrapper_html_attr' => [ 'v-show' => "is_recurring && pricing_type == 'paid'", @@ -403,19 +403,19 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'v-model' => 'duration_unit', ], 'options' => [ - 'day' => __('Days', 'wp-ultimo'), - 'week' => __('Weeks', 'wp-ultimo'), - 'month' => __('Months', 'wp-ultimo'), - 'year' => __('Years', 'wp-ultimo'), + 'day' => __('Days', 'wp-multisite-waas'), + 'week' => __('Weeks', 'wp-multisite-waas'), + 'month' => __('Months', 'wp-multisite-waas'), + 'year' => __('Years', 'wp-multisite-waas'), ], ], ], ], 'billing_cycles' => [ 'type' => 'number', - 'title' => __('Billing Cycles', 'wp-ultimo'), - 'placeholder' => __('E.g. 1', 'wp-ultimo'), - 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-ultimo'), + 'title' => __('Billing Cycles', 'wp-multisite-waas'), + 'placeholder' => __('E.g. 1', 'wp-multisite-waas'), + 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_billing_cycles(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -425,8 +425,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'has_trial' => [ 'type' => 'toggle', - 'title' => __('Offer Trial', 'wp-ultimo'), - 'desc' => __('Check if you want to add a trial period to this product.', 'wp-ultimo'), + 'title' => __('Offer Trial', 'wp-multisite-waas'), + 'desc' => __('Check if you want to add a trial period to this product.', 'wp-multisite-waas'), 'value' => $this->get_object()->has_trial(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -438,7 +438,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'trial_group' => [ 'type' => 'group', - 'title' => __('Trial', 'wp-ultimo'), + 'title' => __('Trial', 'wp-multisite-waas'), 'tooltip' => '', 'wrapper_html_attr' => [ 'v-show' => "has_trial && pricing_type == 'paid'", @@ -457,18 +457,18 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'day' => __('Days', 'wp-ultimo'), - 'week' => __('Weeks', 'wp-ultimo'), - 'month' => __('Months', 'wp-ultimo'), - 'year' => __('Years', 'wp-ultimo'), + 'day' => __('Days', 'wp-multisite-waas'), + 'week' => __('Weeks', 'wp-multisite-waas'), + 'month' => __('Months', 'wp-multisite-waas'), + 'year' => __('Years', 'wp-multisite-waas'), ], ], ], ], 'has_setup_fee' => [ 'type' => 'toggle', - 'title' => __('Add Setup Fee?', 'wp-ultimo'), - 'desc' => __('Check if you want to add a setup fee.', 'wp-ultimo'), + 'title' => __('Add Setup Fee?', 'wp-multisite-waas'), + 'desc' => __('Check if you want to add a setup fee.', 'wp-multisite-waas'), 'value' => $this->get_object()->has_setup_fee(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -487,10 +487,10 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { '_setup_fee' => [ 'type' => 'text', 'money' => true, - 'title' => __('Setup Fee', 'wp-ultimo'), - 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'wp-ultimo'), + 'title' => __('Setup Fee', 'wp-multisite-waas'), + 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'wp-multisite-waas'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'wp-ultimo'), wu_format_currency(199)), + 'placeholder' => sprintf(__('E.g. %s', 'wp-multisite-waas'), wu_format_currency(199)), 'value' => $this->get_object()->get_formatted_amount('setup_fee'), 'wrapper_html_attr' => [ 'v-show' => "has_setup_fee && pricing_type == 'paid'", @@ -510,12 +510,12 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -525,13 +525,13 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'image', [ - 'title' => __('Product Image', 'wp-ultimo'), + 'title' => __('Product Image', 'wp-multisite-waas'), 'fields' => [ 'featured_image_id' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Product Image', 'wp-ultimo'), - 'desc' => __('This image is used on product list tables and other places.', 'wp-ultimo'), + 'title' => __('Product Image', 'wp-multisite-waas'), + 'desc' => __('This image is used on product list tables and other places.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_featured_image_id(), 'img' => $this->get_object()->get_featured_image(), ], @@ -570,9 +570,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'heading' => [ 'type' => 'header', - 'title' => __('Legacy Options', 'wp-ultimo'), - // translators: %s is the name of legacy add-ons. - 'desc' => sprintf(__('Options for %s, and others.', 'wp-ultimo'), implode(', ', $tabs)), + 'title' => __('Legacy Options', 'wp-multisite-waas'), + // translators: %s is the comma-separated list of legacy add-ons. + 'desc' => sprintf(__('Options for %s, and others.', 'wp-multisite-waas'), implode(', ', $tabs)), ], ]; @@ -592,7 +592,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'legacy-options', [ - 'title' => __('Legacy Options', 'wp-ultimo'), + 'title' => __('Legacy Options', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => $fields, 'classes' => 'wu-legacy-options-panel', @@ -618,8 +618,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $sections = [ 'general' => [ - 'title' => __('General', 'wp-ultimo'), - 'desc' => __('General product options such as product slug, type, etc.', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), + 'desc' => __('General product options such as product slug, type, etc.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-globe', 'state' => [ 'slug' => $this->get_object()->get_slug(), @@ -628,11 +628,11 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Product Slug', 'wp-ultimo'), - 'placeholder' => __('e.g. premium', 'wp-ultimo'), - 'desc' => __('This serves as a id to the product in a number of different contexts.', 'wp-ultimo'), + 'title' => __('Product Slug', 'wp-multisite-waas'), + 'placeholder' => __('e.g. premium', 'wp-multisite-waas'), + 'desc' => __('This serves as a id to the product in a number of different contexts.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_slug(), - 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'wp-ultimo'), + 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'wp-multisite-waas'), 'html_attr' => [ 'v-on:input' => 'slug = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', 'v-bind:value' => 'slug', @@ -641,9 +641,9 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { // Fields for price 'type' => [ 'type' => 'select', - 'title' => __('Product Type', 'wp-ultimo'), - 'placeholder' => __('Product Type', 'wp-ultimo'), - 'desc' => __('Different product types have different options.', 'wp-ultimo'), + 'title' => __('Product Type', 'wp-multisite-waas'), + 'placeholder' => __('Product Type', 'wp-multisite-waas'), + 'desc' => __('Different product types have different options.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_type(), 'tooltip' => '', 'options' => Product_Type::to_array(), @@ -652,8 +652,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], ], 'modules[customer_user_role][limit]' => [ - 'title' => __('Customer Role', 'wp-ultimo'), - 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to their newly created site.', 'wp-ultimo'), + 'title' => __('Customer Role', 'wp-multisite-waas'), + 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to their newly created site.', 'wp-multisite-waas'), 'type' => 'select', 'value' => $this->get_object()->get_customer_role(), 'default' => 'administrator', @@ -668,36 +668,36 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ]; $sections['ups-and-downs'] = [ - 'title' => __('Up & Downgrades', 'wp-ultimo'), - 'desc' => __('Settings related to upgrade and downgrade flows.', 'wp-ultimo'), + 'title' => __('Up & Downgrades', 'wp-multisite-waas'), + 'desc' => __('Settings related to upgrade and downgrade flows.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-shop', 'v-show' => 'product_type === "plan"', 'state' => [], 'fields' => [ 'group' => [ - 'title' => __('Plan Group', 'wp-ultimo'), - 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'wp-ultimo'), - 'placeholder' => __('Type and press enter to search and/or add.', 'wp-ultimo'), + 'title' => __('Plan Group', 'wp-multisite-waas'), + 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'wp-multisite-waas'), + 'placeholder' => __('Type and press enter to search and/or add.', 'wp-multisite-waas'), 'type' => 'select', 'value' => $this->get_object()->get_group(), - 'options' => array_merge(['' => __('Select Group', 'wp-ultimo')], wu_get_product_groups()), + 'options' => array_merge(['' => __('Select Group', 'wp-multisite-waas')], wu_get_product_groups()), 'html_attr' => [ 'data-selectize-categories' => 999, 'data-max-items' => 1, ], ], 'list_order' => [ - 'title' => __('Product Order', 'wp-ultimo'), - 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'wp-ultimo'), - 'placeholder' => __('Type and press enter to search and/or add.', 'wp-ultimo'), + 'title' => __('Product Order', 'wp-multisite-waas'), + 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'wp-multisite-waas'), + 'placeholder' => __('Type and press enter to search and/or add.', 'wp-multisite-waas'), 'type' => 'number', 'value' => $this->get_object()->get_list_order(), ], 'available_addons' => [ 'type' => 'model', - 'title' => __('Offer Add-ons', 'wp-ultimo'), - 'placeholder' => __('Search for a package or service', 'wp-ultimo'), - 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'wp-ultimo'), + 'title' => __('Offer Add-ons', 'wp-multisite-waas'), + 'placeholder' => __('Search for a package or service', 'wp-multisite-waas'), + 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'wp-multisite-waas'), 'html_attr' => [ 'data-exclude' => implode(',', array_keys(wu_get_plans_as_options())), 'data-model' => 'product', @@ -705,7 +705,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'name', 'data-search-field' => 'name', 'data-max-items' => 99, - 'data-selected' => json_encode( + 'data-selected' => wp_json_encode( wu_get_products( [ 'id__in' => $this->get_object()->get_available_addons(), @@ -719,8 +719,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ]; $sections['price-variations'] = [ - 'title' => __('Price Variations', 'wp-ultimo'), - 'desc' => __('Discounts for longer membership commitments.', 'wp-ultimo'), + 'title' => __('Price Variations', 'wp-multisite-waas'), + 'desc' => __('Discounts for longer membership commitments.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-price-tag', 'state' => [ 'enable_price_variations' => ! empty($this->get_object()->get_price_variations()), @@ -729,8 +729,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'enable_price_variations' => [ 'type' => 'toggle', - 'title' => __('Enable Price Variations', 'wp-ultimo'), - 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'wp-ultimo'), + 'title' => __('Enable Price Variations', 'wp-multisite-waas'), + 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'wp-multisite-waas'), 'value' => false, 'html_attr' => [ 'v-model' => 'enable_price_variations', @@ -739,7 +739,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'price_variations' => [ 'type' => 'group', // translators: 1 is the price, 2 is the duration and 3 the duration unit - 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'wp-ultimo'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'), + 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'wp-multisite-waas'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'), 'tooltip' => '', 'wrapper_classes' => 'wu-relative', 'wrapper_html_attr' => [ @@ -750,12 +750,12 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'price_variations_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'wp-ultimo')), + 'desc' => sprintf('', esc_html__('Remove', 'wp-multisite-waas')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'price_variations_duration' => [ 'type' => 'number', - 'title' => __('Duration', 'wp-ultimo'), + 'title' => __('Duration', 'wp-multisite-waas'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-1/3', 'min' => 1, @@ -767,7 +767,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'price_variations_duration_unit' => [ 'type' => 'select', - 'title' => __('Period', 'wp-ultimo'), + 'title' => __('Period', 'wp-multisite-waas'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-1/3 wu-mx-2', 'html_attr' => [ @@ -775,10 +775,10 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'v-bind:name' => '"price_variations[" + index + "][duration_unit]"', ], 'options' => [ - 'day' => __('Days', 'wp-ultimo'), - 'week' => __('Weeks', 'wp-ultimo'), - 'month' => __('Months', 'wp-ultimo'), - 'year' => __('Years', 'wp-ultimo'), + 'day' => __('Days', 'wp-multisite-waas'), + 'week' => __('Weeks', 'wp-multisite-waas'), + 'month' => __('Months', 'wp-multisite-waas'), + 'year' => __('Years', 'wp-multisite-waas'), ], ], // Bind the amount of the price variation to another field so we don't send the formatted value to the server. @@ -791,7 +791,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], '_price_variations_amount' => [ 'type' => 'text', - 'title' => __('New Price', 'wp-ultimo'), + 'title' => __('New Price', 'wp-multisite-waas'), 'placeholder' => wu_format_currency('99'), 'wrapper_classes' => 'wu-w-1/3', 'money' => true, @@ -804,7 +804,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'repeat' => [ 'type' => 'submit', - 'title' => __('Add new Price Variation', 'wp-ultimo'), + 'title' => __('Add new Price Variation', 'wp-multisite-waas'), 'classes' => 'button wu-self-end', 'wrapper_classes' => 'wu-bg-whiten wu-items-end', 'wrapper_html_attr' => [ @@ -823,8 +823,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ]; $sections['taxes'] = [ - 'title' => __('Taxes', 'wp-ultimo'), - 'desc' => __('Tax settings for your products.', 'wp-ultimo'), + 'title' => __('Taxes', 'wp-multisite-waas'), + 'desc' => __('Tax settings for your products.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-credit', 'state' => [ 'taxable' => $this->get_object()->is_taxable(), @@ -832,8 +832,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'taxable' => [ 'type' => 'toggle', - 'title' => __('Is Taxable?', 'wp-ultimo'), - 'desc' => __('Enable this if you plan to collect taxes for this product.', 'wp-ultimo'), + 'title' => __('Is Taxable?', 'wp-multisite-waas'), + 'desc' => __('Enable this if you plan to collect taxes for this product.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_taxable(), 'html_attr' => [ 'v-model' => 'taxable', @@ -841,8 +841,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'tax_category' => [ 'type' => 'select', - 'title' => __('Tax Category', 'wp-ultimo'), - 'desc' => __('Select the product tax category.', 'wp-ultimo'), + 'title' => __('Tax Category', 'wp-multisite-waas'), + 'desc' => __('Select the product tax category.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_tax_category(), 'options' => 'wu_get_tax_categories_as_options', 'wrapper_html_attr' => [ @@ -854,8 +854,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ]; $sections['allowed_templates'] = [ - 'title' => __('Site Templates', 'wp-ultimo'), - 'desc' => __('Limit which site templates are available for this particular template.', 'wp-ultimo'), + 'title' => __('Site Templates', 'wp-multisite-waas'), + 'desc' => __('Limit which site templates are available for this particular template.', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-grid1 wu-align-text-bottom', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -866,8 +866,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'modules[site_templates][enabled]' => [ 'type' => 'toggle', - 'title' => __('Allow Site Templates', 'wp-ultimo'), - 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'wp-ultimo'), + 'title' => __('Allow Site Templates', 'wp-multisite-waas'), + 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-cloak' => '1', ], @@ -877,15 +877,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'modules[site_templates][mode]' => [ 'type' => 'select', - 'title' => __('Site Template Selection Mode', 'wp-ultimo'), - 'placeholder' => __('Site Template Selection Mode', 'wp-ultimo'), - 'desc' => __('Select the type of limitation you want to apply.', 'wp-ultimo'), - 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.

"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).

Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'wp-ultimo'), + 'title' => __('Site Template Selection Mode', 'wp-multisite-waas'), + 'placeholder' => __('Site Template Selection Mode', 'wp-multisite-waas'), + 'desc' => __('Select the type of limitation you want to apply.', 'wp-multisite-waas'), + 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.

"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).

Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'wp-multisite-waas'), 'value' => 'default', 'options' => [ - 'default' => __('Default', 'wp-ultimo'), - 'assign_template' => __('Assign Site Template', 'wp-ultimo'), - 'choose_available_templates' => __('Choose Available Site Templates', 'wp-ultimo'), + 'default' => __('Default', 'wp-multisite-waas'), + 'assign_template' => __('Assign Site Template', 'wp-multisite-waas'), + 'choose_available_templates' => __('Choose Available Site Templates', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'site_template_selection_mode', @@ -897,8 +897,8 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { ], 'templates' => [ 'type' => 'html', - 'title' => __('Site Templates', 'wp-ultimo'), - 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'wp-ultimo'), __('Customize the access level of each Site Template below.', 'wp-ultimo'))), + 'title' => __('Site Templates', 'wp-multisite-waas'), + 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'wp-multisite-waas'), __('Customize the access level of each Site Template below.', 'wp-multisite-waas'))), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => "allow_site_templates && site_template_selection_mode !== 'default'", @@ -940,7 +940,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Product', 'wp-ultimo') : __('Add new Product', 'wp-ultimo'); + return $this->edit ? __('Edit Product', 'wp-multisite-waas') : __('Add new Product', 'wp-multisite-waas'); } /** @@ -951,7 +951,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Product', 'wp-ultimo'); + return __('Edit Product', 'wp-multisite-waas'); } /** @@ -969,7 +969,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $actions[] = [ 'url' => '#', - 'label' => __('Click to copy Shareable Link', 'wp-ultimo'), + 'label' => __('Click to copy Shareable Link', 'wp-multisite-waas'), 'icon' => 'wu-attachment', 'classes' => 'wu-copy', 'attrs' => 'data-clipboard-text="' . esc_attr($shareable_link) . '"', @@ -988,15 +988,15 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Product', 'wp-ultimo'), - 'add_new_label' => __('Add new Product', 'wp-ultimo'), - 'updated_message' => __('Product updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Product Name', 'wp-ultimo'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-ultimo'), - 'save_button_label' => __('Save Product', 'wp-ultimo'), + 'edit_label' => __('Edit Product', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Product', 'wp-multisite-waas'), + 'updated_message' => __('Product updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Product Name', 'wp-multisite-waas'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Product', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Product', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Product', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -1036,7 +1036,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page { $item = $query->get_item_by('id', $_GET['id']); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-products')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-products')); exit; } diff --git a/inc/admin-pages/class-product-list-admin-page.php b/inc/admin-pages/class-product-list-admin-page.php index 72d1ef3..9bbf96f 100644 --- a/inc/admin-pages/class-product-list-admin-page.php +++ b/inc/admin-pages/class-product-list-admin-page.php @@ -71,8 +71,8 @@ class Product_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Product removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Product', 'wp-ultimo'), + 'deleted_message' => __('Product removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Product', 'wp-multisite-waas'), ]; } @@ -84,7 +84,7 @@ class Product_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Products', 'wp-ultimo'); + return __('Products', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Product_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Products', 'wp-ultimo'); + return __('Products', 'wp-multisite-waas'); } /** @@ -106,7 +106,7 @@ class Product_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Products', 'wp-ultimo'); + return __('Products', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-settings-admin-page.php b/inc/admin-pages/class-settings-admin-page.php index b89bae6..4687b21 100644 --- a/inc/admin-pages/class-settings-admin-page.php +++ b/inc/admin-pages/class-settings-admin-page.php @@ -137,7 +137,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'login-and-registration', [ - 'title' => __('Checkout Forms', 'wp-ultimo'), + 'title' => __('Checkout Forms', 'wp-multisite-waas'), 'render' => [$this, 'render_checkout_forms_side_panel'], ] ); @@ -145,7 +145,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'sites', [ - 'title' => __('Template Previewer', 'wp-ultimo'), + 'title' => __('Template Previewer', 'wp-multisite-waas'), 'render' => [$this, 'render_site_template_side_panel'], ] ); @@ -153,7 +153,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'sites', [ - 'title' => __('Placeholder Editor', 'wp-ultimo'), + 'title' => __('Placeholder Editor', 'wp-multisite-waas'), 'render' => [$this, 'render_site_placeholders_side_panel'], ] ); @@ -161,7 +161,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'payment-gateways', [ - 'title' => __('Invoices', 'wp-ultimo'), + 'title' => __('Invoices', 'wp-multisite-waas'), 'render' => [$this, 'render_invoice_side_panel'], ] ); @@ -169,7 +169,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'emails', [ - 'title' => __('System Emails', 'wp-ultimo'), + 'title' => __('System Emails', 'wp-multisite-waas'), 'render' => [$this, 'render_system_emails_side_panel'], ] ); @@ -177,7 +177,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wu_register_settings_side_panel( 'emails', [ - 'title' => __('Email Template', 'wp-ultimo'), + 'title' => __('Email Template', 'wp-multisite-waas'), 'render' => [$this, 'render_email_template_side_panel'], ] ); @@ -197,15 +197,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Checkout Forms', 'wp-ultimo'); ?> + <?php esc_attr_e('Checkout Forms', 'wp-multisite-waas'); ?>

- +

@@ -213,8 +213,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -240,15 +240,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Customize the Template Previewer', 'wp-ultimo'); ?> + <?php esc_attr_e('Customize the Template Previewer', 'wp-multisite-waas'); ?>

- +

@@ -256,8 +256,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -283,15 +283,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Customize the Template Placeholders', 'wp-ultimo'); ?> + <?php esc_attr_e('Customize the Template Placeholders', 'wp-multisite-waas'); ?>

- +

@@ -299,8 +299,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -326,15 +326,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Customize the Invoice Template', 'wp-ultimo'); ?> + <?php esc_attr_e('Customize the Invoice Template', 'wp-multisite-waas'); ?>

- +

@@ -342,8 +342,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -369,15 +369,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Customize System Emails', 'wp-ultimo'); ?> + <?php esc_attr_e('Customize System Emails', 'wp-multisite-waas'); ?>

- +

@@ -385,8 +385,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -412,15 +412,15 @@ class Settings_Admin_Page extends Wizard_Admin_Page {
- +
- <?php esc_attr_e('Customize Email Template', 'wp-ultimo'); ?> + <?php esc_attr_e('Customize Email Template', 'wp-multisite-waas'); ?>

- +

@@ -428,8 +428,8 @@ class Settings_Admin_Page extends Wizard_Admin_Page { @@ -450,7 +450,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { */ public function get_title() { - return __('Settings', 'wp-ultimo'); + return __('Settings', 'wp-multisite-waas'); } /** @@ -461,7 +461,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { */ public function get_menu_title() { - return __('Settings', 'wp-ultimo'); + return __('Settings', 'wp-multisite-waas'); } /** @@ -481,6 +481,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { wp_enqueue_script('media'); wp_enqueue_script('wu-vue'); wp_enqueue_script('wu-selectizer'); + wp_enqueue_script('wu-settings-loader', wu_get_asset('settings-loader.js', 'js'), ['wu-functions'], wu_get_version(), true); do_action('wu_render_settings'); @@ -517,7 +518,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { public function default_handler(): void { if ( ! current_user_can('wu_edit_settings')) { - wp_die(__('You do not have the permissions required to change settings.', 'wp-ultimo')); + wp_die(esc_html__('You do not have the permissions required to change settings.', 'wp-multisite-waas')); } if ( ! isset($_POST['active_gateways']) && 'payment-gateways' === wu_request('tab')) { @@ -526,7 +527,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { WP_Ultimo()->settings->save_settings($_POST); - wp_redirect(add_query_arg('updated', 1, wu_get_current_url())); + wp_safe_redirect(add_query_arg('updated', 1, wu_get_current_url())); exit; } @@ -554,7 +555,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { */ $fields['save'] = [ 'type' => 'submit', - 'title' => __('Save Settings', 'wp-ultimo'), + 'title' => __('Save Settings', 'wp-multisite-waas'), 'classes' => 'button button-primary button-large wu-ml-auto wu-w-full md:wu-w-auto', 'wrapper_classes' => 'wu-sticky wu-bottom-0 wu-save-button wu-mr-px wu-w-full md:wu-w-auto', 'html_attr' => [ @@ -577,7 +578,7 @@ class Settings_Admin_Page extends Wizard_Admin_Page { 'style' => '', 'data-on-load' => 'remove_block_ui', 'data-wu-app' => str_replace('-', '_', $section_slug), - 'data-state' => json_encode(wu_array_map_keys('wu_replace_dashes', Settings::get_instance()->get_all(true))), + 'data-state' => wp_json_encode(wu_array_map_keys('wu_replace_dashes', Settings::get_instance()->get_all(true))), ], ] ); diff --git a/inc/admin-pages/class-setup-wizard-admin-page.php b/inc/admin-pages/class-setup-wizard-admin-page.php index 2919968..4cd5b75 100644 --- a/inc/admin-pages/class-setup-wizard-admin-page.php +++ b/inc/admin-pages/class-setup-wizard-admin-page.php @@ -219,7 +219,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { public function redirect_to_wizard(): void { if ( ! \WP_Ultimo\Requirements::run_setup() && wu_request('page') !== 'wp-ultimo-setup') { - wp_redirect(wu_network_admin_url('wp-ultimo-setup')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-setup')); exit; } @@ -236,7 +236,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { global $wpdb; if ( ! current_user_can('manage_network')) { - wp_send_json_error(new \WP_Error('not-allowed', __('Permission denied.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-allowed', __('Permission denied.', 'wp-multisite-waas'))); exit; } @@ -290,7 +290,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { */ public function get_title(): string { - return sprintf(__('Installation', 'wp-ultimo')); + return sprintf(__('Installation', 'wp-multisite-waas')); } /** @@ -301,7 +301,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { */ public function get_menu_title() { - return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Install', 'wp-ultimo') : __('WP Multisite WaaS', 'wp-ultimo'); + return WP_Ultimo()->is_loaded() ? __('WP Multisite WaaS Install', 'wp-multisite-waas') : __('WP Multisite WaaS', 'wp-multisite-waas'); } /** @@ -314,22 +314,22 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $sections = [ 'welcome' => [ - 'title' => __('Welcome', 'wp-ultimo'), + 'title' => __('Welcome', 'wp-multisite-waas'), 'description' => implode( '

', [ - __('...and thanks for choosing WP Multisite WaaS!', 'wp-ultimo'), - __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous WP Multisite WaaS versions if necessary.', 'wp-ultimo'), - __('You will also have the option of importing default content. It should take 10 minutes or less!', 'wp-ultimo'), + __('...and thanks for choosing WP Multisite WaaS!', 'wp-multisite-waas'), + __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous WP Multisite WaaS versions if necessary.', 'wp-multisite-waas'), + __('You will also have the option of importing default content. It should take 10 minutes or less!', 'wp-multisite-waas'), ] ), - 'next_label' => __('Get Started →', 'wp-ultimo'), + 'next_label' => __('Get Started →', 'wp-multisite-waas'), 'back' => false, ], 'checks' => [ - 'title' => __('Pre-install Checks', 'wp-ultimo'), - 'description' => __('Now it is time to see if this machine has what it takes to run WP Multisite WaaS well!', 'wp-ultimo'), - 'next_label' => \WP_Ultimo\Requirements::met() ? __('Go to the Next Step →', 'wp-ultimo') : __('Check Again', 'wp-ultimo'), + 'title' => __('Pre-install Checks', 'wp-multisite-waas'), + 'description' => __('Now it is time to see if this machine has what it takes to run WP Multisite WaaS well!', 'wp-multisite-waas'), + 'next_label' => \WP_Ultimo\Requirements::met() ? __('Go to the Next Step →', 'wp-multisite-waas') : __('Check Again', 'wp-multisite-waas'), 'handler' => [$this, 'handle_checks'], 'back' => false, 'fields' => [ @@ -340,9 +340,9 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { ], ], 'installation' => [ - 'title' => __('Installation', 'wp-ultimo'), - 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of WP Multisite WaaS.', 'wp-ultimo'), - 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-ultimo') : __('Install', 'wp-ultimo'), + 'title' => __('Installation', 'wp-multisite-waas'), + 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of WP Multisite WaaS.', 'wp-multisite-waas'), + 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-multisite-waas') : __('Install', 'wp-multisite-waas'), 'fields' => [ 'terms' => [ 'type' => 'note', @@ -364,14 +364,14 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $back_traces = Migrator::get_instance()->get_back_traces(); - $next_label = __('Migrate!', 'wp-ultimo'); + $next_label = __('Migrate!', 'wp-multisite-waas'); - $description = __('No errors found during dry run! Now it is time to actually migrate!

We strongly recommend creating a backup of your database before moving forward with the migration.', 'wp-ultimo'); + $description = __('No errors found during dry run! Now it is time to actually migrate!

We strongly recommend creating a backup of your database before moving forward with the migration.', 'wp-multisite-waas'); if ($dry_run) { - $next_label = __('Run Check', 'wp-ultimo'); + $next_label = __('Run Check', 'wp-multisite-waas'); - $description = __('It seems that you were running WP Multisite WaaS 1.X on this network. This migrator will convert the data from the old version to the new one.', 'wp-ultimo') . '

' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'wp-ultimo'); + $description = __('It seems that you were running WP Multisite WaaS 1.X on this network. This migrator will convert the data from the old version to the new one.', 'wp-multisite-waas') . '

' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'wp-multisite-waas'); } $fields = [ @@ -398,17 +398,17 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $message = implode(PHP_EOL . PHP_EOL, $message_lines); - $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'wp-ultimo'); + $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'wp-multisite-waas'); $next = true; - $next_label = __('Try Again!', 'wp-ultimo'); + $next_label = __('Try Again!', 'wp-multisite-waas'); - $error_list = '' . __('List of errors detected:', 'wp-ultimo') . '

'; + $error_list = '' . __('List of errors detected:', 'wp-multisite-waas') . '

'; $errors[] = sprintf( '
%1$s', - __('Download migration error log', 'wp-ultimo'), + __('Download migration error log', 'wp-multisite-waas'), add_query_arg( [ 'action' => 'download_migration_logs', @@ -420,7 +420,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $errors[] = sprintf( '
%1$s', - __('Rollback to version 1.10.13', 'wp-ultimo'), + __('Rollback to version 1.10.13', 'wp-multisite-waas'), add_query_arg( [ 'page' => 'wp-ultimo-rollback', @@ -452,7 +452,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { } $sections['migration'] = [ - 'title' => __('Migration', 'wp-ultimo'), + 'title' => __('Migration', 'wp-multisite-waas'), 'description' => $description, 'next_label' => $next_label, 'skip' => false, @@ -462,16 +462,16 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { ]; } else { $sections['your-company'] = [ - 'title' => __('Your Company', 'wp-ultimo'), - 'description' => __('Before we move on, let\'s configure the basic settings of your network, shall we?', 'wp-ultimo'), + 'title' => __('Your Company', 'wp-multisite-waas'), + 'description' => __('Before we move on, let\'s configure the basic settings of your network, shall we?', 'wp-multisite-waas'), 'handler' => [$this, 'handle_save_settings'], 'fields' => [$this, 'get_general_settings'], ]; $sections['defaults'] = [ - 'title' => __('Default Content', 'wp-ultimo'), - 'description' => __('Starting from scratch can be scarry, specially when first starting out. In this step, you can create default content to have a starting point for your network. Everything can be customized later.', 'wp-ultimo'), - 'next_label' => Default_Content_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-ultimo') : __('Install', 'wp-ultimo'), + 'title' => __('Default Content', 'wp-multisite-waas'), + 'description' => __('Starting from scratch can be scarry, specially when first starting out. In this step, you can create default content to have a starting point for your network. Everything can be customized later.', 'wp-multisite-waas'), + 'next_label' => Default_Content_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'wp-multisite-waas') : __('Install', 'wp-multisite-waas'), 'fields' => [ 'terms' => [ 'type' => 'note', @@ -482,7 +482,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { } $sections['done'] = [ - 'title' => __('Ready!', 'wp-ultimo'), + 'title' => __('Ready!', 'wp-multisite-waas'), 'view' => [$this, 'section_ready'], ]; @@ -580,7 +580,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { 'wu_setup_settings', [ 'dry_run' => wu_request('dry-run', true), - 'generic_error_message' => __('A server error happened while processing this item.', 'wp-ultimo'), + 'generic_error_message' => __('A server error happened while processing this item.', 'wp-multisite-waas'), ] ); @@ -619,7 +619,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $requirements = [ 'php' => [ - 'name' => __('PHP', 'wp-ultimo'), + 'name' => __('PHP', 'wp-multisite-waas'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), 'required_version' => \WP_Ultimo\Requirements::$php_version, 'recommended_version' => \WP_Ultimo\Requirements::$php_recommended_version, @@ -628,7 +628,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { 'pass_recommendation' => version_compare(phpversion(), \WP_Ultimo\Requirements::$php_recommended_version, '>='), ], 'wordpress' => [ - 'name' => __('WordPress', 'wp-ultimo'), + 'name' => __('WordPress', 'wp-multisite-waas'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), 'required_version' => \WP_Ultimo\Requirements::$wp_version, 'recommended_version' => \WP_Ultimo\Requirements::$wp_recommended_version, @@ -640,21 +640,21 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $plugin_requirements = [ 'multisite' => [ - 'name' => __('WordPress Multisite', 'wp-ultimo'), + 'name' => __('WordPress Multisite', 'wp-multisite-waas'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => __('Installed & Activated', 'wp-ultimo'), + 'condition' => __('Installed & Activated', 'wp-multisite-waas'), 'pass_requirements' => is_multisite(), ], 'wp-ultimo' => [ - 'name' => __('WP Multisite WaaS', 'wp-ultimo'), + 'name' => __('WP Multisite WaaS', 'wp-multisite-waas'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => apply_filters('wp_ultimo_skip_network_active_check', false) ? __('Bypassed via filter', 'wp-ultimo') : __('Network Activated', 'wp-ultimo'), + 'condition' => apply_filters('wp_ultimo_skip_network_active_check', false) ? __('Bypassed via filter', 'wp-multisite-waas') : __('Network Activated', 'wp-multisite-waas'), 'pass_requirements' => \WP_Ultimo\Requirements::is_network_active(), ], 'wp-cron' => [ - 'name' => __('WordPress Cron', 'wp-ultimo'), + 'name' => __('WordPress Cron', 'wp-multisite-waas'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => __('Activated', 'wp-ultimo'), + 'condition' => __('Activated', 'wp-multisite-waas'), 'pass_requirements' => \WP_Ultimo\Requirements::check_wp_cron(), ], ]; @@ -713,12 +713,12 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { public function handle_checks(): void { if (\WP_Ultimo\Requirements::met() === false) { - wp_redirect(add_query_arg()); + wp_safe_redirect(add_query_arg()); exit; } - wp_redirect($this->get_next_section_link()); + wp_safe_redirect($this->get_next_section_link()); exit; } @@ -747,7 +747,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { \WP_Ultimo\Settings::get_instance()->save_settings($settings_to_save); - wp_redirect($this->get_next_section_link()); + wp_safe_redirect($this->get_next_section_link()); exit; } @@ -772,7 +772,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $url = add_query_arg('dry-run', 0); } - wp_redirect($url); + wp_safe_redirect($url); exit; } @@ -790,7 +790,7 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { $redirect_url = $this->get_next_section_link(); - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } @@ -850,8 +850,8 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page { 'wu_fields', [ 'l10n' => [ - 'image_picker_title' => __('Select an Image.', 'wp-ultimo'), - 'image_picker_button_text' => __('Use this image', 'wp-ultimo'), + 'image_picker_title' => __('Select an Image.', 'wp-multisite-waas'), + 'image_picker_button_text' => __('Use this image', 'wp-multisite-waas'), ], ] ); diff --git a/inc/admin-pages/class-shortcodes-admin-page.php b/inc/admin-pages/class-shortcodes-admin-page.php index daa7b67..1f0e83a 100644 --- a/inc/admin-pages/class-shortcodes-admin-page.php +++ b/inc/admin-pages/class-shortcodes-admin-page.php @@ -91,7 +91,7 @@ class Shortcodes_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Available Shortcodes', 'wp-ultimo'); + return __('Available Shortcodes', 'wp-multisite-waas'); } /** @@ -102,7 +102,7 @@ class Shortcodes_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Available Shortcodes', 'wp-ultimo'); + return __('Available Shortcodes', 'wp-multisite-waas'); } /** @@ -113,7 +113,7 @@ class Shortcodes_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Dashboard', 'wp-ultimo'); + return __('Dashboard', 'wp-multisite-waas'); } /** @@ -165,16 +165,16 @@ class Shortcodes_Admin_Page extends Base_Admin_Page { $params[ $key ]['options'] = implode(' | ', array_keys(wu_get_isset($value, 'options', []))); break; case 'int': - $params[ $key ]['options'] = __('integer', 'wp-ultimo'); + $params[ $key ]['options'] = __('integer', 'wp-multisite-waas'); break; case 'number': - $params[ $key ]['options'] = __('number', 'wp-ultimo'); + $params[ $key ]['options'] = __('number', 'wp-multisite-waas'); break; case 'text': - $params[ $key ]['options'] = __('text', 'wp-ultimo'); + $params[ $key ]['options'] = __('text', 'wp-multisite-waas'); break; case 'textarea': - $params[ $key ]['options'] = __('text', 'wp-ultimo'); + $params[ $key ]['options'] = __('text', 'wp-multisite-waas'); break; default: $params[ $key ]['options'] = $value['type']; diff --git a/inc/admin-pages/class-site-edit-admin-page.php b/inc/admin-pages/class-site-edit-admin-page.php index 07fc2fd..a91cf96 100644 --- a/inc/admin-pages/class-site-edit-admin-page.php +++ b/inc/admin-pages/class-site-edit-admin-page.php @@ -151,16 +151,16 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { [ [ 'id' => 'new-site-template-warning', - 'title' => __('On adding a new Site Template...', 'wp-ultimo'), + 'title' => __('On adding a new Site Template...', 'wp-multisite-waas'), 'text' => [ - __("You just successfully added a new site template to your WP Multisite WaaS network and that's awesome!", 'wp-ultimo'), - __('Keep in mind that newly created site templates do not appear automatically in your checkout forms.', 'wp-ultimo'), - __('To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms.', 'wp-ultimo'), + __("You just successfully added a new site template to your WP Multisite WaaS network and that's awesome!", 'wp-multisite-waas'), + __('Keep in mind that newly created site templates do not appear automatically in your checkout forms.', 'wp-multisite-waas'), + __('To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms.', 'wp-multisite-waas'), ], 'buttons' => [ [ 'classes' => 'button wu-text-xs sm:wu-normal-case wu-float-left', - 'text' => __('Go to Checkout Forms', 'wp-ultimo'), + 'text' => __('Go to Checkout Forms', 'wp-multisite-waas'), 'url' => wu_network_admin_url('wp-ultimo-checkout-forms'), ], ], @@ -191,16 +191,16 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'wp-ultimo'), - 'desc' => __('This will start the transfer of assets from one membership to another.', 'wp-ultimo'), + 'title' => __('Confirm Transfer', 'wp-multisite-waas'), + 'desc' => __('This will start the transfer of assets from one membership to another.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'wp-ultimo'), - 'placeholder' => __('Start Transfer', 'wp-ultimo'), + 'title' => __('Start Transfer', 'wp-multisite-waas'), + 'placeholder' => __('Start Transfer', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -227,7 +227,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'transfer_site', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'confirmed' => false, ] @@ -254,11 +254,11 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $target_membership = wu_get_membership(wu_request('target_membership_id')); if ( ! $site) { - wp_send_json_error(new \WP_Error('not-found', __('Site not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Site not found.', 'wp-multisite-waas'))); } if ( ! $target_membership) { - wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'wp-multisite-waas'))); } $site->set_membership_id($target_membership->get_id()); @@ -305,7 +305,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'wp-ultimo'), + 'title' => __('At a Glance', 'wp-multisite-waas'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-m-0 wu--mt-1 wu--mx-3 wu--mb-3', 'field_wrapper_classes' => 'wu-w-1/4 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', @@ -315,14 +315,14 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'type' => [ 'type' => 'text-display', - 'title' => __('Site Type', 'wp-ultimo'), + 'title' => __('Site Type', 'wp-multisite-waas'), 'display_value' => $tag, 'tooltip' => '', ], 'id' => [ 'type' => 'text-display', 'copy' => true, - 'title' => __('Site ID', 'wp-ultimo'), + 'title' => __('Site ID', 'wp-multisite-waas'), 'display_value' => $this->get_object()->get_id(), 'tooltip' => '', ], @@ -333,13 +333,13 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'description', [ - 'title' => __('Description', 'wp-ultimo'), + 'title' => __('Description', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Site Description', 'wp-ultimo'), - 'placeholder' => __('Tell your customers what this site is about.', 'wp-ultimo'), + 'title' => __('Site Description', 'wp-multisite-waas'), + 'placeholder' => __('Tell your customers what this site is about.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_option_blogdescription(), 'html_attr' => [ 'rows' => 3, @@ -352,7 +352,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_tabs_widget( 'options', [ - 'title' => __('Site Options', 'wp-ultimo'), + 'title' => __('Site Options', 'wp-multisite-waas'), 'position' => 'normal', 'sections' => $this->get_site_option_sections(), ] @@ -361,7 +361,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'domains', [ - 'title' => __('Mapped Domains', 'wp-ultimo'), + 'title' => __('Mapped Domains', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Sites_Domain_List_Table(), 'query_filter' => [$this, 'domain_query_filter'], ] @@ -371,7 +371,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'membership', [ - 'title' => __('Linked Membership', 'wp-ultimo'), + 'title' => __('Linked Membership', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Customers_Membership_List_Table(), 'query_filter' => function ($query) { @@ -385,7 +385,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'customer', [ - 'title' => __('Linked Customer', 'wp-ultimo'), + 'title' => __('Linked Customer', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Site_Customer_List_Table(), 'query_filter' => function ($query) { @@ -400,7 +400,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -414,7 +414,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { [ 'html_attr' => [ 'data-wu-app' => 'site_type', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'type' => $this->get_object()->get_type(), 'original_membership_id' => $this->get_object()->get_membership_id(), @@ -426,9 +426,9 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { // Fields for price 'type_main' => [ 'type' => 'text-display', - 'title' => __('Site Type', 'wp-ultimo'), - 'display_value' => __('Main Site', 'wp-ultimo'), - 'tooltip' => __('You can\'t change the main site type.', 'wp-ultimo'), + 'title' => __('Site Type', 'wp-multisite-waas'), + 'display_value' => __('Main Site', 'wp-multisite-waas'), + 'tooltip' => __('You can\'t change the main site type.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => 'type === "main"', @@ -436,15 +436,15 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'type' => [ 'type' => 'select', - 'title' => __('Site Type', 'wp-ultimo'), - 'placeholder' => __('Select Site Type', 'wp-ultimo'), - 'desc' => __('Different site types have different options and settings.', 'wp-ultimo'), + 'title' => __('Site Type', 'wp-multisite-waas'), + 'placeholder' => __('Select Site Type', 'wp-multisite-waas'), + 'desc' => __('Different site types have different options and settings.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_type(), 'tooltip' => '', 'options' => [ - 'default' => __('Regular WordPress', 'wp-ultimo'), - 'site_template' => __('Site Template', 'wp-ultimo'), - 'customer_owned' => __('Customer-owned', 'wp-ultimo'), + 'default' => __('Regular WordPress', 'wp-multisite-waas'), + 'site_template' => __('Site Template', 'wp-multisite-waas'), + 'customer_owned' => __('Customer-owned', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'type', @@ -456,9 +456,9 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'categories' => [ 'type' => 'select', - 'title' => __('Template Categories', 'wp-ultimo'), - 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-ultimo'), - 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-ultimo'), + 'title' => __('Template Categories', 'wp-multisite-waas'), + 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-multisite-waas'), + 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_categories(), 'options' => Site::get_all_categories(), 'html_attr' => [ @@ -472,9 +472,9 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Associated Membership', 'wp-ultimo'), - 'placeholder' => __('Search Membership...', 'wp-ultimo'), - 'desc' => __('The membership that owns this site.', 'wp-ultimo'), + 'title' => __('Associated Membership', 'wp-multisite-waas'), + 'placeholder' => __('Search Membership...', 'wp-multisite-waas'), + 'desc' => __('The membership that owns this site.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_membership_id(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -487,12 +487,12 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { 'data-label-field' => 'reference_code', 'data-search-field' => 'reference_code', 'data-max-items' => 1, - 'data-selected' => json_encode($membership_selected), + 'data-selected' => wp_json_encode($membership_selected), ], ], 'transfer_note' => [ 'type' => 'note', - 'desc' => __('Changing the membership will transfer the site and all its assets to the new membership.', 'wp-ultimo'), + 'desc' => __('Changing the membership will transfer the site and all its assets to the new membership.', 'wp-multisite-waas'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_membership_id != membership_id) && membership_id', @@ -501,8 +501,8 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'submit_save' => [ 'type' => 'submit', - 'title' => __('Save Site', 'wp-ultimo'), - 'placeholder' => __('Save Site', 'wp-ultimo'), + 'title' => __('Save Site', 'wp-multisite-waas'), + 'placeholder' => __('Save Site', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_html_attr' => [ @@ -512,7 +512,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Site', 'wp-ultimo'), + 'display_value' => __('Transfer Site', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -527,7 +527,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { 'target_membership_id' => '', ] ) . "=' + membership_id", - 'title' => __('Transfer Site', 'wp-ultimo'), + 'title' => __('Transfer Site', 'wp-multisite-waas'), ], ], ], @@ -537,12 +537,12 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this site.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this site.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -552,19 +552,19 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'image', [ - 'title' => __('Site Image', 'wp-ultimo'), + 'title' => __('Site Image', 'wp-multisite-waas'), 'fields' => [ 'featured_image_id' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Site Image', 'wp-ultimo'), - 'desc' => __('This image is used on lists of sites and other places. It can be automatically generated by the screenshot scraper.', 'wp-ultimo'), + 'title' => __('Site Image', 'wp-multisite-waas'), + 'desc' => __('This image is used on lists of sites and other places. It can be automatically generated by the screenshot scraper.', 'wp-multisite-waas'), 'value' => $this->get_object()->get_featured_image_id(), 'img' => $this->get_object()->get_featured_image(), ], 'scraper_note' => [ 'type' => 'note', - 'desc' => __('You need to save the site for the change to take effect.', 'wp-ultimo'), + 'desc' => __('You need to save the site for the change to take effect.', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-hidden wu-scraper-note', ], 'scraper_error' => [ @@ -574,13 +574,13 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { ], 'scraper_message' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('We detected that this network might be running locally. If that\'s the case, WP Multisite WaaS will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'wp-ultimo')), + 'desc' => sprintf('%s', __('We detected that this network might be running locally. If that\'s the case, WP Multisite WaaS will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'wp-multisite-waas')), 'wrapper_classes' => \WP_Ultimo\Domain_Mapping\Helper::is_development_mode() ? '' : 'wu-hidden', ], 'scraper' => [ 'type' => 'submit', - 'title' => __('Take Screenshot', 'wp-ultimo'), - 'title' => __('Take Screenshot', 'wp-ultimo'), + 'title' => __('Take Screenshot', 'wp-multisite-waas'), + 'title' => __('Take Screenshot', 'wp-multisite-waas'), 'classes' => 'button wu-w-full', ], ], @@ -615,7 +615,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Site', 'wp-ultimo') : __('Add new Site', 'wp-ultimo'); + return $this->edit ? __('Edit Site', 'wp-multisite-waas') : __('Add new Site', 'wp-multisite-waas'); } /** @@ -626,7 +626,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Site', 'wp-ultimo'); + return __('Edit Site', 'wp-multisite-waas'); } /** @@ -640,17 +640,17 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { return [ [ 'url' => network_admin_url('site-settings.php?id=' . $this->get_object()->get_id()), - 'label' => __('Go to the Default Edit Screen', 'wp-ultimo'), + 'label' => __('Go to the Default Edit Screen', 'wp-multisite-waas'), 'icon' => 'wu-cog', ], [ 'url' => get_site_url($this->get_object()->get_id()), - 'label' => __('Visit Site', 'wp-ultimo'), + 'label' => __('Visit Site', 'wp-multisite-waas'), 'icon' => 'wu-link', ], [ 'url' => get_admin_url($this->get_object()->get_id()), - 'label' => __('Dashboard', 'wp-ultimo'), + 'label' => __('Dashboard', 'wp-multisite-waas'), 'icon' => 'dashboard', ], ]; @@ -665,15 +665,15 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Site', 'wp-ultimo'), - 'add_new_label' => __('Add new Site', 'wp-ultimo'), - 'updated_message' => __('Site updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Site Name', 'wp-ultimo'), - 'title_description' => __('This name will be used as the site title.', 'wp-ultimo'), - 'save_button_label' => __('Save Site', 'wp-ultimo'), + 'edit_label' => __('Edit Site', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Site', 'wp-multisite-waas'), + 'updated_message' => __('Site updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Site Name', 'wp-multisite-waas'), + 'title_description' => __('This name will be used as the site title.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Site', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Site', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Site', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -729,7 +729,7 @@ class Site_Edit_Admin_Page extends Edit_Admin_Page { $item = wu_get_site($item_id); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-sites')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-sites')); exit; } diff --git a/inc/admin-pages/class-site-list-admin-page.php b/inc/admin-pages/class-site-list-admin-page.php index 4e2d07b..7c4ddb0 100644 --- a/inc/admin-pages/class-site-list-admin-page.php +++ b/inc/admin-pages/class-site-list-admin-page.php @@ -130,16 +130,16 @@ class Site_List_Admin_Page extends List_Admin_Page { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Publication', 'wp-ultimo'), - 'desc' => __('This action can not be undone.', 'wp-ultimo'), + 'title' => __('Confirm Publication', 'wp-multisite-waas'), + 'desc' => __('This action can not be undone.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Publish', 'wp-ultimo'), - 'placeholder' => __('Publish', 'wp-ultimo'), + 'title' => __('Publish', 'wp-multisite-waas'), + 'placeholder' => __('Publish', 'wp-multisite-waas'), 'value' => 'publish', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -166,7 +166,7 @@ class Site_List_Admin_Page extends List_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'true', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'confirmed' => false, ] @@ -189,13 +189,13 @@ class Site_List_Admin_Page extends List_Admin_Page { $membership = wu_get_membership(wu_request('membership_id')); if ( ! $membership) { - wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'wp-multisite-waas'))); } $pending_site = $membership->get_pending_site(); if ( ! is_a($pending_site, '\\WP_Ultimo\\Models\\Site')) { - wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'wp-ultimo'))); + wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'wp-multisite-waas'))); } $pending_site->set_type('customer_owned'); @@ -267,7 +267,7 @@ class Site_List_Admin_Page extends List_Admin_Page { } if ($site->get_blog_id() === false) { - $error = new \WP_Error('error', __('Something wrong happened.', 'wp-ultimo')); + $error = new \WP_Error('error', __('Something wrong happened.', 'wp-multisite-waas')); return wp_send_json_error($error); } @@ -313,20 +313,20 @@ class Site_List_Admin_Page extends List_Admin_Page { */ if ($duplicate_id && $site) { - // translators: the %s is the site title. - $title = sprintf(__('Copy of %s', 'wp-ultimo'), $site->get_title()); + // translators: the %s is the thing copied. + $title = sprintf(__('Copy of %s', 'wp-multisite-waas'), $site->get_title()); $path = sprintf('%s%s', trim($site->get_path(), '/'), 'copy'); $type = $site->get_type(); $template_id = $duplicate_id; $membership_id = $site->get_membership_id(); } - $save_label = $duplicate_id ? __('Duplicate Site', 'wp-ultimo') : __('Add new Site', 'wp-ultimo'); + $save_label = $duplicate_id ? __('Duplicate Site', 'wp-multisite-waas') : __('Add new Site', 'wp-multisite-waas'); $options = [ - 'sub-domain' => __('Subdomain', 'wp-ultimo'), - 'sub-directory' => __('Subdirectory', 'wp-ultimo'), - 'domain' => __('Domain', 'wp-ultimo'), + 'sub-domain' => __('Subdomain', 'wp-multisite-waas'), + 'sub-directory' => __('Subdirectory', 'wp-multisite-waas'), + 'domain' => __('Domain', 'wp-multisite-waas'), ]; /* @@ -351,19 +351,19 @@ class Site_List_Admin_Page extends List_Admin_Page { ], 'title' => [ 'type' => 'text', - 'title' => __('Site Title', 'wp-ultimo'), - 'placeholder' => __('New Network Site', 'wp-ultimo'), + 'title' => __('Site Title', 'wp-multisite-waas'), + 'placeholder' => __('New Network Site', 'wp-multisite-waas'), 'value' => $title, ], 'domain_group' => [ 'type' => 'group', // translators: the %s is the site preview url. - 'desc' => sprintf(__('The site URL will be: %s', 'wp-ultimo'), '{{ tab === "domain" ? domain : ( tab === "sub-directory" ? scheme + base_url + domain : scheme + domain + "." + base_url ) }}'), + 'desc' => sprintf(__('The site URL will be: %s', 'wp-multisite-waas'), '{{ tab === "domain" ? domain : ( tab === "sub-directory" ? scheme + base_url + domain : scheme + domain + "." + base_url ) }}'), 'fields' => [ 'domain' => [ 'type' => 'text', - 'title' => __('Site Domain/Path', 'wp-ultimo'), - 'tooltip' => __('Enter the complete domain for the site', 'wp-ultimo'), + 'title' => __('Site Domain/Path', 'wp-multisite-waas'), + 'tooltip' => __('Enter the complete domain for the site', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ 'v-bind:placeholder' => 'tab === "domain" ? "mysite.com" : "mysite"', @@ -375,13 +375,13 @@ class Site_List_Admin_Page extends List_Admin_Page { ], 'type' => [ 'type' => 'select', - 'title' => __('Site Type', 'wp-ultimo'), + 'title' => __('Site Type', 'wp-multisite-waas'), 'value' => $type, 'placeholder' => '', 'options' => [ - 'default' => __('Regular WP Site', 'wp-ultimo'), - 'site_template' => __('Site Template', 'wp-ultimo'), - 'customer_owned' => __('Customer-Owned', 'wp-ultimo'), + 'default' => __('Regular WP Site', 'wp-multisite-waas'), + 'site_template' => __('Site Template', 'wp-multisite-waas'), + 'customer_owned' => __('Customer-Owned', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'type', @@ -389,8 +389,8 @@ class Site_List_Admin_Page extends List_Admin_Page { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Associated Membership', 'wp-ultimo'), - 'placeholder' => __('Search Membership...', 'wp-ultimo'), + 'title' => __('Associated Membership', 'wp-multisite-waas'), + 'placeholder' => __('Search Membership...', 'wp-multisite-waas'), 'value' => '', 'tooltip' => '', 'wrapper_html_attr' => [ @@ -406,21 +406,21 @@ class Site_List_Admin_Page extends List_Admin_Page { ], 'copy' => [ 'type' => 'toggle', - 'title' => __('Copy Site', 'wp-ultimo'), - 'desc' => __('Select an existing site to use as a starting point.', 'wp-ultimo'), + 'title' => __('Copy Site', 'wp-multisite-waas'), + 'desc' => __('Select an existing site to use as a starting point.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'copy', ], ], 'template_site' => [ 'type' => 'model', - 'title' => __('Template Site', 'wp-ultimo'), - 'placeholder' => __('Search Sites...', 'wp-ultimo'), - 'desc' => __('The site selected will be copied and used as a starting point.', 'wp-ultimo'), + 'title' => __('Template Site', 'wp-multisite-waas'), + 'placeholder' => __('Search Sites...', 'wp-multisite-waas'), + 'desc' => __('The site selected will be copied and used as a starting point.', 'wp-multisite-waas'), 'value' => $template_id, 'html_attr' => [ 'data-model' => 'site', - 'data-selected' => $site ? json_encode($site->to_search_results()) : '', + 'data-selected' => $site ? wp_json_encode($site->to_search_results()) : '', 'data-value-field' => 'blog_id', 'data-label-field' => 'title', 'data-search-field' => 'title', @@ -432,8 +432,8 @@ class Site_List_Admin_Page extends List_Admin_Page { ], 'copy_media' => [ 'type' => 'toggle', - 'title' => __('Copy Media on Duplication', 'wp-ultimo'), - 'desc' => __('Copy media files from the template site on duplication. Disabling this can lead to broken images on the new site.', 'wp-ultimo'), + 'title' => __('Copy Media on Duplication', 'wp-multisite-waas'), + 'desc' => __('Copy media files from the template site on duplication. Disabling this can lead to broken images on the new site.', 'wp-multisite-waas'), 'value' => true, 'wrapper_html_attr' => [ 'v-show' => 'copy', @@ -503,8 +503,8 @@ class Site_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Site removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Site', 'wp-ultimo'), + 'deleted_message' => __('Site removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Site', 'wp-multisite-waas'), ]; } @@ -516,7 +516,7 @@ class Site_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Sites', 'wp-ultimo'); + return __('Sites', 'wp-multisite-waas'); } /** @@ -527,7 +527,7 @@ class Site_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Sites', 'wp-ultimo'); + return __('Sites', 'wp-multisite-waas'); } /** @@ -538,7 +538,7 @@ class Site_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Sites', 'wp-ultimo'); + return __('Sites', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/class-system-info-admin-page.php b/inc/admin-pages/class-system-info-admin-page.php index 704d77a..bfa7944 100644 --- a/inc/admin-pages/class-system-info-admin-page.php +++ b/inc/admin-pages/class-system-info-admin-page.php @@ -150,7 +150,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('System Info', 'wp-ultimo'); + return __('System Info', 'wp-multisite-waas'); } /** @@ -161,7 +161,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('System Info', 'wp-ultimo'); + return __('System Info', 'wp-multisite-waas'); } /** @@ -172,7 +172,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Dashboard', 'wp-ultimo'); + return __('Dashboard', 'wp-multisite-waas'); } /** @@ -217,7 +217,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { $memory_usage = $this->get_memory_usage(); // translators: %s is the number of seconds. - $max_execution_time = sprintf(__('%s seconds', 'wp-ultimo'), ini_get('max_execution_time')); + $max_execution_time = sprintf(__('%s seconds', 'wp-multisite-waas'), ini_get('max_execution_time')); $all_options = $this->get_all_options(); $all_options_serialized = serialize($all_options); @@ -243,7 +243,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { $array_constants[] = [ 'tooltip' => '', 'title' => $constant, - 'value' => defined($constant) ? (is_bool(constant($constant)) ? __('Enabled', 'wp-ultimo') : constant($constant)) : __('Disabled', 'wp-ultimo'), + 'value' => defined($constant) ? (is_bool(constant($constant)) ? __('Enabled', 'wp-multisite-waas') : constant($constant)) : __('Disabled', 'wp-multisite-waas'), ]; } @@ -374,12 +374,12 @@ class System_Info_Admin_Page extends Base_Admin_Page { 'pluguins-url' => [ 'tooltip' => '', 'title' => 'Cookie Domain', - 'value' => defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN ?: __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN ?: __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'multisite-active' => [ 'tooltip' => '', 'title' => 'Multi-Site Active', - 'value' => is_multisite() ? __('Yes', 'wp-ultimo') : __('No', 'wp-ultimo'), + 'value' => is_multisite() ? __('Yes', 'wp-multisite-waas') : __('No', 'wp-multisite-waas'), ], 'php-current-time-gmt' => [ 'tooltip' => '', @@ -404,12 +404,12 @@ class System_Info_Admin_Page extends Base_Admin_Page { 'php-curl-support' => [ 'tooltip' => '', 'title' => 'PHP cURL Support', - 'value' => function_exists('curl_init') ? __('Yes', 'wp-ultimo') : __('No', 'wp-ultimo'), + 'value' => function_exists('curl_init') ? __('Yes', 'wp-multisite-waas') : __('No', 'wp-multisite-waas'), ], 'php-gd-time' => [ 'tooltip' => '', 'title' => 'PHP GD Support', - 'value' => function_exists('gd_info') ? __('Yes', 'wp-ultimo') : __('No', 'wp-ultimo'), + 'value' => function_exists('gd_info') ? __('Yes', 'wp-multisite-waas') : __('No', 'wp-multisite-waas'), ], 'php-memory-limit' => [ 'tooltip' => '', @@ -464,47 +464,47 @@ class System_Info_Admin_Page extends Base_Admin_Page { 'wp-debug' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('WP_DEBUG') ? WP_DEBUG ? __('Enabled', 'wp-ultimo') : __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('WP_DEBUG') ? WP_DEBUG ? __('Enabled', 'wp-multisite-waas') : __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'script-debug' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('SCRIPT_DEBUG') ? SCRIPT_DEBUG ? __('Enabled', 'wp-ultimo') : __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('SCRIPT_DEBUG') ? SCRIPT_DEBUG ? __('Enabled', 'wp-multisite-waas') : __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'save-queries' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('SAVEQUERIES') ? SAVEQUERIES ? __('Enabled', 'wp-ultimo') : __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('SAVEQUERIES') ? SAVEQUERIES ? __('Enabled', 'wp-multisite-waas') : __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'autosave-interval' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('AUTOSAVE_INTERVAL') ? AUTOSAVE_INTERVAL ?: __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('AUTOSAVE_INTERVAL') ? AUTOSAVE_INTERVAL ?: __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'wp_post_revisions' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('WP_POST_REVISIONS') ? WP_POST_REVISIONS ?: __('Disabled', 'wp-ultimo') : __('Not set', 'wp-ultimo'), + 'value' => defined('WP_POST_REVISIONS') ? WP_POST_REVISIONS ?: __('Disabled', 'wp-multisite-waas') : __('Not set', 'wp-multisite-waas'), ], 'disable_wp_cron' => [ 'tooltip' => '', 'title' => 'DISABLE_WP_CRON', - 'value' => defined('DISABLE_WP_CRON') ? DISABLE_WP_CRON ?: __('Yes', 'wp-ultimo') : __('No', 'wp-ultimo'), + 'value' => defined('DISABLE_WP_CRON') ? DISABLE_WP_CRON ?: __('Yes', 'wp-multisite-waas') : __('No', 'wp-multisite-waas'), ], 'wp_lang' => [ 'tooltip' => '', 'title' => 'WPLANG', - 'value' => defined('WPLANG') ? WPLANG ?: __('Yes', 'wp-ultimo') : __('No', 'wp-ultimo'), + 'value' => defined('WPLANG') ? WPLANG ?: __('Yes', 'wp-multisite-waas') : __('No', 'wp-multisite-waas'), ], 'wp_memory_limit' => [ 'tooltip' => '', 'title' => 'WP_MEMORY_LIMIT', - 'value' => (defined('WP_MEMORY_LIMIT') && WP_MEMORY_LIMIT) ? WP_MEMORY_LIMIT : __('Not set', 'wp-ultimo'), + 'value' => (defined('WP_MEMORY_LIMIT') && WP_MEMORY_LIMIT) ? WP_MEMORY_LIMIT : __('Not set', 'wp-multisite-waas'), ], 'wp_max_memory_limit' => [ 'tooltip' => '', 'title' => 'WP_MAX_MEMORY_LIMIT', - 'value' => (defined('WP_MAX_MEMORY_LIMIT') && WP_MAX_MEMORY_LIMIT) ? WP_MAX_MEMORY_LIMIT : __('Not set', 'wp-ultimo'), + 'value' => (defined('WP_MAX_MEMORY_LIMIT') && WP_MAX_MEMORY_LIMIT) ? WP_MAX_MEMORY_LIMIT : __('Not set', 'wp-multisite-waas'), ], 'operating-system' => [ 'tooltip' => '', @@ -541,7 +541,7 @@ class System_Info_Admin_Page extends Base_Admin_Page { 'logs-directory' => [ 'tooltip' => '', 'title' => 'Logs Directory', - 'value' => is_writable(Logger::get_logs_folder()) ? __('Writable', 'wp-ultimo') : __('Not Writable', 'wp-ultimo'), + 'value' => is_writable(Logger::get_logs_folder()) ? __('Writable', 'wp-multisite-waas') : __('Not Writable', 'wp-multisite-waas'), ], ], $wpultimo_settings diff --git a/inc/admin-pages/class-tax-rates-admin-page.php b/inc/admin-pages/class-tax-rates-admin-page.php index dc569bb..944c38c 100644 --- a/inc/admin-pages/class-tax-rates-admin-page.php +++ b/inc/admin-pages/class-tax-rates-admin-page.php @@ -72,7 +72,7 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Tax Rates', 'wp-ultimo'); + return __('Tax Rates', 'wp-multisite-waas'); } /** @@ -83,7 +83,7 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Tax Rates', 'wp-ultimo'); + return __('Tax Rates', 'wp-multisite-waas'); } /** @@ -94,7 +94,7 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Tax Rates', 'wp-ultimo'); + return __('Tax Rates', 'wp-multisite-waas'); } /** @@ -110,11 +110,11 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { $columns = apply_filters( 'wu_tax_rates_columns', [ - 'title' => __('Label', 'wp-ultimo'), - 'country' => __('Country', 'wp-ultimo'), - 'state' => __('State / Province', 'wp-ultimo'), - 'city' => __('City', 'wp-ultimo'), - 'tax_rate' => __('Tax Rate (%)', 'wp-ultimo'), + 'title' => __('Label', 'wp-multisite-waas'), + 'country' => __('Country', 'wp-multisite-waas'), + 'state' => __('State / Province', 'wp-multisite-waas'), + 'city' => __('City', 'wp-multisite-waas'), + 'tax_rate' => __('Tax Rate (%)', 'wp-multisite-waas'), 'move' => '', ] ); @@ -145,9 +145,9 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { 'wu-tax-rates', 'wu_tax_ratesl10n', [ - 'name' => __('Tax', 'wp-ultimo'), - 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-ultimo'), - 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-ultimo'), + 'name' => __('Tax', 'wp-multisite-waas'), + 'confirm_message' => __('Are you sure you want to delete this rows?', 'wp-multisite-waas'), + 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'wp-multisite-waas'), ] ); @@ -176,7 +176,7 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'wp-ultimo'), + 'title' => __('Fields', 'wp-multisite-waas'), 'position' => 'side', 'screen' => get_current_screen(), 'fields' => [], @@ -194,7 +194,7 @@ class Tax_Rates_Admin_Page extends Base_Admin_Page { if (wu_get_isset($atts['html_attr'], 'data-wu-app')) { $atts['fields']['loading'] = [ 'type' => 'note', - 'desc' => sprintf('
%s
', __('Loading...', 'wp-ultimo')), + 'desc' => sprintf('
%s
', __('Loading...', 'wp-multisite-waas')), 'wrapper_html_attr' => [ 'v-if' => 0, ], diff --git a/inc/admin-pages/class-template-previewer-customize-admin-page.php b/inc/admin-pages/class-template-previewer-customize-admin-page.php index bcb6ca4..15fd8cb 100644 --- a/inc/admin-pages/class-template-previewer-customize-admin-page.php +++ b/inc/admin-pages/class-template-previewer-customize-admin-page.php @@ -97,14 +97,14 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { 'fields' => [ 'preview_url_parameter' => [ 'type' => 'text', - 'title' => __('URL Parameter', 'wp-ultimo'), - 'desc' => __('This is the URL parameter WP Multisite WaaS will use to generate the template preview URLs.', 'wp-ultimo'), + 'title' => __('URL Parameter', 'wp-multisite-waas'), + 'desc' => __('This is the URL parameter WP Multisite WaaS will use to generate the template preview URLs.', 'wp-multisite-waas'), 'value' => Template_Previewer::get_instance()->get_setting('preview_url_parameter', 'template-preview'), ], 'enabled' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'wp-multisite-waas'), 'value' => Template_Previewer::get_instance()->get_setting('enabled', true), 'html_attr' => [], ], @@ -129,16 +129,16 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { 'v-model' => 'tab', ], 'options' => [ - 'general' => __('General', 'wp-ultimo'), - 'colors' => __('Colors', 'wp-ultimo'), - 'images' => __('Images', 'wp-ultimo'), + 'general' => __('General', 'wp-multisite-waas'), + 'colors' => __('Colors', 'wp-multisite-waas'), + 'images' => __('Images', 'wp-multisite-waas'), ], ], 'display_responsive_controls' => [ 'type' => 'toggle', - 'title' => __('Show Responsive Controls', 'wp-ultimo'), - 'desc' => __('Toggle to show or hide the responsive controls.', 'wp-ultimo'), + 'title' => __('Show Responsive Controls', 'wp-multisite-waas'), + 'desc' => __('Toggle to show or hide the responsive controls.', 'wp-multisite-waas'), 'value' => true, 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -150,8 +150,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { ], 'button_text' => [ 'type' => 'text', - 'title' => __('Button Text', 'wp-ultimo'), - 'value' => __('Use this Template', 'wp-ultimo'), + 'title' => __('Button Text', 'wp-multisite-waas'), + 'value' => __('Use this Template', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', 'v-cloak' => 1, @@ -163,8 +163,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { 'bg_color' => [ 'type' => 'color-picker', - 'title' => __('Background Color', 'wp-ultimo'), - 'desc' => __('Choose the background color for the top-bar.', 'wp-ultimo'), + 'title' => __('Background Color', 'wp-multisite-waas'), + 'desc' => __('Choose the background color for the top-bar.', 'wp-multisite-waas'), 'value' => '#f9f9f9', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', @@ -176,8 +176,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { ], 'button_bg_color' => [ 'type' => 'color-picker', - 'title' => __('Button BG Color', 'wp-ultimo'), - 'desc' => __('Pick the background color for the button.', 'wp-ultimo'), + 'title' => __('Button BG Color', 'wp-multisite-waas'), + 'desc' => __('Pick the background color for the button.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', 'v-cloak' => 1, @@ -189,8 +189,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'wp-ultimo'), - 'desc' => __('You can set a different logo to be used on the top-bar.', 'wp-ultimo'), + 'title' => __('Use Custom Logo', 'wp-multisite-waas'), + 'desc' => __('You can set a different logo to be used on the top-bar.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "images")', 'v-cloak' => 1, @@ -202,8 +202,8 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { 'custom_logo' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Custom Logo', 'wp-ultimo'), - 'desc' => __('The logo is displayed on the preview page top-bar.', 'wp-ultimo'), + 'title' => __('Custom Logo', 'wp-multisite-waas'), + 'desc' => __('The logo is displayed on the preview page top-bar.', 'wp-multisite-waas'), 'value' => $custom_logo_id, 'img' => $custom_logo, 'wrapper_html_attr' => [ @@ -226,14 +226,14 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'wp-ultimo'), + 'title' => __('Customizer', 'wp-multisite-waas'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ 'style' => 'margin-top: -6px;', 'data-wu-app' => 'site_template_customizer', 'data-wu-customizer-panel' => true, - 'data-state' => json_encode($state), + 'data-state' => wp_json_encode($state), ], ] ); @@ -247,7 +247,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_title() { - return __('Customize Template Previewer', 'wp-ultimo'); + return __('Customize Template Previewer', 'wp-multisite-waas'); } /** @@ -258,7 +258,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { */ public function get_menu_title() { - return __('Customize Template Previewer', 'wp-ultimo'); + return __('Customize Template Previewer', 'wp-multisite-waas'); } /** @@ -281,13 +281,13 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { public function get_labels() { return [ - 'customize_label' => __('Customize Template Previewer', 'wp-ultimo'), - 'add_new_label' => __('Customize Template Previewer', 'wp-ultimo'), - 'edit_label' => __('Edit Template Previewer', 'wp-ultimo'), - 'updated_message' => __('Template Previewer updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Template Previewer Name', 'wp-ultimo'), - 'title_description' => __('This name is used for internal reference only.', 'wp-ultimo'), - 'save_button_label' => __('Save Changes', 'wp-ultimo'), + 'customize_label' => __('Customize Template Previewer', 'wp-multisite-waas'), + 'add_new_label' => __('Customize Template Previewer', 'wp-multisite-waas'), + 'edit_label' => __('Edit Template Previewer', 'wp-multisite-waas'), + 'updated_message' => __('Template Previewer updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Template Previewer Name', 'wp-multisite-waas'), + 'title_description' => __('This name is used for internal reference only.', 'wp-multisite-waas'), + 'save_button_label' => __('Save Changes', 'wp-multisite-waas'), 'save_description' => '', ]; } @@ -308,7 +308,7 @@ class Template_Previewer_Customize_Admin_Page extends Customizer_Admin_Page { $url = add_query_arg($array_params); - wp_redirect($url); + wp_safe_redirect($url); exit; } diff --git a/inc/admin-pages/class-top-admin-nav-menu.php b/inc/admin-pages/class-top-admin-nav-menu.php index a0f6901..baa2086 100644 --- a/inc/admin-pages/class-top-admin-nav-menu.php +++ b/inc/admin-pages/class-top-admin-nav-menu.php @@ -52,11 +52,11 @@ class Top_Admin_Nav_Menu { // Add Parent element $parent = [ 'id' => 'wp-ultimo', - 'title' => __('Multisite Waas', 'wp-ultimo'), + 'title' => __('Multisite Waas', 'wp-multisite-waas'), 'href' => current_user_can('wu_read_dashboard') ? network_admin_url('admin.php?page=wp-ultimo') : '#', 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the dashboard', 'wp-ultimo'), + 'title' => __('Go to the dashboard', 'wp-multisite-waas'), ], ]; @@ -64,11 +64,11 @@ class Top_Admin_Nav_Menu { $sites = [ 'id' => 'wp-ultimo-sites', 'parent' => 'wp-ultimo', - 'title' => __('Manage Sites', 'wp-ultimo'), + 'title' => __('Manage Sites', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-sites'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the sites page', 'wp-ultimo'), + 'title' => __('Go to the sites page', 'wp-multisite-waas'), ], ]; @@ -76,11 +76,11 @@ class Top_Admin_Nav_Menu { $memberships = [ 'id' => 'wp-ultimo-memberships', 'parent' => 'wp-ultimo', - 'title' => __('Manage Memberships', 'wp-ultimo'), + 'title' => __('Manage Memberships', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-memberships'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the memberships page', 'wp-ultimo'), + 'title' => __('Go to the memberships page', 'wp-multisite-waas'), ], ]; @@ -88,11 +88,11 @@ class Top_Admin_Nav_Menu { $customers = [ 'id' => 'wp-ultimo-customers', 'parent' => 'wp-ultimo', - 'title' => __('Customers', 'wp-ultimo'), + 'title' => __('Customers', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-customers'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the customers page', 'wp-ultimo'), + 'title' => __('Go to the customers page', 'wp-multisite-waas'), ], ]; @@ -100,11 +100,11 @@ class Top_Admin_Nav_Menu { $products = [ 'id' => 'wp-ultimo-products', 'parent' => 'wp-ultimo', - 'title' => __('Products', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-products'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the products page', 'wp-ultimo'), + 'title' => __('Go to the products page', 'wp-multisite-waas'), ], ]; @@ -112,11 +112,11 @@ class Top_Admin_Nav_Menu { $payments = [ 'id' => 'wp-ultimo-payments', 'parent' => 'wp-ultimo', - 'title' => __('Payments', 'wp-ultimo'), + 'title' => __('Payments', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-payments'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the payments page', 'wp-ultimo'), + 'title' => __('Go to the payments page', 'wp-multisite-waas'), ], ]; @@ -124,11 +124,11 @@ class Top_Admin_Nav_Menu { $discount_codes = [ 'id' => 'wp-ultimo-discount-codes', 'parent' => 'wp-ultimo', - 'title' => __('Discount Codes', 'wp-ultimo'), + 'title' => __('Discount Codes', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-discount-codes'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the discount codes page', 'wp-ultimo'), + 'title' => __('Go to the discount codes page', 'wp-multisite-waas'), ], ]; @@ -136,11 +136,11 @@ class Top_Admin_Nav_Menu { 'id' => 'wp-ultimo-settings-group', 'parent' => 'wp-ultimo', 'group' => true, - 'title' => __('Settings Container', 'wp-ultimo'), + 'title' => __('Settings Container', 'wp-multisite-waas'), 'href' => '#', 'meta' => [ 'class' => 'wp-ultimo-top-menu ab-sub-secondary', - 'title' => __('Go to the settings page', 'wp-ultimo'), + 'title' => __('Go to the settings page', 'wp-multisite-waas'), ], ]; @@ -148,11 +148,11 @@ class Top_Admin_Nav_Menu { $settings = [ 'id' => 'wp-ultimo-settings', 'parent' => 'wp-ultimo-settings-group', - 'title' => __('Settings', 'wp-ultimo'), + 'title' => __('Settings', 'wp-multisite-waas'), 'href' => network_admin_url('admin.php?page=wp-ultimo-settings'), 'meta' => [ 'class' => 'wp-ultimo-top-menu ab-sub-secondary', - 'title' => __('Go to the settings page', 'wp-ultimo'), + 'title' => __('Go to the settings page', 'wp-multisite-waas'), ], ]; @@ -163,32 +163,32 @@ class Top_Admin_Nav_Menu { if (current_user_can('wu_read_sites')) { $wp_admin_bar->add_node($sites); - } //end if; + } if (current_user_can('wu_read_memberships')) { $wp_admin_bar->add_node($memberships); - } //end if; + } if (current_user_can('wu_read_customers')) { $wp_admin_bar->add_node($customers); - } //end if; + } if (current_user_can('wu_read_products')) { $wp_admin_bar->add_node($products); - } //end if; + } if (current_user_can('wu_read_payments')) { $wp_admin_bar->add_node($payments); - } //end if; + } if (current_user_can('wu_read_discount_codes')) { $wp_admin_bar->add_node($discount_codes); - } //end if; + } if (current_user_can('wu_read_settings')) { $wp_admin_bar->add_node($container); $wp_admin_bar->add_node($settings); - } //end if; + } /* * Add the sub-menus. @@ -215,7 +215,7 @@ class Top_Admin_Nav_Menu { 'href' => network_admin_url('admin.php?page=wp-ultimo-settings&tab=') . $tab, 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the settings page', 'wp-ultimo'), + 'title' => __('Go to the settings page', 'wp-multisite-waas'), ], ]; diff --git a/inc/admin-pages/class-view-logs-admin-page.php b/inc/admin-pages/class-view-logs-admin-page.php index 0422e8f..a3120ba 100644 --- a/inc/admin-pages/class-view-logs-admin-page.php +++ b/inc/admin-pages/class-view-logs-admin-page.php @@ -100,7 +100,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { 'wu_view_logs', [ 'i18n' => [ - 'copied' => __('Copied!', 'wp-ultimo'), + 'copied' => __('Copied!', 'wp-multisite-waas'), ], ] ); @@ -118,7 +118,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return __('View Log', 'wp-ultimo'); + return __('View Log', 'wp-multisite-waas'); } /** @@ -129,7 +129,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('View Log', 'wp-ultimo'); + return __('View Log', 'wp-multisite-waas'); } /** @@ -152,7 +152,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $logs_list = array_combine(array_values($logs_list), array_map(fn($file) => str_replace(Logger::get_logs_folder(), '', (string) $file), $logs_list)); if (empty($logs_list)) { - $logs_list[''] = __('No log files found', 'wp-ultimo'); + $logs_list[''] = __('No log files found', 'wp-multisite-waas'); } $file = wu_request('file'); @@ -163,7 +163,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { // Security check if ($file && ! stristr((string) $file, Logger::get_logs_folder())) { - wp_die(__('You can see files that are not WP Multisite WaaS\'s logs', 'wp-ultimo')); + wp_die(__('You can see files that are not WP Multisite WaaS\'s logs', 'wp-multisite-waas')); } if ( ! $file && ! empty($logs_list)) { @@ -172,7 +172,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $file_name = str_replace(Logger::get_logs_folder(), '', (string) $file); - $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'wp-ultimo'); + $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'wp-multisite-waas'); $contents = $file && file_exists($file) ? file_get_contents($file) : $default_content; @@ -200,24 +200,24 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $info = $this->handle_view_logs(); - add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info); + add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info); $this->add_fields_widget( 'file-selector', [ - 'title' => __('Log Files', 'wp-ultimo'), + 'title' => __('Log Files', 'wp-multisite-waas'), 'fields' => [ 'log_file' => [ 'type' => 'select', - 'title' => __('Select Log File', 'wp-ultimo'), - 'placeholder' => __('Select Log File', 'wp-ultimo'), + 'title' => __('Select Log File', 'wp-multisite-waas'), + 'placeholder' => __('Select Log File', 'wp-multisite-waas'), 'value' => wu_request('file'), 'tooltip' => '', 'options' => $info['logs_list'], ], 'download' => [ 'type' => 'submit', - 'title' => __('Download Log', 'wp-ultimo'), + 'title' => __('Download Log', 'wp-multisite-waas'), 'value' => 'download', 'classes' => 'button button-primary wu-w-full', ], @@ -228,11 +228,11 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'info', [ - 'title' => __('Timestamps', 'wp-ultimo'), + 'title' => __('Timestamps', 'wp-multisite-waas'), 'position' => 'side', 'fields' => [ 'date_modified' => [ - 'title' => __('Last Modified at', 'wp-ultimo'), + 'title' => __('Last Modified at', 'wp-multisite-waas'), 'type' => 'text-edit', 'date' => true, 'value' => date_i18n('Y-m-d H:i:s', filemtime($info['file'])), @@ -257,8 +257,8 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'wp-ultimo'), - 'loading_text' => __('Loading Payload', 'wp-ultimo'), + 'title' => __('Event Payload', 'wp-multisite-waas'), + 'loading_text' => __('Loading Payload', 'wp-multisite-waas'), 'payload' => $data['args']['contents'], ] ); @@ -273,12 +273,12 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('View Log', 'wp-ultimo'), - 'add_new_label' => __('View Log', 'wp-ultimo'), - 'title_placeholder' => __('Enter Customer', 'wp-ultimo'), - 'title_description' => __('Viewing file: ', 'wp-ultimo'), - 'delete_button_label' => __('Delete Log File', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'edit_label' => __('View Log', 'wp-multisite-waas'), + 'add_new_label' => __('View Log', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Customer', 'wp-multisite-waas'), + 'title_description' => __('Viewing file: ', 'wp-multisite-waas'), + 'delete_button_label' => __('Delete Log File', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -323,7 +323,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $action = wu_request('submit_button', 'none'); if ('none' === $action) { - WP_Ultimo()->notices->add(__('Something wrong happened', 'wp-ultimo'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Something wrong happened', 'wp-multisite-waas'), 'error', 'network-admin'); return; } @@ -331,7 +331,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $file = wu_request('log_file', false); if ( ! file_exists($file)) { - WP_Ultimo()->notices->add(__('File not found', 'wp-ultimo'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('File not found', 'wp-multisite-waas'), 'error', 'network-admin'); return; } @@ -350,7 +350,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $status = unlink($file); if ( ! $status) { - WP_Ultimo()->notices->add(__('We were unable to delete file', 'wp-ultimo'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('We were unable to delete file', 'wp-multisite-waas'), 'error', 'network-admin'); return; } @@ -358,7 +358,7 @@ class View_Logs_Admin_Page extends Edit_Admin_Page { $url = remove_query_arg('log_file'); - wp_redirect(add_query_arg('deleted', 1, $url)); + wp_safe_redirect(add_query_arg('deleted', 1, $url)); exit; } diff --git a/inc/admin-pages/class-webhook-edit-admin-page.php b/inc/admin-pages/class-webhook-edit-admin-page.php index 3d5fd23..8abc83b 100644 --- a/inc/admin-pages/class-webhook-edit-admin-page.php +++ b/inc/admin-pages/class-webhook-edit-admin-page.php @@ -97,9 +97,9 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { 'wu_webhook_page', [ 'i18n' => [ - 'error_title' => __('Webhook Test', 'wp-ultimo'), - 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-ultimo'), - 'copied' => __('Copied!', 'wp-ultimo'), + 'error_title' => __('Webhook Test', 'wp-multisite-waas'), + 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-multisite-waas'), + 'copied' => __('Copied!', 'wp-multisite-waas'), ], ] ); @@ -138,22 +138,22 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'domain-url', [ - 'title' => __('Webhook URL', 'wp-ultimo'), + 'title' => __('Webhook URL', 'wp-multisite-waas'), 'position' => 'normal', 'fields' => [ 'webhook_url' => [ 'type' => 'url', - 'title' => __('Webhook URL', 'wp-ultimo'), - 'desc' => __('The URL where we will send the payload when the event triggers.', 'wp-ultimo'), - 'placeholder' => __('https://example.com', 'wp-ultimo'), + 'title' => __('Webhook URL', 'wp-multisite-waas'), + 'desc' => __('The URL where we will send the payload when the event triggers.', 'wp-multisite-waas'), + 'placeholder' => __('https://example.com', 'wp-multisite-waas'), 'value' => $this->get_object()->get_webhook_url(), ], 'actions' => [ 'type' => 'actions', - 'tooltip' => __('The event .', 'wp-ultimo'), + 'tooltip' => __('The event .', 'wp-multisite-waas'), 'actions' => [ 'send_test_event' => [ - 'title' => __('Send Test Event', 'wp-ultimo'), + 'title' => __('Send Test Event', 'wp-multisite-waas'), 'action' => 'wu_send_test_event', 'object_id' => $this->get_object()->get_id(), 'loading_text' => 'Sending Test...', @@ -168,12 +168,12 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { ] ); - add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-ultimo'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal'); + add_meta_box('wp-ultimo-payload', __('Event Payload', 'wp-multisite-waas'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal'); $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'wp-ultimo'), + 'title' => __('Events', 'wp-multisite-waas'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -191,9 +191,9 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { 'fields' => [ 'event' => [ 'type' => 'select', - 'title' => __('Event', 'wp-ultimo'), - 'desc' => __('The event that triggers this webhook.', 'wp-ultimo'), - 'placeholder' => __('Select Event', 'wp-ultimo'), + 'title' => __('Event', 'wp-multisite-waas'), + 'desc' => __('The event that triggers this webhook.', 'wp-multisite-waas'), + 'placeholder' => __('Select Event', 'wp-multisite-waas'), 'options' => $event_list, 'value' => $this->get_object()->get_event(), ], @@ -204,13 +204,13 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'wp-ultimo'), - 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'wp-ultimo'), - 'desc' => __('Use this option to manually enable or disable this webhook.', 'wp-ultimo'), + 'title' => __('Active', 'wp-multisite-waas'), + 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'wp-multisite-waas'), + 'desc' => __('Use this option to manually enable or disable this webhook.', 'wp-multisite-waas'), 'value' => $this->get_object()->is_active(), ], ], @@ -220,27 +220,27 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $this->add_fields_widget( 'options', [ - 'title' => __('Options', 'wp-ultimo'), + 'title' => __('Options', 'wp-multisite-waas'), 'fields' => [ 'integration' => [ 'edit' => true, - 'title' => __('Integration', 'wp-ultimo'), + 'title' => __('Integration', 'wp-multisite-waas'), 'type' => 'text-edit', 'placeholder' => 'manual', 'value' => $this->get_object()->get_integration(), 'display_value' => ucwords((string) $this->get_object()->get_integration()), - 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'wp-ultimo'), + 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'wp-multisite-waas'), ], 'event_count' => [ - 'title' => __('Run Count', 'wp-ultimo'), + 'title' => __('Run Count', 'wp-multisite-waas'), 'type' => 'text-edit', 'min' => 0, 'placeholder' => 0, 'edit' => true, 'value' => $this->get_object()->get_event_count(), // translators: %d is the number of times that this webhook was triggered. - 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'wp-ultimo'), $this->get_object()->get_event_count()), - 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'wp-ultimo'), + 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'wp-multisite-waas'), $this->get_object()->get_event_count()), + 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'wp-multisite-waas'), ], ], ] @@ -259,13 +259,13 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $event = wu_get_event_type($object_event_slug); - $payload = isset($event['payload']) ? json_encode(wu_maybe_lazy_load_payload($event['payload']), JSON_PRETTY_PRINT) : '{}'; + $payload = isset($event['payload']) ? wp_json_encode(wu_maybe_lazy_load_payload($event['payload']), JSON_PRETTY_PRINT) : '{}'; wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'wp-ultimo'), - 'loading_text' => __('Loading Payload', 'wp-ultimo'), + 'title' => __('Event Payload', 'wp-multisite-waas'), + 'loading_text' => __('Loading Payload', 'wp-multisite-waas'), 'payload' => $payload, ] ); @@ -297,7 +297,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_title() { - return $this->edit ? __('Edit Webhook', 'wp-ultimo') : __('Add new Webhook', 'wp-ultimo'); + return $this->edit ? __('Edit Webhook', 'wp-multisite-waas') : __('Add new Webhook', 'wp-multisite-waas'); } /** @@ -308,7 +308,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { */ public function get_menu_title() { - return __('Edit Webhook', 'wp-ultimo'); + return __('Edit Webhook', 'wp-multisite-waas'); } /** @@ -331,15 +331,15 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Webhook', 'wp-ultimo'), - 'add_new_label' => __('Add new Webhook', 'wp-ultimo'), - 'updated_message' => __('Webhook updated successfully!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Webhook', 'wp-ultimo'), + 'edit_label' => __('Edit Webhook', 'wp-multisite-waas'), + 'add_new_label' => __('Add new Webhook', 'wp-multisite-waas'), + 'updated_message' => __('Webhook updated successfully!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Webhook', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save Webhook', 'wp-ultimo'), + 'save_button_label' => __('Save Webhook', 'wp-multisite-waas'), 'save_description' => '', - 'delete_button_label' => __('Delete Webhook', 'wp-ultimo'), - 'delete_description' => __('Be careful. This action is irreversible.', 'wp-ultimo'), + 'delete_button_label' => __('Delete Webhook', 'wp-multisite-waas'), + 'delete_description' => __('Be careful. This action is irreversible.', 'wp-multisite-waas'), ]; } @@ -357,7 +357,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $item = $query->get_item_by('id', wu_request('id')); if ( ! $item) { - wp_redirect(wu_network_admin_url('wp-ultimo-webhooks')); + wp_safe_redirect(wu_network_admin_url('wp-ultimo-webhooks')); exit; } @@ -407,7 +407,7 @@ class Webhook_Edit_Admin_Page extends Edit_Admin_Page { $url = add_query_arg($array_params); - wp_redirect($url); + wp_safe_redirect($url); exit; } diff --git a/inc/admin-pages/class-webhook-list-admin-page.php b/inc/admin-pages/class-webhook-list-admin-page.php index 5b0ac80..72bbcf5 100644 --- a/inc/admin-pages/class-webhook-list-admin-page.php +++ b/inc/admin-pages/class-webhook-list-admin-page.php @@ -71,9 +71,9 @@ class Webhook_List_Admin_Page extends List_Admin_Page { 'wu_webhook_page', [ 'i18n' => [ - 'error_title' => __('Webhook Test', 'wp-ultimo'), - 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-ultimo'), - 'copied' => __('Copied!', 'wp-ultimo'), + 'error_title' => __('Webhook Test', 'wp-multisite-waas'), + 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'wp-multisite-waas'), + 'copied' => __('Copied!', 'wp-multisite-waas'), ], ] ); @@ -120,25 +120,25 @@ class Webhook_List_Admin_Page extends List_Admin_Page { $fields = [ 'name' => [ 'type' => 'text', - 'title' => __('Webhook Name', 'wp-ultimo'), - 'desc' => __('A name to easily identify your webhook.', 'wp-ultimo'), - 'placeholder' => __('E.g. Zapier Integration', 'wp-ultimo'), + 'title' => __('Webhook Name', 'wp-multisite-waas'), + 'desc' => __('A name to easily identify your webhook.', 'wp-multisite-waas'), + 'placeholder' => __('E.g. Zapier Integration', 'wp-multisite-waas'), ], 'event' => [ - 'title' => __('Event', 'wp-ultimo'), + 'title' => __('Event', 'wp-multisite-waas'), 'type' => 'select', - 'desc' => __('The event that will trigger the webhook.', 'wp-ultimo'), + 'desc' => __('The event that will trigger the webhook.', 'wp-multisite-waas'), 'options' => $event_options, ], 'webhook_url' => [ 'type' => 'url', - 'title' => __('Webhook Url', 'wp-ultimo'), - 'desc' => __('The url of your webhook.', 'wp-ultimo'), - 'placeholder' => __('E.g. https://example.com/', 'wp-ultimo'), + 'title' => __('Webhook Url', 'wp-multisite-waas'), + 'desc' => __('The url of your webhook.', 'wp-multisite-waas'), + 'placeholder' => __('E.g. https://example.com/', 'wp-multisite-waas'), ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add New Webhook', 'wp-ultimo'), + 'title' => __('Add New Webhook', 'wp-multisite-waas'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -157,7 +157,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'edit_line_item', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'event' => '', ] @@ -212,8 +212,8 @@ class Webhook_List_Admin_Page extends List_Admin_Page { public function get_labels() { return [ - 'deleted_message' => __('Webhook removed successfully.', 'wp-ultimo'), - 'search_label' => __('Search Webhook', 'wp-ultimo'), + 'deleted_message' => __('Webhook removed successfully.', 'wp-multisite-waas'), + 'search_label' => __('Search Webhook', 'wp-multisite-waas'), ]; } @@ -225,7 +225,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page { */ public function get_title() { - return __('Webhooks', 'wp-ultimo'); + return __('Webhooks', 'wp-multisite-waas'); } /** @@ -236,7 +236,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page { */ public function get_menu_title() { - return __('Webhooks', 'wp-ultimo'); + return __('Webhooks', 'wp-multisite-waas'); } /** @@ -247,7 +247,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page { */ public function get_submenu_title() { - return __('Webhooks', 'wp-ultimo'); + return __('Webhooks', 'wp-multisite-waas'); } /** @@ -260,7 +260,7 @@ class Webhook_List_Admin_Page extends List_Admin_Page { return [ [ - 'label' => __('Add New Webhook', 'wp-ultimo'), + 'label' => __('Add New Webhook', 'wp-multisite-waas'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_webhook_modal'), diff --git a/inc/admin-pages/class-wizard-admin-page.php b/inc/admin-pages/class-wizard-admin-page.php index 3eaec49..bdcd082 100644 --- a/inc/admin-pages/class-wizard-admin-page.php +++ b/inc/admin-pages/class-wizard-admin-page.php @@ -124,12 +124,12 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page { public function get_labels() { return [ - 'edit_label' => __('Edit Object', 'wp-ultimo'), - 'add_new_label' => __('Add New Object', 'wp-ultimo'), - 'updated_message' => __('Object updated with success!', 'wp-ultimo'), - 'title_placeholder' => __('Enter Object Name', 'wp-ultimo'), + 'edit_label' => __('Edit Object', 'wp-multisite-waas'), + 'add_new_label' => __('Add New Object', 'wp-multisite-waas'), + 'updated_message' => __('Object updated with success!', 'wp-multisite-waas'), + 'title_placeholder' => __('Enter Object Name', 'wp-multisite-waas'), 'title_description' => '', - 'save_button_label' => __('Save', 'wp-ultimo'), + 'save_button_label' => __('Save', 'wp-multisite-waas'), 'save_description' => '', ]; } @@ -152,7 +152,7 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page { return; } - add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'wp-ultimo')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null); + add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'wp-multisite-waas')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null); } /** @@ -299,7 +299,7 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page { */ public function default_handler(): void { - wp_redirect($this->get_next_section_link()); + wp_safe_redirect($this->get_next_section_link()); exit; } @@ -319,9 +319,9 @@ abstract class Wizard_Admin_Page extends Base_Admin_Page { 'description' => '', 'content' => '', 'fields' => [], - 'next_label' => __('Continue →', 'wp-ultimo'), - 'back_label' => __('← Go Back', 'wp-ultimo'), - 'skip_label' => __('Skip this Step', 'wp-ultimo'), + 'next_label' => __('Continue →', 'wp-multisite-waas'), + 'back_label' => __('← Go Back', 'wp-multisite-waas'), + 'skip_label' => __('Skip this Step', 'wp-multisite-waas'), 'back' => false, 'skip' => false, 'next' => true, diff --git a/inc/admin-pages/customer-panel/class-account-admin-page.php b/inc/admin-pages/customer-panel/class-account-admin-page.php index 12ae960..067d41e 100644 --- a/inc/admin-pages/customer-panel/class-account-admin-page.php +++ b/inc/admin-pages/customer-panel/class-account-admin-page.php @@ -138,7 +138,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page { return; } - $update_message = apply_filters('wu_account_update_message', __('Your account was successfully updated.', 'wp-ultimo'), $update_type); + $update_message = apply_filters('wu_account_update_message', __('Your account was successfully updated.', 'wp-multisite-waas'), $update_type); WP_Ultimo()->notices->add($update_message); } @@ -197,7 +197,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_title() { - return __('Account', 'wp-ultimo'); + return __('Account', 'wp-multisite-waas'); } /** @@ -208,7 +208,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_menu_title() { - return __('Account', 'wp-ultimo'); + return __('Account', 'wp-multisite-waas'); } /** @@ -219,7 +219,7 @@ class Account_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_submenu_title() { - return __('Account', 'wp-ultimo'); + return __('Account', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php index d4c6b2b..6ad55cc 100644 --- a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php +++ b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php @@ -209,7 +209,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_title() { - return __('Add New Site', 'wp-ultimo'); + return __('Add New Site', 'wp-multisite-waas'); } /** @@ -220,7 +220,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_menu_title() { - return __('Add New Site', 'wp-ultimo'); + return __('Add New Site', 'wp-multisite-waas'); } /** @@ -231,7 +231,7 @@ class Add_New_Site_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_submenu_title() { - return __('Add New Site', 'wp-ultimo'); + return __('Add New Site', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/customer-panel/class-checkout-admin-page.php b/inc/admin-pages/customer-panel/class-checkout-admin-page.php index 3b6af34..8336d32 100644 --- a/inc/admin-pages/customer-panel/class-checkout-admin-page.php +++ b/inc/admin-pages/customer-panel/class-checkout-admin-page.php @@ -95,7 +95,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad */ public function get_title() { - return sprintf(__('Checkout', 'wp-ultimo')); + return __('Checkout', 'wp-multisite-waas'); } /** @@ -106,7 +106,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad */ public function get_menu_title() { - return __('Checkout', 'wp-ultimo'); + return __('Checkout', 'wp-multisite-waas'); } /** @@ -143,7 +143,7 @@ class Checkout_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer_Facing_Ad $sections = [ 'plan' => [ - 'title' => __('Change Membership', 'wp-ultimo'), + 'title' => __('Change Membership', 'wp-multisite-waas'), 'view' => [$this, 'display_checkout_form'], ], ]; diff --git a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php index c698d1c..711467b 100644 --- a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php +++ b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php @@ -232,7 +232,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_title() { - return __('My Sites', 'wp-ultimo'); + return __('My Sites', 'wp-multisite-waas'); } /** @@ -243,7 +243,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_menu_title() { - return __('My Sites', 'wp-ultimo'); + return __('My Sites', 'wp-multisite-waas'); } /** @@ -254,7 +254,7 @@ class My_Sites_Admin_Page extends Base_Customer_Facing_Admin_Page { */ public function get_submenu_title() { - return __('My Sites', 'wp-ultimo'); + return __('My Sites', 'wp-multisite-waas'); } /** diff --git a/inc/admin-pages/customer-panel/class-template-switching-admin-page.php b/inc/admin-pages/customer-panel/class-template-switching-admin-page.php index a52ce91..825e638 100644 --- a/inc/admin-pages/customer-panel/class-template-switching-admin-page.php +++ b/inc/admin-pages/customer-panel/class-template-switching-admin-page.php @@ -103,7 +103,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer */ public function get_title() { - return __('Switch Template', 'wp-ultimo'); + return __('Switch Template', 'wp-multisite-waas'); } /** @@ -114,7 +114,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer */ public function get_menu_title() { - return __('Switch Template', 'wp-ultimo'); + return __('Switch Template', 'wp-multisite-waas'); } /** @@ -158,7 +158,7 @@ class Template_Switching_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Customer 'page' => $this, 'content' => '', 'labels' => [ - 'updated_message' => __('Template switched successfully!', 'wp-ultimo'), + 'updated_message' => __('Template switched successfully!', 'wp-multisite-waas'), ], ] ); diff --git a/inc/admin-pages/debug/class-debug-admin-page.php b/inc/admin-pages/debug/class-debug-admin-page.php index ebfa24a..0c7df0f 100644 --- a/inc/admin-pages/debug/class-debug-admin-page.php +++ b/inc/admin-pages/debug/class-debug-admin-page.php @@ -83,7 +83,7 @@ class Debug_Admin_Page extends Base_Admin_Page { add_meta_box( 'wp-ultimo-debug-pages', - __('All Registered Pages', 'wp-ultimo'), + __('All Registered Pages', 'wp-multisite-waas'), [$this, 'render_debug_pages'], get_current_screen()->id, 'normal', @@ -126,7 +126,7 @@ class Debug_Admin_Page extends Base_Admin_Page { */ public function get_title() { - return __('Registered Pages', 'wp-ultimo'); + return __('Registered Pages', 'wp-multisite-waas'); } /** @@ -137,7 +137,7 @@ class Debug_Admin_Page extends Base_Admin_Page { */ public function get_menu_title() { - return __('Registered Pages', 'wp-ultimo'); + return __('Registered Pages', 'wp-multisite-waas'); } /** @@ -148,7 +148,7 @@ class Debug_Admin_Page extends Base_Admin_Page { */ public function get_submenu_title() { - return __('Registered Pages', 'wp-ultimo'); + return __('Registered Pages', 'wp-multisite-waas'); } /** diff --git a/inc/api/class-register-endpoint.php b/inc/api/class-register-endpoint.php index 202fcaa..66b54b2 100644 --- a/inc/api/class-register-endpoint.php +++ b/inc/api/class-register-endpoint.php @@ -93,7 +93,7 @@ class Register_Endpoint { * @since 2.0.0 * * @param \WP_REST_Request $request WP Request Object. - * @return array + * @return array|\WP_Error */ public function handle_endpoint($request) { @@ -102,7 +102,7 @@ class Register_Endpoint { $params = json_decode($request->get_body(), true); if (\WP_Ultimo\API::get_instance()->should_log_api_calls()) { - wu_log_add('api-calls', json_encode($params, JSON_PRETTY_PRINT)); + wu_log_add('api-calls', wp_json_encode($params, JSON_PRETTY_PRINT)); } $validation_errors = $this->validate($params); @@ -130,7 +130,7 @@ class Register_Endpoint { $customer->add_note( [ - 'text' => __('Created via REST API', 'wp-ultimo'), + 'text' => __('Created via REST API', 'wp-multisite-waas'), 'author_id' => $customer->get_user_id(), ] ); @@ -168,7 +168,7 @@ class Register_Endpoint { if ($cart->is_valid() && count($cart->get_line_items()) === 0) { return new \WP_Error( 'invalid_cart', - __('Products are required.', 'wp-ultimo'), + __('Products are required.', 'wp-multisite-waas'), array_merge( (array) $cart->done(), [ @@ -215,7 +215,7 @@ class Register_Endpoint { $membership->add_note( [ - 'text' => __('Created via REST API', 'wp-ultimo'), + 'text' => __('Created via REST API', 'wp-multisite-waas'), 'author_id' => $customer->get_user_id(), ] ); @@ -253,7 +253,7 @@ class Register_Endpoint { $payment->add_note( [ - 'text' => __('Created via REST API', 'wp-ultimo'), + 'text' => __('Created via REST API', 'wp-multisite-waas'), 'author_id' => $customer->get_user_id(), ] ); @@ -333,29 +333,29 @@ class Register_Endpoint { $customer_args = [ 'customer_id' => [ - 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'wp-ultimo'), + 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'wp-multisite-waas'), 'type' => 'integer', ], 'customer' => [ - 'description' => __('Customer data. Needs to be present when customer id is not.', 'wp-ultimo'), + 'description' => __('Customer data. Needs to be present when customer id is not.', 'wp-multisite-waas'), 'type' => 'object', 'properties' => [ 'user_id' => [ - 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'wp-ultimo'), + 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'wp-multisite-waas'), 'type' => 'integer', ], 'username' => [ - 'description' => __('The customer username. This is used to create the WordPress user.', 'wp-ultimo'), + 'description' => __('The customer username. This is used to create the WordPress user.', 'wp-multisite-waas'), 'type' => 'string', 'minLength' => 4, ], 'password' => [ - 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'wp-ultimo'), + 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'wp-multisite-waas'), 'type' => 'string', 'minLength' => 6, ], 'email' => [ - 'description' => __('The customer email address. This is used to create the WordPress user.', 'wp-ultimo'), + 'description' => __('The customer email address. This is used to create the WordPress user.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'email', ], @@ -369,42 +369,42 @@ class Register_Endpoint { $membership_args = [ 'membership' => [ - 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-ultimo'), + 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-multisite-waas'), 'type' => 'object', 'properties' => [ 'status' => [ - 'description' => __('The membership status.', 'wp-ultimo'), + 'description' => __('The membership status.', 'wp-multisite-waas'), 'type' => 'string', 'enum' => array_values(Membership_Status::get_allowed_list()), 'default' => Membership_Status::PENDING, ], 'date_expiration' => [ - 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], 'date_trial_end' => [ - 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], 'date_activated' => [ - 'description' => __('The membership activation date. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership activation date. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], 'date_renewed' => [ - 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], 'date_cancellation' => [ - 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], 'date_payment_plan_completed' => [ - 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'wp-ultimo'), + 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'wp-multisite-waas'), 'type' => 'string', 'format' => 'date-time', ], @@ -414,11 +414,11 @@ class Register_Endpoint { $payment_args = [ 'payment' => [ - 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-ultimo'), + 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'wp-multisite-waas'), 'type' => 'object', 'properties' => [ 'status' => [ - 'description' => __('The payment status.', 'wp-ultimo'), + 'description' => __('The payment status.', 'wp-multisite-waas'), 'type' => 'string', 'enum' => array_values(Payment_Status::get_allowed_list()), 'default' => Payment_Status::PENDING, @@ -426,23 +426,23 @@ class Register_Endpoint { ], ], 'payment_method' => [ - 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'wp-ultimo'), + 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'wp-multisite-waas'), 'type' => 'object', 'properties' => [ 'gateway' => [ - 'description' => __('The gateway name. E.g. stripe.', 'wp-ultimo'), + 'description' => __('The gateway name. E.g. stripe.', 'wp-multisite-waas'), 'type' => 'string', ], 'gateway_customer_id' => [ - 'description' => __('The customer ID on the gateway system.', 'wp-ultimo'), + 'description' => __('The customer ID on the gateway system.', 'wp-multisite-waas'), 'type' => 'string', ], 'gateway_subscription_id' => [ - 'description' => __('The subscription ID on the gateway system.', 'wp-ultimo'), + 'description' => __('The subscription ID on the gateway system.', 'wp-multisite-waas'), 'type' => 'string', ], 'gateway_payment_id' => [ - 'description' => __('The payment ID on the gateway system.', 'wp-ultimo'), + 'description' => __('The payment ID on the gateway system.', 'wp-multisite-waas'), 'type' => 'string', ], ], @@ -455,31 +455,31 @@ class Register_Endpoint { 'properties' => [ 'site_url' => [ 'type' => 'string', - 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'wp-ultimo'), + 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'wp-multisite-waas'), 'minLength' => 4, 'required' => true, ], 'site_title' => [ 'type' => 'string', - 'description' => __('The site title. E.g. My Amazing Site', 'wp-ultimo'), + 'description' => __('The site title. E.g. My Amazing Site', 'wp-multisite-waas'), 'minLength' => 4, 'required' => true, ], 'publish' => [ - 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'wp-ultimo'), + 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'wp-multisite-waas'), 'type' => 'boolean', 'default' => false, ], 'template_id' => [ - 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'wp-ultimo'), + 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'wp-multisite-waas'), 'type' => 'integer', ], 'site_meta' => [ - 'description' => __('An associative array of key values to be saved as site_meta.', 'wp-ultimo'), + 'description' => __('An associative array of key values to be saved as site_meta.', 'wp-multisite-waas'), 'type' => 'object', ], 'site_option' => [ - 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'wp-ultimo'), + 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'wp-multisite-waas'), 'type' => 'object', ], ], @@ -488,17 +488,17 @@ class Register_Endpoint { $cart_args = [ 'products' => [ - 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'wp-ultimo'), + 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'wp-multisite-waas'), 'uniqueItems' => true, 'type' => 'array', ], 'duration' => [ - 'description' => __('The membership duration.', 'wp-ultimo'), + 'description' => __('The membership duration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('The membership duration unit.', 'wp-ultimo'), + 'description' => __('The membership duration unit.', 'wp-multisite-waas'), 'type' => 'string', 'default' => 'month', 'enum' => [ @@ -509,22 +509,22 @@ class Register_Endpoint { ], ], 'discount_code' => [ - 'description' => __('A discount code. E.g. PROMO10.', 'wp-ultimo'), + 'description' => __('A discount code. E.g. PROMO10.', 'wp-multisite-waas'), 'type' => 'string', ], 'auto_renew' => [ - 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'wp-ultimo'), + 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'wp-multisite-waas'), 'type' => 'boolean', 'default' => false, 'required' => true, ], 'country' => [ - 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'wp-ultimo'), + 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'wp-multisite-waas'), 'type' => 'string', 'default' => '', ], 'currency' => [ - 'description' => __('The currency to be used.', 'wp-ultimo'), + 'description' => __('The currency to be used.', 'wp-multisite-waas'), 'type' => 'string', ], ]; @@ -550,7 +550,7 @@ class Register_Endpoint { $customer = wu_get_customer($customer_id); if ( ! $customer) { - return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'wp-ultimo')); + return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'wp-multisite-waas')); } } else { $customer = wu_create_customer($p['customer']); diff --git a/inc/api/schemas/broadcast-create.php b/inc/api/schemas/broadcast-create.php index 1f23764..9db9e0f 100644 --- a/inc/api/schemas/broadcast-create.php +++ b/inc/api/schemas/broadcast-create.php @@ -20,12 +20,12 @@ defined('ABSPATH') || exit; */ return [ 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'notice_type' => [ - 'description' => __('Can be info, success, warning or error.', 'wp-ultimo'), + 'description' => __('Can be info, success, warning or error.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -36,57 +36,57 @@ return [ ], ], 'name' => [ - 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-ultimo'), + 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'wp-ultimo'), + 'description' => __('The type being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'status' => [ - 'description' => __('The status being set.', 'wp-ultimo'), + 'description' => __('The status being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'author_id' => [ - 'description' => __('The author ID.', 'wp-ultimo'), + 'description' => __('The author ID.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'wp-ultimo'), + 'description' => __('Post title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'content' => [ - 'description' => __('Post content.', 'wp-ultimo'), + 'description' => __('Post content.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'wp-ultimo'), + 'description' => __('Post excerpt.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'wp-ultimo'), + 'description' => __('Post creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'wp-ultimo'), + 'description' => __('Post last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The slug.', 'wp-ultimo'), + 'description' => __('The slug.', 'wp-multisite-waas'), 'type' => 'mixed', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/broadcast-update.php b/inc/api/schemas/broadcast-update.php index bf2abcf..9a776b2 100644 --- a/inc/api/schemas/broadcast-update.php +++ b/inc/api/schemas/broadcast-update.php @@ -20,12 +20,12 @@ defined('ABSPATH') || exit; */ return [ 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'notice_type' => [ - 'description' => __('Can be info, success, warning or error.', 'wp-ultimo'), + 'description' => __('Can be info, success, warning or error.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -36,57 +36,57 @@ return [ ], ], 'name' => [ - 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-ultimo'), + 'description' => __('This broadcast name, which is used as broadcast title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'wp-ultimo'), + 'description' => __('The type being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'status' => [ - 'description' => __('The status being set.', 'wp-ultimo'), + 'description' => __('The status being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'author_id' => [ - 'description' => __('The author ID.', 'wp-ultimo'), + 'description' => __('The author ID.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'wp-ultimo'), + 'description' => __('Post title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'content' => [ - 'description' => __('Post content.', 'wp-ultimo'), + 'description' => __('Post content.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'wp-ultimo'), + 'description' => __('Post excerpt.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'wp-ultimo'), + 'description' => __('Post creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'wp-ultimo'), + 'description' => __('Post last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The slug.', 'wp-ultimo'), + 'description' => __('The slug.', 'wp-multisite-waas'), 'type' => 'mixed', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/checkout-form-create.php b/inc/api/schemas/checkout-form-create.php index afb13ad..da304ea 100644 --- a/inc/api/schemas/checkout-form-create.php +++ b/inc/api/schemas/checkout-form-create.php @@ -20,47 +20,47 @@ defined('ABSPATH') || exit; */ return [ 'slug' => [ - 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-ultimo'), + 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-ultimo'), + 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'active' => [ - 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => true, ], 'custom_css' => [ - 'description' => __('Custom CSS code for the checkout form.', 'wp-ultimo'), + 'description' => __('Custom CSS code for the checkout form.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'settings' => [ - 'description' => __('The checkout form settings and configurations.', 'wp-ultimo'), + 'description' => __('The checkout form settings and configurations.', 'wp-multisite-waas'), 'type' => 'object', 'required' => false, ], 'allowed_countries' => [ - 'description' => __('The allowed countries that can access this checkout.', 'wp-ultimo'), + 'description' => __('The allowed countries that can access this checkout.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'thank_you_page_id' => [ - 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-ultimo'), + 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'conversion_snippets' => [ - 'description' => __('Snippets to run on thank you page.', 'wp-ultimo'), + 'description' => __('Snippets to run on thank you page.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'template' => [ - 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-ultimo'), + 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -70,22 +70,22 @@ return [ ], ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/checkout-form-update.php b/inc/api/schemas/checkout-form-update.php index 04cf99b..71ac9f6 100644 --- a/inc/api/schemas/checkout-form-update.php +++ b/inc/api/schemas/checkout-form-update.php @@ -20,47 +20,47 @@ defined('ABSPATH') || exit; */ return [ 'slug' => [ - 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-ultimo'), + 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-ultimo'), + 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'custom_css' => [ - 'description' => __('Custom CSS code for the checkout form.', 'wp-ultimo'), + 'description' => __('Custom CSS code for the checkout form.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'settings' => [ - 'description' => __('The checkout form settings and configurations.', 'wp-ultimo'), + 'description' => __('The checkout form settings and configurations.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'allowed_countries' => [ - 'description' => __('The allowed countries that can access this checkout.', 'wp-ultimo'), + 'description' => __('The allowed countries that can access this checkout.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'thank_you_page_id' => [ - 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-ultimo'), + 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'conversion_snippets' => [ - 'description' => __('Snippets to run on thank you page.', 'wp-ultimo'), + 'description' => __('Snippets to run on thank you page.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'template' => [ - 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-ultimo'), + 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -70,22 +70,22 @@ return [ ], ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/customer-create.php b/inc/api/schemas/customer-create.php index 3204a0f..70329c0 100644 --- a/inc/api/schemas/customer-create.php +++ b/inc/api/schemas/customer-create.php @@ -20,17 +20,17 @@ defined('ABSPATH') || exit; */ return [ 'user_id' => [ - 'description' => __('The WordPress user ID attached to this customer.', 'wp-ultimo'), + 'description' => __('The WordPress user ID attached to this customer.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'date_registered' => [ - 'description' => __('Date when the customer was created.', 'wp-ultimo'), + 'description' => __('Date when the customer was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'email_verification' => [ - 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-ultimo'), + 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -40,32 +40,32 @@ return [ ], ], 'last_login' => [ - 'description' => __('Date this customer last logged in.', 'wp-ultimo'), + 'description' => __('Date this customer last logged in.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'has_trialed' => [ - 'description' => __('Whether or not the customer has trialed before.', 'wp-ultimo'), + 'description' => __('Whether or not the customer has trialed before.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'vip' => [ - 'description' => __('If this customer is a VIP customer or not.', 'wp-ultimo'), + 'description' => __('If this customer is a VIP customer or not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'ips' => [ - 'description' => __('List of IP addresses used by this customer.', 'wp-ultimo'), + 'description' => __('List of IP addresses used by this customer.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'extra_information' => [ - 'description' => __('Any extra information related to this customer.', 'wp-ultimo'), + 'description' => __('Any extra information related to this customer.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __("The customer type. Can be 'customer'.", 'wp-ultimo'), + 'description' => __("The customer type. Can be 'customer'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -73,27 +73,27 @@ return [ ], ], 'signup_form' => [ - 'description' => __('The form used to signup.', 'wp-ultimo'), + 'description' => __('The form used to signup.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/customer-update.php b/inc/api/schemas/customer-update.php index 7a31b9c..11b094d 100644 --- a/inc/api/schemas/customer-update.php +++ b/inc/api/schemas/customer-update.php @@ -20,17 +20,17 @@ defined('ABSPATH') || exit; */ return [ 'user_id' => [ - 'description' => __('The WordPress user ID attached to this customer.', 'wp-ultimo'), + 'description' => __('The WordPress user ID attached to this customer.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_registered' => [ - 'description' => __('Date when the customer was created.', 'wp-ultimo'), + 'description' => __('Date when the customer was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'email_verification' => [ - 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-ultimo'), + 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -40,32 +40,32 @@ return [ ], ], 'last_login' => [ - 'description' => __('Date this customer last logged in.', 'wp-ultimo'), + 'description' => __('Date this customer last logged in.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'has_trialed' => [ - 'description' => __('Whether or not the customer has trialed before.', 'wp-ultimo'), + 'description' => __('Whether or not the customer has trialed before.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'vip' => [ - 'description' => __('If this customer is a VIP customer or not.', 'wp-ultimo'), + 'description' => __('If this customer is a VIP customer or not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'ips' => [ - 'description' => __('List of IP addresses used by this customer.', 'wp-ultimo'), + 'description' => __('List of IP addresses used by this customer.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'extra_information' => [ - 'description' => __('Any extra information related to this customer.', 'wp-ultimo'), + 'description' => __('Any extra information related to this customer.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __("The customer type. Can be 'customer'.", 'wp-ultimo'), + 'description' => __("The customer type. Can be 'customer'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,27 +73,27 @@ return [ ], ], 'signup_form' => [ - 'description' => __('The form used to signup.', 'wp-ultimo'), + 'description' => __('The form used to signup.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/discount-code-create.php b/inc/api/schemas/discount-code-create.php index 1dbeccf..3b62159 100644 --- a/inc/api/schemas/discount-code-create.php +++ b/inc/api/schemas/discount-code-create.php @@ -20,37 +20,37 @@ defined('ABSPATH') || exit; */ return [ 'name' => [ - 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-ultimo'), + 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'code' => [ - 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-ultimo'), + 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'description' => [ - 'description' => __('A description for the discount code, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the discount code, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'uses' => [ - 'description' => __('Number of times this discount was applied.', 'wp-ultimo'), + 'description' => __('Number of times this discount was applied.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'max_uses' => [ - 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-ultimo'), + 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'apply_to_renewals' => [ - 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-ultimo'), + 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-ultimo'), + 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -59,12 +59,12 @@ return [ ], ], 'value' => [ - 'description' => __('Amount discounted in cents.', 'wp-ultimo'), + 'description' => __('Amount discounted in cents.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'setup_fee_type' => [ - 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-ultimo'), + 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,52 +73,52 @@ return [ ], ], 'setup_fee_value' => [ - 'description' => __('Amount discounted for setup fees in cents.', 'wp-ultimo'), + 'description' => __('Amount discounted for setup fees in cents.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_start' => [ - 'description' => __('Start date for the coupon code to be considered valid.', 'wp-ultimo'), + 'description' => __('Start date for the coupon code to be considered valid.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Expiration date for the coupon code.', 'wp-ultimo'), + 'description' => __('Expiration date for the coupon code.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this discount code was created.', 'wp-ultimo'), + 'description' => __('Date when this discount code was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'allowed_products' => [ - 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-ultimo'), + 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'limit_products' => [ - 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-ultimo'), + 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/discount-code-update.php b/inc/api/schemas/discount-code-update.php index f7e5874..3d5821b 100644 --- a/inc/api/schemas/discount-code-update.php +++ b/inc/api/schemas/discount-code-update.php @@ -20,37 +20,37 @@ defined('ABSPATH') || exit; */ return [ 'name' => [ - 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-ultimo'), + 'description' => __('Your discount code name, which is used as discount code title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'code' => [ - 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-ultimo'), + 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the discount code, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the discount code, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'uses' => [ - 'description' => __('Number of times this discount was applied.', 'wp-ultimo'), + 'description' => __('Number of times this discount was applied.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'max_uses' => [ - 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-ultimo'), + 'description' => __('The number of times this discount can be used before becoming inactive.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'apply_to_renewals' => [ - 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-ultimo'), + 'description' => __('Wether or not we should apply the discount to membership renewals.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-ultimo'), + 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -59,12 +59,12 @@ return [ ], ], 'value' => [ - 'description' => __('Amount discounted in cents.', 'wp-ultimo'), + 'description' => __('Amount discounted in cents.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'setup_fee_type' => [ - 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-ultimo'), + 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,52 +73,52 @@ return [ ], ], 'setup_fee_value' => [ - 'description' => __('Amount discounted for setup fees in cents.', 'wp-ultimo'), + 'description' => __('Amount discounted for setup fees in cents.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_start' => [ - 'description' => __('Start date for the coupon code to be considered valid.', 'wp-ultimo'), + 'description' => __('Start date for the coupon code to be considered valid.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Expiration date for the coupon code.', 'wp-ultimo'), + 'description' => __('Expiration date for the coupon code.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this discount code was created.', 'wp-ultimo'), + 'description' => __('Date when this discount code was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'allowed_products' => [ - 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-ultimo'), + 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'limit_products' => [ - 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-ultimo'), + 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/domain-create.php b/inc/api/schemas/domain-create.php index a851236..ed60435 100644 --- a/inc/api/schemas/domain-create.php +++ b/inc/api/schemas/domain-create.php @@ -20,32 +20,32 @@ defined('ABSPATH') || exit; */ return [ 'domain' => [ - 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'), + 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'blog_id' => [ - 'description' => __('The blog ID attached to this domain.', 'wp-ultimo'), + 'description' => __('The blog ID attached to this domain.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'active' => [ - 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'primary_domain' => [ - 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-ultimo'), + 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'secure' => [ - 'description' => __('If this domain has some SSL security or not.', 'wp-ultimo'), + 'description' => __('If this domain has some SSL security or not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'stage' => [ - 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-ultimo'), + 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -57,22 +57,22 @@ return [ ], ], 'date_created' => [ - 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-ultimo'), + 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/domain-update.php b/inc/api/schemas/domain-update.php index 37a35a0..9d1f49a 100644 --- a/inc/api/schemas/domain-update.php +++ b/inc/api/schemas/domain-update.php @@ -20,32 +20,32 @@ defined('ABSPATH') || exit; */ return [ 'domain' => [ - 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'), + 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'blog_id' => [ - 'description' => __('The blog ID attached to this domain.', 'wp-ultimo'), + 'description' => __('The blog ID attached to this domain.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'primary_domain' => [ - 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-ultimo'), + 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'secure' => [ - 'description' => __('If this domain has some SSL security or not.', 'wp-ultimo'), + 'description' => __('If this domain has some SSL security or not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'stage' => [ - 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-ultimo'), + 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -57,22 +57,22 @@ return [ ], ], 'date_created' => [ - 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-ultimo'), + 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/email-create.php b/inc/api/schemas/email-create.php index 504ec28..5fd7ddb 100644 --- a/inc/api/schemas/email-create.php +++ b/inc/api/schemas/email-create.php @@ -20,7 +20,7 @@ defined('ABSPATH') || exit; */ return [ 'style' => [ - 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-ultimo'), + 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -29,32 +29,32 @@ return [ ], ], 'schedule' => [ - 'description' => __('Whether or not this is a scheduled email.', 'wp-ultimo'), + 'description' => __('Whether or not this is a scheduled email.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'wp-ultimo'), + 'description' => __('The type being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-ultimo'), + 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'send_hours' => [ - 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-ultimo'), + 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'send_days' => [ - 'description' => __('The amount of days that the email will wait before is sent.', 'wp-ultimo'), + 'description' => __('The amount of days that the email will wait before is sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'schedule_type' => [ - 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-ultimo'), + 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,27 +63,27 @@ return [ ], ], 'name' => [ - 'description' => __('The name being set as title.', 'wp-ultimo'), + 'description' => __('The name being set as title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'custom_sender' => [ - 'description' => __('If has a custom sender.', 'wp-ultimo'), + 'description' => __('If has a custom sender.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'custom_sender_name' => [ - 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-ultimo'), + 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'custom_sender_email' => [ - 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-ultimo'), + 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'target' => [ - 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-ultimo'), + 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -92,52 +92,52 @@ return [ ], ], 'send_copy_to_admin' => [ - 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-ultimo'), + 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'active' => [ - 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'legacy' => [ - 'description' => __('Whether or not this is a legacy email.', 'wp-ultimo'), + 'description' => __('Whether or not this is a legacy email.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'wp-ultimo'), + 'description' => __('Post title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'content' => [ - 'description' => __('Post content.', 'wp-ultimo'), + 'description' => __('Post content.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'wp-ultimo'), + 'description' => __('Post excerpt.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'wp-ultimo'), + 'description' => __('Post creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'wp-ultimo'), + 'description' => __('Post last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/email-update.php b/inc/api/schemas/email-update.php index a604767..56012e8 100644 --- a/inc/api/schemas/email-update.php +++ b/inc/api/schemas/email-update.php @@ -20,7 +20,7 @@ defined('ABSPATH') || exit; */ return [ 'style' => [ - 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-ultimo'), + 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -29,32 +29,32 @@ return [ ], ], 'schedule' => [ - 'description' => __('Whether or not this is a scheduled email.', 'wp-ultimo'), + 'description' => __('Whether or not this is a scheduled email.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'wp-ultimo'), + 'description' => __('The type being set.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-ultimo'), + 'description' => __('The event that needs to be fired for this email to be sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'send_hours' => [ - 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-ultimo'), + 'description' => __('The amount of hours that the email will wait before is sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'send_days' => [ - 'description' => __('The amount of days that the email will wait before is sent.', 'wp-ultimo'), + 'description' => __('The amount of days that the email will wait before is sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'schedule_type' => [ - 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-ultimo'), + 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,27 +63,27 @@ return [ ], ], 'name' => [ - 'description' => __('The name being set as title.', 'wp-ultimo'), + 'description' => __('The name being set as title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'custom_sender' => [ - 'description' => __('If has a custom sender.', 'wp-ultimo'), + 'description' => __('If has a custom sender.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'custom_sender_name' => [ - 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-ultimo'), + 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'custom_sender_email' => [ - 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-ultimo'), + 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'target' => [ - 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-ultimo'), + 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -92,52 +92,52 @@ return [ ], ], 'send_copy_to_admin' => [ - 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-ultimo'), + 'description' => __('Checks if we should send a copy of the email to the admin.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'active' => [ - 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'legacy' => [ - 'description' => __('Whether or not this is a legacy email.', 'wp-ultimo'), + 'description' => __('Whether or not this is a legacy email.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'wp-ultimo'), + 'description' => __('Post title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'content' => [ - 'description' => __('Post content.', 'wp-ultimo'), + 'description' => __('Post content.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'wp-ultimo'), + 'description' => __('Post excerpt.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'wp-ultimo'), + 'description' => __('Post creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'wp-ultimo'), + 'description' => __('Post last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/event-create.php b/inc/api/schemas/event-create.php index 9f82b38..956e24e 100644 --- a/inc/api/schemas/event-create.php +++ b/inc/api/schemas/event-create.php @@ -20,22 +20,22 @@ defined('ABSPATH') || exit; */ return [ 'severity' => [ - 'description' => __('Severity of the problem.', 'wp-ultimo'), + 'description' => __('Severity of the problem.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'date_created' => [ - 'description' => __('Date when the event was created.', 'wp-ultimo'), + 'description' => __('Date when the event was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'payload' => [ - 'description' => __('Payload of the event.', 'wp-ultimo'), + 'description' => __('Payload of the event.', 'wp-multisite-waas'), 'type' => 'object', 'required' => true, ], 'initiator' => [ - 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-ultimo'), + 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -44,32 +44,32 @@ return [ ], ], 'object_type' => [ - 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-ultimo'), + 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'slug' => [ - 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-ultimo'), + 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'object_id' => [ - 'description' => __('The ID of the related objects.', 'wp-ultimo'), + 'description' => __('The ID of the related objects.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/event-update.php b/inc/api/schemas/event-update.php index e8abcf8..82ab3a9 100644 --- a/inc/api/schemas/event-update.php +++ b/inc/api/schemas/event-update.php @@ -20,22 +20,22 @@ defined('ABSPATH') || exit; */ return [ 'severity' => [ - 'description' => __('Severity of the problem.', 'wp-ultimo'), + 'description' => __('Severity of the problem.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when the event was created.', 'wp-ultimo'), + 'description' => __('Date when the event was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'payload' => [ - 'description' => __('Payload of the event.', 'wp-ultimo'), + 'description' => __('Payload of the event.', 'wp-multisite-waas'), 'type' => 'object', 'required' => false, ], 'initiator' => [ - 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-ultimo'), + 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -44,32 +44,32 @@ return [ ], ], 'object_type' => [ - 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-ultimo'), + 'description' => __("The type of object related to this event. It's usually the model name.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-ultimo'), + 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'object_id' => [ - 'description' => __('The ID of the related objects.', 'wp-ultimo'), + 'description' => __('The ID of the related objects.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/membership-create.php b/inc/api/schemas/membership-create.php index c5cbf4d..bbeff3f 100644 --- a/inc/api/schemas/membership-create.php +++ b/inc/api/schemas/membership-create.php @@ -22,37 +22,37 @@ use WP_Ultimo\Database\Memberships\Membership_Status; */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this membership.', 'wp-ultimo'), + 'description' => __('The ID of the customer attached to this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'user_id' => [ - 'description' => __('The user ID attached to this membership.', 'wp-ultimo'), + 'description' => __('The user ID attached to this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'plan_id' => [ - 'description' => __('The plan ID associated with the membership.', 'wp-ultimo'), + 'description' => __('The plan ID associated with the membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'addon_products' => [ - 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-ultimo'), + 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-multisite-waas'), 'type' => 'mixed', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'duration' => [ - 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-ultimo'), + 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-ultimo'), + 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,118 +63,118 @@ return [ ], ], 'amount' => [ - 'description' => __('The product amount.', 'wp-ultimo'), + 'description' => __('The product amount.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'initial_amount' => [ - 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-ultimo'), + 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date of creation of this membership.', 'wp-ultimo'), + 'description' => __('Date of creation of this membership.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_activated' => [ - 'description' => __('Date when this membership was activated.', 'wp-ultimo'), + 'description' => __('Date when this membership was activated.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_trial_end' => [ - 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-ultimo'), + 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_renewed' => [ - 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'), + 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_cancellation' => [ - 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'), + 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Date when the membership will expiry.', 'wp-ultimo'), + 'description' => __('Date when the membership will expiry.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_payment_plan_completed' => [ - 'description' => __('Change of the payment completion for the plan value.', 'wp-ultimo'), + 'description' => __('Change of the payment completion for the plan value.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'auto_renew' => [ - 'description' => __('If this membership should auto-renewal.', 'wp-ultimo'), + 'description' => __('If this membership should auto-renewal.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'times_billed' => [ - 'description' => __('Amount of times this membership got billed.', 'wp-ultimo'), + 'description' => __('Amount of times this membership got billed.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('Maximum times we should charge this membership.', 'wp-ultimo'), + 'description' => __('Maximum times we should charge this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'status' => [ - 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'), + 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => Membership_Status::get_allowed_list(), ], 'gateway_customer_id' => [ - 'description' => __('The ID of the customer on the payment gateway database.', 'wp-ultimo'), + 'description' => __('The ID of the customer on the payment gateway database.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'gateway_subscription_id' => [ - 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-ultimo'), + 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this subscription.', 'wp-ultimo'), + 'description' => __('ID of the gateway being used on this subscription.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'signup_method' => [ - 'description' => __('Signup method used to create this membership.', 'wp-ultimo'), + 'description' => __('Signup method used to create this membership.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'upgraded_from' => [ - 'description' => __('Plan that this membership upgraded from.', 'wp-ultimo'), + 'description' => __('Plan that this membership upgraded from.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date this membership was last modified.', 'wp-ultimo'), + 'description' => __('Date this membership was last modified.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'disabled' => [ - 'description' => __('If this membership is a disabled one.', 'wp-ultimo'), + 'description' => __('If this membership is a disabled one.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'recurring' => [ - 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'), + 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/membership-update.php b/inc/api/schemas/membership-update.php index 2db88fa..534b781 100644 --- a/inc/api/schemas/membership-update.php +++ b/inc/api/schemas/membership-update.php @@ -22,37 +22,37 @@ use WP_Ultimo\Database\Memberships\Membership_Status; */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this membership.', 'wp-ultimo'), + 'description' => __('The ID of the customer attached to this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'user_id' => [ - 'description' => __('The user ID attached to this membership.', 'wp-ultimo'), + 'description' => __('The user ID attached to this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'plan_id' => [ - 'description' => __('The plan ID associated with the membership.', 'wp-ultimo'), + 'description' => __('The plan ID associated with the membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'addon_products' => [ - 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-ultimo'), + 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'wp-multisite-waas'), 'type' => 'mixed', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'duration' => [ - 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-ultimo'), + 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-ultimo'), + 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,118 +63,118 @@ return [ ], ], 'amount' => [ - 'description' => __('The product amount.', 'wp-ultimo'), + 'description' => __('The product amount.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'initial_amount' => [ - 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-ultimo'), + 'description' => __('The initial amount charged for this membership, including the setup fee.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date of creation of this membership.', 'wp-ultimo'), + 'description' => __('Date of creation of this membership.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_activated' => [ - 'description' => __('Date when this membership was activated.', 'wp-ultimo'), + 'description' => __('Date when this membership was activated.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_trial_end' => [ - 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-ultimo'), + 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_renewed' => [ - 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'), + 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_cancellation' => [ - 'description' => __('Date when the membership was cancelled.', 'wp-ultimo'), + 'description' => __('Date when the membership was cancelled.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Date when the membership will expiry.', 'wp-ultimo'), + 'description' => __('Date when the membership will expiry.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_payment_plan_completed' => [ - 'description' => __('Change of the payment completion for the plan value.', 'wp-ultimo'), + 'description' => __('Change of the payment completion for the plan value.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'auto_renew' => [ - 'description' => __('If this membership should auto-renewal.', 'wp-ultimo'), + 'description' => __('If this membership should auto-renewal.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'times_billed' => [ - 'description' => __('Amount of times this membership got billed.', 'wp-ultimo'), + 'description' => __('Amount of times this membership got billed.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('Maximum times we should charge this membership.', 'wp-ultimo'), + 'description' => __('Maximum times we should charge this membership.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'status' => [ - 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'), + 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => Membership_Status::get_allowed_list(), ], 'gateway_customer_id' => [ - 'description' => __('The ID of the customer on the payment gateway database.', 'wp-ultimo'), + 'description' => __('The ID of the customer on the payment gateway database.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'gateway_subscription_id' => [ - 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-ultimo'), + 'description' => __('The ID of the subscription on the payment gateway database.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this subscription.', 'wp-ultimo'), + 'description' => __('ID of the gateway being used on this subscription.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'signup_method' => [ - 'description' => __('Signup method used to create this membership.', 'wp-ultimo'), + 'description' => __('Signup method used to create this membership.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'upgraded_from' => [ - 'description' => __('Plan that this membership upgraded from.', 'wp-ultimo'), + 'description' => __('Plan that this membership upgraded from.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date this membership was last modified.', 'wp-ultimo'), + 'description' => __('Date this membership was last modified.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'disabled' => [ - 'description' => __('If this membership is a disabled one.', 'wp-ultimo'), + 'description' => __('If this membership is a disabled one.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'recurring' => [ - 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'), + 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/payment-create.php b/inc/api/schemas/payment-create.php index 1975ec0..bafa100 100644 --- a/inc/api/schemas/payment-create.php +++ b/inc/api/schemas/payment-create.php @@ -22,103 +22,103 @@ use WP_Ultimo\Database\Payments\Payment_Status; */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this payment.', 'wp-ultimo'), + 'description' => __('The ID of the customer attached to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'membership_id' => [ - 'description' => __('The ID of the membership attached to this payment.', 'wp-ultimo'), + 'description' => __('The ID of the membership attached to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'parent_id' => [ - 'description' => __('The ID from another payment that this payment is related to.', 'wp-ultimo'), + 'description' => __('The ID from another payment that this payment is related to.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'currency' => [ - 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'subtotal' => [ - 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-ultimo'), + 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-multisite-waas'), 'type' => 'number', 'required' => true, ], 'refund_total' => [ - 'description' => __('Total amount refunded.', 'wp-ultimo'), + 'description' => __('Total amount refunded.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'tax_total' => [ - 'description' => __('The amount, in currency, of the tax.', 'wp-ultimo'), + 'description' => __('The amount, in currency, of the tax.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'discount_code' => [ - 'description' => __('Discount code used.', 'wp-ultimo'), + 'description' => __('Discount code used.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'total' => [ - 'description' => __('This takes into account fees, discounts and credits.', 'wp-ultimo'), + 'description' => __('This takes into account fees, discounts and credits.', 'wp-multisite-waas'), 'type' => 'number', 'required' => true, ], 'status' => [ - 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'), + 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => Payment_Status::get_allowed_list(), ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this payment.', 'wp-ultimo'), + 'description' => __('ID of the gateway being used on this payment.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'product_id' => [ - 'description' => __('The ID of the product of this payment.', 'wp-ultimo'), + 'description' => __('The ID of the product of this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'gateway_payment_id' => [ - 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-ultimo'), + 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'discount_total' => [ - 'description' => __('The total value of the discounts applied to this payment.', 'wp-ultimo'), + 'description' => __('The total value of the discounts applied to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'invoice_number' => [ - 'description' => __('Sequential invoice number assigned to this payment.', 'wp-ultimo'), + 'description' => __('Sequential invoice number assigned to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'cancel_membership_on_refund' => [ - 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-ultimo'), + 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/payment-update.php b/inc/api/schemas/payment-update.php index 51aa85c..24a539d 100644 --- a/inc/api/schemas/payment-update.php +++ b/inc/api/schemas/payment-update.php @@ -22,103 +22,103 @@ use WP_Ultimo\Database\Payments\Payment_Status; */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this payment.', 'wp-ultimo'), + 'description' => __('The ID of the customer attached to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'membership_id' => [ - 'description' => __('The ID of the membership attached to this payment.', 'wp-ultimo'), + 'description' => __('The ID of the membership attached to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'parent_id' => [ - 'description' => __('The ID from another payment that this payment is related to.', 'wp-ultimo'), + 'description' => __('The ID from another payment that this payment is related to.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'currency' => [ - 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'subtotal' => [ - 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-ultimo'), + 'description' => __('Value before taxes, discounts, fees and other changes.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'refund_total' => [ - 'description' => __('Total amount refunded.', 'wp-ultimo'), + 'description' => __('Total amount refunded.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'tax_total' => [ - 'description' => __('The amount, in currency, of the tax.', 'wp-ultimo'), + 'description' => __('The amount, in currency, of the tax.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'discount_code' => [ - 'description' => __('Discount code used.', 'wp-ultimo'), + 'description' => __('Discount code used.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'total' => [ - 'description' => __('This takes into account fees, discounts and credits.', 'wp-ultimo'), + 'description' => __('This takes into account fees, discounts and credits.', 'wp-multisite-waas'), 'type' => 'number', 'required' => false, ], 'status' => [ - 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-ultimo'), + 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => Payment_Status::get_allowed_list(), ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this payment.', 'wp-ultimo'), + 'description' => __('ID of the gateway being used on this payment.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'product_id' => [ - 'description' => __('The ID of the product of this payment.', 'wp-ultimo'), + 'description' => __('The ID of the product of this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'gateway_payment_id' => [ - 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-ultimo'), + 'description' => __('The ID of the payment on the gateway, if it exists.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'discount_total' => [ - 'description' => __('The total value of the discounts applied to this payment.', 'wp-ultimo'), + 'description' => __('The total value of the discounts applied to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'invoice_number' => [ - 'description' => __('Sequential invoice number assigned to this payment.', 'wp-ultimo'), + 'description' => __('Sequential invoice number assigned to this payment.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'cancel_membership_on_refund' => [ - 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-ultimo'), + 'description' => __('Holds if we need to cancel the membership on refund.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/product-create.php b/inc/api/schemas/product-create.php index b0904e2..4a5c75b 100644 --- a/inc/api/schemas/product-create.php +++ b/inc/api/schemas/product-create.php @@ -20,32 +20,32 @@ defined('ABSPATH') || exit; */ return [ 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the product.', 'wp-ultimo'), + 'description' => __('The ID of the feature image of the product.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'slug' => [ - 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-ultimo'), + 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('Your product name, which is used as product title as well.', 'wp-ultimo'), + 'description' => __('Your product name, which is used as product title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the product, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the product, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'pricing_type' => [ - 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-ultimo'), + 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -55,12 +55,12 @@ return [ ], ], 'trial_duration' => [ - 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-ultimo'), + 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'trial_duration_unit' => [ - 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-ultimo'), + 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -71,12 +71,12 @@ return [ ], ], 'duration' => [ - 'description' => __('Time interval between charges.', 'wp-ultimo'), + 'description' => __('Time interval between charges.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('Time interval unit between charges.', 'wp-ultimo'), + 'description' => __('Time interval unit between charges.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -87,22 +87,22 @@ return [ ], ], 'amount' => [ - 'description' => __('The value of this product. E.g. 19.99.', 'wp-ultimo'), + 'description' => __('The value of this product. E.g. 19.99.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'setup_fee' => [ - 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-ultimo'), + 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-ultimo'), + 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -112,87 +112,87 @@ return [ ], ], 'parent_id' => [ - 'description' => __('The ID from another Product that this product is related to.', 'wp-ultimo'), + 'description' => __('The ID from another Product that this product is related to.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'recurring' => [ - 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'), + 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('The number of times we should charge this product.', 'wp-ultimo'), + 'description' => __('The number of times we should charge this product.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'wp-ultimo'), + 'description' => __('Date when this was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date when this was last modified.', 'wp-ultimo'), + 'description' => __('Date when this was last modified.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'taxable' => [ - 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-ultimo'), + 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'tax_category' => [ - 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-ultimo'), + 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'contact_us_label' => [ - 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-ultimo'), + 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'contact_us_link' => [ - 'description' => __('The url where the contact us button will lead to.', 'wp-ultimo'), + 'description' => __('The url where the contact us button will lead to.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'feature_list' => [ - 'description' => __('A list (array) of features of the product.', 'wp-ultimo'), + 'description' => __('A list (array) of features of the product.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'customer_role' => [ - 'description' => __('The customer role of this product.', 'wp-ultimo'), + 'description' => __('The customer role of this product.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'available_addons' => [ - 'description' => __('The available addons of this product.', 'wp-ultimo'), + 'description' => __('The available addons of this product.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'group' => [ - 'description' => __('The group of this product, if has any.', 'wp-ultimo'), + 'description' => __('The group of this product, if has any.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'legacy_options' => [ - 'description' => __('If the legacy options are enabled.', 'wp-ultimo'), + 'description' => __('If the legacy options are enabled.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'featured_plan' => [ - 'description' => __('Feature list for pricing tables.', 'wp-ultimo'), + 'description' => __('Feature list for pricing tables.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], diff --git a/inc/api/schemas/product-update.php b/inc/api/schemas/product-update.php index 46a175f..fe2ceb1 100644 --- a/inc/api/schemas/product-update.php +++ b/inc/api/schemas/product-update.php @@ -20,32 +20,32 @@ defined('ABSPATH') || exit; */ return [ 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the product.', 'wp-ultimo'), + 'description' => __('The ID of the feature image of the product.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'slug' => [ - 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-ultimo'), + 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('Your product name, which is used as product title as well.', 'wp-ultimo'), + 'description' => __('Your product name, which is used as product title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the product, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the product, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-ultimo'), + 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'pricing_type' => [ - 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-ultimo'), + 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -55,12 +55,12 @@ return [ ], ], 'trial_duration' => [ - 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-ultimo'), + 'description' => __('The duration of the trial period of this product, if the product has one.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'trial_duration_unit' => [ - 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-ultimo'), + 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -71,12 +71,12 @@ return [ ], ], 'duration' => [ - 'description' => __('Time interval between charges.', 'wp-ultimo'), + 'description' => __('Time interval between charges.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('Time interval unit between charges.', 'wp-ultimo'), + 'description' => __('Time interval unit between charges.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -87,22 +87,22 @@ return [ ], ], 'amount' => [ - 'description' => __('The value of this product. E.g. 19.99.', 'wp-ultimo'), + 'description' => __('The value of this product. E.g. 19.99.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'setup_fee' => [ - 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-ultimo'), + 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-ultimo'), + 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -112,87 +112,87 @@ return [ ], ], 'parent_id' => [ - 'description' => __('The ID from another Product that this product is related to.', 'wp-ultimo'), + 'description' => __('The ID from another Product that this product is related to.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'recurring' => [ - 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-ultimo'), + 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('The number of times we should charge this product.', 'wp-ultimo'), + 'description' => __('The number of times we should charge this product.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'wp-ultimo'), + 'description' => __('Date when this was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date when this was last modified.', 'wp-ultimo'), + 'description' => __('Date when this was last modified.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'taxable' => [ - 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-ultimo'), + 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'tax_category' => [ - 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-ultimo'), + 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'contact_us_label' => [ - 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-ultimo'), + 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'contact_us_link' => [ - 'description' => __('The url where the contact us button will lead to.', 'wp-ultimo'), + 'description' => __('The url where the contact us button will lead to.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'feature_list' => [ - 'description' => __('A list (array) of features of the product.', 'wp-ultimo'), + 'description' => __('A list (array) of features of the product.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'customer_role' => [ - 'description' => __('The customer role of this product.', 'wp-ultimo'), + 'description' => __('The customer role of this product.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'available_addons' => [ - 'description' => __('The available addons of this product.', 'wp-ultimo'), + 'description' => __('The available addons of this product.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'group' => [ - 'description' => __('The group of this product, if has any.', 'wp-ultimo'), + 'description' => __('The group of this product, if has any.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'legacy_options' => [ - 'description' => __('If the legacy options are enabled.', 'wp-ultimo'), + 'description' => __('If the legacy options are enabled.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'featured_plan' => [ - 'description' => __('Feature list for pricing tables.', 'wp-ultimo'), + 'description' => __('Feature list for pricing tables.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], diff --git a/inc/api/schemas/site-create.php b/inc/api/schemas/site-create.php index fdfd14e..012390f 100644 --- a/inc/api/schemas/site-create.php +++ b/inc/api/schemas/site-create.php @@ -20,107 +20,107 @@ defined('ABSPATH') || exit; */ return [ 'categories' => [ - 'description' => __('The categories this site belongs to.', 'wp-ultimo'), + 'description' => __('The categories this site belongs to.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the site.', 'wp-ultimo'), + 'description' => __('The ID of the feature image of the site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'site_id' => [ - 'description' => __('The network ID for this site.', 'wp-ultimo'), + 'description' => __('The network ID for this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'title' => [ - 'description' => __('The site title.', 'wp-ultimo'), + 'description' => __('The site title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('The site name.', 'wp-ultimo'), + 'description' => __('The site name.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'description' => [ - 'description' => __('A description for the site, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the site, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'domain' => [ - 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'), + 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'path' => [ - 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-ultimo'), + 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'registered' => [ - 'description' => __('Date when the site was registered.', 'wp-ultimo'), + 'description' => __('Date when the site was registered.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'last_updated' => [ - 'description' => __('Date of the last update on this site.', 'wp-ultimo'), + 'description' => __('Date of the last update on this site.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Holds the ID of the customer that owns this site.', 'wp-ultimo'), + 'description' => __('Holds the ID of the customer that owns this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'public' => [ - 'description' => __('Set true if this site is a public one, false if not.', 'wp-ultimo'), + 'description' => __('Set true if this site is a public one, false if not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'archived' => [ - 'description' => __('Is this an archived site.', 'wp-ultimo'), + 'description' => __('Is this an archived site.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'mature' => [ - 'description' => __('Is this a site with mature content.', 'wp-ultimo'), + 'description' => __('Is this a site with mature content.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'spam' => [ - 'description' => __('Is this an spam site.', 'wp-ultimo'), + 'description' => __('Is this an spam site.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'deleted' => [ - 'description' => __('Is this site deleted.', 'wp-ultimo'), + 'description' => __('Is this site deleted.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'lang_id' => [ - 'description' => __('The ID of the language being used on this site.', 'wp-ultimo'), + 'description' => __('The ID of the language being used on this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'customer_id' => [ - 'description' => __('The ID of the customer that owns this site.', 'wp-ultimo'), + 'description' => __('The ID of the customer that owns this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'membership_id' => [ - 'description' => __('The ID of the membership associated with this site, if any.', 'wp-ultimo'), + 'description' => __('The ID of the membership associated with this site, if any.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => true, ], 'template_id' => [ - 'description' => __('The ID of the templated used to create this site.', 'wp-ultimo'), + 'description' => __('The ID of the templated used to create this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'type' => [ - 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-ultimo'), + 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -133,32 +133,32 @@ return [ ], ], 'signup_options' => [ - 'description' => __('Keeps signup options for the site.', 'wp-ultimo'), + 'description' => __('Keeps signup options for the site.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'signup_meta' => [ - 'description' => __('Keeps signup meta for the site.', 'wp-ultimo'), + 'description' => __('Keeps signup meta for the site.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/site-update.php b/inc/api/schemas/site-update.php index 643306f..826a736 100644 --- a/inc/api/schemas/site-update.php +++ b/inc/api/schemas/site-update.php @@ -20,107 +20,107 @@ defined('ABSPATH') || exit; */ return [ 'categories' => [ - 'description' => __('The categories this site belongs to.', 'wp-ultimo'), + 'description' => __('The categories this site belongs to.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the site.', 'wp-ultimo'), + 'description' => __('The ID of the feature image of the site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'site_id' => [ - 'description' => __('The network ID for this site.', 'wp-ultimo'), + 'description' => __('The network ID for this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('The site title.', 'wp-ultimo'), + 'description' => __('The site title.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('The site name.', 'wp-ultimo'), + 'description' => __('The site name.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the site, usually a short text.', 'wp-ultimo'), + 'description' => __('A description for the site, usually a short text.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'domain' => [ - 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-ultimo'), + 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'path' => [ - 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-ultimo'), + 'description' => __('Path of the site. Used when in sub-directory mode.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'registered' => [ - 'description' => __('Date when the site was registered.', 'wp-ultimo'), + 'description' => __('Date when the site was registered.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'last_updated' => [ - 'description' => __('Date of the last update on this site.', 'wp-ultimo'), + 'description' => __('Date of the last update on this site.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Holds the ID of the customer that owns this site.', 'wp-ultimo'), + 'description' => __('Holds the ID of the customer that owns this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'public' => [ - 'description' => __('Set true if this site is a public one, false if not.', 'wp-ultimo'), + 'description' => __('Set true if this site is a public one, false if not.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'archived' => [ - 'description' => __('Is this an archived site.', 'wp-ultimo'), + 'description' => __('Is this an archived site.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'mature' => [ - 'description' => __('Is this a site with mature content.', 'wp-ultimo'), + 'description' => __('Is this a site with mature content.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'spam' => [ - 'description' => __('Is this an spam site.', 'wp-ultimo'), + 'description' => __('Is this an spam site.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'deleted' => [ - 'description' => __('Is this site deleted.', 'wp-ultimo'), + 'description' => __('Is this site deleted.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'lang_id' => [ - 'description' => __('The ID of the language being used on this site.', 'wp-ultimo'), + 'description' => __('The ID of the language being used on this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'customer_id' => [ - 'description' => __('The ID of the customer that owns this site.', 'wp-ultimo'), + 'description' => __('The ID of the customer that owns this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'membership_id' => [ - 'description' => __('The ID of the membership associated with this site, if any.', 'wp-ultimo'), + 'description' => __('The ID of the membership associated with this site, if any.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'template_id' => [ - 'description' => __('The ID of the templated used to create this site.', 'wp-ultimo'), + 'description' => __('The ID of the templated used to create this site.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'type' => [ - 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-ultimo'), + 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -133,32 +133,32 @@ return [ ], ], 'signup_options' => [ - 'description' => __('Keeps signup options for the site.', 'wp-ultimo'), + 'description' => __('Keeps signup options for the site.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'signup_meta' => [ - 'description' => __('Keeps signup meta for the site.', 'wp-ultimo'), + 'description' => __('Keeps signup meta for the site.', 'wp-multisite-waas'), 'type' => 'array', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'wp-ultimo'), + 'description' => __('Model creation date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/webhook-create.php b/inc/api/schemas/webhook-create.php index 7a6160b..e507c76 100644 --- a/inc/api/schemas/webhook-create.php +++ b/inc/api/schemas/webhook-create.php @@ -20,62 +20,62 @@ defined('ABSPATH') || exit; */ return [ 'name' => [ - 'description' => __('Webhook name, which is used as product title as well.', 'wp-ultimo'), + 'description' => __('Webhook name, which is used as product title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'webhook_url' => [ - 'description' => __('The URL used for the webhook call.', 'wp-ultimo'), + 'description' => __('The URL used for the webhook call.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'event' => [ - 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-ultimo'), + 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'event_count' => [ - 'description' => __('How many times this webhook was sent.', 'wp-ultimo'), + 'description' => __('How many times this webhook was sent.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'hidden' => [ - 'description' => __('Is this webhook hidden.', 'wp-ultimo'), + 'description' => __('Is this webhook hidden.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'wp-ultimo'), + 'description' => __('Date when this was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'integration' => [ - 'description' => __('The integration that created this webhook.', 'wp-ultimo'), + 'description' => __('The integration that created this webhook.', 'wp-multisite-waas'), 'type' => 'string', 'required' => true, ], 'date_last_failed' => [ - 'description' => __('The date when this webhook last fail.', 'wp-ultimo'), + 'description' => __('The date when this webhook last fail.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/webhook-update.php b/inc/api/schemas/webhook-update.php index 6ca7575..7c6effb 100644 --- a/inc/api/schemas/webhook-update.php +++ b/inc/api/schemas/webhook-update.php @@ -20,62 +20,62 @@ defined('ABSPATH') || exit; */ return [ 'name' => [ - 'description' => __('Webhook name, which is used as product title as well.', 'wp-ultimo'), + 'description' => __('Webhook name, which is used as product title as well.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'webhook_url' => [ - 'description' => __('The URL used for the webhook call.', 'wp-ultimo'), + 'description' => __('The URL used for the webhook call.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-ultimo'), + 'description' => __('The event that needs to be fired for this webhook to be sent.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'event_count' => [ - 'description' => __('How many times this webhook was sent.', 'wp-ultimo'), + 'description' => __('How many times this webhook was sent.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-ultimo'), + 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'hidden' => [ - 'description' => __('Is this webhook hidden.', 'wp-ultimo'), + 'description' => __('Is this webhook hidden.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'wp-ultimo'), + 'description' => __('Date when this was created.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'integration' => [ - 'description' => __('The integration that created this webhook.', 'wp-ultimo'), + 'description' => __('The integration that created this webhook.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_last_failed' => [ - 'description' => __('The date when this webhook last fail.', 'wp-ultimo'), + 'description' => __('The date when this webhook last fail.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'wp-ultimo'), + 'description' => __('Model last modification date.', 'wp-multisite-waas'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-ultimo'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'wp-multisite-waas'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-ultimo'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'wp-multisite-waas'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/trait-rest-api.php b/inc/api/trait-rest-api.php index a9e4ad2..aa82c7a 100644 --- a/inc/api/trait-rest-api.php +++ b/inc/api/trait-rest-api.php @@ -166,7 +166,7 @@ trait Rest_Api { $item = $this->model_class::get_by_id($request['id']); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]); } return rest_ensure_response($item); @@ -218,7 +218,7 @@ trait Rest_Api { } if ( ! $saved) { - return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'wp-ultimo'), ['status' => 400]); + return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'wp-multisite-waas'), ['status' => 400]); } return rest_ensure_response($item); @@ -239,7 +239,7 @@ trait Rest_Api { $item = $this->model_class::get_by_id($id); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]); } $params = array_filter( @@ -258,7 +258,7 @@ trait Rest_Api { } else { $error_message = sprintf( /* translators: 1. Object class name; 2. Set method name */ - __('The %1$s object does not have a %2$s method', 'wp-ultimo'), + __('The %1$s object does not have a %2$s method', 'wp-multisite-waas'), get_class($item), $set_method ); @@ -278,7 +278,7 @@ trait Rest_Api { } if ( ! $saved) { - return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'wp-ultimo')); + return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'wp-multisite-waas')); } return rest_ensure_response($item); @@ -297,7 +297,7 @@ trait Rest_Api { $item = $this->model_class::get_by_id($request['id']); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-ultimo'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'wp-multisite-waas'), ['status' => 404]); } $result = $item->delete(); diff --git a/inc/api/trait-wp-cli.php b/inc/api/trait-wp-cli.php index 678769f..fe73d3a 100644 --- a/inc/api/trait-wp-cli.php +++ b/inc/api/trait-wp-cli.php @@ -116,7 +116,7 @@ trait WP_CLI { $sub_command_data['synopsis'][] = [ 'name' => 'id', 'type' => 'positional', - 'description' => __('The id for the resource.', 'wp-ultimo'), + 'description' => __('The id for the resource.', 'wp-multisite-waas'), 'optional' => false, ]; } @@ -131,7 +131,7 @@ trait WP_CLI { $field = [ 'name' => $name, - 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'wp-ultimo')), + 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'wp-multisite-waas')), 'optional' => ! wu_get_isset($explanation, 'required'), 'type' => 'assoc', ]; @@ -150,7 +150,7 @@ trait WP_CLI { $sub_command_data['synopsis'][] = [ 'name' => 'porcelain', 'type' => 'flag', - 'description' => __('Output just the id when the operation is successful.', 'wp-ultimo'), + 'description' => __('Output just the id when the operation is successful.', 'wp-multisite-waas'), 'optional' => true, ]; } @@ -159,7 +159,7 @@ trait WP_CLI { $sub_command_data['synopsis'][] = [ 'name' => 'format', 'type' => 'assoc', - 'description' => __('Render response in a particular format.', 'wp-ultimo'), + 'description' => __('Render response in a particular format.', 'wp-multisite-waas'), 'optional' => true, 'default' => 'table', 'options' => [ @@ -175,7 +175,7 @@ trait WP_CLI { $sub_command_data['synopsis'][] = [ 'name' => 'fields', 'type' => 'assoc', - 'description' => __('Limit response to specific fields. Defaults to id, name', 'wp-ultimo'), + 'description' => __('Limit response to specific fields. Defaults to id, name', 'wp-multisite-waas'), 'optional' => true, 'options' => array_merge(['id'], $params), ]; @@ -335,7 +335,7 @@ trait WP_CLI { } else { $error_message = sprintf( /* translators: 1. Object class name; 2. Set method name */ - __('The %1$s object does not have a %2$s method', 'wp-ultimo'), + __('The %1$s object does not have a %2$s method', 'wp-multisite-waas'), get_class($item), $set_method ); diff --git a/inc/builders/block-editor/class-block-editor-widget-manager.php b/inc/builders/block-editor/class-block-editor-widget-manager.php index d0e7ed0..1f13ced 100644 --- a/inc/builders/block-editor/class-block-editor-widget-manager.php +++ b/inc/builders/block-editor/class-block-editor-widget-manager.php @@ -64,7 +64,7 @@ class Block_Editor_Widget_Manager { */ public function is_block_preview($is_preview) { - if (defined('REST_REQUEST') && true === REST_REQUEST && 'edit' === filter_input(INPUT_GET, 'context', FILTER_SANITIZE_STRING)) { + if (defined('REST_REQUEST') && true === REST_REQUEST && ! empty($_GET['context']) && 'edit' === $_GET['context']) { // phpcs:ignore WordPress.Security.NonceVerification $is_preview = true; } diff --git a/inc/checkout/class-cart.php b/inc/checkout/class-cart.php index 6620143..c34c13d 100644 --- a/inc/checkout/class-cart.php +++ b/inc/checkout/class-cart.php @@ -502,7 +502,7 @@ class Cart implements \JsonSerializable { return $this->cart_descriptor; } - $desc = wu_get_setting('company_name', __('Subscription', 'wp-ultimo')); + $desc = wu_get_setting('company_name', get_network_option(null, 'site_name')); $products = []; @@ -556,7 +556,7 @@ class Cart implements \JsonSerializable { $payment = wu_get_payment($payment_id); if ( ! $payment) { - $this->errors->add('payment_not_found', __('The payment in question was not found.', 'wp-ultimo')); + $this->errors->add('payment_not_found', __('The payment in question was not found.', 'wp-multisite-waas')); return true; } @@ -583,7 +583,7 @@ class Cart implements \JsonSerializable { * a payment can pay it. Let's check for that. */ if (empty($this->customer) || $this->customer->get_id() !== $payment->get_customer_id()) { - $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'wp-ultimo')); + $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'wp-multisite-waas')); return true; } @@ -594,7 +594,7 @@ class Cart implements \JsonSerializable { $membership = $payment->get_membership(); if ( ! $membership) { - $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-ultimo')); + $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-multisite-waas')); return true; } @@ -683,7 +683,7 @@ class Cart implements \JsonSerializable { ); if ( ! in_array($payment->get_status(), $allowed_status, true)) { - $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'wp-ultimo')); + $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'wp-multisite-waas')); return true; } @@ -742,7 +742,7 @@ class Cart implements \JsonSerializable { $membership = wu_get_membership($membership_id); if ( ! $membership) { - $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-ultimo')); + $this->errors->add('membership_not_found', __('The membership in question was not found.', 'wp-multisite-waas')); return true; } @@ -762,7 +762,7 @@ class Cart implements \JsonSerializable { * Only the customer that owns a membership can change it. */ if (empty($this->customer) || $this->customer->get_id() !== $membership->get_customer_id()) { - $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'wp-ultimo')); + $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'wp-multisite-waas')); return true; } @@ -794,7 +794,7 @@ class Cart implements \JsonSerializable { return false; } - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas')); return true; } @@ -816,7 +816,7 @@ class Cart implements \JsonSerializable { */ if (empty($this->plan_id)) { if (count($this->products) === 0) { - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas')); return true; } @@ -938,7 +938,7 @@ class Cart implements \JsonSerializable { $this->products = []; $this->line_items = []; - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-ultimo')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'wp-multisite-waas')); return true; } @@ -1000,13 +1000,13 @@ class Cart implements \JsonSerializable { $description = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('%2$s', '%1$s %2$s', $membership->get_duration(), 'wp-ultimo'), // phpcs:ignore + _n('%2$s', '%1$s %2$s', $membership->get_duration(), 'wp-multisite-waas'), // phpcs:ignore $membership->get_duration(), wu_get_translatable_string(($membership->get_duration() <= 1 ? $membership->get_duration_unit() : $membership->get_duration_unit() . 's')) ); // Translators: Placeholder receives the recurring period description - $message = sprintf(__('You already have an active %s agreement.', 'wp-ultimo'), $description); + $message = sprintf(__('You already have an active %s agreement.', 'wp-multisite-waas'), $description); $this->errors->add('no_changes', $message); @@ -1027,8 +1027,8 @@ class Cart implements \JsonSerializable { 'wu_checkout_credit_line_item_params', [ 'type' => 'credit', - 'title' => __('Scheduled Swap Credit', 'wp-ultimo'), - 'description' => __('Swap scheduled to next billing cycle.', 'wp-ultimo'), + 'title' => __('Scheduled Swap Credit', 'wp-multisite-waas'), + 'description' => __('Swap scheduled to next billing cycle.', 'wp-multisite-waas'), 'discountable' => false, 'taxable' => false, 'quantity' => 1, @@ -1222,8 +1222,8 @@ class Cart implements \JsonSerializable { 'wu_checkout_credit_line_item_params', [ 'type' => 'credit', - 'title' => __('Credit', 'wp-ultimo'), - 'description' => __('Prorated amount based on the previous membership.', 'wp-ultimo'), + 'title' => __('Credit', 'wp-multisite-waas'), + 'description' => __('Prorated amount based on the previous membership.', 'wp-multisite-waas'), 'discountable' => false, 'taxable' => false, 'quantity' => 1, @@ -1259,7 +1259,7 @@ class Cart implements \JsonSerializable { if (empty($discount_code)) { // translators: %s is the coupon code being used, all-caps. e.g. PROMO10OFF - $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'wp-ultimo'), $code)); + $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'wp-multisite-waas'), $code)); return false; } @@ -1340,7 +1340,7 @@ class Cart implements \JsonSerializable { if ($line_item_interval !== $interval) { // translators: two intervals - $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'wp-ultimo'), $line_item_interval, $interval)); + $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'wp-multisite-waas'), $line_item_interval, $interval)); return false; } @@ -1503,7 +1503,7 @@ class Cart implements \JsonSerializable { $product = is_numeric($product_id_or_slug) ? wu_get_product($product_id_or_slug) : wu_get_product_by_slug($product_id_or_slug); if ( ! $product) { - $message = __('The product you are trying to add does not exist.', 'wp-ultimo'); + $message = __('The product you are trying to add does not exist.', 'wp-multisite-waas'); $this->errors->add('missing-product', $message); @@ -1515,7 +1515,7 @@ class Cart implements \JsonSerializable { $product = $product->get_as_variation($this->duration, $this->duration_unit); if ( ! $product) { - $message = __('The product you are trying to add does not exist for the selected duration.', 'wp-ultimo'); + $message = __('The product you are trying to add does not exist for the selected duration.', 'wp-multisite-waas'); $this->errors->add('missing-price-variations', $message); @@ -1529,7 +1529,7 @@ class Cart implements \JsonSerializable { * another one. Bail. */ if ( ! empty($this->plan_id)) { - $message = __('Theres already a plan in this membership.', 'wp-ultimo'); + $message = __('Theres already a plan in this membership.', 'wp-multisite-waas'); $this->errors->add('plan-already-added', $message); @@ -1591,7 +1591,7 @@ class Cart implements \JsonSerializable { * price variation. We need to add an error. */ // translators: respectively, product name, duration, and duration unit. - $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'wp-ultimo'), $product->get_name(), $this->duration, $this->duration_unit); + $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'wp-multisite-waas'), $product->get_name(), $this->duration, $this->duration_unit); $this->errors->add('missing-price-variations', $message); @@ -1655,7 +1655,7 @@ class Cart implements \JsonSerializable { } // translators: placeholder is the product name. - $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'wp-ultimo') : __('Signup Credit for %s', 'wp-ultimo'); + $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'wp-multisite-waas') : __('Signup Credit for %s', 'wp-multisite-waas'); $description = sprintf($description, $product->get_name()); @@ -1830,7 +1830,7 @@ class Cart implements \JsonSerializable { $where_clauses[] = ['type', $type]; // Cast to array recursively - $line_items = json_decode(json_encode($this->line_items), true); + $line_items = json_decode(wp_json_encode($this->line_items), true); $line_items = Array_Search::find( $line_items, @@ -2353,7 +2353,7 @@ class Cart implements \JsonSerializable { */ public function jsonSerialize(): string { - return json_encode($this->done()); + return wp_json_encode($this->done()); } /** diff --git a/inc/checkout/class-checkout-pages.php b/inc/checkout/class-checkout-pages.php index 7e159a2..a942304 100644 --- a/inc/checkout/class-checkout-pages.php +++ b/inc/checkout/class-checkout-pages.php @@ -108,8 +108,8 @@ class Checkout_Pages {
name="_wu_force_elements_loading" /> @@ -190,7 +190,7 @@ class Checkout_Pages { public function get_error_message($error_code, $username = '') { $messages = [ - 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'wp-ultimo')), + 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'wp-multisite-waas')), // From here we are using the same messages as WordPress core. 'expired' => __('Your session has expired. Please log in to continue where you left off.'), 'confirm' => sprintf(__('Check your email for the confirmation link, then visit the login page.'), wp_login_url()), @@ -217,7 +217,7 @@ class Checkout_Pages { */ $messages = apply_filters('wu_checkout_pages_error_messages', $messages); - return wu_get_isset($messages, $error_code, __('Something went wrong', 'wp-ultimo')); + return wu_get_isset($messages, $error_code, __('Something went wrong', 'wp-multisite-waas')); } /** @@ -243,7 +243,7 @@ class Checkout_Pages { wp_login_url() ); - wp_redirect($url); + wp_safe_redirect($url); exit; } @@ -263,7 +263,7 @@ class Checkout_Pages { public function maybe_redirect_to_confirm_screen(): void { if (wu_request('redirect_to')) { - wp_redirect(wu_request('redirect_to')); + wp_safe_redirect(wu_request('redirect_to')); exit; } @@ -395,7 +395,7 @@ class Checkout_Pages { return; } - wp_redirect($redirect_to); + wp_safe_redirect($redirect_to); exit; } @@ -415,9 +415,9 @@ class Checkout_Pages { if ($payment->get_total() == 0 && $customer->get_email_verification() === 'pending') { $html = '
%s
'; - $message = __('Your email address is not yet verified. Your site will only be activated after your email address is verified. Check your inbox and verify your email address.', 'wp-ultimo'); + $message = __('Your email address is not yet verified. Your site will only be activated after your email address is verified. Check your inbox and verify your email address.', 'wp-multisite-waas'); - $message .= sprintf('
%s', __('Resend verification email →', 'wp-ultimo')); + $message .= sprintf('
%s', __('Resend verification email →', 'wp-multisite-waas')); printf($html, $message); } @@ -472,7 +472,7 @@ class Checkout_Pages { die; } else { - wp_redirect($new_login_url); + wp_safe_redirect($new_login_url); exit; } @@ -489,7 +489,7 @@ class Checkout_Pages { $registration_url = $this->get_page_url('register'); if ($registration_url) { - wp_redirect($registration_url); + wp_safe_redirect($registration_url); exit; } @@ -618,11 +618,11 @@ class Checkout_Pages { } $labels = [ - 'register' => __('WP Multisite WaaS - Register Page', 'wp-ultimo'), - 'login' => __('WP Multisite WaaS - Login Page', 'wp-ultimo'), - 'block_frontend' => __('WP Multisite WaaS - Site Blocked Page', 'wp-ultimo'), - 'update' => __('WP Multisite WaaS - Membership Update Page', 'wp-ultimo'), - 'new_site' => __('WP Multisite WaaS - New Site Page', 'wp-ultimo'), + 'register' => __('WP Multisite WaaS - Register Page', 'wp-multisite-waas'), + 'login' => __('WP Multisite WaaS - Login Page', 'wp-multisite-waas'), + 'block_frontend' => __('WP Multisite WaaS - Site Blocked Page', 'wp-multisite-waas'), + 'update' => __('WP Multisite WaaS - Membership Update Page', 'wp-multisite-waas'), + 'new_site' => __('WP Multisite WaaS - New Site Page', 'wp-multisite-waas'), ]; $pages = array_map('absint', $this->get_signup_pages()); diff --git a/inc/checkout/class-checkout.php b/inc/checkout/class-checkout.php index 1276e64..987dc6d 100644 --- a/inc/checkout/class-checkout.php +++ b/inc/checkout/class-checkout.php @@ -645,7 +645,7 @@ class Checkout { if ($cart->should_collect_payment() === false) { $gateway = wu_get_gateway('free'); } elseif ( ! $gateway || $gateway->get_id() === 'free') { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas')); return false; } @@ -655,7 +655,7 @@ class Checkout { * we need to bail. */ if ( ! $gateway) { - return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo')); + return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas')); } $this->gateway_id = $gateway->get_id(); @@ -962,7 +962,7 @@ class Checkout { 'email_verification' => 'verified', ]; } elseif (isset($customer_data['email']) && get_user_by('email', $customer_data['email'])) { - return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'wp-ultimo')); + return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'wp-multisite-waas')); } /* @@ -1020,7 +1020,7 @@ class Checkout { * wrong with the customer update, we return a general error. */ if ( ! $address_saved) { - return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'wp-ultimo')); + return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'wp-multisite-waas')); } /* @@ -1549,9 +1549,9 @@ class Checkout { * Localized strings. */ $i18n = [ - 'loading' => __('Loading...', 'wp-ultimo'), - 'added_to_order' => __('The item was added!', 'wp-ultimo'), - 'weak_password' => __('The Password entered is too weak.', 'wp-ultimo'), + 'loading' => __('Loading...', 'wp-multisite-waas'), + 'added_to_order' => __('The item was added!', 'wp-multisite-waas'), + 'weak_password' => __('The Password entered is too weak.', 'wp-multisite-waas'), ]; /* @@ -1847,11 +1847,11 @@ class Checkout { // Add some hidden or compound fields ids $validation_aliases = array_merge( [ - 'password_conf' => __('Password confirmation', 'wp-ultimo'), - 'template_id' => __('Template ID', 'wp-ultimo'), - 'valid_password' => __('Valid password', 'wp-ultimo'), - 'products' => __('Products', 'wp-ultimo'), - 'gateway' => __('Payment Gateway', 'wp-ultimo'), + 'password_conf' => __('Password confirmation', 'wp-multisite-waas'), + 'template_id' => __('Template ID', 'wp-multisite-waas'), + 'valid_password' => __('Valid password', 'wp-multisite-waas'), + 'products' => __('Products', 'wp-multisite-waas'), + 'gateway' => __('Payment Gateway', 'wp-multisite-waas'), ], $base_aliases ); @@ -1960,7 +1960,7 @@ class Checkout { /* * Redirect go burrr! */ - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } @@ -2002,7 +2002,7 @@ class Checkout { */ $next_step = $this->get_next_step_name(); - wp_redirect(add_query_arg('step', $next_step)); + wp_safe_redirect(add_query_arg('step', $next_step)); exit; } @@ -2068,13 +2068,13 @@ class Checkout { } elseif ($this->order->should_collect_payment() === false) { $gateway = wu_get_gateway('free'); } elseif ($gateway->get_id() === 'free') { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas')); return false; } if ( ! $gateway) { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-ultimo')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'wp-multisite-waas')); return false; } @@ -2165,13 +2165,13 @@ class Checkout { ); } - wp_redirect($redirect_url); + wp_safe_redirect($redirect_url); exit; } catch (\Throwable $e) { $membership_id = $this->order->get_membership() ? $this->order->get_membership()->get_id() : 'unknown'; - $log_message = sprintf(__('Checkout failed for customer %s: ', 'wp-ultimo'), $membership_id); + $log_message = sprintf(__('Checkout failed for customer %s: ', 'wp-multisite-waas'), $membership_id); $log_message .= $e->getMessage(); wu_log_add('checkout', $log_message, LogLevel::ERROR); @@ -2286,12 +2286,12 @@ class Checkout { * @since 2.0.0 * * @param string $key Key to retrieve the value for. - * @param mixed $default The default value to return, when nothing is found. + * @param mixed $default_value The default value to return, when nothing is found. * @return mixed */ - public function request_or_session($key, $default = false) { + public function request_or_session($key, $default_value = false) { - $value = $default; + $value = $default_value; if (null !== $this->session) { $session = $this->session->get('signup'); diff --git a/inc/checkout/class-legacy-checkout.php b/inc/checkout/class-legacy-checkout.php index 4b64b63..f0f3801 100644 --- a/inc/checkout/class-legacy-checkout.php +++ b/inc/checkout/class-legacy-checkout.php @@ -95,7 +95,7 @@ class Legacy_Checkout { $this->session = wu_get_session('signup'); $this->templates = [ - 'signup-main.php' => __('WP Multisite WaaS Legacy Signup', 'wp-ultimo'), + 'signup-main.php' => __('WP Multisite WaaS Legacy Signup', 'wp-multisite-waas'), ]; // add_filter('request', array($this, 'maybe_render_legacy_signup')); @@ -388,7 +388,7 @@ class Legacy_Checkout { if (isset($location['country']) && $location['country'] && $allowed_countries) { if ( ! in_array($location['country'], $allowed_countries, true)) { - wp_die(apply_filters('wu_geolocation_error_message', __('Sorry. Our service is not allowed in your country.', 'wp-ultimo'))); + wp_die(apply_filters('wu_geolocation_error_message', __('Sorry. Our service is not allowed in your country.', 'wp-multisite-waas'))); } } } @@ -630,8 +630,8 @@ class Legacy_Checkout { // Plan Selector $steps['plan'] = [ - 'name' => __('Pick a Plan', 'wp-ultimo'), - 'desc' => __('Which one of our amazing plans you want to get?', 'wp-ultimo'), + 'name' => __('Pick a Plan', 'wp-multisite-waas'), + 'desc' => __('Which one of our amazing plans you want to get?', 'wp-multisite-waas'), 'view' => 'step-plans', 'handler' => [$this, 'plans_save'], 'order' => 10, @@ -646,8 +646,8 @@ class Legacy_Checkout { // We add template selection if this has template if ($site_templates) { $steps['template'] = [ - 'name' => __('Template Selection', 'wp-ultimo'), - 'desc' => __('Select the base template of your new site.', 'wp-ultimo'), + 'name' => __('Template Selection', 'wp-multisite-waas'), + 'desc' => __('Select the base template of your new site.', 'wp-multisite-waas'), 'view' => 'step-template', 'order' => 20, 'handler' => false, @@ -657,8 +657,8 @@ class Legacy_Checkout { // Domain registering $steps['domain'] = [ - 'name' => __('Site Details', 'wp-ultimo'), - 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'wp-ultimo'), + 'name' => __('Site Details', 'wp-multisite-waas'), + 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'wp-multisite-waas'), 'handler' => [$this, 'domain_save'], 'view' => false, 'order' => 30, @@ -668,34 +668,34 @@ class Legacy_Checkout { [ 'blog_title' => [ 'order' => 10, - 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'wp-multisite-waas')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'wp-ultimo')), + 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'wp-multisite-waas')), 'required' => true, 'core' => true, ], 'blogname' => [ 'order' => 20, - 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'wp-multisite-waas')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'wp-ultimo')), + 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'wp-multisite-waas')), 'required' => true, 'core' => true, ], 'url_preview' => [ 'order' => 30, - 'name' => __('Site URL Preview', 'wp-ultimo'), + 'name' => __('Site URL Preview', 'wp-multisite-waas'), 'type' => 'html', 'content' => wu_get_template_contents('legacy/signup/steps/step-domain-url-preview'), ], 'submit' => [ 'order' => 100, 'type' => 'submit', - 'name' => __('Continue to the next step', 'wp-ultimo'), + 'name' => __('Continue to the next step', 'wp-multisite-waas'), 'core' => true, ], ] @@ -710,18 +710,18 @@ class Legacy_Checkout { 'user_name' => [ 'order' => 10, - 'name' => apply_filters('wu_signup_username_label', __('Username', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_username_label', __('Username', 'wp-multisite-waas')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'wp-ultimo')), + 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'wp-multisite-waas')), 'required' => true, 'core' => true, ], 'user_email' => [ 'order' => 20, - 'name' => apply_filters('wu_signup_email_label', __('Email', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_email_label', __('Email', 'wp-multisite-waas')), 'type' => 'email', 'default' => '', 'placeholder' => '', @@ -732,18 +732,18 @@ class Legacy_Checkout { 'user_pass' => [ 'order' => 30, - 'name' => apply_filters('wu_signup_password_label', __('Password', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_password_label', __('Password', 'wp-multisite-waas')), 'type' => 'password', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'wp-ultimo')), + 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'wp-multisite-waas')), 'required' => true, 'core' => true, ], 'user_pass_conf' => [ 'order' => 40, - 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'wp-ultimo')), + 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'wp-multisite-waas')), 'type' => 'password', 'default' => '', 'placeholder' => '', @@ -757,7 +757,7 @@ class Legacy_Checkout { */ 'site_url' => [ 'order' => random_int(1, 59), // Use random order for Honeypot - 'name' => __('Site URL', 'wp-ultimo'), + 'name' => __('Site URL', 'wp-multisite-waas'), 'type' => 'text', 'default' => '', 'placeholder' => '', @@ -786,18 +786,18 @@ class Legacy_Checkout { // $account_fields['has_coupon'] = array( // 'order' => 50, // 'type' => 'checkbox', - // 'name' => __('Have a coupon code?', 'wp-ultimo'), + // 'name' => __('Have a coupon code?', 'wp-multisite-waas'), // 'core' => true, // 'check_if' => 'coupon', // Check if the input with this name is selected // 'checked' => $coupon ? true : false, // ); // $account_fields['coupon'] = array( // 'order' => 60, - // 'name' => __('Coupon Code', 'wp-ultimo'), + // 'name' => __('Coupon Code', 'wp-multisite-waas'), // 'type' => 'text', // 'default' => '', // 'placeholder' => '', - // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'wp-ultimo'), + // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'wp-multisite-waas'), // 'requires' => array('has_coupon' => true), // 'core' => true, // ); @@ -811,7 +811,7 @@ class Legacy_Checkout { // 'order' => 70, // 'type' => 'checkbox', // 'checked' => false, - // 'name' => sprintf(__('I agree with the Terms of Service', 'wp-ultimo'), $this->get_terms_url()), + // 'name' => sprintf(__('I agree with the Terms of Service', 'wp-multisite-waas'), $this->get_terms_url()), // 'core' => true, // ); // } @@ -822,13 +822,13 @@ class Legacy_Checkout { $account_fields['submit'] = [ 'order' => 100, 'type' => 'submit', - 'name' => __('Create Account', 'wp-ultimo'), + 'name' => __('Create Account', 'wp-multisite-waas'), 'core' => true, ]; // Account registering $steps['account'] = [ - 'name' => __('Account Details', 'wp-ultimo'), + 'name' => __('Account Details', 'wp-multisite-waas'), 'view' => false, 'handler' => [$this, 'account_save'], 'order' => 40, @@ -867,7 +867,7 @@ class Legacy_Checkout { */ $begin_signup = [ 'begin-signup' => [ - 'name' => __('Begin Signup Process', 'wp-ultimo'), + 'name' => __('Begin Signup Process', 'wp-multisite-waas'), 'handler' => [$this, 'begin_signup'], 'view' => false, 'hidden' => true, @@ -883,7 +883,7 @@ class Legacy_Checkout { */ $create_account = [ 'create-account' => [ - 'name' => __('Creating Account', 'wp-ultimo'), + 'name' => __('Creating Account', 'wp-multisite-waas'), 'handler' => [$this, 'create_account'], 'view' => false, 'hidden' => true, @@ -932,7 +932,7 @@ class Legacy_Checkout { if ($die && empty($transient)) { - // wp_die(__('Try again', 'wp-ultimo')); + // wp_die(__('Try again', 'wp-multisite-waas')); } if (is_null($transient)) { @@ -959,7 +959,7 @@ class Legacy_Checkout { public function has_plan_step(): bool { $transient = static::get_transient(); - return !(isset($transient['skip_plan']) && isset($transient['plan_id']) && isset($transient['plan_freq'])); + return ! (isset($transient['skip_plan']) && isset($transient['plan_id']) && isset($transient['plan_freq'])); } /** @@ -1018,7 +1018,7 @@ class Legacy_Checkout { public function next_step($args = []): void { /** Redirect the user to the next step */ - wp_redirect(esc_url_raw($this->get_next_step_link($args))); + wp_safe_redirect(esc_url_raw($this->get_next_step_link($args))); /** Kill the execution after the redirect */ exit; @@ -1161,13 +1161,13 @@ class Legacy_Checkout { // We need now to check for plan if ( ! isset($_POST['plan_id'])) { - $this->results['errors']->add('plan_id', __('You don\'t have any plan selected.', 'wp-ultimo')); + $this->results['errors']->add('plan_id', __('You don\'t have any plan selected.', 'wp-multisite-waas')); } else { // We need now to check if the plan exists $plan = wu_get_product($_POST['plan_id']); if ( ! $plan->exists()) { - $this->results['errors']->add('plan_id', __('The plan you\'ve selected doesn\'t exist.', 'wp-ultimo')); + $this->results['errors']->add('plan_id', __('The plan you\'ve selected doesn\'t exist.', 'wp-multisite-waas')); } } @@ -1328,7 +1328,7 @@ class Legacy_Checkout { // Checks for honey-trap id if ('site_url' === $id) { - wp_die(__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'wp-ultimo')); + wp_die(__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'wp-multisite-waas')); } // Saves the order diff --git a/inc/checkout/class-line-item.php b/inc/checkout/class-line-item.php index 70efa7e..807abe2 100644 --- a/inc/checkout/class-line-item.php +++ b/inc/checkout/class-line-item.php @@ -1079,6 +1079,13 @@ class Line_Item implements \JsonSerializable { $this->tax_label = $tax_label; } + /** + * @return string + */ + public function get_date_created(): string { + return $this->date_created; + } + /** * Returns the amount recurring in a human-friendly way. * @@ -1093,7 +1100,7 @@ class Line_Item implements \JsonSerializable { $description = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'wp-ultimo'), // phpcs:ignore + _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'wp-multisite-waas'), // phpcs:ignore $this->get_duration(), wu_get_translatable_string(($this->get_duration() <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's')) ); @@ -1164,7 +1171,7 @@ class Line_Item implements \JsonSerializable { } // phpcs:disable; - $query = $wpdb->prepare(" + $query = $wpdb->prepare( " SELECT m.wu_payment_id, m.meta_value as line_items, p.date_created FROM {$wpdb->base_prefix}wu_paymentmeta as m JOIN {$wpdb->base_prefix}wu_payments as p diff --git a/inc/checkout/signup-fields/class-base-signup-field.php b/inc/checkout/signup-fields/class-base-signup-field.php index c0ac3cd..fe2c752 100644 --- a/inc/checkout/signup-fields/class-base-signup-field.php +++ b/inc/checkout/signup-fields/class-base-signup-field.php @@ -308,7 +308,7 @@ abstract class Base_Signup_Field { $final_field_list[ '_site_notice_field_' . uniqid() ] = [ 'type' => 'note', 'classes' => 'wu--mt-px', - 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'wp-ultimo')), + 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'wp-multisite-waas')), 'order' => 98.5, ]; } @@ -320,7 +320,7 @@ abstract class Base_Signup_Field { $final_field_list[ '_user_notice_field_' . uniqid() ] = [ 'type' => 'note', 'classes' => 'wu--mt-px', - 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'wp-ultimo')), + 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'wp-multisite-waas')), 'order' => 98.5, ]; } @@ -360,7 +360,7 @@ abstract class Base_Signup_Field { $selected = array_filter($selected); - $field['html_attr']['data-selected'] = json_encode($selected); + $field['html_attr']['data-selected'] = wp_json_encode($selected); } } @@ -440,10 +440,10 @@ abstract class Base_Signup_Field { $fields['id'] = [ 'type' => 'text', - 'title' => __('Field ID', 'wp-ultimo'), - 'placeholder' => __('e.g. info-name', 'wp-ultimo'), - 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'wp-ultimo'), - 'desc' => __('The ID of the field. This is used to reference the field.', 'wp-ultimo'), + 'title' => __('Field ID', 'wp-multisite-waas'), + 'placeholder' => __('e.g. info-name', 'wp-multisite-waas'), + 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'wp-multisite-waas'), + 'desc' => __('The ID of the field. This is used to reference the field.', 'wp-multisite-waas'), 'value' => wu_request('id', ''), 'html_attr' => [ 'v-on:input' => 'id = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', @@ -453,10 +453,10 @@ abstract class Base_Signup_Field { $fields['name'] = [ 'type' => 'text', - 'title' => __('Field Label', 'wp-ultimo'), - 'placeholder' => __('e.g. Your Name', 'wp-ultimo'), - 'desc' => __('This is what your customer see as the field title.', 'wp-ultimo'), - 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'wp-ultimo'), + 'title' => __('Field Label', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Your Name', 'wp-multisite-waas'), + 'desc' => __('This is what your customer see as the field title.', 'wp-multisite-waas'), + 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'wp-multisite-waas'), 'value' => '', 'html_attr' => [ 'v-model' => 'name', @@ -465,9 +465,9 @@ abstract class Base_Signup_Field { $fields['placeholder'] = [ 'type' => 'text', - 'title' => __('Field Placeholder', 'wp-ultimo'), - 'placeholder' => __('e.g. Placeholder value', 'wp-ultimo'), - 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'wp-ultimo'), + 'title' => __('Field Placeholder', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Placeholder value', 'wp-multisite-waas'), + 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => '', 'tab' => 'advanced', @@ -478,10 +478,10 @@ abstract class Base_Signup_Field { $fields['tooltip'] = [ 'type' => 'textarea', - 'title' => __('Field Tooltip', 'wp-ultimo'), - 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'wp-ultimo'), + 'title' => __('Field Tooltip', 'wp-multisite-waas'), + 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'wp-multisite-waas'), // translators: %is is the icon for a question mark. - 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'wp-ultimo'), wu_tooltip(__('Just like this!', 'wp-ultimo'))), + 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'wp-multisite-waas'), wu_tooltip(__('Just like this!', 'wp-multisite-waas'))), 'tooltip' => '', 'value' => '', 'tab' => 'advanced', @@ -493,8 +493,8 @@ abstract class Base_Signup_Field { $fields['default_value'] = [ 'type' => 'text', - 'title' => __('Default Value', 'wp-ultimo'), - 'placeholder' => __('e.g. None', 'wp-ultimo'), + 'title' => __('Default Value', 'wp-multisite-waas'), + 'placeholder' => __('e.g. None', 'wp-multisite-waas'), 'value' => '', 'html_attr' => [ 'v-model' => 'default_value', @@ -503,7 +503,7 @@ abstract class Base_Signup_Field { $fields['note'] = [ 'type' => 'textarea', - 'title' => __('Content', 'wp-ultimo'), + 'title' => __('Content', 'wp-multisite-waas'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -514,13 +514,13 @@ abstract class Base_Signup_Field { $fields['limits'] = [ 'type' => 'group', - 'title' => __('Field Length', 'wp-ultimo'), + 'title' => __('Field Length', 'wp-multisite-waas'), 'tooltip' => '', 'fields' => [ 'min' => [ 'type' => 'number', 'value' => '', - 'placeholder' => __('Min', 'wp-ultimo'), + 'placeholder' => __('Min', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-1/2', 'html_attr' => [ 'v-model' => 'min', @@ -529,7 +529,7 @@ abstract class Base_Signup_Field { 'max' => [ 'type' => 'number', 'value' => '', - 'placeholder' => __('Max', 'wp-ultimo'), + 'placeholder' => __('Max', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-ml-2 wu-w-1/2', 'html_attr' => [ 'v-model' => 'max', @@ -540,18 +540,18 @@ abstract class Base_Signup_Field { $fields['save_as'] = [ 'type' => 'select', - 'title' => __('Save As', 'wp-ultimo'), - 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'wp-ultimo'), + 'title' => __('Save As', 'wp-multisite-waas'), + 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'wp-multisite-waas'), 'placeholder' => '', 'tooltip' => '', 'value' => 'customer_meta', 'order' => 99.5, 'options' => [ - 'customer_meta' => __('Customer Meta', 'wp-ultimo'), - 'user_meta' => __('User Meta', 'wp-ultimo'), - 'site_meta' => __('Site Meta', 'wp-ultimo'), - 'site_option' => __('Site Option', 'wp-ultimo'), - 'nothing' => __('Do not save', 'wp-ultimo'), + 'customer_meta' => __('Customer Meta', 'wp-multisite-waas'), + 'user_meta' => __('User Meta', 'wp-multisite-waas'), + 'site_meta' => __('Site Meta', 'wp-multisite-waas'), + 'site_option' => __('Site Option', 'wp-multisite-waas'), + 'nothing' => __('Do not save', 'wp-multisite-waas'), ], 'html_attr' => [ 'v-model' => 'save_as', @@ -560,8 +560,8 @@ abstract class Base_Signup_Field { $fields['required'] = [ 'type' => 'toggle', - 'title' => __('Required', 'wp-ultimo'), - 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'wp-ultimo'), + 'title' => __('Required', 'wp-multisite-waas'), + 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'wp-multisite-waas'), 'value' => 0, 'order' => 98, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-billing-address.php b/inc/checkout/signup-fields/class-signup-field-billing-address.php index cf0e5d5..544bf63 100644 --- a/inc/checkout/signup-fields/class-signup-field-billing-address.php +++ b/inc/checkout/signup-fields/class-signup-field-billing-address.php @@ -69,7 +69,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field { */ public function get_title() { - return __('Address', 'wp-ultimo'); + return __('Address', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field { */ public function get_description() { - return __('Adds billing address fields such as country, zip code.', 'wp-ultimo'); + return __('Adds billing address fields such as country, zip code.', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Signup_Field_Billing_Address extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds billing address fields such as country, zip code.', 'wp-ultimo'); + return __('Adds billing address fields such as country, zip code.', 'wp-multisite-waas'); } /** @@ -165,8 +165,8 @@ class Signup_Field_Billing_Address extends Base_Signup_Field { return [ 'zip_and_country' => [ 'type' => 'toggle', - 'title' => __('Display only ZIP and Country?', 'wp-ultimo'), - 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'wp-ultimo'), + 'title' => __('Display only ZIP and Country?', 'wp-multisite-waas'), + 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'wp-multisite-waas'), 'value' => true, ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-checkbox.php b/inc/checkout/signup-fields/class-signup-field-checkbox.php index da569fb..b40053a 100644 --- a/inc/checkout/signup-fields/class-signup-field-checkbox.php +++ b/inc/checkout/signup-fields/class-signup-field-checkbox.php @@ -69,7 +69,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field { */ public function get_title() { - return __('Checkbox', 'wp-ultimo'); + return __('Checkbox', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field { */ public function get_description() { - return __('Adds a checkout box that can be checked by the customer.', 'wp-ultimo'); + return __('Adds a checkout box that can be checked by the customer.', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Signup_Field_Checkbox extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a checkout box that can be checked by the customer.', 'wp-ultimo'); + return __('Adds a checkout box that can be checked by the customer.', 'wp-multisite-waas'); } /** @@ -166,8 +166,8 @@ class Signup_Field_Checkbox extends Base_Signup_Field { return [ 'default_state' => [ 'type' => 'toggle', - 'title' => __('Default State', 'wp-ultimo'), - 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'wp-ultimo'), + 'title' => __('Default State', 'wp-multisite-waas'), + 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'wp-multisite-waas'), 'value' => 0, 'order' => 12, ], diff --git a/inc/checkout/signup-fields/class-signup-field-color.php b/inc/checkout/signup-fields/class-signup-field-color.php index 3a129a0..8c8ee78 100644 --- a/inc/checkout/signup-fields/class-signup-field-color.php +++ b/inc/checkout/signup-fields/class-signup-field-color.php @@ -55,7 +55,7 @@ class Signup_Field_Color extends Base_Signup_Field { */ public function get_title() { - return __('Color', 'wp-ultimo'); + return __('Color', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Color extends Base_Signup_Field { */ public function get_description() { - return __('Adds a color picker field.', 'wp-ultimo'); + return __('Adds a color picker field.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Color extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a color picker field.', 'wp-ultimo'); + return __('Adds a color picker field.', 'wp-multisite-waas'); } /** @@ -154,8 +154,8 @@ class Signup_Field_Color extends Base_Signup_Field { 'default_value' => [ 'type' => 'color-picker', 'order' => 12, - 'title' => __('Default Color', 'wp-ultimo'), - 'desc' => __('Set the default value for this color field.', 'wp-ultimo'), + 'title' => __('Default Color', 'wp-multisite-waas'), + 'desc' => __('Set the default value for this color field.', 'wp-multisite-waas'), ], ]; } diff --git a/inc/checkout/signup-fields/class-signup-field-discount-code.php b/inc/checkout/signup-fields/class-signup-field-discount-code.php index 0accc39..7049514 100644 --- a/inc/checkout/signup-fields/class-signup-field-discount-code.php +++ b/inc/checkout/signup-fields/class-signup-field-discount-code.php @@ -55,7 +55,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field { */ public function get_title() { - return __('Coupon Code', 'wp-ultimo'); + return __('Coupon Code', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field { */ public function get_description() { - return __('Adds an additional field to apply a discount code.', 'wp-ultimo'); + return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds an additional field to apply a discount code.', 'wp-ultimo'); + return __('Adds an additional field to apply a discount code.', 'wp-multisite-waas'); } /** @@ -168,7 +168,7 @@ class Signup_Field_Discount_Code extends Base_Signup_Field { $checkout_fields['discount_code_checkbox'] = [ 'id' => 'discount_code', 'type' => 'toggle', - 'name' => __('Have a coupon code?', 'wp-ultimo'), + 'name' => __('Have a coupon code?', 'wp-multisite-waas'), 'class' => 'wu-w-auto', 'html_attr' => [ 'v-model' => 'toggle_discount_code', diff --git a/inc/checkout/signup-fields/class-signup-field-email.php b/inc/checkout/signup-fields/class-signup-field-email.php index 6824382..d34d11b 100644 --- a/inc/checkout/signup-fields/class-signup-field-email.php +++ b/inc/checkout/signup-fields/class-signup-field-email.php @@ -64,7 +64,7 @@ class Signup_Field_Email extends Base_Signup_Field { */ public function get_title() { - return __('Email', 'wp-ultimo'); + return __('Email', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Signup_Field_Email extends Base_Signup_Field { */ public function get_description() { - return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-ultimo'); + return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-multisite-waas'); } /** @@ -90,7 +90,7 @@ class Signup_Field_Email extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-ultimo'); + return __('Adds a email address field. This email address will be used to create the WordPress user.', 'wp-multisite-waas'); } /** * Returns the icon to be used on the selector. @@ -160,8 +160,8 @@ class Signup_Field_Email extends Base_Signup_Field { return [ 'display_notices' => [ 'type' => 'toggle', - 'title' => __('Display Notices', 'wp-ultimo'), - 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'wp-ultimo'), + 'title' => __('Display Notices', 'wp-multisite-waas'), + 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 1, 'html_attr' => [ @@ -187,7 +187,7 @@ class Signup_Field_Email extends Base_Signup_Field { if ($attributes['display_notices']) { $checkout_fields['login_note'] = [ 'type' => 'note', - 'title' => __('Not you?', 'wp-ultimo'), + 'title' => __('Not you?', 'wp-multisite-waas'), 'desc' => [$this, 'render_not_you_customer_message'], 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'wrapper_html_attr' => [ @@ -199,7 +199,7 @@ class Signup_Field_Email extends Base_Signup_Field { if ($attributes['display_notices']) { $checkout_fields['login_note'] = [ 'type' => 'note', - 'title' => __('Existing customer?', 'wp-ultimo'), + 'title' => __('Existing customer?', 'wp-multisite-waas'), 'desc' => [$this, 'render_existing_customer_message'], 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'wrapper_html_attr' => [ @@ -244,7 +244,7 @@ class Signup_Field_Email extends Base_Signup_Field { Log in to renew or change an existing membership.', 'wp-ultimo'), $login_url); + printf(__('Log in to renew or change an existing membership.', 'wp-multisite-waas'), $login_url); ?> @@ -273,7 +273,7 @@ class Signup_Field_Email extends Base_Signup_Field { Log in using your account.', 'wp-ultimo'), wp_get_current_user()->display_name, $login_url); + printf(__('Not %1$s? Log in using your account.', 'wp-multisite-waas'), wp_get_current_user()->display_name, $login_url); ?>

diff --git a/inc/checkout/signup-fields/class-signup-field-hidden.php b/inc/checkout/signup-fields/class-signup-field-hidden.php index 03bf559..753ee0b 100644 --- a/inc/checkout/signup-fields/class-signup-field-hidden.php +++ b/inc/checkout/signup-fields/class-signup-field-hidden.php @@ -55,7 +55,7 @@ class Signup_Field_Hidden extends Base_Signup_Field { */ public function get_title() { - return __('Hidden Field', 'wp-ultimo'); + return __('Hidden Field', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Hidden extends Base_Signup_Field { */ public function get_description() { - return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo'); + return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Hidden extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-ultimo'); + return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'wp-multisite-waas'); } /** @@ -150,9 +150,9 @@ class Signup_Field_Hidden extends Base_Signup_Field { 'fixed_value' => [ 'order' => 12, 'type' => 'text', - 'title' => __('Pre-filled Value', 'wp-ultimo'), - 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-ultimo'), - 'placeholder' => __('e.g. blue', 'wp-ultimo'), + 'title' => __('Pre-filled Value', 'wp-multisite-waas'), + 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'wp-multisite-waas'), + 'placeholder' => __('e.g. blue', 'wp-multisite-waas'), 'tooltip' => '', 'value' => '', ], diff --git a/inc/checkout/signup-fields/class-signup-field-order-bump.php b/inc/checkout/signup-fields/class-signup-field-order-bump.php index 5134fb7..f9599cb 100644 --- a/inc/checkout/signup-fields/class-signup-field-order-bump.php +++ b/inc/checkout/signup-fields/class-signup-field-order-bump.php @@ -56,7 +56,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { */ public function get_title() { - return __('Order Bump', 'wp-ultimo'); + return __('Order Bump', 'wp-multisite-waas'); } /** @@ -69,7 +69,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { */ public function get_description() { - return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-ultimo'); + return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-ultimo'); + return __('Adds a product offer that the customer can click to add to the current cart.', 'wp-multisite-waas'); } /** @@ -166,9 +166,9 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { $editor_fields = [ 'product' => [ 'type' => 'model', - 'title' => __('Product', 'wp-ultimo'), - 'placeholder' => __('e.g. Premium', 'wp-ultimo'), - 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'wp-ultimo'), + 'title' => __('Product', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Premium', 'wp-multisite-waas'), + 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'wp-multisite-waas'), 'tooltip' => '', 'order' => 12, 'html_attr' => [ @@ -182,15 +182,15 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { 'display_product_description' => [ 'order' => 13, 'type' => 'toggle', - 'title' => __('Display Product Description', 'wp-ultimo'), - 'desc' => __('Toggle to display the product description as well, if one is available.', 'wp-ultimo'), + 'title' => __('Display Product Description', 'wp-multisite-waas'), + 'desc' => __('Toggle to display the product description as well, if one is available.', 'wp-multisite-waas'), 'value' => 0, ], 'display_product_image' => [ 'order' => 14, 'type' => 'toggle', - 'title' => __('Display Product Image', 'wp-ultimo'), - 'desc' => __('Toggle to display the product image as well, if one is available.', 'wp-ultimo'), + 'title' => __('Display Product Image', 'wp-multisite-waas'), + 'desc' => __('Toggle to display the product image as well, if one is available.', 'wp-multisite-waas'), 'value' => 1, ], ]; @@ -202,8 +202,8 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { // 'fields' => array( // 'order_bump_template' => array( // 'type' => 'select', - // 'title' => __('Layout', 'wp-ultimo'), - // 'placeholder' => __('Select your Layout', 'wp-ultimo'), + // 'title' => __('Layout', 'wp-multisite-waas'), + // 'placeholder' => __('Select your Layout', 'wp-multisite-waas'), // 'options' => array($this, 'get_templates'), // 'wrapper_classes' => 'wu-flex-grow', // 'html_attr' => array( @@ -219,7 +219,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates?
See how you can do that here.', 'wp-ultimo')), + // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates?
See how you can do that here.', 'wp-multisite-waas')), // ); return $editor_fields; @@ -247,7 +247,7 @@ class Signup_Field_Order_Bump extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('order_bump', $attributes['order_bump_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas'); return [ $attributes['id'] => [ diff --git a/inc/checkout/signup-fields/class-signup-field-order-summary.php b/inc/checkout/signup-fields/class-signup-field-order-summary.php index 9fc3d73..d8fc13e 100644 --- a/inc/checkout/signup-fields/class-signup-field-order-summary.php +++ b/inc/checkout/signup-fields/class-signup-field-order-summary.php @@ -54,7 +54,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { */ public function get_title() { - return __('Order Summary', 'wp-ultimo'); + return __('Order Summary', 'wp-multisite-waas'); } /** @@ -67,7 +67,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { */ public function get_description() { - return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-ultimo'); + return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-multisite-waas'); } /** @@ -80,7 +80,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-ultimo'); + return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'wp-multisite-waas'); } /** @@ -163,11 +163,11 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { $editor_fields['table_columns'] = [ 'type' => 'select', - 'title' => __('Table Columns', 'wp-ultimo'), - 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'wp-ultimo'), + 'title' => __('Table Columns', 'wp-multisite-waas'), + 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'wp-multisite-waas'), 'options' => [ - 'simple' => __('Simplified', 'wp-ultimo'), - 'full' => __('Display All', 'wp-ultimo'), + 'simple' => __('Simplified', 'wp-multisite-waas'), + 'full' => __('Display All', 'wp-multisite-waas'), ], ]; @@ -177,8 +177,8 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { 'fields' => [ 'order_summary_template' => [ 'type' => 'select', - 'title' => __('Layout', 'wp-ultimo'), - 'placeholder' => __('Select your Layout', 'wp-ultimo'), + 'title' => __('Layout', 'wp-multisite-waas'), + 'placeholder' => __('Select your Layout', 'wp-multisite-waas'), 'options' => [$this, 'get_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -194,7 +194,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates?
See how you can do that here.', 'wp-ultimo')), + // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates?
See how you can do that here.', 'wp-multisite-waas')), // ); return $editor_fields; @@ -221,7 +221,7 @@ class Signup_Field_Order_Summary extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('order_summary', $attributes['order_summary_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas'); $checkout_fields[ $attributes['id'] ] = [ 'type' => 'note', diff --git a/inc/checkout/signup-fields/class-signup-field-password.php b/inc/checkout/signup-fields/class-signup-field-password.php index f356192..8bcf87d 100644 --- a/inc/checkout/signup-fields/class-signup-field-password.php +++ b/inc/checkout/signup-fields/class-signup-field-password.php @@ -69,7 +69,7 @@ class Signup_Field_Password extends Base_Signup_Field { */ public function get_title() { - return __('Password', 'wp-ultimo'); + return __('Password', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Password extends Base_Signup_Field { */ public function get_description() { - return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-ultimo'); + return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Signup_Field_Password extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-ultimo'); + return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'wp-multisite-waas'); } /** @@ -124,7 +124,7 @@ class Signup_Field_Password extends Base_Signup_Field { return [ 'password_confirm_field' => false, - 'password_confirm_label' => __('Confirm Password', 'wp-ultimo'), + 'password_confirm_label' => __('Confirm Password', 'wp-multisite-waas'), ]; } @@ -168,14 +168,14 @@ class Signup_Field_Password extends Base_Signup_Field { return [ 'password_strength_meter' => [ 'type' => 'toggle', - 'title' => __('Display Password Strength Meter', 'wp-ultimo'), - 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'wp-ultimo'), + 'title' => __('Display Password Strength Meter', 'wp-multisite-waas'), + 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'wp-multisite-waas'), 'value' => 1, ], 'password_confirm_field' => [ 'type' => 'toggle', - 'title' => __('Display Password Confirm Field', 'wp-ultimo'), - 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance or making a mistake.', 'wp-ultimo'), + 'title' => __('Display Password Confirm Field', 'wp-multisite-waas'), + 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance or making a mistake.', 'wp-multisite-waas'), 'value' => 1, ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-payment.php b/inc/checkout/signup-fields/class-signup-field-payment.php index ea46890..97d619e 100644 --- a/inc/checkout/signup-fields/class-signup-field-payment.php +++ b/inc/checkout/signup-fields/class-signup-field-payment.php @@ -56,7 +56,7 @@ class Signup_Field_Payment extends Base_Signup_Field { */ public function get_title() { - return __('Payment', 'wp-ultimo'); + return __('Payment', 'wp-multisite-waas'); } /** @@ -69,7 +69,7 @@ class Signup_Field_Payment extends Base_Signup_Field { */ public function get_description() { - return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-ultimo'); + return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Payment extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-ultimo'); + return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'wp-multisite-waas'); } /** @@ -190,7 +190,7 @@ class Signup_Field_Payment extends Base_Signup_Field { $fields['auto_renew'] = [ 'type' => 'toggle', 'id' => 'auto_renew', - 'name' => __('Auto-renew', 'wp-ultimo'), + 'name' => __('Auto-renew', 'wp-multisite-waas'), 'tooltip' => '', 'value' => '1', 'html_attr' => [ @@ -200,7 +200,7 @@ class Signup_Field_Payment extends Base_Signup_Field { ], 'wrapper_html_attr' => [ 'v-cloak' => 1, - 'v-show' => sprintf('%s.includes(gateway) && order.should_collect_payment && order.has_recurring', json_encode($auto_renewable_gateways)), + 'v-show' => sprintf('%s.includes(gateway) && order.should_collect_payment && order.has_recurring', wp_json_encode($auto_renewable_gateways)), ], ]; } diff --git a/inc/checkout/signup-fields/class-signup-field-period-selection.php b/inc/checkout/signup-fields/class-signup-field-period-selection.php index 9888e4f..ccd4bd4 100644 --- a/inc/checkout/signup-fields/class-signup-field-period-selection.php +++ b/inc/checkout/signup-fields/class-signup-field-period-selection.php @@ -54,7 +54,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { */ public function get_title() { - return __('Period Select', 'wp-ultimo'); + return __('Period Select', 'wp-multisite-waas'); } /** @@ -67,7 +67,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { */ public function get_description() { - return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-ultimo'); + return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-multisite-waas'); } /** @@ -80,7 +80,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-ultimo'); + return __('Adds a period selector, that allows customers to switch between different billing periods.', 'wp-multisite-waas'); } /** @@ -134,7 +134,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { return [ 'id' => 'period_selection', - 'name' => __('Plan Duration Switch', 'wp-ultimo'), + 'name' => __('Plan Duration Switch', 'wp-multisite-waas'), 'required' => true, ]; } @@ -169,8 +169,8 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { 'fields' => [ 'period_selection_template' => [ 'type' => 'select', - 'title' => __('Period Selector Template', 'wp-ultimo'), - 'placeholder' => __('Select your Template', 'wp-ultimo'), + 'title' => __('Period Selector Template', 'wp-multisite-waas'), + 'placeholder' => __('Select your Template', 'wp-multisite-waas'), 'options' => [$this, 'get_template_options'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -182,14 +182,14 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { $editor_fields['period_options_header'] = [ 'type' => 'small-header', - 'title' => __('Options', 'wp-ultimo'), - 'desc' => __('Add different options below. These need to match your product price variations.', 'wp-ultimo'), + 'title' => __('Options', 'wp-multisite-waas'), + 'desc' => __('Add different options below. These need to match your product price variations.', 'wp-multisite-waas'), 'order' => 90, ]; $editor_fields['period_options_empty'] = [ 'type' => 'note', - 'desc' => __('Add the first option using the button below.', 'wp-ultimo'), + 'desc' => __('Add the first option using the button below.', 'wp-multisite-waas'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'order' => 90.5, @@ -212,12 +212,12 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { 'fields' => [ 'period_options_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'wp-ultimo')), + 'desc' => sprintf('', __('Remove', 'wp-multisite-waas')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'period_options_duration' => [ 'type' => 'number', - 'title' => __('Duration', 'wp-ultimo'), + 'title' => __('Duration', 'wp-multisite-waas'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/12', 'min' => 1, @@ -237,16 +237,16 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { 'v-bind:name' => '"period_options[" + index + "][duration_unit]"', ], 'options' => [ - 'day' => __('Days', 'wp-ultimo'), - 'week' => __('Weeks', 'wp-ultimo'), - 'month' => __('Months', 'wp-ultimo'), - 'year' => __('Years', 'wp-ultimo'), + 'day' => __('Days', 'wp-multisite-waas'), + 'week' => __('Weeks', 'wp-multisite-waas'), + 'month' => __('Months', 'wp-multisite-waas'), + 'year' => __('Years', 'wp-multisite-waas'), ], ], 'period_options_label' => [ 'type' => 'text', - 'title' => __('Label', 'wp-ultimo'), - 'placeholder' => __('e.g. Monthly', 'wp-ultimo'), + 'title' => __('Label', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Monthly', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-5/12', 'html_attr' => [ 'v-model' => 'period_option.label', @@ -259,7 +259,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { $editor_fields['repeat'] = [ 'order' => 92, 'type' => 'submit', - 'title' => __('+ Add option', 'wp-ultimo'), + 'title' => __('+ Add option', 'wp-multisite-waas'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -297,7 +297,7 @@ class Signup_Field_Period_Selection extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('period_selection', $attributes['period_selection_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas'); $checkout_fields = []; diff --git a/inc/checkout/signup-fields/class-signup-field-pricing-table.php b/inc/checkout/signup-fields/class-signup-field-pricing-table.php index 7cea9f6..78fd725 100644 --- a/inc/checkout/signup-fields/class-signup-field-pricing-table.php +++ b/inc/checkout/signup-fields/class-signup-field-pricing-table.php @@ -54,7 +54,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { */ public function get_title() { - return __('Pricing Table', 'wp-ultimo'); + return __('Pricing Table', 'wp-multisite-waas'); } /** @@ -67,7 +67,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { */ public function get_description() { - return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-ultimo'); + return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-multisite-waas'); } /** @@ -80,7 +80,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-ultimo'); + return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'wp-multisite-waas'); } /** @@ -137,7 +137,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { return [ 'id' => 'pricing_table', - 'name' => __('Plan Selection', 'wp-ultimo'), + 'name' => __('Plan Selection', 'wp-multisite-waas'), 'required' => true, ]; } @@ -167,9 +167,9 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { $editor_fields['pricing_table_products'] = [ 'type' => 'model', - 'title' => __('Products', 'wp-ultimo'), - 'placeholder' => __('e.g. Premium', 'wp-ultimo'), - 'desc' => __('Be sure to add the products in the order you want them to show up.', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Premium', 'wp-multisite-waas'), + 'desc' => __('Be sure to add the products in the order you want them to show up.', 'wp-multisite-waas'), 'tooltip' => '', 'order' => 20, 'html_attr' => [ @@ -184,8 +184,8 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { $editor_fields['force_different_durations'] = [ 'type' => 'toggle', - 'title' => __('Force Different Durations', 'wp-ultimo'), - 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'wp-ultimo'), + 'title' => __('Force Different Durations', 'wp-multisite-waas'), + 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'order' => 22, @@ -196,9 +196,9 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { $editor_fields['hide_pricing_table_when_pre_selected'] = [ 'type' => 'toggle', - 'title' => __('Hide when Pre-Selected', 'wp-ultimo'), - 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'wp-ultimo'), - 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'wp-ultimo'), + 'title' => __('Hide when Pre-Selected', 'wp-multisite-waas'), + 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'wp-multisite-waas'), + 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'wp-multisite-waas'), 'value' => 0, 'order' => 24, 'html_attr' => [ @@ -213,8 +213,8 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { 'fields' => [ 'pricing_table_template' => [ 'type' => 'select', - 'title' => __('Pricing Table Template', 'wp-ultimo'), - 'placeholder' => __('Select your Template', 'wp-ultimo'), + 'title' => __('Pricing Table Template', 'wp-multisite-waas'), + 'placeholder' => __('Select your Template', 'wp-multisite-waas'), 'options' => [$this, 'get_pricing_table_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -230,7 +230,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates?
See how you can do that here.', 'wp-ultimo')), + // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates?
See how you can do that here.', 'wp-multisite-waas')), // ); return $editor_fields; @@ -277,7 +277,7 @@ class Signup_Field_Pricing_Table extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('pricing_table', $attributes['pricing_table_template']); - $content = $template_class ? $template_class->render_container($template_attributes) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($template_attributes) : __('Template does not exist.', 'wp-multisite-waas'); $checkout_fields = []; diff --git a/inc/checkout/signup-fields/class-signup-field-products.php b/inc/checkout/signup-fields/class-signup-field-products.php index ca2f49e..8a19c87 100644 --- a/inc/checkout/signup-fields/class-signup-field-products.php +++ b/inc/checkout/signup-fields/class-signup-field-products.php @@ -53,7 +53,7 @@ class Signup_Field_Products extends Base_Signup_Field { */ public function get_title() { - return __('Product', 'wp-ultimo'); + return __('Product', 'wp-multisite-waas'); } /** @@ -66,7 +66,7 @@ class Signup_Field_Products extends Base_Signup_Field { */ public function get_description() { - return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-ultimo'); + return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-multisite-waas'); } /** @@ -79,7 +79,7 @@ class Signup_Field_Products extends Base_Signup_Field { */ public function get_tooltip() { - return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-ultimo'); + return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'wp-multisite-waas'); } /** @@ -130,7 +130,7 @@ class Signup_Field_Products extends Base_Signup_Field { public function force_attributes() { return [ - 'name' => __('Pre-selected Products', 'wp-ultimo'), + 'name' => __('Pre-selected Products', 'wp-multisite-waas'), 'id' => 'products', ]; } @@ -146,9 +146,9 @@ class Signup_Field_Products extends Base_Signup_Field { return [ 'products' => [ 'type' => 'model', - 'title' => __('Products', 'wp-ultimo'), - 'placeholder' => __('Products', 'wp-ultimo'), - 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), + 'placeholder' => __('Products', 'wp-multisite-waas'), + 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-model' => 'product', @@ -216,7 +216,7 @@ class Signup_Field_Products extends Base_Signup_Field { });"; if (did_action('wu-checkout')) { - wp_add_inline_script('wu-checkout', sprintf($script, json_encode($products)), 'before'); + wp_add_inline_script('wu-checkout', sprintf($script, wp_json_encode($products)), 'before'); return; } @@ -225,7 +225,7 @@ class Signup_Field_Products extends Base_Signup_Field { 'wp_enqueue_scripts', function () use ($script, $products) { - wp_add_inline_script('wu-checkout', sprintf($script, json_encode($products)), 'before'); + wp_add_inline_script('wu-checkout', sprintf($script, wp_json_encode($products)), 'before'); }, 11 ); diff --git a/inc/checkout/signup-fields/class-signup-field-select.php b/inc/checkout/signup-fields/class-signup-field-select.php index 959069f..ad484a7 100644 --- a/inc/checkout/signup-fields/class-signup-field-select.php +++ b/inc/checkout/signup-fields/class-signup-field-select.php @@ -55,7 +55,7 @@ class Signup_Field_Select extends Base_Signup_Field { */ public function get_title() { - return __('Select', 'wp-ultimo'); + return __('Select', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Select extends Base_Signup_Field { */ public function get_description() { - return __('Adds a select field.', 'wp-ultimo'); + return __('Adds a select field.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Select extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a select field.', 'wp-ultimo'); + return __('Adds a select field.', 'wp-multisite-waas'); } /** @@ -156,13 +156,13 @@ class Signup_Field_Select extends Base_Signup_Field { $editor_fields['options_header'] = [ 'order' => 12, 'type' => 'small-header', - 'title' => __('Options', 'wp-ultimo'), - 'desc' => __('Add different options below. The first option is used as the default.', 'wp-ultimo'), + 'title' => __('Options', 'wp-multisite-waas'), + 'desc' => __('Add different options below. The first option is used as the default.', 'wp-multisite-waas'), ]; $editor_fields['options_empty'] = [ 'type' => 'note', - 'desc' => __('Add the first option using the button below.', 'wp-ultimo'), + 'desc' => __('Add the first option using the button below.', 'wp-multisite-waas'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'order' => 13, @@ -185,13 +185,13 @@ class Signup_Field_Select extends Base_Signup_Field { 'fields' => [ 'options_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'wp-ultimo')), + 'desc' => sprintf('', __('Remove', 'wp-multisite-waas')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'options_key' => [ 'type' => 'text', - 'title' => __('Option Value', 'wp-ultimo'), - 'placeholder' => __('e.g. option1', 'wp-ultimo'), + 'title' => __('Option Value', 'wp-multisite-waas'), + 'placeholder' => __('e.g. option1', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-1/2 wu-mr-2', 'html_attr' => [ 'v-model' => 'option.key', @@ -201,8 +201,8 @@ class Signup_Field_Select extends Base_Signup_Field { ], 'options_label' => [ 'type' => 'text', - 'title' => __('Label', 'wp-ultimo'), - 'placeholder' => __('e.g. Option 1', 'wp-ultimo'), + 'title' => __('Label', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Option 1', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-1/2 wu-ml-2', 'html_attr' => [ 'v-model' => 'option.label', @@ -215,7 +215,7 @@ class Signup_Field_Select extends Base_Signup_Field { $editor_fields['repeat_select_option'] = [ 'order' => 16, 'type' => 'submit', - 'title' => __('+ Add option', 'wp-ultimo'), + 'title' => __('+ Add option', 'wp-multisite-waas'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-shortcode.php b/inc/checkout/signup-fields/class-signup-field-shortcode.php index e5d77d6..eb60c21 100644 --- a/inc/checkout/signup-fields/class-signup-field-shortcode.php +++ b/inc/checkout/signup-fields/class-signup-field-shortcode.php @@ -53,7 +53,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field { */ public function get_title() { - return __('Shortcode', 'wp-ultimo'); + return __('Shortcode', 'wp-multisite-waas'); } /** @@ -66,7 +66,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field { */ public function get_description() { - return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo'); + return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-multisite-waas'); } /** @@ -79,7 +79,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field { */ public function get_tooltip() { - return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-ultimo'); + return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a WP Multisite WaaS checkout form.', 'wp-multisite-waas'); } /** @@ -133,7 +133,7 @@ class Signup_Field_Shortcode extends Base_Signup_Field { public function force_attributes() { return [ - 'name' => __('Shortcode', 'wp-ultimo'), + 'name' => __('Shortcode', 'wp-multisite-waas'), ]; } @@ -148,9 +148,9 @@ class Signup_Field_Shortcode extends Base_Signup_Field { return [ 'shortcode_code' => [ 'type' => 'text', - 'title' => __('Shortcode', 'wp-ultimo'), - 'placeholder' => __('e.g. [shortcode]', 'wp-ultimo'), - 'desc' => __('Please, enter the full shortcode, including [].', 'wp-ultimo'), + 'title' => __('Shortcode', 'wp-multisite-waas'), + 'placeholder' => __('e.g. [shortcode]', 'wp-multisite-waas'), + 'desc' => __('Please, enter the full shortcode, including [].', 'wp-multisite-waas'), ], ]; } diff --git a/inc/checkout/signup-fields/class-signup-field-site-title.php b/inc/checkout/signup-fields/class-signup-field-site-title.php index 4bfa42a..73e770a 100644 --- a/inc/checkout/signup-fields/class-signup-field-site-title.php +++ b/inc/checkout/signup-fields/class-signup-field-site-title.php @@ -66,7 +66,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field { */ public function get_title() { - return __('Site Title', 'wp-ultimo'); + return __('Site Title', 'wp-multisite-waas'); } /** @@ -79,7 +79,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field { */ public function get_description() { - return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-ultimo'); + return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-multisite-waas'); } /** @@ -92,7 +92,7 @@ class Signup_Field_Site_Title extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-ultimo'); + return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'wp-multisite-waas'); } /** @@ -164,8 +164,8 @@ class Signup_Field_Site_Title extends Base_Signup_Field { return [ 'auto_generate_site_title' => [ 'type' => 'toggle', - 'title' => __('Auto-generate?', 'wp-ultimo'), - 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-ultimo'), + 'title' => __('Auto-generate?', 'wp-multisite-waas'), + 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-site-url.php b/inc/checkout/signup-fields/class-signup-field-site-url.php index 3c9c05c..645e411 100644 --- a/inc/checkout/signup-fields/class-signup-field-site-url.php +++ b/inc/checkout/signup-fields/class-signup-field-site-url.php @@ -63,7 +63,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field { */ public function get_title() { - return __('Site URL', 'wp-ultimo'); + return __('Site URL', 'wp-multisite-waas'); } /** @@ -76,7 +76,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field { */ public function get_description() { - return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-ultimo'); + return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-multisite-waas'); } /** @@ -89,7 +89,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-ultimo'); + return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'wp-multisite-waas'); } /** @@ -169,8 +169,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field { 'auto_generate_site_url' => [ 'order' => 12, 'type' => 'toggle', - 'title' => __('Auto-generate', 'wp-ultimo'), - 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-ultimo'), + 'title' => __('Auto-generate', 'wp-multisite-waas'), + 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -180,8 +180,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field { 'display_field_attachments' => [ 'order' => 18, 'type' => 'toggle', - 'title' => __('Display URL field attachments', 'wp-ultimo'), - 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'wp-ultimo'), + 'title' => __('Display URL field attachments', 'wp-multisite-waas'), + 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 1, 'tab' => 'content', @@ -195,8 +195,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field { 'display_url_preview' => [ 'order' => 19, 'type' => 'toggle', - 'title' => __('Display URL preview block', 'wp-ultimo'), - 'desc' => __('Adds a preview block that shows the final URL.', 'wp-ultimo'), + 'title' => __('Display URL preview block', 'wp-multisite-waas'), + 'desc' => __('Adds a preview block that shows the final URL.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 1, 'tab' => 'content', @@ -210,8 +210,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field { 'enable_domain_selection' => [ 'order' => 20, 'type' => 'toggle', - 'title' => __('Enable Domain Selection', 'wp-ultimo'), - 'desc' => __('Offer different domain options to your customers to choose from.', 'wp-ultimo'), + 'title' => __('Enable Domain Selection', 'wp-multisite-waas'), + 'desc' => __('Offer different domain options to your customers to choose from.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'tab' => 'content', @@ -226,9 +226,9 @@ class Signup_Field_Site_Url extends Base_Signup_Field { 'available_domains' => [ 'order' => 30, 'type' => 'textarea', - 'title' => __('Available Domains', 'wp-ultimo'), + 'title' => __('Available Domains', 'wp-multisite-waas'), 'desc' => '', - 'desc' => __('Enter one domain option per line.', 'wp-ultimo'), + 'desc' => __('Enter one domain option per line.', 'wp-multisite-waas'), 'value' => $current_site->domain . PHP_EOL, 'tab' => 'content', 'wrapper_html_attr' => [ @@ -250,8 +250,8 @@ class Signup_Field_Site_Url extends Base_Signup_Field { public function get_url_preview_templates() { $templates = [ - 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'wp-ultimo'), - // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'wp-ultimo'), + 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'wp-multisite-waas'), + // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'wp-multisite-waas'), ]; return apply_filters('wu_get_pricing_table_templates', $templates); @@ -331,7 +331,7 @@ class Signup_Field_Site_Url extends Base_Signup_Field { $options = $this->get_domain_options($attributes['available_domains']); $checkout_fields['site_domain'] = [ - 'name' => __('Domain', 'wp-ultimo'), + 'name' => __('Domain', 'wp-multisite-waas'), 'options' => $options, 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'classes' => wu_get_isset($attributes, 'element_classes', ''), diff --git a/inc/checkout/signup-fields/class-signup-field-steps.php b/inc/checkout/signup-fields/class-signup-field-steps.php index 8d81b2f..4db9596 100644 --- a/inc/checkout/signup-fields/class-signup-field-steps.php +++ b/inc/checkout/signup-fields/class-signup-field-steps.php @@ -54,7 +54,7 @@ class Signup_Field_Steps extends Base_Signup_Field { */ public function get_title() { - return __('Steps', 'wp-ultimo'); + return __('Steps', 'wp-multisite-waas'); } /** @@ -67,7 +67,7 @@ class Signup_Field_Steps extends Base_Signup_Field { */ public function get_description() { - return __('Adds a list of the steps.', 'wp-ultimo'); + return __('Adds a list of the steps.', 'wp-multisite-waas'); } /** @@ -80,7 +80,7 @@ class Signup_Field_Steps extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a list of the steps.', 'wp-ultimo'); + return __('Adds a list of the steps.', 'wp-multisite-waas'); } /** @@ -163,8 +163,8 @@ class Signup_Field_Steps extends Base_Signup_Field { 'fields' => [ 'steps_template' => [ 'type' => 'select', - 'title' => __('Layout', 'wp-ultimo'), - 'placeholder' => __('Select your Layout', 'wp-ultimo'), + 'title' => __('Layout', 'wp-multisite-waas'), + 'placeholder' => __('Select your Layout', 'wp-multisite-waas'), 'options' => [$this, 'get_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -180,7 +180,7 @@ class Signup_Field_Steps extends Base_Signup_Field { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized steps templates?
See how you can do that here.', 'wp-ultimo')), + // 'desc' => sprintf('
%s
', __('Want to add customized steps templates?
See how you can do that here.', 'wp-multisite-waas')), // ); return $editor_fields; @@ -207,7 +207,7 @@ class Signup_Field_Steps extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('steps', $attributes['steps_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'wp-multisite-waas'); return [ $attributes['id'] => [ diff --git a/inc/checkout/signup-fields/class-signup-field-submit-button.php b/inc/checkout/signup-fields/class-signup-field-submit-button.php index a14ceb8..bd5c36c 100644 --- a/inc/checkout/signup-fields/class-signup-field-submit-button.php +++ b/inc/checkout/signup-fields/class-signup-field-submit-button.php @@ -55,7 +55,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { */ public function get_title() { - return __('Submit Button', 'wp-ultimo'); + return __('Submit Button', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { */ public function get_description() { - return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-ultimo'); + return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-ultimo'); + return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'wp-multisite-waas'); } /** @@ -110,7 +110,7 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { return [ 'enable_go_back_button' => false, - 'back_button_label' => __('← Go Back', 'wp-ultimo'), + 'back_button_label' => __('← Go Back', 'wp-multisite-waas'), ]; } @@ -150,8 +150,8 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { return [ 'enable_go_back_button' => [ 'type' => 'toggle', - 'title' => __('Add "Go Back" button', 'wp-ultimo'), - 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'wp-ultimo'), + 'title' => __('Add "Go Back" button', 'wp-multisite-waas'), + 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -160,10 +160,10 @@ class Signup_Field_Submit_Button extends Base_Signup_Field { ], 'back_button_label' => [ 'type' => 'text', - 'title' => __('"Go Back" Button Label', 'wp-ultimo'), - 'desc' => __('Value to be used as the "Go Back" label.', 'wp-ultimo'), - 'placeholder' => __('e.g. ← Go Back', 'wp-ultimo'), - 'value' => __('← Go Back', 'wp-ultimo'), + 'title' => __('"Go Back" Button Label', 'wp-multisite-waas'), + 'desc' => __('Value to be used as the "Go Back" label.', 'wp-multisite-waas'), + 'placeholder' => __('e.g. ← Go Back', 'wp-multisite-waas'), + 'value' => __('← Go Back', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => 'enable_go_back_button', diff --git a/inc/checkout/signup-fields/class-signup-field-template-selection.php b/inc/checkout/signup-fields/class-signup-field-template-selection.php index a393457..85e46dd 100644 --- a/inc/checkout/signup-fields/class-signup-field-template-selection.php +++ b/inc/checkout/signup-fields/class-signup-field-template-selection.php @@ -55,7 +55,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { */ public function get_title() { - return __('Templates', 'wp-ultimo'); + return __('Templates', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { */ public function get_description() { - return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-ultimo'); + return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-ultimo'); + return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'wp-multisite-waas'); } /** @@ -139,7 +139,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { return [ 'id' => 'template_selection', - 'name' => __('Template Selection', 'wp-ultimo'), + 'name' => __('Template Selection', 'wp-multisite-waas'), 'required' => true, ]; } @@ -173,8 +173,8 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { $editor_fields['template_selection_type'] = [ 'type' => 'select', - 'title' => __('Available templates', 'wp-ultimo'), - 'desc' => __('How do you want to choose available which templates will be available.', 'wp-ultimo'), + 'title' => __('Available templates', 'wp-multisite-waas'), + 'desc' => __('How do you want to choose available which templates will be available.', 'wp-multisite-waas'), 'order' => 20, 'options' => [ 'name' => __('Select by names'), @@ -188,9 +188,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { $editor_fields['template_selection_categories'] = [ 'type' => 'select', - 'title' => __('Template Categories', 'wp-ultimo'), - 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-ultimo'), - 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-ultimo'), + 'title' => __('Template Categories', 'wp-multisite-waas'), + 'placeholder' => __('e.g.: Landing Page, Health...', 'wp-multisite-waas'), + 'desc' => __('Customers will be able to filter by categories during signup.', 'wp-multisite-waas'), 'order' => 21, 'options' => Site::get_all_categories(), 'html_attr' => [ @@ -204,9 +204,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { $editor_fields['template_selection_sites'] = [ 'type' => 'model', - 'title' => __('Template Sites', 'wp-ultimo'), - 'placeholder' => __('e.g. Template Site 1, My Agency', 'wp-ultimo'), - 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'wp-ultimo'), + 'title' => __('Template Sites', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Template Site 1, My Agency', 'wp-multisite-waas'), + 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'wp-multisite-waas'), 'order' => 22, 'html_attr' => [ 'v-model' => 'template_selection_sites', @@ -231,9 +231,9 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { $editor_fields['hide_template_selection_when_pre_selected'] = [ 'type' => 'toggle', - 'title' => __('Hide when Pre-Selected', 'wp-ultimo'), - 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'wp-ultimo'), - 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'wp-ultimo'), + 'title' => __('Hide when Pre-Selected', 'wp-multisite-waas'), + 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'wp-multisite-waas'), + 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'wp-multisite-waas'), 'value' => 0, 'order' => 23, 'html_attr' => [ @@ -248,8 +248,8 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { 'fields' => [ 'template_selection_template' => [ 'type' => 'select', - 'title' => __('Template Selector Template', 'wp-ultimo'), - 'placeholder' => __('Select your Template', 'wp-ultimo'), + 'title' => __('Template Selector Template', 'wp-multisite-waas'), + 'placeholder' => __('Select your Template', 'wp-multisite-waas'), 'options' => [$this, 'get_template_selection_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -265,7 +265,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'wp-ultimo')), + // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'wp-multisite-waas')), // ); return $editor_fields; @@ -356,7 +356,7 @@ class Signup_Field_Template_Selection extends Base_Signup_Field { $template_class = Field_Templates_Manager::get_instance()->get_template_class('template_selection', $attributes['template_selection_template']); - $content = $template_class ? $template_class->render_container($template_attributes, $this) : __('Template does not exist.', 'wp-ultimo'); + $content = $template_class ? $template_class->render_container($template_attributes, $this) : __('Template does not exist.', 'wp-multisite-waas'); $checkout_fields[ $attributes['id'] ] = [ 'type' => 'note', diff --git a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php index 7746cbb..f7eb3e3 100644 --- a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php +++ b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php @@ -69,7 +69,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { */ public function get_title() { - return __('Terms of Use', 'wp-ultimo'); + return __('Terms of Use', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { */ public function get_description() { - return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-ultimo'); + return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-ultimo'); + return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'wp-multisite-waas'); } /** @@ -123,7 +123,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { public function defaults() { return [ - 'tou_name' => __('I agree with the terms of use.', 'wp-ultimo'), + 'tou_name' => __('I agree with the terms of use.', 'wp-multisite-waas'), ]; } @@ -148,7 +148,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { return [ 'id' => 'terms_of_use', - 'name' => __('Terms of Use', 'wp-ultimo'), + 'name' => __('Terms of Use', 'wp-multisite-waas'), ]; } @@ -164,15 +164,15 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { 'tou_name' => [ 'order' => 10, 'type' => 'text', - 'title' => __('Terms Checkbox Label', 'wp-ultimo'), - 'placeholder' => __('e.g. I agree with the terms of use.', 'wp-ultimo'), + 'title' => __('Terms Checkbox Label', 'wp-multisite-waas'), + 'placeholder' => __('e.g. I agree with the terms of use.', 'wp-multisite-waas'), ], 'tou_url' => [ 'order' => 20, 'type' => 'url', - 'title' => __('Link to the Terms Page', 'wp-ultimo'), - 'desc' => __('Enter the link to the terms of use content.', 'wp-ultimo'), - 'placeholder' => __('e.g. https://yoursite.com/terms', 'wp-ultimo'), + 'title' => __('Link to the Terms Page', 'wp-multisite-waas'), + 'desc' => __('Enter the link to the terms of use content.', 'wp-multisite-waas'), + 'placeholder' => __('e.g. https://yoursite.com/terms', 'wp-multisite-waas'), ], ]; } @@ -189,7 +189,7 @@ class Signup_Field_Terms_Of_Use extends Base_Signup_Field { $checkout_fields = []; - $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'wp-ultimo')); + $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'wp-multisite-waas')); $checkout_fields['terms_of_use'] = [ 'type' => 'checkbox', diff --git a/inc/checkout/signup-fields/class-signup-field-text.php b/inc/checkout/signup-fields/class-signup-field-text.php index 686a816..93570f7 100644 --- a/inc/checkout/signup-fields/class-signup-field-text.php +++ b/inc/checkout/signup-fields/class-signup-field-text.php @@ -55,7 +55,7 @@ class Signup_Field_Text extends Base_Signup_Field { */ public function get_title() { - return __('Text', 'wp-ultimo'); + return __('Text', 'wp-multisite-waas'); } /** @@ -68,7 +68,7 @@ class Signup_Field_Text extends Base_Signup_Field { */ public function get_description() { - return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-ultimo'); + return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-multisite-waas'); } /** @@ -81,7 +81,7 @@ class Signup_Field_Text extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-ultimo'); + return __('Adds a text field that the customer can fill with arbitrary data.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/class-signup-field-username.php b/inc/checkout/signup-fields/class-signup-field-username.php index 5241773..1cd6e9f 100644 --- a/inc/checkout/signup-fields/class-signup-field-username.php +++ b/inc/checkout/signup-fields/class-signup-field-username.php @@ -69,7 +69,7 @@ class Signup_Field_Username extends Base_Signup_Field { */ public function get_title() { - return __('Username', 'wp-ultimo'); + return __('Username', 'wp-multisite-waas'); } /** @@ -82,7 +82,7 @@ class Signup_Field_Username extends Base_Signup_Field { */ public function get_description() { - return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-ultimo'); + return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-multisite-waas'); } /** @@ -95,7 +95,7 @@ class Signup_Field_Username extends Base_Signup_Field { */ public function get_tooltip() { - return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-ultimo'); + return __('Adds an username field. This username will be used to create the WordPress user.', 'wp-multisite-waas'); } /** @@ -167,8 +167,8 @@ class Signup_Field_Username extends Base_Signup_Field { return [ 'auto_generate_username' => [ 'type' => 'toggle', - 'title' => __('Auto-generate', 'wp-ultimo'), - 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'wp-ultimo'), + 'title' => __('Auto-generate', 'wp-multisite-waas'), + 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'wp-multisite-waas'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/field-templates/class-base-field-template.php b/inc/checkout/signup-fields/field-templates/class-base-field-template.php index 8175dcb..29abdbb 100644 --- a/inc/checkout/signup-fields/field-templates/class-base-field-template.php +++ b/inc/checkout/signup-fields/field-templates/class-base-field-template.php @@ -78,7 +78,7 @@ class Base_Field_Template { */ public function get_title() { - return __('Field Template', 'wp-ultimo'); + return __('Field Template', 'wp-multisite-waas'); } /** @@ -91,7 +91,7 @@ class Base_Field_Template { */ public function get_description() { - return __('Description', 'wp-ultimo'); + return __('Description', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php index 56eb491..dc53c05 100644 --- a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php +++ b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php @@ -64,7 +64,7 @@ class Simple_Order_Bump_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Simple', 'wp-ultimo'); + return __('Simple', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Simple_Order_Bump_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php index f3fe23f..a5a9be1 100644 --- a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php +++ b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php @@ -64,7 +64,7 @@ class Clean_Order_Summary_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Clean', 'wp-ultimo'); + return __('Clean', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Clean_Order_Summary_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php index 475e752..15449cc 100644 --- a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php @@ -64,7 +64,7 @@ class Clean_Period_Selection_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Clean', 'wp-ultimo'); + return __('Clean', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Clean_Period_Selection_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php index 5cc182e..2f151f0 100644 --- a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php @@ -64,7 +64,7 @@ class Legacy_Period_Selection_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Legacy', 'wp-ultimo'); + return __('Legacy', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Legacy_Period_Selection_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Multisite WaaS < 1.10.X.', 'wp-ultimo'); + return __('Implementation of the layout that shipped with WP Multisite WaaS < 1.10.X.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php index 0fdd83e..8c8eb73 100644 --- a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php +++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php @@ -64,7 +64,7 @@ class Legacy_Pricing_Table_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Legacy', 'wp-ultimo'); + return __('Legacy', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Legacy_Pricing_Table_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-ultimo'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php index dac11a5..6ee7227 100644 --- a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php +++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php @@ -42,7 +42,7 @@ class List_Pricing_Table_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Simple List', 'wp-ultimo'); + return __('Simple List', 'wp-multisite-waas'); } /** @@ -55,7 +55,7 @@ class List_Pricing_Table_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('Simple stylized list with price, recurrence, and the plan description.', 'wp-ultimo'); + return __('Simple stylized list with price, recurrence, and the plan description.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php index 6c2d49e..4161a00 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php @@ -64,7 +64,7 @@ class Clean_Steps_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Clean', 'wp-ultimo'); + return __('Clean', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Clean_Steps_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php index 55107ce..b75adba 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php @@ -64,7 +64,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Legacy', 'wp-ultimo'); + return __('Legacy', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Legacy_Steps_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-ultimo'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php index da84848..ae4462b 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php @@ -64,7 +64,7 @@ class Minimal_Steps_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Minimal', 'wp-ultimo'); + return __('Minimal', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Minimal_Steps_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php index 8b5b899..d57c001 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php @@ -64,7 +64,7 @@ class Clean_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Clean', 'wp-ultimo'); + return __('Clean', 'wp-multisite-waas'); } /** @@ -77,7 +77,7 @@ class Clean_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_description(): string { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-ultimo'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php index c02ed84..5c8a53b 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php @@ -53,7 +53,7 @@ class Legacy_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Legacy', 'wp-ultimo'); + return __('Legacy', 'wp-multisite-waas'); } /** @@ -66,7 +66,7 @@ class Legacy_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-ultimo'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'wp-multisite-waas'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php index df52a75..d77ba0f 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php @@ -53,7 +53,7 @@ class Minimal_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Minimal', 'wp-ultimo'); + return __('Minimal', 'wp-multisite-waas'); } /** @@ -66,7 +66,7 @@ class Minimal_Template_Selection_Field_Template extends Base_Field_Template { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-ultimo'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'wp-multisite-waas'); } /** diff --git a/inc/class-admin-notices.php b/inc/class-admin-notices.php index 9e02c4f..1b6904e 100644 --- a/inc/class-admin-notices.php +++ b/inc/class-admin-notices.php @@ -129,7 +129,7 @@ class Admin_Notices { */ public function enqueue_scripts(): void { - wp_enqueue_script('wu-admin-notices', wu_get_asset('admin-notices.js', 'js'), ['jquery'], wu_get_version()); + wp_enqueue_script('wu-admin-notices', wu_get_asset('admin-notices.js', 'js'), ['jquery'], wu_get_version(), true); } /** diff --git a/inc/class-ajax.php b/inc/class-ajax.php index 45b73b4..3835f9a 100644 --- a/inc/class-ajax.php +++ b/inc/class-ajax.php @@ -100,7 +100,7 @@ class Ajax { } $args = wp_parse_args( - $_REQUEST, + $_REQUEST, // phpcs:ignore WordPress.Security.NonceVerification.Recommended [ 'model' => 'membership', 'query' => [], diff --git a/inc/class-api.php b/inc/class-api.php index bb26170..b7706d4 100644 --- a/inc/class-api.php +++ b/inc/class-api.php @@ -96,12 +96,12 @@ class API { return $result; } - $current_route = $_SERVER['REQUEST_URI']; + $current_route = sanitize_text_field(wp_unslash($_SERVER['REQUEST_URI'] ?? '')); $rest_url = rest_url(); - $rest_path = rtrim(parse_url($rest_url, PHP_URL_PATH), '/'); + $rest_path = rtrim(wp_parse_url($rest_url, PHP_URL_PATH), '/'); - if (! str_starts_with((string) $current_route, $rest_path . '/' . $this->get_namespace())) { + if (! str_starts_with($current_route, $rest_path . '/' . $this->get_namespace())) { return $result; } @@ -142,8 +142,8 @@ class API { wu_register_settings_section( 'api', [ - 'title' => __('API & Webhooks', 'wp-ultimo'), - 'desc' => __('API & Webhooks', 'wp-ultimo'), + 'title' => __('API & Webhooks', 'wp-multisite-waas'), + 'desc' => __('API & Webhooks', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-paper-plane', 'order' => 95, ] @@ -153,8 +153,8 @@ class API { 'api', 'api_header', [ - 'title' => __('API Settings', 'wp-ultimo'), - 'desc' => __('Options related to WP Multisite WaaS API endpoints.', 'wp-ultimo'), + 'title' => __('API Settings', 'wp-multisite-waas'), + 'desc' => __('Options related to WP Multisite WaaS API endpoints.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -163,8 +163,8 @@ class API { 'api', 'enable_api', [ - 'title' => __('Enable API', 'wp-ultimo'), - 'desc' => __('Tick this box if you want WP Multisite WaaS to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'wp-ultimo'), + 'title' => __('Enable API', 'wp-multisite-waas'), + 'desc' => __('Tick this box if you want WP Multisite WaaS to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -173,14 +173,14 @@ class API { $refreshed_tag = ''; if (wu_request('updated') && wu_request('api') === 'refreshed') { - $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'wp-ultimo')); + $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'wp-multisite-waas')); } wu_register_settings_field( 'api', 'api_url', [ - 'title' => __('API URL', 'wp-ultimo'), + 'title' => __('API URL', 'wp-multisite-waas'), 'desc' => '', 'tooltip' => '', 'copy' => true, @@ -196,7 +196,7 @@ class API { 'api', 'api_key', [ - 'title' => __('API Key', 'wp-ultimo') . $refreshed_tag, + 'title' => __('API Key', 'wp-multisite-waas') . $refreshed_tag, 'desc' => '', 'tooltip' => '', 'type' => 'text-display', @@ -213,7 +213,7 @@ class API { 'api', 'api_secret', [ - 'title' => __('API Secret', 'wp-ultimo') . $refreshed_tag, + 'title' => __('API Secret', 'wp-multisite-waas') . $refreshed_tag, 'tooltip' => '', 'type' => 'text-display', 'copy' => true, @@ -229,7 +229,7 @@ class API { 'api', 'api_note', [ - 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'wp-ultimo'), + 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'wp-multisite-waas'), 'type' => 'note', 'classes' => 'wu-text-gray-700 wu-text-xs', 'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0', @@ -243,7 +243,7 @@ class API { 'api', 'refresh_api_credentials', [ - 'title' => __('Refresh API Credentials', 'wp-ultimo'), + 'title' => __('Refresh API Credentials', 'wp-multisite-waas'), 'type' => 'submit', 'classes' => 'button wu-ml-auto', 'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0', @@ -257,8 +257,8 @@ class API { 'api', 'api_log_calls', [ - 'title' => __('Log API calls (Advanced)', 'wp-ultimo'), - 'desc' => __('Tick this box if you want to log all calls received via WP Multisite WaaS API endpoints. You can access the logs on WP Multisite WaaS → System Info → Logs.', 'wp-ultimo'), + 'title' => __('Log API calls (Advanced)', 'wp-multisite-waas'), + 'desc' => __('Tick this box if you want to log all calls received via WP Multisite WaaS API endpoints. You can access the logs on WP Multisite WaaS → System Info → Logs.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -271,8 +271,8 @@ class API { 'api', 'webhook_header', [ - 'title' => __('Webhook Settings', 'wp-ultimo'), - 'desc' => __('Options related to WP Multisite WaaS API webhooks.', 'wp-ultimo'), + 'title' => __('Webhook Settings', 'wp-multisite-waas'), + 'desc' => __('Options related to WP Multisite WaaS API webhooks.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -281,8 +281,8 @@ class API { 'api', 'webhook_calls_blocking', [ - 'title' => __('Wait for Response (Advanced)', 'wp-ultimo'), - 'desc' => __('Tick this box if you want the WP Multisite WaaS\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'wp-ultimo'), + 'title' => __('Wait for Response (Advanced)', 'wp-multisite-waas'), + 'desc' => __('Tick this box if you want the WP Multisite WaaS\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -324,7 +324,7 @@ class API { */ public function validate_credentials($api_key, $api_secret) { - return compact('api_key', 'api_secret') === $this->get_auth(); // phpcs:ignore + return [$api_key, $api_secret] === $this->get_auth(); } /** @@ -355,7 +355,7 @@ class API { 'body_params' => $request->get_body(), ]; - wu_log_add('api-calls', json_encode($payload, JSON_PRETTY_PRINT)); + wu_log_add('api-calls', wp_json_encode($payload, JSON_PRETTY_PRINT)); } } @@ -383,7 +383,7 @@ class API { 'body_params' => $request->get_body(), ]; - wu_log_add('api-errors', json_encode($payload, JSON_PRETTY_PRINT)); + wu_log_add('api-errors', wp_json_encode($payload, JSON_PRETTY_PRINT)); } wu_log_add('api-errors', $result); @@ -401,9 +401,9 @@ class API { */ public function check_authorization($request) { - if (isset($_SERVER['PHP_AUTH_USER']) && $_SERVER['PHP_AUTH_USER']) { - $api_key = $_SERVER['PHP_AUTH_USER']; - $api_secret = $_SERVER['PHP_AUTH_PW']; + if (! empty($_SERVER['PHP_AUTH_USER']) && ! empty($_SERVER['PHP_AUTH_PW'])) { + $api_key = sanitize_text_field(wp_unslash($_SERVER['PHP_AUTH_USER'])); + $api_secret = sanitize_text_field(wp_unslash($_SERVER['PHP_AUTH_PW'])); } else { $params = $request->get_params(); @@ -486,7 +486,7 @@ class API { [ 'success' => true, 'label' => $current_site->site_name, - 'message' => __('Welcome to our API', 'wp-ultimo'), + 'message' => __('Welcome to our API', 'wp-multisite-waas'), ] ); } diff --git a/inc/class-async-calls.php b/inc/class-async-calls.php index e410722..be8227c 100644 --- a/inc/class-async-calls.php +++ b/inc/class-async-calls.php @@ -38,13 +38,12 @@ class Async_Calls { /** * Registers a new listener. * + * @since 2.0.7 * @param string $id The id of the listener. * @param callable $callback A callback to be run. * @param mixed ...$args Arguments to be passed to the callback. * * @return void - *@since 2.0.7 - * */ public static function register_listener($id, $callback, ...$args): void { diff --git a/inc/class-dashboard-widgets.php b/inc/class-dashboard-widgets.php index 4cbd29f..286f603 100644 --- a/inc/class-dashboard-widgets.php +++ b/inc/class-dashboard-widgets.php @@ -87,28 +87,28 @@ class Dashboard_Widgets { */ public function register_network_widgets(): void { - add_meta_box('wp-ultimo-setup', __('WP Multisite WaaS - First Steps', 'wp-ultimo'), [$this, 'output_widget_first_steps'], $this->screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-setup', __('WP Multisite WaaS - First Steps', 'wp-multisite-waas'), [$this, 'output_widget_first_steps'], $this->screen_id, 'normal', 'high'); - add_meta_box('wp-ultimo-summary', __('WP Multisite WaaS - Summary', 'wp-ultimo'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-summary', __('WP Multisite WaaS - Summary', 'wp-multisite-waas'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high'); - add_meta_box('wp-ultimo-activity-stream', __('WP Multisite WaaS - Activity Stream', 'wp-ultimo'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-activity-stream', __('WP Multisite WaaS - Activity Stream', 'wp-multisite-waas'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high'); \WP_Ultimo\UI\Tours::get_instance()->create_tour( 'dashboard', [ [ 'id' => 'welcome', - 'title' => __('Welcome!', 'wp-ultimo'), + 'title' => __('Welcome!', 'wp-multisite-waas'), 'text' => [ - __('Welcome to your new network dashboard!', 'wp-ultimo'), - __('You will notice that WP Multisite WaaS adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'wp-ultimo'), + __('Welcome to your new network dashboard!', 'wp-multisite-waas'), + __('You will notice that WP Multisite WaaS adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'wp-multisite-waas'), ], ], [ 'id' => 'finish-your-setup', - 'title' => __('Finish your setup', 'wp-ultimo'), + 'title' => __('Finish your setup', 'wp-multisite-waas'), 'text' => [ - __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'wp-ultimo'), + __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '#wp-ultimo-setup', @@ -117,9 +117,9 @@ class Dashboard_Widgets { ], [ 'id' => 'wp-ultimo-menu', - 'title' => __('Our home', 'wp-ultimo'), + 'title' => __('Our home', 'wp-multisite-waas'), 'text' => [ - __('You can always find WP Multisite WaaS settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'wp-ultimo'), + __('You can always find WP Multisite WaaS settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'wp-multisite-waas'), ], 'attachTo' => [ 'element' => '.toplevel_page_wp-ultimo', @@ -182,16 +182,16 @@ class Dashboard_Widgets { $steps = [ 'inital-setup' => [ - 'title' => __('Initial Setup', 'wp-ultimo'), - 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'wp-ultimo'), - 'action_label' => __('Finish the Setup Wizard', 'wp-ultimo'), + 'title' => __('Initial Setup', 'wp-multisite-waas'), + 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'wp-multisite-waas'), + 'action_label' => __('Finish the Setup Wizard', 'wp-multisite-waas'), 'action_link' => wu_network_admin_url('wp-ultimo-setup'), 'done' => wu_string_to_bool($initial_setup_done), ], 'payment-method' => [ - 'title' => __('Payment Method', 'wp-ultimo'), - 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'wp-ultimo'), - 'action_label' => __('Add a Payment Method', 'wp-ultimo'), + 'title' => __('Payment Method', 'wp-multisite-waas'), + 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'wp-multisite-waas'), + 'action_label' => __('Add a Payment Method', 'wp-multisite-waas'), 'action_link' => wu_network_admin_url( 'wp-ultimo-settings', [ @@ -202,10 +202,10 @@ class Dashboard_Widgets { ], 'your-first-customer' => [ 'done' => ! empty(wu_get_customers()), - 'title' => __('Your First Customer', 'wp-ultimo'), - 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'wp-ultimo'), + 'title' => __('Your First Customer', 'wp-multisite-waas'), + 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'wp-multisite-waas'), 'action_link' => wp_registration_url(), - 'action_label' => __('Create a test Account', 'wp-ultimo'), + 'action_label' => __('Create a test Account', 'wp-multisite-waas'), ], ]; @@ -281,10 +281,10 @@ class Dashboard_Widgets { public function process_ajax_fetch_rss(): void { $atts = wp_parse_args( - $_GET, + $_GET, // phpcs:ignore WordPress.Security.NonceVerification.Recommended [ 'url' => 'https://community.wpultimo.com/topics/feed', - 'title' => __('Forum Discussions', 'wp-ultimo'), + 'title' => __('Forum Discussions', 'wp-multisite-waas'), 'items' => 3, 'show_summary' => 1, 'show_author' => 0, diff --git a/inc/class-domain-mapping.php b/inc/class-domain-mapping.php index 739e849..d6e0caf 100644 --- a/inc/class-domain-mapping.php +++ b/inc/class-domain-mapping.php @@ -75,7 +75,7 @@ class Domain_Mapping { /* * Don't run during installation... */ - if (defined('WP_INSTALLING') && '/wp-activate.php' !== $_SERVER['SCRIPT_NAME']) { + if (defined('WP_INSTALLING') && '/wp-activate.php' !== $_SERVER['SCRIPT_NAME']) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput return; } @@ -132,10 +132,8 @@ class Domain_Mapping { */ add_action('ms_loaded', [$this, 'register_mapped_filters'], 11); - // add_action('allowed_http_origin', array($this, 'add_mapped_domains_as_allowed_origins')); - /** - * On WP Multisite WaaS 1.X builds we used Mercator. The Mercator actions and filters are now deprecated. + * On WP Ultimo 1.X builds we used Mercator. The Mercator actions and filters are now deprecated. */ if (has_action('mercator_load')) { do_action_deprecated('mercator_load', [], '2.0.0', 'wu_domain_mapping_load'); @@ -143,7 +141,7 @@ class Domain_Mapping { add_action( 'wu_sso_site_allowed_domains', - function ($list, $site_id): array { + function ($domain_list, $site_id): array { $domains = wu_get_domains( [ @@ -154,7 +152,7 @@ class Domain_Mapping { ] ); - return array_merge($list, $domains); + return array_merge($domain_list, $domains); }, 10, 2 @@ -338,7 +336,7 @@ class Domain_Mapping { /** * Clear mappings for a site when it's deleted * - * @param WP_Site $site Site being deleted. + * @param \WP_Site $site Site being deleted. */ public function clear_mappings_on_delete($site): void { @@ -354,9 +352,9 @@ class Domain_Mapping { if (is_wp_error($error)) { // translators: First placeholder is the mapping ID, second is the site ID. - $message = sprintf(__('Unable to delete mapping %1$d for site %2$d', 'wp-ultimo'), $mapping->get_id(), $site->blog_id); + $message = sprintf(__('Unable to delete mapping %1$d for site %2$d', 'wp-multisite-waas'), $mapping->get_id(), $site->blog_id); - trigger_error($message, E_USER_WARNING); + trigger_error(esc_html($message), E_USER_WARNING); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error } } } @@ -376,7 +374,7 @@ class Domain_Mapping { } $real_domain = $current_site->domain; - $domain = $_SERVER['HTTP_HOST']; + $domain = $_SERVER['HTTP_HOST']; // phpcs:ignore if ($domain === $real_domain) { @@ -474,7 +472,7 @@ class Domain_Mapping { } // Replace the domain - $domain_base = parse_url($url, PHP_URL_HOST); + $domain_base = wp_parse_url($url, PHP_URL_HOST); $domain = rtrim($domain_base . '/' . $current_mapping->get_site()->get_path(), '/'); $regex = '#^(\w+://)' . preg_quote($domain, '#') . '#i'; $mangled = preg_replace($regex, '${1}' . $current_mapping->get_domain(), $url); diff --git a/inc/class-faker.php b/inc/class-faker.php index 0ed26b6..b1ed72c 100644 --- a/inc/class-faker.php +++ b/inc/class-faker.php @@ -351,7 +351,7 @@ class Faker { ); if (is_wp_error($customer)) { - throw new \Exception($customer->get_error_message()); + throw new \Exception(esc_html($customer->get_error_message())); } else { $this->set_fake_data_generated('customers', $customer); } @@ -411,7 +411,7 @@ class Faker { $product = wu_create_product($product_data); if (is_wp_error($product)) { - throw new \Exception($product->get_error_message()); + throw new \Exception(esc_html($product->get_error_message())); } else { $this->set_fake_data_generated('products', $product); } @@ -460,7 +460,7 @@ class Faker { $membership = wu_create_membership($membership_data); if (is_wp_error($membership)) { - throw new \Exception($membership->get_error_message()); + throw new \Exception(esc_html($membership->get_error_message())); } else { $this->set_fake_data_generated('memberships', $membership); } @@ -502,7 +502,7 @@ class Faker { ); if (is_wp_error($domain)) { - throw new \Exception($domain->get_error_message()); + throw new \Exception(esc_html($domain->get_error_message())); } else { $this->set_fake_data_generated('domains', $domain); } @@ -550,7 +550,7 @@ class Faker { $event_data = wu_create_event($event_data); if (is_wp_error($event_data)) { - throw new \Exception($event_data->get_error_message()); + throw new \Exception(esc_html($event_data->get_error_message())); } else { $this->set_fake_data_generated('events', $event_data); } @@ -599,7 +599,7 @@ class Faker { ); if (is_wp_error($discount_code)) { - throw new \Exception($discount_code->get_error_message()); + throw new \Exception(esc_html($discount_code->get_error_message())); } else { $this->set_fake_data_generated('discount_codes', $discount_code); } @@ -635,7 +635,7 @@ class Faker { $checkout_form = wu_create_checkout_form($checkout_form_data); if (is_wp_error($checkout_form)) { - throw new \Exception($checkout_form->get_error_message()); + throw new \Exception(esc_html($checkout_form->get_error_message())); } else { $this->set_fake_data_generated('checkout_forms', $checkout_form); } @@ -691,7 +691,7 @@ class Faker { $email = wu_create_email($email_data); if (is_wp_error($email)) { - throw new \Exception($email->get_error_message()); + throw new \Exception(esc_html($email->get_error_message())); } else { $this->set_fake_data_generated('emails', $email); } @@ -734,7 +734,7 @@ class Faker { $broadcast = wu_create_broadcast($broadcast_data); if (is_wp_error($broadcast)) { - throw new \Exception($broadcast->get_error_message()); + throw new \Exception(esc_html($broadcast->get_error_message())); } else { $this->set_fake_data_generated('broadcasts', $broadcast); } @@ -777,7 +777,7 @@ class Faker { $webhook = wu_create_webhook($webhook_data); if (is_wp_error($webhook)) { - throw new \Exception($webhook->get_error_message()); + throw new \Exception(esc_html($webhook->get_error_message())); } else { $this->set_fake_data_generated('webhooks', $webhook); } @@ -839,7 +839,7 @@ class Faker { $payment = wu_create_payment($payment_data); if (is_wp_error($payment)) { - throw new \Exception($payment->get_error_message()); + throw new \Exception(esc_html($payment->get_error_message())); } else { $payment->recalculate_totals()->save(); @@ -892,7 +892,7 @@ class Faker { $site = wu_create_site($site_data); if (is_wp_error($site)) { - throw new \Exception($site->get_error_message()); + throw new \Exception(esc_html($site->get_error_message())); } else { $this->set_fake_data_generated('sites', $site); } diff --git a/inc/class-helper.php b/inc/class-helper.php index e6f867a..58fe588 100644 --- a/inc/class-helper.php +++ b/inc/class-helper.php @@ -102,14 +102,14 @@ class Helper { * * @since 1.9.6 * @param string $option_name Option name. - * @param mixed $default The default value. + * @param mixed $default_value The default value. * @return mixed */ - public function get_option($option_name = 'settings', $default = []) { + public function get_option($option_name = 'settings', $default_value = []) { _deprecated_function(__METHOD__, '2.0.11', 'wu_get_option'); - return wu_get_option($option_name, $default); + return wu_get_option($option_name, $default_value); } /** diff --git a/inc/class-hooks.php b/inc/class-hooks.php index 5bf09ab..48b55a4 100644 --- a/inc/class-hooks.php +++ b/inc/class-hooks.php @@ -56,7 +56,7 @@ class Hooks { */ public static function on_activation(): void { - wu_log_add('wp-ultimo-core', __('Activating WP Multisite WaaS...', 'wp-ultimo')); + wu_log_add('wp-ultimo-core', __('Activating WP Multisite WaaS...', 'wp-multisite-waas')); /* * Set the activation flag @@ -100,7 +100,7 @@ class Hooks { */ public static function on_deactivation(): void { - wu_log_add('wp-ultimo-core', __('Deactivating WP Multisite WaaS...', 'wp-ultimo')); + wu_log_add('wp-ultimo-core', __('Deactivating WP Multisite WaaS...', 'wp-multisite-waas')); /* * Update the sunrise meta file. diff --git a/inc/class-light-ajax.php b/inc/class-light-ajax.php index ae3c763..34ff693 100644 --- a/inc/class-light-ajax.php +++ b/inc/class-light-ajax.php @@ -31,7 +31,7 @@ class Light_Ajax { */ public function __construct() { - if (isset($_REQUEST['wu-ajax'])) { + if (isset($_REQUEST['wu-ajax'])) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended $action = $this->get_when_to_run(); wu_x_header("X-Ultimo-Ajax-When: $action"); @@ -101,7 +101,7 @@ class Light_Ajax { ] ); - $action = isset($_REQUEST['wu-when']) ? base64_decode((string) $_REQUEST['wu-when']) : 'plugins_loaded'; + $action = isset($_REQUEST['wu-when']) ? base64_decode((string) $_REQUEST['wu-when']) : 'plugins_loaded'; // phpcs:ignore WordPress return in_array($action, $allowed_list, true) ? $action : 'plugins_loaded'; } @@ -151,7 +151,7 @@ class Light_Ajax { header('Pragma: no-cache'); - $action = esc_attr(trim((string) $_REQUEST['action'])); + $action = esc_attr(trim((string) $_REQUEST['action'])); // phpcs:ignore if (is_user_logged_in()) { do_action('wu_ajax_' . $action); // phpcs:ignore diff --git a/inc/class-logger.php b/inc/class-logger.php index d95d959..a896da6 100644 --- a/inc/class-logger.php +++ b/inc/class-logger.php @@ -65,7 +65,7 @@ class Logger extends AbstractLogger { * * Here we are converting the PHP error reporting level to the PSR-3 log level. */ - $reporting_level = error_reporting(); + $reporting_level = error_reporting(); // phpcs:ignore WordPress.PHP $psr_log_levels = [ E_ERROR => LogLevel::ERROR, @@ -131,7 +131,7 @@ class Logger extends AbstractLogger { } // read file - $content = file_get_contents($file); + $content = file_get_contents($file); // phpcs:ignore WordPress.WP.AlternativeFunctions // split into lines $arr_content = explode(PHP_EOL, $content); @@ -181,7 +181,7 @@ class Logger extends AbstractLogger { $time_elapsed = microtime(true) - $start; // translators: the placeholder %s will be replaced by the time in seconds (float). - $message .= ' - ' . sprintf(__('This action took %s seconds.', 'wp-ultimo'), $time_elapsed); + $message .= ' - ' . sprintf(__('This action took %s seconds.', 'wp-multisite-waas'), $time_elapsed); self::add($handle, $message); @@ -280,13 +280,13 @@ class Logger extends AbstractLogger { protected function write_to_file($message) { if ( ! file_exists($this->log_file)) { - touch($this->log_file); + touch($this->log_file); // phpcs:ignore WordPress.WP.AlternativeFunctions } - if ( ! is_writable($this->log_file)) { + if ( ! is_writable($this->log_file)) { // phpcs:ignore WordPress.WP.AlternativeFunctions return; } - file_put_contents($this->log_file, $message, FILE_APPEND | LOCK_EX); + file_put_contents($this->log_file, $message, FILE_APPEND | LOCK_EX); // phpcs:ignore WordPress.WP.AlternativeFunctions } } diff --git a/inc/class-maintenance-mode.php b/inc/class-maintenance-mode.php index 07cb324..b4cdb54 100644 --- a/inc/class-maintenance-mode.php +++ b/inc/class-maintenance-mode.php @@ -30,7 +30,7 @@ class Maintenance_Mode { */ public function init(): void { - add_action('wp_ultimo_load', [$this, 'add_settings']); + add_action('init', [$this, 'add_settings']); if (wu_get_setting('maintenance_mode')) { $this->hooks(); @@ -71,7 +71,7 @@ class Maintenance_Mode { * Add maintenance mode Notice to Admin Bar * * @since 2.0.0 - * @param WP_Admin_Bar $wp_admin_bar The Admin Bar class. + * @param \WP_Admin_Bar $wp_admin_bar The Admin Bar class. * @return void */ public function add_notice_to_admin_bar($wp_admin_bar): void { @@ -84,11 +84,11 @@ class Maintenance_Mode { $args = [ 'id' => 'wu-maintenance-mode', 'parent' => 'top-secondary', - 'title' => __('Maintenance Mode - Active', 'wp-ultimo'), + 'title' => __('Maintenance Mode - Active', 'wp-multisite-waas'), 'href' => '#wp-ultimo-site-maintenance-element', 'meta' => [ 'class' => 'wu-maintenance-mode ' . (self::check_maintenance_mode() ? '' : 'hidden'), - 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'wp-ultimo'), + 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'wp-multisite-waas'), ], ]; @@ -110,15 +110,15 @@ class Maintenance_Mode { $text = apply_filters( 'wu_maintenance_mode_text', - __('Website under planned maintenance. Please check back later.', 'wp-ultimo') + __('Website under planned maintenance. Please check back later.', 'wp-multisite-waas') ); $title = apply_filters( 'wu_maintenance_mode_title', - __('Under Maintenance', 'wp-ultimo') + __('Under Maintenance', 'wp-multisite-waas') ); - wp_die($text, $title, 503); + wp_die(esc_html($text), esc_html($title), 503); } /** @@ -140,14 +140,21 @@ class Maintenance_Mode { */ public function toggle_maintenance_mode() { - check_ajax_referer('wu_toggle_maintenance_mode', $_POST['_wpnonce']); + if ( ! check_ajax_referer('wu_toggle_maintenance_mode', '_wpnonce', false)) { + wp_send_json_error( + [ + 'message' => __('Request failed, please refresh and try again.', 'wp-multisite-waas'), + 'value' => false, + ] + ); + } $site_id = \WP_Ultimo\Helpers\Hash::decode(wu_request('site_hash'), 'site'); - if ( ! current_user_can_for_blog($site_id, 'manage_options')) { - return wp_send_json_error( + if ( ! current_user_can_for_site($site_id, 'manage_options')) { + wp_send_json_error( [ - 'message' => __('You do not have the necessary permissions to perform this option.', 'wp-ultimo'), + 'message' => __('You do not have the necessary permissions to perform this option.', 'wp-multisite-waas'), 'value' => false, ] ); @@ -160,7 +167,7 @@ class Maintenance_Mode { update_site_meta($site_id, 'wu_maintenance_mode', $value); $return = [ - 'message' => __('New maintenance settings saved.', 'wp-ultimo'), + 'message' => __('New maintenance settings saved.', 'wp-multisite-waas'), 'value' => $value, ]; @@ -182,8 +189,8 @@ class Maintenance_Mode { 'sites', 'maintenance_mode', [ - 'title' => __('Site Maintenance Mode', 'wp-ultimo'), - 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'wp-ultimo'), + 'title' => __('Site Maintenance Mode', 'wp-multisite-waas'), + 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, 'order' => 23, diff --git a/inc/class-newsletter.php b/inc/class-newsletter.php index 9893c61..236ae5a 100644 --- a/inc/class-newsletter.php +++ b/inc/class-newsletter.php @@ -17,8 +17,8 @@ class Newsletter { 'general', self::SETTING_FIELD_SLUG, [ - 'title' => __('Signup for WP Multisite WaaS Newsletter', 'wp-ultimo'), - 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'wp-ultimo'), + 'title' => __('Signup for WP Multisite WaaS Newsletter', 'wp-multisite-waas'), + 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'wp-multisite-waas'), 'type' => 'toggle', 'value' => '1', ], @@ -39,7 +39,7 @@ class Newsletter { */ public function maybe_update_newsletter_subscription($settings, $settings_to_save, $saved_settings) { - if ( isset($settings_to_save[ self::SETTING_FIELD_SLUG ]) && $settings_to_save[ self::SETTING_FIELD_SLUG ] && $settings_to_save[ self::SETTING_FIELD_SLUG ] != $saved_settings[ self::SETTING_FIELD_SLUG ] ) { + if ( isset($settings_to_save[ self::SETTING_FIELD_SLUG ]) && $settings_to_save[ self::SETTING_FIELD_SLUG ] && $settings_to_save[ self::SETTING_FIELD_SLUG ] !== $saved_settings[ self::SETTING_FIELD_SLUG ] ) { $response = wp_remote_post( 'https://wpmultisitewaas.org/wp-json/newsletter/v2/subscribers', [ @@ -55,7 +55,7 @@ class Newsletter { 'headers' => [ 'Accept' => 'application/json', 'Content-Type' => 'application/json', - 'Authorization' => 'Basic ' . base64_encode('30220d7fb4ec49a7410b3a309b9346c18410bd56:0407cd731d6f074cd0b96f2643b7619e89af1ed2'), + 'Authorization' => 'Basic ' . base64_encode('30220d7fb4ec49a7410b3a309b9346c18410bd56:0407cd731d6f074cd0b96f2643b7619e89af1ed2'), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode ], ] ); @@ -73,7 +73,7 @@ class Newsletter { 'headers' => [ 'Accept' => 'application/json', 'Content-Type' => 'application/json', - 'Authorization' => 'Basic ' . base64_encode('30220d7fb4ec49a7410b3a309b9346c18410bd56:0407cd731d6f074cd0b96f2643b7619e89af1ed2'), + 'Authorization' => 'Basic ' . base64_encode('30220d7fb4ec49a7410b3a309b9346c18410bd56:0407cd731d6f074cd0b96f2643b7619e89af1ed2'), // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.obfuscation_base64_encode ], ] ); diff --git a/inc/class-requirements.php b/inc/class-requirements.php index e76e9a6..483f154 100644 --- a/inc/class-requirements.php +++ b/inc/class-requirements.php @@ -44,7 +44,7 @@ class Requirements { * @since 2.0.0 * @var string */ - public static $php_recommended_version = '7.4.1'; + public static $php_recommended_version = '8.2.27'; /** * Minimum WordPress version required to run WP Multisite WaaS. @@ -60,7 +60,7 @@ class Requirements { * @since 2.0.0 * @var string */ - public static $wp_recommended_version = '6.4.1'; + public static $wp_recommended_version = '6.7.2'; /** * Static-only class. @@ -280,10 +280,19 @@ class Requirements { */ public static function notice_unsupported_php_version(): void { - // translators: the %1$s placeholder is the required PHP version, while the %2$s is the current PHP version. - $message = sprintf(__('WP Multisite WaaS requires at least PHP version %1$s to run. Your current PHP version is %2$s. Please, contact your hosting company support to upgrade your PHP version. If you want maximum performance consider upgrading your PHP to version 7.0 or later.', 'wp-ultimo'), self::$php_version, phpversion()); - - printf('

%s

', $message); + printf( + '

%s

', + sprintf( + // translators: the %1$s placeholder is the required PHP version, while the %2$s is the current PHP version, and %3$s is the recommended PHP version. + esc_html__( + 'WP Multisite WaaS requires at least PHP version %1$s to run. Your current PHP version is %2$s. Please, contact your hosting company support to upgrade your PHP version. If you want maximum performance consider upgrading your PHP to version %3$s or later.', + 'wp-multisite-waas' + ), + esc_html(self::$php_version), + '' . esc_html(phpversion()) . '', + esc_html(self::$php_recommended_version) + ) + ); } /** @@ -296,10 +305,18 @@ class Requirements { global $wp_version; - // translators: the %1$s placeholder is the required WP version, while the %2$s is the current WP version. - $message = sprintf(__('WP Multisite WaaS requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', 'wp-ultimo'), self::$wp_version, $wp_version); - - printf('

%s

', $message); + printf( + '

%s

', + sprintf( + // translators: the %1$s placeholder is the required WP version, while the %2$s is the current WP version. + esc_html__( + 'WP Multisite WaaS requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', + 'wp-multisite-waas' + ), + esc_html(self::$wp_version), + '' . esc_html($wp_version) . '' + ) + ); } /** @@ -310,9 +327,7 @@ class Requirements { */ public static function notice_not_multisite(): void { - $message = __('WP Multisite WaaS requires a multisite install to run properly. To know more about WordPress Networks, visit this link: Create a Network →', 'wp-ultimo'); - - printf('

%s

', $message); + printf('', esc_html__('WP Multisite WaaS requires a multisite install to run properly. To know more about WordPress Networks, visit this link:', 'wp-multisite-waas'), esc_html__('Create a Network', 'wp-multisite-waas')); } /** @@ -323,9 +338,13 @@ class Requirements { */ public static function notice_not_network_active(): void { - // translators: %s is a placeholder for the Network Admin plugins page URL. - $message = sprintf(__('WP Multisite WaaS needs to be network active to run properly. You can "Network Activate" it here', 'wp-ultimo'), network_admin_url('plugins.php')); - - printf('

%s

', $message); + printf( + '

%s

', + sprintf( + // translators: %s is a placeholder for the Network Admin plugins page URL with link text. + esc_html__('WP Multisite WaaS needs to be network active to run properly. You can "Network Activate" it %s', 'wp-multisite-waas'), + '' . esc_html__('here', 'wp-multisite-waas') . '' + ) + ); } } diff --git a/inc/class-scripts.php b/inc/class-scripts.php index fc320cd..d26deea 100644 --- a/inc/class-scripts.php +++ b/inc/class-scripts.php @@ -47,14 +47,24 @@ class Scripts { * * @since 2.0.0 * - * @param string $handle The script handle. Used to enqueue the script. - * @param string $src URL to the file. - * @param array $deps List of dependency scripts. + * @param string $handle The script handle. Used to enqueue the script. + * @param string $src URL to the file. + * @param array $deps List of dependency scripts. + * @param array|bool $args { + * Optional. An array of additional script loading strategies. Default empty array. + * Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false. + * + * @type string $strategy Optional. If provided, may be either 'defer' or 'async'. + * @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'. + * } * @return void */ - public function register_script($handle, $src, $deps = []): void { + public function register_script($handle, $src, $deps = [], $args = [ + 'async' => true, + 'in_footer' => true, + ]): void { - wp_register_script($handle, $src, $deps, wu_get_version()); + wp_register_script($handle, $src, $deps, wu_get_version(), $args); } /** @@ -141,9 +151,9 @@ class Scripts { [ 'currency' => wu_get_setting('currency_symbol', 'USD'), 'currency_symbol' => wu_get_currency_symbol(), - 'currency_position' => wu_get_setting('currency_position'), - 'decimal_separator' => wu_get_setting('decimal_separator'), - 'thousand_separator' => wu_get_setting('thousand_separator'), + 'currency_position' => wu_get_setting('currency_position', '%s %v'), + 'decimal_separator' => wu_get_setting('decimal_separator', '.'), + 'thousand_separator' => wu_get_setting('thousand_separator', ','), 'precision' => wu_get_setting('precision', 2), 'use_container' => get_user_setting('wu_use_container', false), 'disable_image_zoom' => wu_get_setting('disable_image_zoom', false), @@ -153,7 +163,11 @@ class Scripts { /* * Adds Fields & Components */ - $this->register_script('wu-fields', wu_get_asset('fields.js', 'js'), ['jquery', 'wu-vue', 'wu-selectizer', 'wp-color-picker']); + $this->register_script( + 'wu-fields', + wu_get_asset('fields.js', 'js'), + ['jquery', 'wu-vue', 'wu-selectizer', 'wp-color-picker'] + ); /* * Localize components @@ -163,8 +177,8 @@ class Scripts { 'wu_fields', [ 'l10n' => [ - 'image_picker_title' => __('Select an Image.', 'wp-ultimo'), - 'image_picker_button_text' => __('Use this image', 'wp-ultimo'), + 'image_picker_title' => __('Select an Image.', 'wp-multisite-waas'), + 'image_picker_button_text' => __('Use this image', 'wp-multisite-waas'), ], ] ); @@ -228,6 +242,13 @@ class Scripts { ] ); + wp_register_script_module( + 'wu-flags-polyfill', + wu_get_asset('flags.js', 'js'), + array(), + \WP_Ultimo::VERSION + ); + /* * WordPress localizes month names and all, but * does not localize anything else. We need relative @@ -253,7 +274,7 @@ class Scripts { 'LT' => $time_format, 'LTS' => str_replace(':i', ':i:s', (string) $time_format), /* translators: the day/month/year date format used by WP Multisite WaaS. You can changed it to localize this date format to your language. the default value is d/m/Y, which is the format 31/12/2021. */ - 'L' => __('d/m/Y', 'wp-ultimo'), + 'L' => __('d/m/Y', 'wp-multisite-waas'), 'LL' => $date_format, 'LLL' => sprintf('%s %s', $date_format, $time_format), 'LLLL' => sprintf('%s %s', $date_format, $time_format), @@ -263,22 +284,22 @@ class Scripts { // phpcs:disable $strings = [ 'relativeTime' => [ - 'future' => __('in %s', 'wp-ultimo'), - 'past' => __('%s ago', 'wp-ultimo'), - 's' => __('a few seconds', 'wp-ultimo'), - 'ss' => __('%d seconds', 'wp-ultimo'), - 'm' => __('a minute', 'wp-ultimo'), - 'mm' => __('%d minutes', 'wp-ultimo'), - 'h' => __('an hour', 'wp-ultimo'), - 'hh' => __('%d hours', 'wp-ultimo'), - 'd' => __('a day', 'wp-ultimo'), - 'dd' => __('%d days', 'wp-ultimo'), - 'w' => __('a week', 'wp-ultimo'), - 'ww' => __('%d weeks', 'wp-ultimo'), - 'M' => __('a month', 'wp-ultimo'), - 'MM' => __('%d months', 'wp-ultimo'), - 'y' => __('a year', 'wp-ultimo'), - 'yy' => __('%d years', 'wp-ultimo'), + 'future' => __('in %s', 'wp-multisite-waas'), + 'past' => __('%s ago', 'wp-multisite-waas'), + 's' => __('a few seconds', 'wp-multisite-waas'), + 'ss' => __('%d seconds', 'wp-multisite-waas'), + 'm' => __('a minute', 'wp-multisite-waas'), + 'mm' => __('%d minutes', 'wp-multisite-waas'), + 'h' => __('an hour', 'wp-multisite-waas'), + 'hh' => __('%d hours', 'wp-multisite-waas'), + 'd' => __('a day', 'wp-multisite-waas'), + 'dd' => __('%d days', 'wp-multisite-waas'), + 'w' => __('a week', 'wp-multisite-waas'), + 'ww' => __('%d weeks', 'wp-multisite-waas'), + 'M' => __('a month', 'wp-multisite-waas'), + 'MM' => __('%d months', 'wp-multisite-waas'), + 'y' => __('a year', 'wp-multisite-waas'), + 'yy' => __('%d years', 'wp-multisite-waas'), ], 'longDateFormat' => $long_date_formats, ]; diff --git a/inc/class-session-cookie.php b/inc/class-session-cookie.php index 31d6fcf..db42bd1 100644 --- a/inc/class-session-cookie.php +++ b/inc/class-session-cookie.php @@ -137,7 +137,7 @@ class Session_Cookie implements Session { $expire = HOUR_IN_SECONDS; } - $value = json_encode($this->data, JSON_UNESCAPED_UNICODE); + $value = wp_json_encode($this->data, JSON_UNESCAPED_UNICODE); $cookie = new Cookie($this->get_cookie_name()); $cookie->setValue($value); diff --git a/inc/class-settings.php b/inc/class-settings.php index df6d5d7..2c1393e 100644 --- a/inc/class-settings.php +++ b/inc/class-settings.php @@ -91,7 +91,7 @@ class Settings { return $status; } - $status = wu_get_setting('enable_registration') ? 'all' : $status; + $status = wu_get_setting('enable_registration', true) ? 'all' : $status; return $status; } @@ -153,13 +153,8 @@ class Settings { $this->settings = wu_get_option(self::KEY); } - if (false === $this->settings || empty($this->settings)) { - if ( ! $this->saving) { - $this->saving = true; - $this->settings = $this->save_settings([], true); - } else { - return []; - } + if (empty($this->settings)) { + return []; } if ($check_caps) {} // phpcs:ignore; @@ -174,20 +169,21 @@ class Settings { * @since 1.4.0 Now we can filter settings we get. * * @param string $setting Settings name to return. - * @param mixed $default Default value for the setting if it doesn't exist. + * @param mixed $default_value Default value for the setting if it doesn't exist. + * * @return mixed The value of that setting */ - public function get_setting($setting, $default = false) { + public function get_setting($setting, $default_value = false) { $settings = $this->get_all(); if (str_contains($setting, '-')) { - _doing_it_wrong($setting, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-ultimo'), '2.0.0'); + _doing_it_wrong($setting, esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-multisite-waas'), '2.0.0'); } - $setting_value = $settings[ $setting ] ?? $default; + $setting_value = $settings[ $setting ] ?? $default_value; - return apply_filters('wu_get_setting', $setting_value, $setting, $default, $settings); + return apply_filters('wu_get_setting', $setting_value, $setting, $default_value, $settings); } /** @@ -234,7 +230,7 @@ class Settings { $sections = $this->get_sections(); - $saved_settings = ! $reset ? $this->get_all() : []; + $saved_settings = $this->get_all(); do_action('wu_before_save_settings', $settings_to_save); @@ -253,7 +249,7 @@ class Settings { $new_value = false; } - $value = $reset ? $field->default : $new_value; + $value = $new_value; $field->set_value($value); @@ -392,6 +388,7 @@ class Settings { * @param string $section_slug Section to which this field will be added to. * @param string $field_slug ID of the field. This is used to later retrieve the value saved on this setting. * @param array $atts Field attributes such as title, description, tooltip, default value, etc. + * @param int $priority Priority of the field. This is used to order the fields. * @return void */ public function add_field($section_slug, $field_slug, $atts, $priority = 10): void { @@ -405,7 +402,7 @@ class Settings { * We no longer support settings with hyphens. */ if (str_contains($field_slug, '-')) { - _doing_it_wrong($field_slug, __('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-ultimo'), '2.0.0'); + _doing_it_wrong($field_slug, esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'wp-multisite-waas'), '2.0.0'); } $default_order = (count($fields) + 1) * 10; @@ -470,7 +467,7 @@ class Settings { $new_attrs['data-selected'] = $data_selected->to_search_results(); } - $new_attrs['data-selected'] = json_encode($new_attrs['data-selected']); + $new_attrs['data-selected'] = wp_json_encode($new_attrs['data-selected']); return array_merge($original_html_attr, $new_attrs); }; @@ -483,7 +480,7 @@ class Settings { foreach ($atts['require'] as $attr => $value) { $attr = str_replace('-', '_', $attr); - $value = json_encode($value); + $value = wp_json_encode($value); $require_rules[] = "require('{$attr}', {$value})"; } @@ -500,6 +497,7 @@ class Settings { ); $settings = $this->get_all(); + /* * Makes sure we install the default value if it is not set yet. */ @@ -526,8 +524,8 @@ class Settings { $this->add_section( 'general', [ - 'title' => __('General', 'wp-ultimo'), - 'desc' => __('General', 'wp-ultimo'), + 'title' => __('General', 'wp-multisite-waas'), + 'desc' => __('General', 'wp-multisite-waas'), ] ); @@ -535,8 +533,8 @@ class Settings { 'general', 'company_header', [ - 'title' => __('Your Business', 'wp-ultimo'), - 'desc' => __('General information about your business..', 'wp-ultimo'), + 'title' => __('Your Business', 'wp-multisite-waas'), + 'desc' => __('General information about your business..', 'wp-multisite-waas'), 'type' => 'header', ], 10 @@ -546,8 +544,8 @@ class Settings { 'general', 'company_name', [ - 'title' => __('Company Name', 'wp-ultimo'), - 'desc' => __('This name is used when generating invoices, for example.', 'wp-ultimo'), + 'title' => __('Company Name', 'wp-multisite-waas'), + 'desc' => __('This name is used when generating invoices, for example.', 'wp-multisite-waas'), 'type' => 'text', 'default' => get_network_option(null, 'site_name'), ], @@ -558,8 +556,8 @@ class Settings { 'general', 'company_logo', [ - 'title' => __('Upload Company Logo', 'wp-ultimo'), - 'desc' => __('Add your company logo to be used on the login page and other places.', 'wp-ultimo'), + 'title' => __('Upload Company Logo', 'wp-multisite-waas'), + 'desc' => __('Add your company logo to be used on the login page and other places.', 'wp-multisite-waas'), 'type' => 'image', 'default' => '', ], @@ -570,8 +568,8 @@ class Settings { 'general', 'company_email', [ - 'title' => __('Company Email Address', 'wp-ultimo'), - 'desc' => __('This email is used when generating invoices, for example.', 'wp-ultimo'), + 'title' => __('Company Email Address', 'wp-multisite-waas'), + 'desc' => __('This email is used when generating invoices, for example.', 'wp-multisite-waas'), 'type' => 'text', 'default' => get_network_option(null, 'admin_email'), ], @@ -582,8 +580,8 @@ class Settings { 'general', 'company_address', [ - 'title' => __('Company Address', 'wp-ultimo'), - 'desc' => __('This address is used when generating invoices.', 'wp-ultimo'), + 'title' => __('Company Address', 'wp-multisite-waas'), + 'desc' => __('This address is used when generating invoices.', 'wp-multisite-waas'), 'type' => 'textarea', 'placeholder' => "350 Fifth Avenue\nManhattan, \nNew York City, NY \n10118", 'default' => '', @@ -598,8 +596,8 @@ class Settings { 'general', 'company_country', [ - 'title' => __('Company Country', 'wp-ultimo'), - 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'wp-ultimo'), + 'title' => __('Company Country', 'wp-multisite-waas'), + 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'wp-multisite-waas'), 'type' => 'select', 'options' => 'wu_get_countries', 'default' => [$this, 'get_default_company_country'], @@ -611,8 +609,8 @@ class Settings { 'general', 'currency_header', [ - 'title' => __('Currency Options', 'wp-ultimo'), - 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-ultimo'), + 'title' => __('Currency Options', 'wp-multisite-waas'), + 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-multisite-waas'), 'type' => 'header', ], 70 @@ -622,8 +620,8 @@ class Settings { 'general', 'currency_symbol', [ - 'title' => __('Currency', 'wp-ultimo'), - 'desc' => __('Select the currency to be used in WP Multisite WaaS.', 'wp-ultimo'), + 'title' => __('Currency', 'wp-multisite-waas'), + 'desc' => __('Select the currency to be used in WP Multisite WaaS.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'USD', 'options' => 'wu_get_currencies', @@ -635,16 +633,15 @@ class Settings { 'general', 'currency_position', [ - 'title' => __('Currency Position', 'wp-ultimo'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'), - 'desc' => '', + 'title' => __('Currency Position', 'wp-multisite-waas'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'), 'type' => 'select', 'default' => '%s %v', 'options' => [ - '%s%v' => __('Left ($99.99)', 'wp-ultimo'), - '%v%s' => __('Right (99.99$)', 'wp-ultimo'), - '%s %v' => __('Left with space ($ 99.99)', 'wp-ultimo'), - '%v %s' => __('Right with space (99.99 $)', 'wp-ultimo'), + '%s%v' => __('Left ($99.99)', 'wp-multisite-waas'), + '%v%s' => __('Right (99.99$)', 'wp-multisite-waas'), + '%s %v' => __('Left with space ($ 99.99)', 'wp-multisite-waas'), + '%v %s' => __('Right with space (99.99 $)', 'wp-multisite-waas'), ], ], 90 @@ -654,8 +651,8 @@ class Settings { 'general', 'decimal_separator', [ - 'title' => __('Decimal Separator', 'wp-ultimo'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'), + 'title' => __('Decimal Separator', 'wp-multisite-waas'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'), 'type' => 'text', 'default' => '.', ], @@ -666,8 +663,8 @@ class Settings { 'general', 'thousand_separator', [ - 'title' => __('Thousand Separator', 'wp-ultimo'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'), + 'title' => __('Thousand Separator', 'wp-multisite-waas'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'), 'type' => 'text', 'default' => ',', 'raw' => true, @@ -679,8 +676,8 @@ class Settings { 'general', 'precision', [ - 'title' => __('Number of Decimals', 'wp-ultimo'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-ultimo'), + 'title' => __('Number of Decimals', 'wp-multisite-waas'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'wp-multisite-waas'), 'type' => 'number', 'default' => '2', 'min' => 0, @@ -696,8 +693,8 @@ class Settings { $this->add_section( 'login-and-registration', [ - 'title' => __('Login & Registration', 'wp-ultimo'), - 'desc' => __('Login & Registration', 'wp-ultimo'), + 'title' => __('Login & Registration', 'wp-multisite-waas'), + 'desc' => __('Login & Registration', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-key', ] ); @@ -706,8 +703,8 @@ class Settings { 'login-and-registration', 'registration_header', [ - 'title' => __('Login and Registration Options', 'wp-ultimo'), - 'desc' => __('Options related to registration and login behavior.', 'wp-ultimo'), + 'title' => __('Login and Registration Options', 'wp-multisite-waas'), + 'desc' => __('Options related to registration and login behavior.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -716,8 +713,8 @@ class Settings { 'login-and-registration', 'enable_registration', [ - 'title' => __('Enable Registration', 'wp-ultimo'), - 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'wp-ultimo'), + 'title' => __('Enable Registration', 'wp-multisite-waas'), + 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -727,8 +724,8 @@ class Settings { 'login-and-registration', 'enable_email_verification', [ - 'title' => __('Enable email verification', 'wp-ultimo'), - 'desc' => __('Enabling this option will require the customer to verify their email address when subscribing to a free plan or a plan with a trial period. Sites will not be created until the customer email verification status is changed to verified.', 'wp-ultimo'), + 'title' => __('Enable email verification', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will require the customer to verify their email address when subscribing to a free plan or a plan with a trial period. Sites will not be created until the customer email verification status is changed to verified.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -739,9 +736,9 @@ class Settings { 'default_registration_page', [ 'type' => 'model', - 'title' => __('Default Registration Page', 'wp-ultimo'), - 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'), + 'title' => __('Default Registration Page', 'wp-multisite-waas'), + 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -759,8 +756,8 @@ class Settings { 'login-and-registration', 'enable_custom_login_page', [ - 'title' => __('Use Custom Login Page', 'wp-ultimo'), - 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'wp-ultimo'), + 'title' => __('Use Custom Login Page', 'wp-multisite-waas'), + 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -771,9 +768,9 @@ class Settings { 'default_login_page', [ 'type' => 'model', - 'title' => __('Default Login Page', 'wp-ultimo'), - 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'wp-ultimo'), + 'title' => __('Default Login Page', 'wp-multisite-waas'), + 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -793,8 +790,8 @@ class Settings { 'login-and-registration', 'obfuscate_original_login_url', [ - 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'wp-ultimo'), - 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'wp-ultimo'), + 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'wp-multisite-waas'), + 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -807,8 +804,8 @@ class Settings { 'login-and-registration', 'subsite_custom_login_logo', [ - 'title' => __('Use Sub-site logo on Login Page', 'wp-ultimo'), - 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'wp-ultimo'), + 'title' => __('Use Sub-site logo on Login Page', 'wp-multisite-waas'), + 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -821,8 +818,8 @@ class Settings { 'login-and-registration', 'force_publish_sites_sync', [ - 'title' => __('Force Synchronous Site Publication ', 'wp-ultimo'), - 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'wp-ultimo'), + 'title' => __('Force Synchronous Site Publication ', 'wp-multisite-waas'), + 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -832,8 +829,8 @@ class Settings { 'login-and-registration', 'other_header', [ - 'title' => __('Other Options', 'wp-ultimo'), - 'desc' => __('Other registration-related options.', 'wp-ultimo'), + 'title' => __('Other Options', 'wp-multisite-waas'), + 'desc' => __('Other registration-related options.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -842,8 +839,8 @@ class Settings { 'login-and-registration', 'default_role', [ - 'title' => __('Default Role', 'wp-ultimo'), - 'desc' => __('Set the role to be applied to the user during the signup process.', 'wp-ultimo'), + 'title' => __('Default Role', 'wp-multisite-waas'), + 'desc' => __('Set the role to be applied to the user during the signup process.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'administrator', 'options' => 'wu_get_roles_as_options', @@ -854,8 +851,8 @@ class Settings { 'login-and-registration', 'add_users_to_main_site', [ - 'title' => __('Add Users to the Main Site as well?', 'wp-ultimo'), - 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'wp-ultimo'), + 'title' => __('Add Users to the Main Site as well?', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -865,8 +862,8 @@ class Settings { 'login-and-registration', 'main_site_default_role', [ - 'title' => __('Add to Main Site with Role...', 'wp-ultimo'), - 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to the main site of your network. Be careful.', 'wp-ultimo'), + 'title' => __('Add to Main Site with Role...', 'wp-multisite-waas'), + 'desc' => __('Select the role WP Multisite WaaS should use when adding the user to the main site of your network. Be careful.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'subscriber', 'options' => 'wu_get_roles_as_options', @@ -886,8 +883,8 @@ class Settings { $this->add_section( 'memberships', [ - 'title' => __('Memberships', 'wp-ultimo'), - 'desc' => __('Memberships', 'wp-ultimo'), + 'title' => __('Memberships', 'wp-multisite-waas'), + 'desc' => __('Memberships', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-infinity', ] ); @@ -897,9 +894,9 @@ class Settings { 'default_update_page', [ 'type' => 'model', - 'title' => __('Default Membership Update Page', 'wp-ultimo'), - 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'), + 'title' => __('Default Membership Update Page', 'wp-multisite-waas'), + 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -917,9 +914,9 @@ class Settings { 'memberships', 'block_frontend', [ - 'title' => __('Block Frontend Access', 'wp-ultimo'), - 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'wp-ultimo'), - 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'wp-ultimo'), + 'title' => __('Block Frontend Access', 'wp-multisite-waas'), + 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'wp-multisite-waas'), + 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -929,8 +926,8 @@ class Settings { 'memberships', 'block_frontend_grace_period', [ - 'title' => __('Frontend Block Grace Period', 'wp-ultimo'), - 'desc' => __('Select the number of days WP Multisite WaaS should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'wp-ultimo'), + 'title' => __('Frontend Block Grace Period', 'wp-multisite-waas'), + 'desc' => __('Select the number of days WP Multisite WaaS should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'wp-multisite-waas'), 'type' => 'number', 'default' => 0, 'min' => 0, @@ -944,8 +941,8 @@ class Settings { 'memberships', 'default_block_frontend_page', [ - 'title' => __('Frontend Block Page', 'wp-ultimo'), - 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'wp-ultimo'), + 'title' => __('Frontend Block Page', 'wp-multisite-waas'), + 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -965,8 +962,8 @@ class Settings { 'memberships', 'enable_multiple_memberships', [ - 'title' => __('Enable Multiple Memberships per Customer', 'wp-ultimo'), - 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'wp-ultimo'), + 'title' => __('Enable Multiple Memberships per Customer', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -976,8 +973,8 @@ class Settings { 'memberships', 'enable_multiple_sites', [ - 'title' => __('Enable Multiple Sites per Membership', 'wp-ultimo'), - 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'wp-ultimo'), + 'title' => __('Enable Multiple Sites per Membership', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -987,15 +984,15 @@ class Settings { 'memberships', 'block_sites_on_downgrade', [ - 'title' => __('Block Sites on Downgrade', 'wp-ultimo'), - 'desc' => __('Choose how WP Multisite WaaS should handle client sites above their plan quota on downgrade.', 'wp-ultimo'), + 'title' => __('Block Sites on Downgrade', 'wp-multisite-waas'), + 'desc' => __('Choose how WP Multisite WaaS should handle client sites above their plan quota on downgrade.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'none', 'options' => [ - 'none' => __('Keep sites as is (do nothing)', 'wp-ultimo'), - 'block-frontend' => __('Block only frontend access', 'wp-ultimo'), - 'block-backend' => __('Block only backend access', 'wp-ultimo'), - 'block-both' => __('Block both frontend and backend access', 'wp-ultimo'), + 'none' => __('Keep sites as is (do nothing)', 'wp-multisite-waas'), + 'block-frontend' => __('Block only frontend access', 'wp-multisite-waas'), + 'block-backend' => __('Block only backend access', 'wp-multisite-waas'), + 'block-both' => __('Block both frontend and backend access', 'wp-multisite-waas'), ], 'require' => [ 'enable_multiple_sites' => true, @@ -1007,14 +1004,14 @@ class Settings { 'memberships', 'move_posts_on_downgrade', [ - 'title' => __('Move Posts on Downgrade', 'wp-ultimo'), - 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'wp-ultimo'), + 'title' => __('Move Posts on Downgrade', 'wp-multisite-waas'), + 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'none', 'options' => [ - 'none' => __('Keep posts as is (do nothing)', 'wp-ultimo'), - 'trash' => __('Move posts above the new quota to the Trash', 'wp-ultimo'), - 'draft' => __('Mark posts above the new quota as Drafts', 'wp-ultimo'), + 'none' => __('Keep posts as is (do nothing)', 'wp-multisite-waas'), + 'trash' => __('Move posts above the new quota to the Trash', 'wp-multisite-waas'), + 'draft' => __('Mark posts above the new quota as Drafts', 'wp-multisite-waas'), ], ] ); @@ -1024,8 +1021,8 @@ class Settings { 'emulated_post_types_header', [ 'type' => 'header', - 'title' => __('Emulated Post Types', 'wp-ultimo'), - 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'wp-ultimo'), + 'title' => __('Emulated Post Types', 'wp-multisite-waas'), + 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'wp-multisite-waas'), ] ); @@ -1034,7 +1031,7 @@ class Settings { 'emulated_post_types_explanation', [ 'type' => 'note', - 'desc' => __('By default, WP Multisite WaaS only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'wp-ultimo'), + 'desc' => __('By default, WP Multisite WaaS only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'wp-multisite-waas'), 'classes' => '', 'wrapper_classes' => '', ] @@ -1045,7 +1042,7 @@ class Settings { 'emulated_post_types_empty', [ 'type' => 'note', - 'desc' => __('Add the first post type using the button below.', 'wp-ultimo'), + 'desc' => __('Add the first post type using the button below.', 'wp-multisite-waas'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -1072,13 +1069,13 @@ class Settings { 'fields' => [ 'emulated_post_types_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'wp-ultimo')), + 'desc' => sprintf('', __('Remove', 'wp-multisite-waas')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'emulated_post_types_slug' => [ 'type' => 'text', - 'title' => __('Post Type Slug', 'wp-ultimo'), - 'placeholder' => __('e.g. product', 'wp-ultimo'), + 'title' => __('Post Type Slug', 'wp-multisite-waas'), + 'placeholder' => __('e.g. product', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-5/12', 'html_attr' => [ 'v-model' => 'emulated_post_type.post_type', @@ -1087,8 +1084,8 @@ class Settings { ], 'emulated_post_types_label' => [ 'type' => 'text', - 'title' => __('Post Type Label', 'wp-ultimo'), - 'placeholder' => __('e.g. Products', 'wp-ultimo'), + 'title' => __('Post Type Label', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Products', 'wp-multisite-waas'), 'wrapper_classes' => 'wu-w-7/12 wu-ml-2', 'html_attr' => [ 'v-model' => 'emulated_post_type.label', @@ -1104,7 +1101,7 @@ class Settings { 'emulated_post_types_repeat', [ 'type' => 'submit', - 'title' => __('+ Add Post Type', 'wp-ultimo'), + 'title' => __('+ Add Post Type', 'wp-multisite-waas'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -1131,8 +1128,8 @@ class Settings { $this->add_section( 'sites', [ - 'title' => __('Sites', 'wp-ultimo'), - 'desc' => __('Sites', 'wp-ultimo'), + 'title' => __('Sites', 'wp-multisite-waas'), + 'desc' => __('Sites', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-browser', ] ); @@ -1141,8 +1138,8 @@ class Settings { 'sites', 'sites_features_heading', [ - 'title' => __('Site Options', 'wp-ultimo'), - 'desc' => __('Configure certain aspects of how network Sites behave.', 'wp-ultimo'), + 'title' => __('Site Options', 'wp-multisite-waas'), + 'desc' => __('Configure certain aspects of how network Sites behave.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1152,9 +1149,9 @@ class Settings { 'default_new_site_page', [ 'type' => 'model', - 'title' => __('Default New Site Page', 'wp-ultimo'), - 'placeholder' => __('Search pages on the main site...', 'wp-ultimo'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-ultimo'), + 'title' => __('Default New Site Page', 'wp-multisite-waas'), + 'placeholder' => __('Search pages on the main site...', 'wp-multisite-waas'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'wp-multisite-waas'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -1172,8 +1169,8 @@ class Settings { 'sites', 'enable_visits_limiting', [ - 'title' => __('Enable Visits Limitation & Counting', 'wp-ultimo'), - 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'wp-ultimo'), + 'title' => __('Enable Visits Limitation & Counting', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1183,8 +1180,8 @@ class Settings { 'sites', 'enable_screenshot_generator', [ - 'title' => __('Enable Screenshot Generator', 'wp-ultimo'), - 'desc' => __('With this option is enabled, WP Multisite WaaS will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'wp-ultimo'), + 'title' => __('Enable Screenshot Generator', 'wp-multisite-waas'), + 'desc' => __('With this option is enabled, WP Multisite WaaS will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1194,8 +1191,8 @@ class Settings { 'sites', 'wordpress_features_heading', [ - 'title' => __('WordPress Features', 'wp-ultimo'), - 'desc' => __('Override default WordPress settings for network Sites.', 'wp-ultimo'), + 'title' => __('WordPress Features', 'wp-multisite-waas'), + 'desc' => __('Override default WordPress settings for network Sites.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1204,9 +1201,9 @@ class Settings { 'sites', 'menu_items_plugin', [ - 'title' => __('Enable Plugins Menu', 'wp-ultimo'), - 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'wp-ultimo'), - 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'wp-ultimo'), + 'title' => __('Enable Plugins Menu', 'wp-multisite-waas'), + 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'wp-multisite-waas'), + 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1216,9 +1213,9 @@ class Settings { 'sites', 'add_new_users', [ - 'title' => __('Add New Users', 'wp-ultimo'), - 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'wp-ultimo'), - 'tooltip' => __('You can limit the number of users allowed for each plan.', 'wp-ultimo'), + 'title' => __('Add New Users', 'wp-multisite-waas'), + 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'wp-multisite-waas'), + 'tooltip' => __('You can limit the number of users allowed for each plan.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1228,8 +1225,8 @@ class Settings { 'sites', 'site_template_features_heading', [ - 'title' => __('Site Template Options', 'wp-ultimo'), - 'desc' => __('Configure certain aspects of how Site Templates behave.', 'wp-ultimo'), + 'title' => __('Site Template Options', 'wp-multisite-waas'), + 'desc' => __('Configure certain aspects of how Site Templates behave.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1238,8 +1235,8 @@ class Settings { 'sites', 'allow_template_switching', [ - 'title' => __('Allow Template Switching', 'wp-ultimo'), - 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'wp-ultimo'), + 'title' => __('Allow Template Switching', 'wp-multisite-waas'), + 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1249,8 +1246,8 @@ class Settings { 'sites', 'allow_own_site_as_template', [ - 'title' => __('Allow Users to use their own Sites as Templates', 'wp-ultimo'), - 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'wp-ultimo'), + 'title' => __('Allow Users to use their own Sites as Templates', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -1263,8 +1260,8 @@ class Settings { 'sites', 'copy_media', [ - 'title' => __('Copy Media on Template Duplication?', 'wp-ultimo'), - 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'wp-ultimo'), + 'title' => __('Copy Media on Template Duplication?', 'wp-multisite-waas'), + 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1274,8 +1271,8 @@ class Settings { 'sites', 'stop_template_indexing', [ - 'title' => __('Prevent Search Engines from indexing Site Templates', 'wp-ultimo'), - 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'wp-ultimo'), + 'title' => __('Prevent Search Engines from indexing Site Templates', 'wp-multisite-waas'), + 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -1291,8 +1288,8 @@ class Settings { $this->add_section( 'payment-gateways', [ - 'title' => __('Payments', 'wp-ultimo'), - 'desc' => __('Payments', 'wp-ultimo'), + 'title' => __('Payments', 'wp-multisite-waas'), + 'desc' => __('Payments', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-credit-card', ] ); @@ -1301,8 +1298,8 @@ class Settings { 'payment-gateways', 'main_header', [ - 'title' => __('Payment Settings', 'wp-ultimo'), - 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-ultimo'), + 'title' => __('Payment Settings', 'wp-multisite-waas'), + 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'wp-multisite-waas'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1312,8 +1309,8 @@ class Settings { 'payment-gateways', 'force_auto_renew', [ - 'title' => __('Force Auto-Renew', 'wp-ultimo'), - 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'wp-ultimo'), + 'title' => __('Force Auto-Renew', 'wp-multisite-waas'), + 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'wp-multisite-waas'), 'tooltip' => '', 'type' => 'toggle', 'default' => 1, @@ -1324,8 +1321,8 @@ class Settings { 'payment-gateways', 'allow_trial_without_payment_method', [ - 'title' => __('Allow Trials without Payment Method', 'wp-ultimo'), - 'desc' => __('By default, WP Multisite WaaS asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'wp-ultimo'), + 'title' => __('Allow Trials without Payment Method', 'wp-multisite-waas'), + 'desc' => __('By default, WP Multisite WaaS asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'wp-multisite-waas'), 'tooltip' => '', 'type' => 'toggle', 'default' => 0, @@ -1336,9 +1333,9 @@ class Settings { 'payment-gateways', 'attach_invoice_pdf', [ - 'title' => __('Send Invoice on Payment Confirmation', 'wp-ultimo'), - 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'wp-ultimo'), - 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'wp-ultimo'), + 'title' => __('Send Invoice on Payment Confirmation', 'wp-multisite-waas'), + 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'wp-multisite-waas'), + 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1348,14 +1345,14 @@ class Settings { 'payment-gateways', 'invoice_numbering_scheme', [ - 'title' => __('Invoice Numbering Scheme', 'wp-ultimo'), - 'desc' => __('What should WP Multisite WaaS use as the invoice number?', 'wp-ultimo'), + 'title' => __('Invoice Numbering Scheme', 'wp-multisite-waas'), + 'desc' => __('What should WP Multisite WaaS use as the invoice number?', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'reference_code', 'tooltip' => '', 'options' => [ - 'reference_code' => __('Payment Reference Code', 'wp-ultimo'), - 'sequential_number' => __('Sequential Number', 'wp-ultimo'), + 'reference_code' => __('Payment Reference Code', 'wp-multisite-waas'), + 'sequential_number' => __('Sequential Number', 'wp-multisite-waas'), ], ] ); @@ -1364,8 +1361,8 @@ class Settings { 'payment-gateways', 'next_invoice_number', [ - 'title' => __('Next Invoice Number', 'wp-ultimo'), - 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'wp-ultimo'), + 'title' => __('Next Invoice Number', 'wp-multisite-waas'), + 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'wp-multisite-waas'), 'type' => 'number', 'default' => '1', 'min' => 0, @@ -1379,9 +1376,9 @@ class Settings { 'payment-gateways', 'invoice_prefix', [ - 'title' => __('Invoice Number Prefix', 'wp-ultimo'), - 'placeholder' => __('INV00', 'wp-ultimo'), - 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'wp-ultimo'), date('Y') . '-' . date('m') . '-INV'), // phpcs:ignore + 'title' => __('Invoice Number Prefix', 'wp-multisite-waas'), + 'placeholder' => __('INV00', 'wp-multisite-waas'), + 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'wp-multisite-waas'), date('Y') . '-' . date('m') . '-INV'), // phpcs:ignore 'default' => '', 'type' => 'text', 'raw' => true, // Necessary to prevent the removal of the %% tags. @@ -1395,8 +1392,8 @@ class Settings { 'payment-gateways', 'gateways_header', [ - 'title' => __('Payment Gateways', 'wp-ultimo'), - 'desc' => __('Activate and configure the installed payment gateways in this section.', 'wp-ultimo'), + 'title' => __('Payment Gateways', 'wp-multisite-waas'), + 'desc' => __('Activate and configure the installed payment gateways in this section.', 'wp-multisite-waas'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1411,8 +1408,8 @@ class Settings { $this->add_section( 'emails', [ - 'title' => __('Emails', 'wp-ultimo'), - 'desc' => __('Emails', 'wp-ultimo'), + 'title' => __('Emails', 'wp-multisite-waas'), + 'desc' => __('Emails', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-email', ] ); @@ -1427,8 +1424,8 @@ class Settings { $this->add_section( 'domain-mapping', [ - 'title' => __('Domain Mapping', 'wp-ultimo'), - 'desc' => __('Domain Mapping', 'wp-ultimo'), + 'title' => __('Domain Mapping', 'wp-multisite-waas'), + 'desc' => __('Domain Mapping', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-link', ] ); @@ -1443,8 +1440,8 @@ class Settings { $this->add_section( 'sso', [ - 'title' => __('Single Sign-On', 'wp-ultimo'), - 'desc' => __('Single Sign-On', 'wp-ultimo'), + 'title' => __('Single Sign-On', 'wp-multisite-waas'), + 'desc' => __('Single Sign-On', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-add-user', ] ); @@ -1459,8 +1456,8 @@ class Settings { $this->add_section( 'integrations', [ - 'title' => __('Integrations', 'wp-ultimo'), - 'desc' => __('Integrations', 'wp-ultimo'), + 'title' => __('Integrations', 'wp-multisite-waas'), + 'desc' => __('Integrations', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-power-plug', ] ); @@ -1469,8 +1466,8 @@ class Settings { 'integrations', 'hosting_providers_header', [ - 'title' => __('Hosting or Panel Providers', 'wp-ultimo'), - 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'wp-ultimo'), + 'title' => __('Hosting or Panel Providers', 'wp-multisite-waas'), + 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'wp-multisite-waas'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1486,8 +1483,8 @@ class Settings { $this->add_section( 'other', [ - 'title' => __('Other Options', 'wp-ultimo'), - 'desc' => __('Other Options', 'wp-ultimo'), + 'title' => __('Other Options', 'wp-multisite-waas'), + 'desc' => __('Other Options', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-switch', 'order' => 1000, ] @@ -1497,8 +1494,8 @@ class Settings { 'other', 'Other_header', [ - 'title' => __('Miscellaneous', 'wp-ultimo'), - 'desc' => __('Other options that do not fit anywhere else.', 'wp-ultimo'), + 'title' => __('Miscellaneous', 'wp-multisite-waas'), + 'desc' => __('Other options that do not fit anywhere else.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1509,8 +1506,8 @@ class Settings { 'other', 'hide_tours', [ - 'title' => __('Hide UI Tours', 'wp-ultimo') . $preview_image, - 'desc' => __('The UI tours showed by WP Multisite WaaS should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'wp-ultimo'), + 'title' => __('Hide UI Tours', 'wp-multisite-waas') . $preview_image, + 'desc' => __('The UI tours showed by WP Multisite WaaS should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -1522,8 +1519,8 @@ class Settings { 'other', 'disable_image_zoom', [ - 'title' => __('Disable "Hover to Zoom"', 'wp-ultimo') . $preview_image_2, - 'desc' => __('By default, WP Multisite WaaS adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'wp-ultimo'), + 'title' => __('Disable "Hover to Zoom"', 'wp-multisite-waas') . $preview_image_2, + 'desc' => __('By default, WP Multisite WaaS adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -1533,8 +1530,8 @@ class Settings { 'other', 'error_reporting_header', [ - 'title' => __('Logging', 'wp-ultimo'), - 'desc' => __('Log WP Multisite WaaS data. This is useful for debugging purposes.', 'wp-ultimo'), + 'title' => __('Logging', 'wp-multisite-waas'), + 'desc' => __('Log WP Multisite WaaS data. This is useful for debugging purposes.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1543,15 +1540,15 @@ class Settings { 'other', 'error_logging_level', [ - 'title' => __('Logging Level', 'wp-ultimo'), - 'desc' => __('Select the level of logging you want to use.', 'wp-ultimo'), + 'title' => __('Logging Level', 'wp-multisite-waas'), + 'desc' => __('Select the level of logging you want to use.', 'wp-multisite-waas'), 'type' => 'select', 'default' => 'default', 'options' => [ - 'default' => __('PHP Default', 'wp-ultimo'), - 'disabled' => __('Disabled', 'wp-ultimo'), - 'errors' => __('Errors Only', 'wp-ultimo'), - 'all' => __('Everything', 'wp-ultimo'), + 'default' => __('PHP Default', 'wp-multisite-waas'), + 'disabled' => __('Disabled', 'wp-multisite-waas'), + 'errors' => __('Errors Only', 'wp-multisite-waas'), + 'all' => __('Everything', 'wp-multisite-waas'), ], ] ); @@ -1560,8 +1557,8 @@ class Settings { 'other', 'enable_error_reporting', [ - 'title' => __('Send Error Data to WP Multisite WaaS Developers', 'wp-ultimo'), - 'desc' => __('With this option enabled, every time your installation runs into an error related to WP Multisite WaaS, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'wp-ultimo'), + 'title' => __('Send Error Data to WP Multisite WaaS Developers', 'wp-multisite-waas'), + 'desc' => __('With this option enabled, every time your installation runs into an error related to WP Multisite WaaS, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -1571,8 +1568,8 @@ class Settings { 'other', 'advanced_header', [ - 'title' => __('Advanced Options', 'wp-ultimo'), - 'desc' => __('Change the plugin and wordpress behavior.', 'wp-ultimo'), + 'title' => __('Advanced Options', 'wp-multisite-waas'), + 'desc' => __('Change the plugin and wordpress behavior.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -1587,15 +1584,15 @@ class Settings { if ( ! empty($plans)) { $url = wu_network_admin_url('wp-ultimo-migration-alert'); - $title = __('Run Migration Again', 'wp-ultimo') . sprintf( + $title = __('Run Migration Again', 'wp-multisite-waas') . sprintf( "%s", - __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'wp-ultimo') + __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'wp-multisite-waas') ) . sprintf( "%s", - __('Important: This process can have unexpected behavior with your current Ultimo models.
We recommend that you create a backup before continue.', 'wp-ultimo') + __('Important: This process can have unexpected behavior with your current Ultimo models.
We recommend that you create a backup before continue.', 'wp-multisite-waas') ); - $html = sprintf('%s', $url, __('Migrate', 'wp-ultimo')); + $html = sprintf('%s', $url, __('Migrate', 'wp-multisite-waas')); $this->add_field( 'other', @@ -1618,9 +1615,9 @@ class Settings { 'other', 'security_mode', [ - 'title' => __('Security Mode', 'wp-ultimo'), + 'title' => __('Security Mode', 'wp-multisite-waas'), // Translators: Placeholder adds the security mode key and current site url with query string - 'desc' => sprintf(__('Only WP Multisite WaaS and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
', 'wp-ultimo'), $security_mode_key, get_site_url() . $security_mode_key), + 'desc' => sprintf(__('Only WP Multisite WaaS and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
', 'wp-multisite-waas'), $security_mode_key, get_site_url() . $security_mode_key), 'type' => 'toggle', 'default' => 0, ] @@ -1631,8 +1628,8 @@ class Settings { 'other', 'uninstall_wipe_tables', [ - 'title' => __('Remove Data on Uninstall', 'wp-ultimo'), - 'desc' => __('Remove all saved data for WP Multisite WaaS when the plugin is uninstalled.', 'wp-ultimo'), + 'title' => __('Remove Data on Uninstall', 'wp-multisite-waas'), + 'desc' => __('Remove all saved data for WP Multisite WaaS when the plugin is uninstalled.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] diff --git a/inc/class-sunrise.php b/inc/class-sunrise.php index cbfe9fe..c7240db 100644 --- a/inc/class-sunrise.php +++ b/inc/class-sunrise.php @@ -26,14 +26,15 @@ class Sunrise { * * @var string */ - static $version = '2.0.0.8'; + + public static $version = '2.0.0.8'; /** * Keeps the sunrise meta cached after the first read. * * @var null|array */ - static $sunrise_meta; + public static $sunrise_meta; /** * Initializes sunrise and loads additional elements if needed. @@ -104,29 +105,28 @@ class Sunrise { */ public static function load_dependencies(): void { + // We can't use JetPack autoloader because WordPress is not fully loaded yet. require_once __DIR__ . '/deprecated/early-deprecated.php'; - require_once __DIR__ . '/deprecated/mercator.php'; - - require_once __DIR__ . '/class-autoloader.php'; - require_once __DIR__ . '/functions/site.php'; - require_once __DIR__ . '/functions/debug.php'; - require_once __DIR__ . '/functions/url.php'; - require_once __DIR__ . '/functions/number-helpers.php'; - require_once __DIR__ . '/functions/array-helpers.php'; - require_once __DIR__ . '/traits/trait-singleton.php'; require_once __DIR__ . '/objects/class-limitations.php'; + require_once __DIR__ . '/models/interface-limitable.php'; require_once __DIR__ . '/models/traits/trait-limitable.php'; require_once __DIR__ . '/models/traits/trait-notable.php'; + require_once __DIR__ . '/models/traits/trait-billable.php'; + require_once __DIR__ . '/traits/trait-wp-ultimo-subscription-deprecated.php'; require_once __DIR__ . '/traits/trait-wp-ultimo-site-deprecated.php'; require_once __DIR__ . '/database/engine/class-enum.php'; require_once __DIR__ . '/database/sites/class-site-type.php'; + require_once __DIR__ . '/../vendor/berlindb/core/src/Database/Base.php'; + require_once __DIR__ . '/../vendor/berlindb/core/src/Database/Query.php'; + require_once __DIR__ . '/database/engine/class-query.php'; + require_once __DIR__ . '/database/sites/class-site-query.php'; require_once __DIR__ . '/models/class-base-model.php'; require_once __DIR__ . '/models/class-domain.php'; require_once __DIR__ . '/models/class-site.php'; @@ -137,6 +137,9 @@ class Sunrise { require_once __DIR__ . '/class-settings.php'; require_once __DIR__ . '/limits/class-plugin-limits.php'; require_once __DIR__ . '/limits/class-theme-limits.php'; + require_once __DIR__ . '/limits/class-theme-limits.php'; + require_once __DIR__ . '/models/class-membership.php'; + } /** @@ -211,7 +214,7 @@ class Sunrise { */ add_filter('option_active_plugins', fn() => []); - add_filter('site_option_active_sitewide_plugins', fn($plugins) => [basename(dirname(__DIR__)) . '/wp-ultimo.php' => 1]); + add_filter('site_option_active_sitewide_plugins', fn() => [basename(dirname(__DIR__)) . '/wp-ultimo.php' => 1], 10, 0); } } } @@ -260,49 +263,21 @@ class Sunrise { */ public static function try_upgrade() { - $possible_sunrises = [ - WP_PLUGIN_DIR . '/wp-multisite-waas/sunrise.php', - WPMU_PLUGIN_DIR . '/wp-multisite-waas/sunrise.php', - ]; + $copy_results = copy( + dirname(WP_ULTIMO_PLUGIN_FILE) . '/sunrise.php', + WP_CONTENT_DIR . '/sunrise.php' + ); // phpcs:ignore - $sunrise_found = false; - - $error = false; - - $location = WP_CONTENT_DIR . '/sunrise.php'; - - foreach ($possible_sunrises as $new_file) { - if ( ! file_exists($new_file)) { - continue; - } - - $sunrise_found = true; - - $copy_results = @copy($new_file, $location); // phpcs:ignore - - if ( ! $copy_results) { - $error = error_get_last(); - - continue; - } - - wu_log_add('sunrise', __('Sunrise upgrade attempt succeeded.', 'wp-ultimo')); - - return true; - } - - if (false === $sunrise_found) { - $error = [ - 'message' => __('File not found.', 'wp-ultimo'), - ]; - } - - if ( ! empty($error)) { + if ( ! $copy_results) { + $error = error_get_last(); wu_log_add('sunrise', $error['message'], LogLevel::ERROR); /* translators: the placeholder is an error message */ - return new \WP_Error('error', sprintf(__('Sunrise copy failed: %s', 'wp-ultimo'), $error['message'])); + return new \WP_Error('error', sprintf(__('Sunrise copy failed: %s', 'wp-multisite-waas'), $error['message'])); } + + wu_log_add('sunrise', __('Sunrise upgrade attempt succeeded.', 'wp-multisite-waas')); + return true; } /** diff --git a/inc/class-user-switching.php b/inc/class-user-switching.php index ed7add2..8eaf85e 100644 --- a/inc/class-user-switching.php +++ b/inc/class-user-switching.php @@ -71,12 +71,12 @@ class User_Switching { 'title' => [ 'type' => 'text-display', 'title' => '', - 'display_value' => __('This feature requires the plugin User Switching to be installed and active.', 'wp-ultimo'), + 'display_value' => __('This feature requires the plugin User Switching to be installed and active.', 'wp-multisite-waas'), 'tooltip' => '', ], 'link' => [ 'type' => 'link', - 'display_value' => __('Install User Switching', 'wp-ultimo'), + 'display_value' => __('Install User Switching', 'wp-multisite-waas'), 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-center wu-bg-gray-100', 'html_attr' => [ diff --git a/inc/class-views.php b/inc/class-views.php index bc7809b..313eba1 100644 --- a/inc/class-views.php +++ b/inc/class-views.php @@ -42,10 +42,11 @@ class Views { * @since 1.9.0 * @param string|array $template_names Template file(s) to search for, in order. * @param bool $load If true the template file will be loaded if it is found. - * @param bool $require_once Whether to require_once or require. Default true. Has no effect if $load is false. + * @param bool $use_require_once Whether to require_once or require. Default true. Has no effect if $load is false. + * * @return string The template filename if one is located. */ - public function custom_locate_template($template_names, $load = false, $require_once = true) { + public function custom_locate_template($template_names, $load = false, $use_require_once = true) { is_multisite() && switch_to_blog(get_current_site()->blog_id); @@ -76,7 +77,7 @@ class Views { } if ($load && '' !== $located) { - load_template($located, $require_once); + load_template($located, $use_require_once); } return $located; diff --git a/inc/class-whitelabel.php b/inc/class-whitelabel.php index 76c5370..200b0fa 100644 --- a/inc/class-whitelabel.php +++ b/inc/class-whitelabel.php @@ -84,7 +84,6 @@ class Whitelabel { add_action('wp_user_dashboard_setup', [$this, 'remove_dashboard_widgets'], 11); add_action('wp_dashboard_setup', [$this, 'remove_dashboard_widgets'], 11); - } if (wu_get_setting('hide_sites_menu', true)) { @@ -198,8 +197,8 @@ class Whitelabel { wu_register_settings_section( 'whitelabel', [ - 'title' => __('Whitelabel', 'wp-ultimo'), - 'desc' => __('Basic Whitelabel', 'wp-ultimo'), + 'title' => __('Whitelabel', 'wp-multisite-waas'), + 'desc' => __('Basic Whitelabel', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-eye', ] ); @@ -208,8 +207,8 @@ class Whitelabel { 'whitelabel', 'whitelabel_header', [ - 'title' => __('Whitelabel', 'wp-ultimo'), - 'desc' => __('Hide a couple specific WordPress elements and rename others.', 'wp-ultimo'), + 'title' => __('Whitelabel', 'wp-multisite-waas'), + 'desc' => __('Hide a couple specific WordPress elements and rename others.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -220,8 +219,8 @@ class Whitelabel { 'whitelabel', 'hide_wordpress_logo', [ - 'title' => __('Hide WordPress Logo', 'wp-ultimo') . $preview_image, - 'desc' => __('Hide the WordPress logo from the top-bar and replace the same logo on the My Sites top-bar item with a more generic icon.', 'wp-ultimo'), + 'title' => __('Hide WordPress Logo', 'wp-multisite-waas') . $preview_image, + 'desc' => __('Hide the WordPress logo from the top-bar and replace the same logo on the My Sites top-bar item with a more generic icon.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 1, ] @@ -231,8 +230,8 @@ class Whitelabel { 'whitelabel', 'hide_sites_menu', [ - 'title' => __('Hide Sites Admin Menu', 'wp-ultimo'), - 'desc' => __('We recommend that you manage all of your sites using the WP Multisite WaaS → Sites page. To avoid confusion, you can hide the default "Sites" item from the WordPress admin menu by toggling this option.', 'wp-ultimo'), + 'title' => __('Hide Sites Admin Menu', 'wp-multisite-waas'), + 'desc' => __('We recommend that you manage all of your sites using the WP Multisite WaaS → Sites page. To avoid confusion, you can hide the default "Sites" item from the WordPress admin menu by toggling this option.', 'wp-multisite-waas'), 'type' => 'toggle', 'default' => 0, ] @@ -242,9 +241,9 @@ class Whitelabel { 'whitelabel', 'rename_wordpress', [ - 'title' => __('Replace the word "WordPress"', 'wp-ultimo'), - 'placeholder' => __('e.g. My App', 'wp-ultimo'), - 'desc' => __('Replace all occurrences of the word "WordPress" with a different word.', 'wp-ultimo'), + 'title' => __('Replace the word "WordPress"', 'wp-multisite-waas'), + 'placeholder' => __('e.g. My App', 'wp-multisite-waas'), + 'desc' => __('Replace all occurrences of the word "WordPress" with a different word.', 'wp-multisite-waas'), 'type' => 'text', 'default' => '', ] @@ -254,9 +253,9 @@ class Whitelabel { 'whitelabel', 'rename_site_singular', [ - 'title' => __('Replace the word "Site" (singular)', 'wp-ultimo'), - 'placeholder' => __('e.g. App', 'wp-ultimo'), - 'desc' => __('Replace all occurrences of the word "Site" with a different word.', 'wp-ultimo'), + 'title' => __('Replace the word "Site" (singular)', 'wp-multisite-waas'), + 'placeholder' => __('e.g. App', 'wp-multisite-waas'), + 'desc' => __('Replace all occurrences of the word "Site" with a different word.', 'wp-multisite-waas'), 'type' => 'text', 'default' => '', 'wrapper_classes' => 'wu-w-1/2', @@ -267,9 +266,9 @@ class Whitelabel { 'whitelabel', 'rename_site_plural', [ - 'title' => __('Replace the word "Sites" (plural)', 'wp-ultimo'), - 'placeholder' => __('e.g. Apps', 'wp-ultimo'), - 'desc' => __('Replace all occurrences of the word "Sites" with a different word.', 'wp-ultimo'), + 'title' => __('Replace the word "Sites" (plural)', 'wp-multisite-waas'), + 'placeholder' => __('e.g. Apps', 'wp-multisite-waas'), + 'desc' => __('Replace all occurrences of the word "Sites" with a different word.', 'wp-multisite-waas'), 'type' => 'text', 'default' => '', 'wrapper_classes' => 'wu-w-1/2', @@ -338,16 +337,11 @@ class Whitelabel { global $menu; - $index = ''; - foreach ($menu as $i => $menu_item) { if ('sites.php' === $menu_item[2]) { - $index = $i; - - continue; + unset($menu[ $i ]); + break; } } - - unset($menu[ $index ]); } } diff --git a/inc/class-wp-ultimo.php b/inc/class-wp-ultimo.php index 0258c32..d0c3ca1 100644 --- a/inc/class-wp-ultimo.php +++ b/inc/class-wp-ultimo.php @@ -175,11 +175,6 @@ final class WP_Ultimo { */ $this->scripts = WP_Ultimo\Scripts::get_instance(); - /* - * Checks Sunrise versions - */ - WP_Ultimo\Sunrise::manage_sunrise_updates(); - /* * Loads tables */ @@ -205,11 +200,20 @@ final class WP_Ultimo { */ do_action('wp_ultimo_load'); + add_action('init', [$this, 'after_init']); + } + + public function after_init() { /* * Loads admin pages * @todo: move this to a manager in the future? */ $this->load_admin_pages(); + + /* + * Checks Sunrise versions + */ + WP_Ultimo\Sunrise::manage_sunrise_updates(); } /** diff --git a/inc/compat/class-general-compat.php b/inc/compat/class-general-compat.php index 751f4ed..d856d35 100644 --- a/inc/compat/class-general-compat.php +++ b/inc/compat/class-general-compat.php @@ -252,7 +252,7 @@ class General_Compat { */ public function add_wp_typography_warning_message(): void { - WP_Ultimo()->notices->add(__('WP Typography "Smart Quotes" replacement is not compatible with WP Multisite WaaS and will be automatically disabled.', 'wp-ultimo'), 'warning'); + WP_Ultimo()->notices->add(__('WP Typography "Smart Quotes" replacement is not compatible with WP Multisite WaaS and will be automatically disabled.', 'wp-multisite-waas'), 'warning'); } /** diff --git a/inc/compat/class-gutenberg-support.php b/inc/compat/class-gutenberg-support.php index de356b3..170800a 100644 --- a/inc/compat/class-gutenberg-support.php +++ b/inc/compat/class-gutenberg-support.php @@ -65,7 +65,7 @@ class Gutenberg_Support { wp_register_script('wu-gutenberg-support', wu_get_asset('gutenberg-support.js', 'js'), ['jquery'], wu_get_version(), true); // translators: the placeholder is replaced with the network name. - $preview_message = apply_filters('wu_gutenberg_support_preview_message', sprintf(__('%s is generating the preview...', 'wp-ultimo'), get_network_option(null, 'site_name'))); + $preview_message = apply_filters('wu_gutenberg_support_preview_message', sprintf(__('%s is generating the preview...', 'wp-multisite-waas'), get_network_option(null, 'site_name'))); wp_localize_script( 'wu-gutenberg-support', diff --git a/inc/compat/class-legacy-shortcodes.php b/inc/compat/class-legacy-shortcodes.php index ace25a3..45d882d 100644 --- a/inc/compat/class-legacy-shortcodes.php +++ b/inc/compat/class-legacy-shortcodes.php @@ -215,7 +215,7 @@ class Legacy_Shortcodes { $atts['plan_id'] = ! empty($atts['product_id']) ? $atts['product_id'] : $atts['plan_id']; if (empty($atts) || ! $atts['plan_id']) { - return __('You need to pass a valid plan ID.', 'wp-ultimo'); + return __('You need to pass a valid plan ID.', 'wp-multisite-waas'); } $query_products = get_query_var('products', []); @@ -349,17 +349,17 @@ class Legacy_Shortcodes { [ 'duration' => 1, 'duration_unit' => 'month', - 'label' => __('Monthly', 'wp-ultimo'), + 'label' => __('Monthly', 'wp-multisite-waas'), ], [ 'duration' => 3, 'duration_unit' => 'month', - 'label' => __('Quarterly', 'wp-ultimo'), + 'label' => __('Quarterly', 'wp-multisite-waas'), ], [ 'duration' => 1, 'duration_unit' => 'year', - 'label' => __('Yearly', 'wp-ultimo'), + 'label' => __('Yearly', 'wp-multisite-waas'), ], ], ]; @@ -369,7 +369,7 @@ class Legacy_Shortcodes { $fields[] = [ 'step' => 'checkout', - 'name' => __('Plans', 'wp-ultimo'), + 'name' => __('Plans', 'wp-multisite-waas'), 'type' => 'pricing_table', 'id' => 'pricing_table', 'required' => true, @@ -385,7 +385,7 @@ class Legacy_Shortcodes { if ('legacy' !== $layout) { $fields[] = [ 'step' => 'checkout', - 'name' => __('Get Started →', 'wp-ultimo'), + 'name' => __('Get Started →', 'wp-multisite-waas'), 'type' => 'submit_button', 'id' => 'checkout', ]; @@ -394,7 +394,7 @@ class Legacy_Shortcodes { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'wp-ultimo'), + 'name' => __('Checkout', 'wp-multisite-waas'), 'desc' => '', 'fields' => $fields, ], @@ -522,7 +522,7 @@ class Legacy_Shortcodes { $fields[] = [ 'step' => 'checkout', - 'name' => __('Templates', 'wp-ultimo'), + 'name' => __('Templates', 'wp-multisite-waas'), 'type' => 'template_selection', 'id' => 'template_selection', 'template_selection_sites' => implode(',', $templates ?: wu_get_site_templates($search_arguments)), @@ -534,7 +534,7 @@ class Legacy_Shortcodes { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'wp-ultimo'), + 'name' => __('Checkout', 'wp-multisite-waas'), 'desc' => '', 'fields' => $fields, ], diff --git a/inc/compat/class-multiple-accounts-compat.php b/inc/compat/class-multiple-accounts-compat.php index 5be3141..a9149f2 100644 --- a/inc/compat/class-multiple-accounts-compat.php +++ b/inc/compat/class-multiple-accounts-compat.php @@ -260,8 +260,8 @@ class Multiple_Accounts_Compat { 'login-and-registration', 'multiple_accounts_header', [ - 'title' => __('Multiple Accounts', 'wp-ultimo'), - 'desc' => __('Options related to the Multiple Accounts feature.', 'wp-ultimo'), + 'title' => __('Multiple Accounts', 'wp-multisite-waas'), + 'desc' => __('Options related to the Multiple Accounts feature.', 'wp-multisite-waas'), 'type' => 'header', ] ); @@ -270,8 +270,8 @@ class Multiple_Accounts_Compat { 'login-and-registration', 'enable_multiple_accounts', [ - 'title' => __('Enable Multiple Accounts', 'wp-ultimo'), - 'desc' => __('Allow users to have accounts in different sites with the same email address. This is useful when running stores with WooCommerce and other plugins, for example.', 'wp-ultimo') . ' ' . sprintf('%s', wu_get_documentation_url('multiple-accounts'), __('Read More', 'wp-ultimo')), + 'title' => __('Enable Multiple Accounts', 'wp-multisite-waas'), + 'desc' => __('Allow users to have accounts in different sites with the same email address. This is useful when running stores with WooCommerce and other plugins, for example.', 'wp-multisite-waas') . ' ' . sprintf('%s', wu_get_documentation_url('multiple-accounts'), __('Read More', 'wp-multisite-waas')), 'type' => 'toggle', 'default' => 0, ] @@ -288,7 +288,7 @@ class Multiple_Accounts_Compat { */ public function add_multiple_account_column($columns) { - $columns['multiple_accounts'] = __('Multiple Accounts', 'wp-ultimo'); + $columns['multiple_accounts'] = __('Multiple Accounts', 'wp-multisite-waas'); return $columns; } @@ -320,9 +320,9 @@ class Multiple_Accounts_Compat { ); // translators: the %d is the account count for that email address. - $html = sprintf(__('%d accounts using this email.', 'wp-ultimo'), $users->total_users); + $html = sprintf(__('%d accounts using this email.', 'wp-multisite-waas'), $users->total_users); - $html .= sprintf("
" . __('See all', 'wp-ultimo') . ' »', network_admin_url('users.php?s=' . $user->user_email)); + $html .= sprintf("
" . __('See all', 'wp-multisite-waas') . ' »', network_admin_url('users.php?s=' . $user->user_email)); echo $html; } diff --git a/inc/compat/class-product-compat.php b/inc/compat/class-product-compat.php index c37a3d0..ddebaf1 100644 --- a/inc/compat/class-product-compat.php +++ b/inc/compat/class-product-compat.php @@ -94,8 +94,8 @@ class Product_Compat { public function add_legacy_section($sections, $object) { $sections['legacy_options_core'] = [ - 'title' => __('Legacy Options', 'wp-ultimo'), - 'desc' => __('Options used by old 1.X versions. ', 'wp-ultimo'), + 'title' => __('Legacy Options', 'wp-multisite-waas'), + 'desc' => __('Options used by old 1.X versions. ', 'wp-multisite-waas'), 'icon' => 'dashicons-wu-spreadsheet', 'state' => [ 'legacy_options' => $object->get_legacy_options(), @@ -104,8 +104,8 @@ class Product_Compat { 'legacy_options' => [ 'type' => 'toggle', 'value' => $object->get_legacy_options(), - 'title' => __('Toggle Legacy Options', 'wp-ultimo'), - 'desc' => __('Toggle this option to edit legacy options.', 'wp-ultimo'), + 'title' => __('Toggle Legacy Options', 'wp-multisite-waas'), + 'desc' => __('Toggle this option to edit legacy options.', 'wp-multisite-waas'), 'html_attr' => [ 'v-model' => 'legacy_options', ], @@ -113,17 +113,17 @@ class Product_Compat { 'featured_plan' => [ 'type' => 'toggle', 'value' => $object->is_featured_plan(), - 'title' => __('Featured Plan', 'wp-ultimo'), - 'desc' => __('Toggle this option to mark this product as featured on the legacy pricing tables.', 'wp-ultimo'), + 'title' => __('Featured Plan', 'wp-multisite-waas'), + 'desc' => __('Toggle this option to mark this product as featured on the legacy pricing tables.', 'wp-multisite-waas'), 'wrapper_html_attr' => [ 'v-show' => 'legacy_options', ], ], 'feature_list' => [ 'type' => 'textarea', - 'title' => __('Features List', 'wp-ultimo'), - 'placeholder' => __('E.g. Feature 1', 'wp-ultimo') . PHP_EOL . __('Feature 2', 'wp-ultimo'), - 'desc' => __('Add a feature per line. These will be shown on the pricing tables.', 'wp-ultimo'), + 'title' => __('Features List', 'wp-multisite-waas'), + 'placeholder' => __('E.g. Feature 1', 'wp-multisite-waas') . PHP_EOL . __('Feature 2', 'wp-multisite-waas'), + 'desc' => __('Add a feature per line. These will be shown on the pricing tables.', 'wp-multisite-waas'), 'value' => $object->get_feature_list(), 'wrapper_html_attr' => [ 'v-show' => 'legacy_options', diff --git a/inc/country/class-country-br.php b/inc/country/class-country-br.php index e8c3cec..adbfbf3 100644 --- a/inc/country/class-country-br.php +++ b/inc/country/class-country-br.php @@ -90,7 +90,7 @@ class Country_BR extends Country { */ public function get_name() { - return __('Brazil', 'wp-ultimo'); + return __('Brazil', 'wp-multisite-waas'); } /** @@ -102,33 +102,33 @@ class Country_BR extends Country { protected function states() { return [ - 'AC' => __('Acre', 'wp-ultimo'), - 'AL' => __('Alagoas', 'wp-ultimo'), - 'AP' => __('Amapá', 'wp-ultimo'), - 'AM' => __('Amazonas', 'wp-ultimo'), - 'BA' => __('Bahia', 'wp-ultimo'), - 'CE' => __('Ceará', 'wp-ultimo'), - 'DF' => __('Distrito Federal', 'wp-ultimo'), - 'ES' => __('Espírito Santo', 'wp-ultimo'), - 'GO' => __('Goiás', 'wp-ultimo'), - 'MA' => __('Maranhão', 'wp-ultimo'), - 'MT' => __('Mato Grosso', 'wp-ultimo'), - 'MS' => __('Mato Grosso do Sul', 'wp-ultimo'), - 'MG' => __('Minas Gerais', 'wp-ultimo'), - 'PR' => __('Paraná', 'wp-ultimo'), - 'PB' => __('Paraíba', 'wp-ultimo'), - 'PA' => __('Pará', 'wp-ultimo'), - 'PE' => __('Pernambuco', 'wp-ultimo'), - 'PI' => __('Piauí', 'wp-ultimo'), - 'RN' => __('Rio Grande do Norte', 'wp-ultimo'), - 'RS' => __('Rio Grande do Sul', 'wp-ultimo'), - 'RJ' => __('Rio de Janeiro', 'wp-ultimo'), - 'RO' => __('Rondônia', 'wp-ultimo'), - 'RR' => __('Roraima', 'wp-ultimo'), - 'SC' => __('Santa Catarina', 'wp-ultimo'), - 'SE' => __('Sergipe', 'wp-ultimo'), - 'SP' => __('São Paulo', 'wp-ultimo'), - 'TO' => __('Tocantins', 'wp-ultimo'), + 'AC' => __('Acre', 'wp-multisite-waas'), + 'AL' => __('Alagoas', 'wp-multisite-waas'), + 'AP' => __('Amapá', 'wp-multisite-waas'), + 'AM' => __('Amazonas', 'wp-multisite-waas'), + 'BA' => __('Bahia', 'wp-multisite-waas'), + 'CE' => __('Ceará', 'wp-multisite-waas'), + 'DF' => __('Distrito Federal', 'wp-multisite-waas'), + 'ES' => __('Espírito Santo', 'wp-multisite-waas'), + 'GO' => __('Goiás', 'wp-multisite-waas'), + 'MA' => __('Maranhão', 'wp-multisite-waas'), + 'MT' => __('Mato Grosso', 'wp-multisite-waas'), + 'MS' => __('Mato Grosso do Sul', 'wp-multisite-waas'), + 'MG' => __('Minas Gerais', 'wp-multisite-waas'), + 'PR' => __('Paraná', 'wp-multisite-waas'), + 'PB' => __('Paraíba', 'wp-multisite-waas'), + 'PA' => __('Pará', 'wp-multisite-waas'), + 'PE' => __('Pernambuco', 'wp-multisite-waas'), + 'PI' => __('Piauí', 'wp-multisite-waas'), + 'RN' => __('Rio Grande do Norte', 'wp-multisite-waas'), + 'RS' => __('Rio Grande do Sul', 'wp-multisite-waas'), + 'RJ' => __('Rio de Janeiro', 'wp-multisite-waas'), + 'RO' => __('Rondônia', 'wp-multisite-waas'), + 'RR' => __('Roraima', 'wp-multisite-waas'), + 'SC' => __('Santa Catarina', 'wp-multisite-waas'), + 'SE' => __('Sergipe', 'wp-multisite-waas'), + 'SP' => __('São Paulo', 'wp-multisite-waas'), + 'TO' => __('Tocantins', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-ca.php b/inc/country/class-country-ca.php index b69c96a..af91f0e 100644 --- a/inc/country/class-country-ca.php +++ b/inc/country/class-country-ca.php @@ -76,7 +76,7 @@ class Country_CA extends Country { */ public function get_name() { - return __('Canada', 'wp-ultimo'); + return __('Canada', 'wp-multisite-waas'); } /** @@ -88,19 +88,19 @@ class Country_CA extends Country { protected function states() { return [ - 'AB' => __('Alberta', 'wp-ultimo'), - 'BC' => __('British Columbia', 'wp-ultimo'), - 'MB' => __('Manitoba', 'wp-ultimo'), - 'NB' => __('New Brunswick', 'wp-ultimo'), - 'NL' => __('Newfoundland and Labrador', 'wp-ultimo'), - 'NT' => __('Northwest Territories', 'wp-ultimo'), - 'NS' => __('Nova Scotia', 'wp-ultimo'), - 'NU' => __('Nunavut', 'wp-ultimo'), - 'ON' => __('Ontario', 'wp-ultimo'), - 'PE' => __('Prince Edward Island', 'wp-ultimo'), - 'QC' => __('Quebec', 'wp-ultimo'), - 'SK' => __('Saskatchewan', 'wp-ultimo'), - 'YT' => __('Yukon', 'wp-ultimo'), + 'AB' => __('Alberta', 'wp-multisite-waas'), + 'BC' => __('British Columbia', 'wp-multisite-waas'), + 'MB' => __('Manitoba', 'wp-multisite-waas'), + 'NB' => __('New Brunswick', 'wp-multisite-waas'), + 'NL' => __('Newfoundland and Labrador', 'wp-multisite-waas'), + 'NT' => __('Northwest Territories', 'wp-multisite-waas'), + 'NS' => __('Nova Scotia', 'wp-multisite-waas'), + 'NU' => __('Nunavut', 'wp-multisite-waas'), + 'ON' => __('Ontario', 'wp-multisite-waas'), + 'PE' => __('Prince Edward Island', 'wp-multisite-waas'), + 'QC' => __('Quebec', 'wp-multisite-waas'), + 'SK' => __('Saskatchewan', 'wp-multisite-waas'), + 'YT' => __('Yukon', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-cn.php b/inc/country/class-country-cn.php index 2d81556..fcc1831 100644 --- a/inc/country/class-country-cn.php +++ b/inc/country/class-country-cn.php @@ -95,7 +95,7 @@ class Country_CN extends Country { */ public function get_name() { - return __('China', 'wp-ultimo'); + return __('China', 'wp-multisite-waas'); } /** @@ -107,40 +107,40 @@ class Country_CN extends Country { protected function states() { return [ - 'AH' => __('Anhui', 'wp-ultimo'), - 'BJ' => __('Beijing', 'wp-ultimo'), - 'CQ' => __('Chongqing', 'wp-ultimo'), - 'FJ' => __('Fujian', 'wp-ultimo'), - 'GS' => __('Gansu', 'wp-ultimo'), - 'GD' => __('Guangdong', 'wp-ultimo'), - 'GX' => __('Guangxi Zhuang', 'wp-ultimo'), - 'GZ' => __('Guizhou', 'wp-ultimo'), - 'HI' => __('Hainan', 'wp-ultimo'), - 'HE' => __('Hebei', 'wp-ultimo'), - 'HL' => __('Heilongjiang', 'wp-ultimo'), - 'HA' => __('Henan', 'wp-ultimo'), - 'HK' => __('Hong Kong SAR', 'wp-ultimo'), - 'HB' => __('Hubei', 'wp-ultimo'), - 'HN' => __('Hunan', 'wp-ultimo'), - 'NM' => __('Inner Mongolia', 'wp-ultimo'), - 'JS' => __('Jiangsu', 'wp-ultimo'), - 'JX' => __('Jiangxi', 'wp-ultimo'), - 'JL' => __('Jilin', 'wp-ultimo'), - 'LN' => __('Liaoning', 'wp-ultimo'), - 'MO' => __('Macau SAR', 'wp-ultimo'), - 'NX' => __('Ningxia Huizu', 'wp-ultimo'), - 'QH' => __('Qinghai', 'wp-ultimo'), - 'SN' => __('Shaanxi', 'wp-ultimo'), - 'SD' => __('Shandong', 'wp-ultimo'), - 'SH' => __('Shanghai', 'wp-ultimo'), - 'SX' => __('Shanxi', 'wp-ultimo'), - 'SC' => __('Sichuan', 'wp-ultimo'), - 'TW' => __('Taiwan', 'wp-ultimo'), - 'TJ' => __('Tianjin', 'wp-ultimo'), - 'XJ' => __('Xinjiang', 'wp-ultimo'), - 'XZ' => __('Xizang', 'wp-ultimo'), - 'YN' => __('Yunnan', 'wp-ultimo'), - 'ZJ' => __('Zhejiang', 'wp-ultimo'), + 'AH' => __('Anhui', 'wp-multisite-waas'), + 'BJ' => __('Beijing', 'wp-multisite-waas'), + 'CQ' => __('Chongqing', 'wp-multisite-waas'), + 'FJ' => __('Fujian', 'wp-multisite-waas'), + 'GS' => __('Gansu', 'wp-multisite-waas'), + 'GD' => __('Guangdong', 'wp-multisite-waas'), + 'GX' => __('Guangxi Zhuang', 'wp-multisite-waas'), + 'GZ' => __('Guizhou', 'wp-multisite-waas'), + 'HI' => __('Hainan', 'wp-multisite-waas'), + 'HE' => __('Hebei', 'wp-multisite-waas'), + 'HL' => __('Heilongjiang', 'wp-multisite-waas'), + 'HA' => __('Henan', 'wp-multisite-waas'), + 'HK' => __('Hong Kong SAR', 'wp-multisite-waas'), + 'HB' => __('Hubei', 'wp-multisite-waas'), + 'HN' => __('Hunan', 'wp-multisite-waas'), + 'NM' => __('Inner Mongolia', 'wp-multisite-waas'), + 'JS' => __('Jiangsu', 'wp-multisite-waas'), + 'JX' => __('Jiangxi', 'wp-multisite-waas'), + 'JL' => __('Jilin', 'wp-multisite-waas'), + 'LN' => __('Liaoning', 'wp-multisite-waas'), + 'MO' => __('Macau SAR', 'wp-multisite-waas'), + 'NX' => __('Ningxia Huizu', 'wp-multisite-waas'), + 'QH' => __('Qinghai', 'wp-multisite-waas'), + 'SN' => __('Shaanxi', 'wp-multisite-waas'), + 'SD' => __('Shandong', 'wp-multisite-waas'), + 'SH' => __('Shanghai', 'wp-multisite-waas'), + 'SX' => __('Shanxi', 'wp-multisite-waas'), + 'SC' => __('Sichuan', 'wp-multisite-waas'), + 'TW' => __('Taiwan', 'wp-multisite-waas'), + 'TJ' => __('Tianjin', 'wp-multisite-waas'), + 'XJ' => __('Xinjiang', 'wp-multisite-waas'), + 'XZ' => __('Xizang', 'wp-multisite-waas'), + 'YN' => __('Yunnan', 'wp-multisite-waas'), + 'ZJ' => __('Zhejiang', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-de.php b/inc/country/class-country-de.php index 9b0a05f..c95cc96 100644 --- a/inc/country/class-country-de.php +++ b/inc/country/class-country-de.php @@ -79,7 +79,7 @@ class Country_DE extends Country { */ public function get_name() { - return __('Germany', 'wp-ultimo'); + return __('Germany', 'wp-multisite-waas'); } /** @@ -91,22 +91,22 @@ class Country_DE extends Country { protected function states() { return [ - 'BW' => __('Baden-Württemberg', 'wp-ultimo'), - 'BY' => __('Bavaria', 'wp-ultimo'), - 'BE' => __('Berlin', 'wp-ultimo'), - 'BB' => __('Brandenburg', 'wp-ultimo'), - 'HB' => __('Bremen', 'wp-ultimo'), - 'HH' => __('Hamburg', 'wp-ultimo'), - 'HE' => __('Hesse', 'wp-ultimo'), - 'NI' => __('Lower Saxony', 'wp-ultimo'), - 'MV' => __('Mecklenburg-Vorpommern', 'wp-ultimo'), - 'NW' => __('North Rhine-Westphalia', 'wp-ultimo'), - 'RP' => __('Rhineland-Palatinate', 'wp-ultimo'), - 'SL' => __('Saarland', 'wp-ultimo'), - 'SN' => __('Saxony', 'wp-ultimo'), - 'ST' => __('Saxony-Anhalt', 'wp-ultimo'), - 'SH' => __('Schleswig-Holstein', 'wp-ultimo'), - 'TH' => __('Thuringia', 'wp-ultimo'), + 'BW' => __('Baden-Württemberg', 'wp-multisite-waas'), + 'BY' => __('Bavaria', 'wp-multisite-waas'), + 'BE' => __('Berlin', 'wp-multisite-waas'), + 'BB' => __('Brandenburg', 'wp-multisite-waas'), + 'HB' => __('Bremen', 'wp-multisite-waas'), + 'HH' => __('Hamburg', 'wp-multisite-waas'), + 'HE' => __('Hesse', 'wp-multisite-waas'), + 'NI' => __('Lower Saxony', 'wp-multisite-waas'), + 'MV' => __('Mecklenburg-Vorpommern', 'wp-multisite-waas'), + 'NW' => __('North Rhine-Westphalia', 'wp-multisite-waas'), + 'RP' => __('Rhineland-Palatinate', 'wp-multisite-waas'), + 'SL' => __('Saarland', 'wp-multisite-waas'), + 'SN' => __('Saxony', 'wp-multisite-waas'), + 'ST' => __('Saxony-Anhalt', 'wp-multisite-waas'), + 'SH' => __('Schleswig-Holstein', 'wp-multisite-waas'), + 'TH' => __('Thuringia', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-es.php b/inc/country/class-country-es.php index 5e5c3cf..2fa8bb6 100644 --- a/inc/country/class-country-es.php +++ b/inc/country/class-country-es.php @@ -81,7 +81,7 @@ class Country_ES extends Country { */ public function get_name() { - return __('Spain', 'wp-ultimo'); + return __('Spain', 'wp-multisite-waas'); } /** @@ -93,34 +93,34 @@ class Country_ES extends Country { protected function states() { return [ - 'AN' => __('Andalusia', 'wp-ultimo'), - 'AR' => __('Aragon', 'wp-ultimo'), - 'AS' => __('Asturias', 'wp-ultimo'), - 'PM' => __('Balearic Islands', 'wp-ultimo'), - 'PV' => __('Basque Country', 'wp-ultimo'), - 'BU' => __('Burgos Province', 'wp-ultimo'), - 'CN' => __('Canary Islands', 'wp-ultimo'), - 'CB' => __('Cantabria', 'wp-ultimo'), - 'CL' => __('Castile and León', 'wp-ultimo'), - 'CM' => __('Castilla La Mancha', 'wp-ultimo'), - 'CT' => __('Catalonia', 'wp-ultimo'), - 'CE' => __('Ceuta', 'wp-ultimo'), - 'EX' => __('Extremadura', 'wp-ultimo'), - 'GA' => __('Galicia', 'wp-ultimo'), - 'RI' => __('La Rioja', 'wp-ultimo'), - 'LE' => __('Léon', 'wp-ultimo'), - 'MD' => __('Madrid', 'wp-ultimo'), - 'ML' => __('Melilla', 'wp-ultimo'), - 'MC' => __('Murcia', 'wp-ultimo'), - 'NC' => __('Navarra', 'wp-ultimo'), - 'P' => __('Palencia Province', 'wp-ultimo'), - 'SA' => __('Salamanca Province', 'wp-ultimo'), - 'SG' => __('Segovia Province', 'wp-ultimo'), - 'SO' => __('Soria Province', 'wp-ultimo'), - 'VC' => __('Valencia', 'wp-ultimo'), - 'VA' => __('Valladolid Province', 'wp-ultimo'), - 'ZA' => __('Zamora Province', 'wp-ultimo'), - 'AV' => __('Ávila', 'wp-ultimo'), + 'AN' => __('Andalusia', 'wp-multisite-waas'), + 'AR' => __('Aragon', 'wp-multisite-waas'), + 'AS' => __('Asturias', 'wp-multisite-waas'), + 'PM' => __('Balearic Islands', 'wp-multisite-waas'), + 'PV' => __('Basque Country', 'wp-multisite-waas'), + 'BU' => __('Burgos Province', 'wp-multisite-waas'), + 'CN' => __('Canary Islands', 'wp-multisite-waas'), + 'CB' => __('Cantabria', 'wp-multisite-waas'), + 'CL' => __('Castile and León', 'wp-multisite-waas'), + 'CM' => __('Castilla La Mancha', 'wp-multisite-waas'), + 'CT' => __('Catalonia', 'wp-multisite-waas'), + 'CE' => __('Ceuta', 'wp-multisite-waas'), + 'EX' => __('Extremadura', 'wp-multisite-waas'), + 'GA' => __('Galicia', 'wp-multisite-waas'), + 'RI' => __('La Rioja', 'wp-multisite-waas'), + 'LE' => __('Léon', 'wp-multisite-waas'), + 'MD' => __('Madrid', 'wp-multisite-waas'), + 'ML' => __('Melilla', 'wp-multisite-waas'), + 'MC' => __('Murcia', 'wp-multisite-waas'), + 'NC' => __('Navarra', 'wp-multisite-waas'), + 'P' => __('Palencia Province', 'wp-multisite-waas'), + 'SA' => __('Salamanca Province', 'wp-multisite-waas'), + 'SG' => __('Segovia Province', 'wp-multisite-waas'), + 'SO' => __('Soria Province', 'wp-multisite-waas'), + 'VC' => __('Valencia', 'wp-multisite-waas'), + 'VA' => __('Valladolid Province', 'wp-multisite-waas'), + 'ZA' => __('Zamora Province', 'wp-multisite-waas'), + 'AV' => __('Ávila', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-fr.php b/inc/country/class-country-fr.php index 41faa0e..63ac6b0 100644 --- a/inc/country/class-country-fr.php +++ b/inc/country/class-country-fr.php @@ -76,7 +76,7 @@ class Country_FR extends Country { */ public function get_name() { - return __('France', 'wp-ultimo'); + return __('France', 'wp-multisite-waas'); } /** @@ -88,129 +88,129 @@ class Country_FR extends Country { protected function states() { return [ - '10' => __('Aube', 'wp-ultimo'), - '11' => __('Aude', 'wp-ultimo'), - '12' => __('Aveyron', 'wp-ultimo'), - '13' => __('Bouches-du-Rhône', 'wp-ultimo'), - '14' => __('Calvados', 'wp-ultimo'), - '15' => __('Cantal', 'wp-ultimo'), - '16' => __('Charente', 'wp-ultimo'), - '17' => __('Charente-Maritime', 'wp-ultimo'), - '18' => __('Cher', 'wp-ultimo'), - '19' => __('Corrèze', 'wp-ultimo'), - '21' => __("Côte-d'Or", 'wp-ultimo'), - '22' => __("Côtes-d'Armor", 'wp-ultimo'), - '23' => __('Creuse', 'wp-ultimo'), - '24' => __('Dordogne', 'wp-ultimo'), - '25' => __('Doubs', 'wp-ultimo'), - '26' => __('Drôme', 'wp-ultimo'), - '27' => __('Eure', 'wp-ultimo'), - '28' => __('Eure-et-Loir', 'wp-ultimo'), - '29' => __('Finistère', 'wp-ultimo'), - '30' => __('Gard', 'wp-ultimo'), - '31' => __('Haute-Garonne', 'wp-ultimo'), - '32' => __('Gers', 'wp-ultimo'), - '33' => __('Gironde', 'wp-ultimo'), - '34' => __('Hérault', 'wp-ultimo'), - '35' => __('Ille-et-Vilaine', 'wp-ultimo'), - '36' => __('Indre', 'wp-ultimo'), - '37' => __('Indre-et-Loire', 'wp-ultimo'), - '38' => __('Isère', 'wp-ultimo'), - '39' => __('Jura', 'wp-ultimo'), - '40' => __('Landes', 'wp-ultimo'), - '41' => __('Loir-et-Cher', 'wp-ultimo'), - '42' => __('Loire', 'wp-ultimo'), - '43' => __('Haute-Loire', 'wp-ultimo'), - '44' => __('Loire-Atlantique', 'wp-ultimo'), - '45' => __('Loiret', 'wp-ultimo'), - '46' => __('Lot', 'wp-ultimo'), - '47' => __('Lot-et-Garonne', 'wp-ultimo'), - '48' => __('Lozère', 'wp-ultimo'), - '49' => __('Maine-et-Loire', 'wp-ultimo'), - '50' => __('Manche', 'wp-ultimo'), - '51' => __('Marne', 'wp-ultimo'), - '52' => __('Haute-Marne', 'wp-ultimo'), - '53' => __('Mayenne', 'wp-ultimo'), - '54' => __('Meurthe-et-Moselle', 'wp-ultimo'), - '55' => __('Meuse', 'wp-ultimo'), - '56' => __('Morbihan', 'wp-ultimo'), - '57' => __('Moselle', 'wp-ultimo'), - '58' => __('Nièvre', 'wp-ultimo'), - '59' => __('Nord', 'wp-ultimo'), - '60' => __('Oise', 'wp-ultimo'), - '61' => __('Orne', 'wp-ultimo'), - '62' => __('Pas-de-Calais', 'wp-ultimo'), - '63' => __('Puy-de-Dôme', 'wp-ultimo'), - '64' => __('Pyrénées-Atlantiques', 'wp-ultimo'), - '65' => __('Hautes-Pyrénées', 'wp-ultimo'), - '66' => __('Pyrénées-Orientales', 'wp-ultimo'), - '67' => __('Bas-Rhin', 'wp-ultimo'), - '68' => __('Haut-Rhin', 'wp-ultimo'), - '69' => __('Rhône', 'wp-ultimo'), - '70' => __('Haute-Saône', 'wp-ultimo'), - '71' => __('Saône-et-Loire', 'wp-ultimo'), - '72' => __('Sarthe', 'wp-ultimo'), - '73' => __('Savoie', 'wp-ultimo'), - '74' => __('Haute-Savoie', 'wp-ultimo'), - '76' => __('Seine-Maritime', 'wp-ultimo'), - '77' => __('Seine-et-Marne', 'wp-ultimo'), - '78' => __('Yvelines', 'wp-ultimo'), - '79' => __('Deux-Sèvres', 'wp-ultimo'), - '80' => __('Somme', 'wp-ultimo'), - '81' => __('Tarn', 'wp-ultimo'), - '82' => __('Tarn-et-Garonne', 'wp-ultimo'), - '83' => __('Var', 'wp-ultimo'), - '84' => __('Vaucluse', 'wp-ultimo'), - '85' => __('Vendée', 'wp-ultimo'), - '86' => __('Vienne', 'wp-ultimo'), - '87' => __('Haute-Vienne', 'wp-ultimo'), - '88' => __('Vosges', 'wp-ultimo'), - '89' => __('Yonne', 'wp-ultimo'), - '90' => __('Territoire de Belfort', 'wp-ultimo'), - '91' => __('Essonne', 'wp-ultimo'), - '92' => __('Hauts-de-Seine', 'wp-ultimo'), - '93' => __('Seine-Saint-Denis', 'wp-ultimo'), - '94' => __('Val-de-Marne', 'wp-ultimo'), - '95' => __("Val-d'Oise", 'wp-ultimo'), - '971' => __('Guadeloupe', 'wp-ultimo'), - '972' => __('Martinique', 'wp-ultimo'), - '973' => __('French Guiana', 'wp-ultimo'), - '974' => __('La Réunion', 'wp-ultimo'), - '976' => __('Mayotte', 'wp-ultimo'), - '01' => __('Ain', 'wp-ultimo'), - '02' => __('Aisne', 'wp-ultimo'), - '03' => __('Allier', 'wp-ultimo'), - '06' => __('Alpes-Maritimes', 'wp-ultimo'), - '04' => __('Alpes-de-Haute-Provence', 'wp-ultimo'), - '6AE' => __('Alsace', 'wp-ultimo'), - '08' => __('Ardennes', 'wp-ultimo'), - '07' => __('Ardèche', 'wp-ultimo'), - '09' => __('Ariège', 'wp-ultimo'), - 'ARA' => __('Auvergne-Rhône-Alpes', 'wp-ultimo'), - 'BFC' => __('Bourgogne-Franche-Comté', 'wp-ultimo'), - 'BRE' => __('Bretagne', 'wp-ultimo'), - 'CVL' => __('Centre-Val de Loire', 'wp-ultimo'), - 'CP' => __('Clipperton', 'wp-ultimo'), - '20R' => __('Corse', 'wp-ultimo'), - '2A' => __('Corse-du-Sud', 'wp-ultimo'), - 'PF' => __('French Polynesia', 'wp-ultimo'), - 'TF' => __('French Southern and Antarctic Lands', 'wp-ultimo'), - 'GES' => __('Grand-Est', 'wp-ultimo'), - '2B' => __('Haute-Corse', 'wp-ultimo'), - '05' => __('Hautes-Alpes', 'wp-ultimo'), - 'HDF' => __('Hauts-de-France', 'wp-ultimo'), - '69M' => __('Métropole de Lyon', 'wp-ultimo'), - 'NOR' => __('Normandie', 'wp-ultimo'), - 'NAQ' => __('Nouvelle-Aquitaine', 'wp-ultimo'), - 'OCC' => __('Occitanie', 'wp-ultimo'), - '75C' => __('Paris', 'wp-ultimo'), - 'PDL' => __('Pays-de-la-Loire', 'wp-ultimo'), - 'PAC' => __('Provence-Alpes-Côte-d’Azur', 'wp-ultimo'), - 'PM' => __('Saint Pierre and Miquelon', 'wp-ultimo'), - 'BL' => __('Saint-Barthélemy', 'wp-ultimo'), - 'MF' => __('Saint-Martin', 'wp-ultimo'), - 'WF' => __('Wallis and Futuna', 'wp-ultimo'), - 'IDF' => __('Île-de-France', 'wp-ultimo'), + '10' => __('Aube', 'wp-multisite-waas'), + '11' => __('Aude', 'wp-multisite-waas'), + '12' => __('Aveyron', 'wp-multisite-waas'), + '13' => __('Bouches-du-Rhône', 'wp-multisite-waas'), + '14' => __('Calvados', 'wp-multisite-waas'), + '15' => __('Cantal', 'wp-multisite-waas'), + '16' => __('Charente', 'wp-multisite-waas'), + '17' => __('Charente-Maritime', 'wp-multisite-waas'), + '18' => __('Cher', 'wp-multisite-waas'), + '19' => __('Corrèze', 'wp-multisite-waas'), + '21' => __("Côte-d'Or", 'wp-multisite-waas'), + '22' => __("Côtes-d'Armor", 'wp-multisite-waas'), + '23' => __('Creuse', 'wp-multisite-waas'), + '24' => __('Dordogne', 'wp-multisite-waas'), + '25' => __('Doubs', 'wp-multisite-waas'), + '26' => __('Drôme', 'wp-multisite-waas'), + '27' => __('Eure', 'wp-multisite-waas'), + '28' => __('Eure-et-Loir', 'wp-multisite-waas'), + '29' => __('Finistère', 'wp-multisite-waas'), + '30' => __('Gard', 'wp-multisite-waas'), + '31' => __('Haute-Garonne', 'wp-multisite-waas'), + '32' => __('Gers', 'wp-multisite-waas'), + '33' => __('Gironde', 'wp-multisite-waas'), + '34' => __('Hérault', 'wp-multisite-waas'), + '35' => __('Ille-et-Vilaine', 'wp-multisite-waas'), + '36' => __('Indre', 'wp-multisite-waas'), + '37' => __('Indre-et-Loire', 'wp-multisite-waas'), + '38' => __('Isère', 'wp-multisite-waas'), + '39' => __('Jura', 'wp-multisite-waas'), + '40' => __('Landes', 'wp-multisite-waas'), + '41' => __('Loir-et-Cher', 'wp-multisite-waas'), + '42' => __('Loire', 'wp-multisite-waas'), + '43' => __('Haute-Loire', 'wp-multisite-waas'), + '44' => __('Loire-Atlantique', 'wp-multisite-waas'), + '45' => __('Loiret', 'wp-multisite-waas'), + '46' => __('Lot', 'wp-multisite-waas'), + '47' => __('Lot-et-Garonne', 'wp-multisite-waas'), + '48' => __('Lozère', 'wp-multisite-waas'), + '49' => __('Maine-et-Loire', 'wp-multisite-waas'), + '50' => __('Manche', 'wp-multisite-waas'), + '51' => __('Marne', 'wp-multisite-waas'), + '52' => __('Haute-Marne', 'wp-multisite-waas'), + '53' => __('Mayenne', 'wp-multisite-waas'), + '54' => __('Meurthe-et-Moselle', 'wp-multisite-waas'), + '55' => __('Meuse', 'wp-multisite-waas'), + '56' => __('Morbihan', 'wp-multisite-waas'), + '57' => __('Moselle', 'wp-multisite-waas'), + '58' => __('Nièvre', 'wp-multisite-waas'), + '59' => __('Nord', 'wp-multisite-waas'), + '60' => __('Oise', 'wp-multisite-waas'), + '61' => __('Orne', 'wp-multisite-waas'), + '62' => __('Pas-de-Calais', 'wp-multisite-waas'), + '63' => __('Puy-de-Dôme', 'wp-multisite-waas'), + '64' => __('Pyrénées-Atlantiques', 'wp-multisite-waas'), + '65' => __('Hautes-Pyrénées', 'wp-multisite-waas'), + '66' => __('Pyrénées-Orientales', 'wp-multisite-waas'), + '67' => __('Bas-Rhin', 'wp-multisite-waas'), + '68' => __('Haut-Rhin', 'wp-multisite-waas'), + '69' => __('Rhône', 'wp-multisite-waas'), + '70' => __('Haute-Saône', 'wp-multisite-waas'), + '71' => __('Saône-et-Loire', 'wp-multisite-waas'), + '72' => __('Sarthe', 'wp-multisite-waas'), + '73' => __('Savoie', 'wp-multisite-waas'), + '74' => __('Haute-Savoie', 'wp-multisite-waas'), + '76' => __('Seine-Maritime', 'wp-multisite-waas'), + '77' => __('Seine-et-Marne', 'wp-multisite-waas'), + '78' => __('Yvelines', 'wp-multisite-waas'), + '79' => __('Deux-Sèvres', 'wp-multisite-waas'), + '80' => __('Somme', 'wp-multisite-waas'), + '81' => __('Tarn', 'wp-multisite-waas'), + '82' => __('Tarn-et-Garonne', 'wp-multisite-waas'), + '83' => __('Var', 'wp-multisite-waas'), + '84' => __('Vaucluse', 'wp-multisite-waas'), + '85' => __('Vendée', 'wp-multisite-waas'), + '86' => __('Vienne', 'wp-multisite-waas'), + '87' => __('Haute-Vienne', 'wp-multisite-waas'), + '88' => __('Vosges', 'wp-multisite-waas'), + '89' => __('Yonne', 'wp-multisite-waas'), + '90' => __('Territoire de Belfort', 'wp-multisite-waas'), + '91' => __('Essonne', 'wp-multisite-waas'), + '92' => __('Hauts-de-Seine', 'wp-multisite-waas'), + '93' => __('Seine-Saint-Denis', 'wp-multisite-waas'), + '94' => __('Val-de-Marne', 'wp-multisite-waas'), + '95' => __("Val-d'Oise", 'wp-multisite-waas'), + '971' => __('Guadeloupe', 'wp-multisite-waas'), + '972' => __('Martinique', 'wp-multisite-waas'), + '973' => __('French Guiana', 'wp-multisite-waas'), + '974' => __('La Réunion', 'wp-multisite-waas'), + '976' => __('Mayotte', 'wp-multisite-waas'), + '01' => __('Ain', 'wp-multisite-waas'), + '02' => __('Aisne', 'wp-multisite-waas'), + '03' => __('Allier', 'wp-multisite-waas'), + '06' => __('Alpes-Maritimes', 'wp-multisite-waas'), + '04' => __('Alpes-de-Haute-Provence', 'wp-multisite-waas'), + '6AE' => __('Alsace', 'wp-multisite-waas'), + '08' => __('Ardennes', 'wp-multisite-waas'), + '07' => __('Ardèche', 'wp-multisite-waas'), + '09' => __('Ariège', 'wp-multisite-waas'), + 'ARA' => __('Auvergne-Rhône-Alpes', 'wp-multisite-waas'), + 'BFC' => __('Bourgogne-Franche-Comté', 'wp-multisite-waas'), + 'BRE' => __('Bretagne', 'wp-multisite-waas'), + 'CVL' => __('Centre-Val de Loire', 'wp-multisite-waas'), + 'CP' => __('Clipperton', 'wp-multisite-waas'), + '20R' => __('Corse', 'wp-multisite-waas'), + '2A' => __('Corse-du-Sud', 'wp-multisite-waas'), + 'PF' => __('French Polynesia', 'wp-multisite-waas'), + 'TF' => __('French Southern and Antarctic Lands', 'wp-multisite-waas'), + 'GES' => __('Grand-Est', 'wp-multisite-waas'), + '2B' => __('Haute-Corse', 'wp-multisite-waas'), + '05' => __('Hautes-Alpes', 'wp-multisite-waas'), + 'HDF' => __('Hauts-de-France', 'wp-multisite-waas'), + '69M' => __('Métropole de Lyon', 'wp-multisite-waas'), + 'NOR' => __('Normandie', 'wp-multisite-waas'), + 'NAQ' => __('Nouvelle-Aquitaine', 'wp-multisite-waas'), + 'OCC' => __('Occitanie', 'wp-multisite-waas'), + '75C' => __('Paris', 'wp-multisite-waas'), + 'PDL' => __('Pays-de-la-Loire', 'wp-multisite-waas'), + 'PAC' => __('Provence-Alpes-Côte-d’Azur', 'wp-multisite-waas'), + 'PM' => __('Saint Pierre and Miquelon', 'wp-multisite-waas'), + 'BL' => __('Saint-Barthélemy', 'wp-multisite-waas'), + 'MF' => __('Saint-Martin', 'wp-multisite-waas'), + 'WF' => __('Wallis and Futuna', 'wp-multisite-waas'), + 'IDF' => __('Île-de-France', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-gb.php b/inc/country/class-country-gb.php index e35d084..b3071bd 100644 --- a/inc/country/class-country-gb.php +++ b/inc/country/class-country-gb.php @@ -67,7 +67,7 @@ class Country_GB extends Country { */ public function get_name() { - return __('United Kingdom', 'wp-ultimo'); + return __('United Kingdom', 'wp-multisite-waas'); } /** @@ -79,253 +79,253 @@ class Country_GB extends Country { protected function states() { return [ - 'ABE' => __('Aberdeen', 'wp-ultimo'), - 'ABD' => __('Aberdeenshire', 'wp-ultimo'), - 'ANS' => __('Angus', 'wp-ultimo'), - 'ANT' => __('Antrim', 'wp-ultimo'), - 'ANN' => __('Antrim and Newtownabbey', 'wp-ultimo'), - 'ARD' => __('Ards', 'wp-ultimo'), - 'AND' => __('Ards and North Down', 'wp-ultimo'), - 'AGB' => __('Argyll and Bute', 'wp-ultimo'), - 'ARM' => __('Armagh City and District Council', 'wp-ultimo'), - 'ABC' => __('Armagh, Banbridge and Craigavon', 'wp-ultimo'), - 'SH-AC' => __('Ascension Island', 'wp-ultimo'), - 'BLA' => __('Ballymena Borough', 'wp-ultimo'), - 'BLY' => __('Ballymoney', 'wp-ultimo'), - 'BNB' => __('Banbridge', 'wp-ultimo'), - 'BNS' => __('Barnsley', 'wp-ultimo'), - 'BAS' => __('Bath and North East Somerset', 'wp-ultimo'), - 'BDF' => __('Bedford', 'wp-ultimo'), - 'BFS' => __('Belfast district', 'wp-ultimo'), - 'BIR' => __('Birmingham', 'wp-ultimo'), - 'BBD' => __('Blackburn with Darwen', 'wp-ultimo'), - 'BPL' => __('Blackpool', 'wp-ultimo'), - 'BGW' => __('Blaenau Gwent County Borough', 'wp-ultimo'), - 'BOL' => __('Bolton', 'wp-ultimo'), - 'BMH' => __('Bournemouth', 'wp-ultimo'), - 'BRC' => __('Bracknell Forest', 'wp-ultimo'), - 'BRD' => __('Bradford', 'wp-ultimo'), - 'BGE' => __('Bridgend County Borough', 'wp-ultimo'), - 'BNH' => __('Brighton and Hove', 'wp-ultimo'), - 'BKM' => __('Buckinghamshire', 'wp-ultimo'), - 'BUR' => __('Bury', 'wp-ultimo'), - 'CAY' => __('Caerphilly County Borough', 'wp-ultimo'), - 'CLD' => __('Calderdale', 'wp-ultimo'), - 'CAM' => __('Cambridgeshire', 'wp-ultimo'), - 'CMN' => __('Carmarthenshire', 'wp-ultimo'), - 'CKF' => __('Carrickfergus Borough Council', 'wp-ultimo'), - 'CSR' => __('Castlereagh', 'wp-ultimo'), - 'CCG' => __('Causeway Coast and Glens', 'wp-ultimo'), - 'CBF' => __('Central Bedfordshire', 'wp-ultimo'), - 'CGN' => __('Ceredigion', 'wp-ultimo'), - 'CHE' => __('Cheshire East', 'wp-ultimo'), - 'CHW' => __('Cheshire West and Chester', 'wp-ultimo'), - 'CRF' => __('City and County of Cardiff', 'wp-ultimo'), - 'SWA' => __('City and County of Swansea', 'wp-ultimo'), - 'BST' => __('City of Bristol', 'wp-ultimo'), - 'DER' => __('City of Derby', 'wp-ultimo'), - 'KHL' => __('City of Kingston upon Hull', 'wp-ultimo'), - 'LCE' => __('City of Leicester', 'wp-ultimo'), - 'LND' => __('City of London', 'wp-ultimo'), - 'NGM' => __('City of Nottingham', 'wp-ultimo'), - 'PTE' => __('City of Peterborough', 'wp-ultimo'), - 'PLY' => __('City of Plymouth', 'wp-ultimo'), - 'POR' => __('City of Portsmouth', 'wp-ultimo'), - 'STH' => __('City of Southampton', 'wp-ultimo'), - 'STE' => __('City of Stoke-on-Trent', 'wp-ultimo'), - 'SND' => __('City of Sunderland', 'wp-ultimo'), - 'WSM' => __('City of Westminster', 'wp-ultimo'), - 'WLV' => __('City of Wolverhampton', 'wp-ultimo'), - 'YOR' => __('City of York', 'wp-ultimo'), - 'CLK' => __('Clackmannanshire', 'wp-ultimo'), - 'CLR' => __('Coleraine Borough Council', 'wp-ultimo'), - 'CWY' => __('Conwy County Borough', 'wp-ultimo'), - 'CKT' => __('Cookstown District Council', 'wp-ultimo'), - 'CON' => __('Cornwall', 'wp-ultimo'), - 'DUR' => __('County Durham', 'wp-ultimo'), - 'COV' => __('Coventry', 'wp-ultimo'), - 'CGV' => __('Craigavon Borough Council', 'wp-ultimo'), - 'CMA' => __('Cumbria', 'wp-ultimo'), - 'DAL' => __('Darlington', 'wp-ultimo'), - 'DEN' => __('Denbighshire', 'wp-ultimo'), - 'DBY' => __('Derbyshire', 'wp-ultimo'), - 'DRY' => __('Derry City Council', 'wp-ultimo'), - 'DRS' => __('Derry City and Strabane', 'wp-ultimo'), - 'DEV' => __('Devon', 'wp-ultimo'), - 'DNC' => __('Doncaster', 'wp-ultimo'), - 'DOR' => __('Dorset', 'wp-ultimo'), - 'DOW' => __('Down District Council', 'wp-ultimo'), - 'DUD' => __('Dudley', 'wp-ultimo'), - 'DGY' => __('Dumfries and Galloway', 'wp-ultimo'), - 'DND' => __('Dundee', 'wp-ultimo'), - 'DGN' => __('Dungannon and South Tyrone Borough Council', 'wp-ultimo'), - 'EAY' => __('East Ayrshire', 'wp-ultimo'), - 'EDU' => __('East Dunbartonshire', 'wp-ultimo'), - 'ELN' => __('East Lothian', 'wp-ultimo'), - 'ERW' => __('East Renfrewshire', 'wp-ultimo'), - 'ERY' => __('East Riding of Yorkshire', 'wp-ultimo'), - 'ESX' => __('East Sussex', 'wp-ultimo'), - 'EDH' => __('Edinburgh', 'wp-ultimo'), - 'ENG' => __('England', 'wp-ultimo'), - 'ESS' => __('Essex', 'wp-ultimo'), - 'FAL' => __('Falkirk', 'wp-ultimo'), - 'FER' => __('Fermanagh District Council', 'wp-ultimo'), - 'FMO' => __('Fermanagh and Omagh', 'wp-ultimo'), - 'FIF' => __('Fife', 'wp-ultimo'), - 'FLN' => __('Flintshire', 'wp-ultimo'), - 'GAT' => __('Gateshead', 'wp-ultimo'), - 'GLG' => __('Glasgow', 'wp-ultimo'), - 'GLS' => __('Gloucestershire', 'wp-ultimo'), - 'GWN' => __('Gwynedd', 'wp-ultimo'), - 'HAL' => __('Halton', 'wp-ultimo'), - 'HAM' => __('Hampshire', 'wp-ultimo'), - 'HPL' => __('Hartlepool', 'wp-ultimo'), - 'HEF' => __('Herefordshire', 'wp-ultimo'), - 'HRT' => __('Hertfordshire', 'wp-ultimo'), - 'HLD' => __('Highland', 'wp-ultimo'), - 'IVC' => __('Inverclyde', 'wp-ultimo'), - 'IOW' => __('Isle of Wight', 'wp-ultimo'), - 'IOS' => __('Isles of Scilly', 'wp-ultimo'), - 'KEN' => __('Kent', 'wp-ultimo'), - 'KIR' => __('Kirklees', 'wp-ultimo'), - 'KWL' => __('Knowsley', 'wp-ultimo'), - 'LAN' => __('Lancashire', 'wp-ultimo'), - 'LRN' => __('Larne Borough Council', 'wp-ultimo'), - 'LDS' => __('Leeds', 'wp-ultimo'), - 'LEC' => __('Leicestershire', 'wp-ultimo'), - 'LMV' => __('Limavady Borough Council', 'wp-ultimo'), - 'LIN' => __('Lincolnshire', 'wp-ultimo'), - 'LSB' => __('Lisburn City Council', 'wp-ultimo'), - 'LBC' => __('Lisburn and Castlereagh', 'wp-ultimo'), - 'LIV' => __('Liverpool', 'wp-ultimo'), - 'BDG' => __('London Borough of Barking and Dagenham', 'wp-ultimo'), - 'BNE' => __('London Borough of Barnet', 'wp-ultimo'), - 'BEX' => __('London Borough of Bexley', 'wp-ultimo'), - 'BEN' => __('London Borough of Brent', 'wp-ultimo'), - 'BRY' => __('London Borough of Bromley', 'wp-ultimo'), - 'CMD' => __('London Borough of Camden', 'wp-ultimo'), - 'CRY' => __('London Borough of Croydon', 'wp-ultimo'), - 'EAL' => __('London Borough of Ealing', 'wp-ultimo'), - 'ENF' => __('London Borough of Enfield', 'wp-ultimo'), - 'HCK' => __('London Borough of Hackney', 'wp-ultimo'), - 'HMF' => __('London Borough of Hammersmith and Fulham', 'wp-ultimo'), - 'HRY' => __('London Borough of Haringey', 'wp-ultimo'), - 'HRW' => __('London Borough of Harrow', 'wp-ultimo'), - 'HAV' => __('London Borough of Havering', 'wp-ultimo'), - 'HIL' => __('London Borough of Hillingdon', 'wp-ultimo'), - 'HNS' => __('London Borough of Hounslow', 'wp-ultimo'), - 'ISL' => __('London Borough of Islington', 'wp-ultimo'), - 'LBH' => __('London Borough of Lambeth', 'wp-ultimo'), - 'LEW' => __('London Borough of Lewisham', 'wp-ultimo'), - 'MRT' => __('London Borough of Merton', 'wp-ultimo'), - 'NWM' => __('London Borough of Newham', 'wp-ultimo'), - 'RDB' => __('London Borough of Redbridge', 'wp-ultimo'), - 'RIC' => __('London Borough of Richmond upon Thames', 'wp-ultimo'), - 'SWK' => __('London Borough of Southwark', 'wp-ultimo'), - 'STN' => __('London Borough of Sutton', 'wp-ultimo'), - 'TWH' => __('London Borough of Tower Hamlets', 'wp-ultimo'), - 'WFT' => __('London Borough of Waltham Forest', 'wp-ultimo'), - 'WND' => __('London Borough of Wandsworth', 'wp-ultimo'), - 'MFT' => __('Magherafelt District Council', 'wp-ultimo'), - 'MAN' => __('Manchester', 'wp-ultimo'), - 'MDW' => __('Medway', 'wp-ultimo'), - 'MTY' => __('Merthyr Tydfil County Borough', 'wp-ultimo'), - 'WGN' => __('Metropolitan Borough of Wigan', 'wp-ultimo'), - 'MUL' => __('Mid Ulster', 'wp-ultimo'), - 'MEA' => __('Mid and East Antrim', 'wp-ultimo'), - 'MDB' => __('Middlesbrough', 'wp-ultimo'), - 'MLN' => __('Midlothian', 'wp-ultimo'), - 'MIK' => __('Milton Keynes', 'wp-ultimo'), - 'MON' => __('Monmouthshire', 'wp-ultimo'), - 'MRY' => __('Moray', 'wp-ultimo'), - 'MYL' => __('Moyle District Council', 'wp-ultimo'), - 'NTL' => __('Neath Port Talbot County Borough', 'wp-ultimo'), - 'NET' => __('Newcastle upon Tyne', 'wp-ultimo'), - 'NWP' => __('Newport', 'wp-ultimo'), - 'NYM' => __('Newry and Mourne District Council', 'wp-ultimo'), - 'NMD' => __('Newry, Mourne and Down', 'wp-ultimo'), - 'NTA' => __('Newtownabbey Borough Council', 'wp-ultimo'), - 'NFK' => __('Norfolk', 'wp-ultimo'), - 'NAY' => __('North Ayrshire', 'wp-ultimo'), - 'NDN' => __('North Down Borough Council', 'wp-ultimo'), - 'NEL' => __('North East Lincolnshire', 'wp-ultimo'), - 'NLK' => __('North Lanarkshire', 'wp-ultimo'), - 'NLN' => __('North Lincolnshire', 'wp-ultimo'), - 'NSM' => __('North Somerset', 'wp-ultimo'), - 'NTY' => __('North Tyneside', 'wp-ultimo'), - 'NYK' => __('North Yorkshire', 'wp-ultimo'), - 'NTH' => __('Northamptonshire', 'wp-ultimo'), - 'NIR' => __('Northern Ireland', 'wp-ultimo'), - 'NBL' => __('Northumberland', 'wp-ultimo'), - 'NTT' => __('Nottinghamshire', 'wp-ultimo'), - 'OLD' => __('Oldham', 'wp-ultimo'), - 'OMH' => __('Omagh District Council', 'wp-ultimo'), - 'ORK' => __('Orkney Islands', 'wp-ultimo'), - 'ELS' => __('Outer Hebrides', 'wp-ultimo'), - 'OXF' => __('Oxfordshire', 'wp-ultimo'), - 'PEM' => __('Pembrokeshire', 'wp-ultimo'), - 'PKN' => __('Perth and Kinross', 'wp-ultimo'), - 'POL' => __('Poole', 'wp-ultimo'), - 'POW' => __('Powys', 'wp-ultimo'), - 'RDG' => __('Reading', 'wp-ultimo'), - 'RCC' => __('Redcar and Cleveland', 'wp-ultimo'), - 'RFW' => __('Renfrewshire', 'wp-ultimo'), - 'RCT' => __('Rhondda Cynon Taf', 'wp-ultimo'), - 'RCH' => __('Rochdale', 'wp-ultimo'), - 'ROT' => __('Rotherham', 'wp-ultimo'), - 'GRE' => __('Royal Borough of Greenwich', 'wp-ultimo'), - 'KEC' => __('Royal Borough of Kensington and Chelsea', 'wp-ultimo'), - 'KTT' => __('Royal Borough of Kingston upon Thames', 'wp-ultimo'), - 'RUT' => __('Rutland', 'wp-ultimo'), - 'SH-HL' => __('Saint Helena', 'wp-ultimo'), - 'SLF' => __('Salford', 'wp-ultimo'), - 'SAW' => __('Sandwell', 'wp-ultimo'), - 'SCT' => __('Scotland', 'wp-ultimo'), - 'SCB' => __('Scottish Borders', 'wp-ultimo'), - 'SFT' => __('Sefton', 'wp-ultimo'), - 'SHF' => __('Sheffield', 'wp-ultimo'), - 'ZET' => __('Shetland Islands', 'wp-ultimo'), - 'SHR' => __('Shropshire', 'wp-ultimo'), - 'SLG' => __('Slough', 'wp-ultimo'), - 'SOL' => __('Solihull', 'wp-ultimo'), - 'SOM' => __('Somerset', 'wp-ultimo'), - 'SAY' => __('South Ayrshire', 'wp-ultimo'), - 'SGC' => __('South Gloucestershire', 'wp-ultimo'), - 'SLK' => __('South Lanarkshire', 'wp-ultimo'), - 'STY' => __('South Tyneside', 'wp-ultimo'), - 'SOS' => __('Southend-on-Sea', 'wp-ultimo'), - 'SHN' => __('St Helens', 'wp-ultimo'), - 'STS' => __('Staffordshire', 'wp-ultimo'), - 'STG' => __('Stirling', 'wp-ultimo'), - 'SKP' => __('Stockport', 'wp-ultimo'), - 'STT' => __('Stockton-on-Tees', 'wp-ultimo'), - 'STB' => __('Strabane District Council', 'wp-ultimo'), - 'SFK' => __('Suffolk', 'wp-ultimo'), - 'SRY' => __('Surrey', 'wp-ultimo'), - 'SWD' => __('Swindon', 'wp-ultimo'), - 'TAM' => __('Tameside', 'wp-ultimo'), - 'TFW' => __('Telford and Wrekin', 'wp-ultimo'), - 'THR' => __('Thurrock', 'wp-ultimo'), - 'TOB' => __('Torbay', 'wp-ultimo'), - 'TOF' => __('Torfaen', 'wp-ultimo'), - 'TRF' => __('Trafford', 'wp-ultimo'), - 'UKM' => __('United Kingdom', 'wp-ultimo'), - 'VGL' => __('Vale of Glamorgan', 'wp-ultimo'), - 'WKF' => __('Wakefield', 'wp-ultimo'), - 'WLS' => __('Wales', 'wp-ultimo'), - 'WLL' => __('Walsall', 'wp-ultimo'), - 'WRT' => __('Warrington', 'wp-ultimo'), - 'WAR' => __('Warwickshire', 'wp-ultimo'), - 'WBK' => __('West Berkshire', 'wp-ultimo'), - 'WDU' => __('West Dunbartonshire', 'wp-ultimo'), - 'WLN' => __('West Lothian', 'wp-ultimo'), - 'WSX' => __('West Sussex', 'wp-ultimo'), - 'WIL' => __('Wiltshire', 'wp-ultimo'), - 'WNM' => __('Windsor and Maidenhead', 'wp-ultimo'), - 'WRL' => __('Wirral', 'wp-ultimo'), - 'WOK' => __('Wokingham', 'wp-ultimo'), - 'WOR' => __('Worcestershire', 'wp-ultimo'), - 'WRX' => __('Wrexham County Borough', 'wp-ultimo'), + 'ABE' => __('Aberdeen', 'wp-multisite-waas'), + 'ABD' => __('Aberdeenshire', 'wp-multisite-waas'), + 'ANS' => __('Angus', 'wp-multisite-waas'), + 'ANT' => __('Antrim', 'wp-multisite-waas'), + 'ANN' => __('Antrim and Newtownabbey', 'wp-multisite-waas'), + 'ARD' => __('Ards', 'wp-multisite-waas'), + 'AND' => __('Ards and North Down', 'wp-multisite-waas'), + 'AGB' => __('Argyll and Bute', 'wp-multisite-waas'), + 'ARM' => __('Armagh City and District Council', 'wp-multisite-waas'), + 'ABC' => __('Armagh, Banbridge and Craigavon', 'wp-multisite-waas'), + 'SH-AC' => __('Ascension Island', 'wp-multisite-waas'), + 'BLA' => __('Ballymena Borough', 'wp-multisite-waas'), + 'BLY' => __('Ballymoney', 'wp-multisite-waas'), + 'BNB' => __('Banbridge', 'wp-multisite-waas'), + 'BNS' => __('Barnsley', 'wp-multisite-waas'), + 'BAS' => __('Bath and North East Somerset', 'wp-multisite-waas'), + 'BDF' => __('Bedford', 'wp-multisite-waas'), + 'BFS' => __('Belfast district', 'wp-multisite-waas'), + 'BIR' => __('Birmingham', 'wp-multisite-waas'), + 'BBD' => __('Blackburn with Darwen', 'wp-multisite-waas'), + 'BPL' => __('Blackpool', 'wp-multisite-waas'), + 'BGW' => __('Blaenau Gwent County Borough', 'wp-multisite-waas'), + 'BOL' => __('Bolton', 'wp-multisite-waas'), + 'BMH' => __('Bournemouth', 'wp-multisite-waas'), + 'BRC' => __('Bracknell Forest', 'wp-multisite-waas'), + 'BRD' => __('Bradford', 'wp-multisite-waas'), + 'BGE' => __('Bridgend County Borough', 'wp-multisite-waas'), + 'BNH' => __('Brighton and Hove', 'wp-multisite-waas'), + 'BKM' => __('Buckinghamshire', 'wp-multisite-waas'), + 'BUR' => __('Bury', 'wp-multisite-waas'), + 'CAY' => __('Caerphilly County Borough', 'wp-multisite-waas'), + 'CLD' => __('Calderdale', 'wp-multisite-waas'), + 'CAM' => __('Cambridgeshire', 'wp-multisite-waas'), + 'CMN' => __('Carmarthenshire', 'wp-multisite-waas'), + 'CKF' => __('Carrickfergus Borough Council', 'wp-multisite-waas'), + 'CSR' => __('Castlereagh', 'wp-multisite-waas'), + 'CCG' => __('Causeway Coast and Glens', 'wp-multisite-waas'), + 'CBF' => __('Central Bedfordshire', 'wp-multisite-waas'), + 'CGN' => __('Ceredigion', 'wp-multisite-waas'), + 'CHE' => __('Cheshire East', 'wp-multisite-waas'), + 'CHW' => __('Cheshire West and Chester', 'wp-multisite-waas'), + 'CRF' => __('City and County of Cardiff', 'wp-multisite-waas'), + 'SWA' => __('City and County of Swansea', 'wp-multisite-waas'), + 'BST' => __('City of Bristol', 'wp-multisite-waas'), + 'DER' => __('City of Derby', 'wp-multisite-waas'), + 'KHL' => __('City of Kingston upon Hull', 'wp-multisite-waas'), + 'LCE' => __('City of Leicester', 'wp-multisite-waas'), + 'LND' => __('City of London', 'wp-multisite-waas'), + 'NGM' => __('City of Nottingham', 'wp-multisite-waas'), + 'PTE' => __('City of Peterborough', 'wp-multisite-waas'), + 'PLY' => __('City of Plymouth', 'wp-multisite-waas'), + 'POR' => __('City of Portsmouth', 'wp-multisite-waas'), + 'STH' => __('City of Southampton', 'wp-multisite-waas'), + 'STE' => __('City of Stoke-on-Trent', 'wp-multisite-waas'), + 'SND' => __('City of Sunderland', 'wp-multisite-waas'), + 'WSM' => __('City of Westminster', 'wp-multisite-waas'), + 'WLV' => __('City of Wolverhampton', 'wp-multisite-waas'), + 'YOR' => __('City of York', 'wp-multisite-waas'), + 'CLK' => __('Clackmannanshire', 'wp-multisite-waas'), + 'CLR' => __('Coleraine Borough Council', 'wp-multisite-waas'), + 'CWY' => __('Conwy County Borough', 'wp-multisite-waas'), + 'CKT' => __('Cookstown District Council', 'wp-multisite-waas'), + 'CON' => __('Cornwall', 'wp-multisite-waas'), + 'DUR' => __('County Durham', 'wp-multisite-waas'), + 'COV' => __('Coventry', 'wp-multisite-waas'), + 'CGV' => __('Craigavon Borough Council', 'wp-multisite-waas'), + 'CMA' => __('Cumbria', 'wp-multisite-waas'), + 'DAL' => __('Darlington', 'wp-multisite-waas'), + 'DEN' => __('Denbighshire', 'wp-multisite-waas'), + 'DBY' => __('Derbyshire', 'wp-multisite-waas'), + 'DRY' => __('Derry City Council', 'wp-multisite-waas'), + 'DRS' => __('Derry City and Strabane', 'wp-multisite-waas'), + 'DEV' => __('Devon', 'wp-multisite-waas'), + 'DNC' => __('Doncaster', 'wp-multisite-waas'), + 'DOR' => __('Dorset', 'wp-multisite-waas'), + 'DOW' => __('Down District Council', 'wp-multisite-waas'), + 'DUD' => __('Dudley', 'wp-multisite-waas'), + 'DGY' => __('Dumfries and Galloway', 'wp-multisite-waas'), + 'DND' => __('Dundee', 'wp-multisite-waas'), + 'DGN' => __('Dungannon and South Tyrone Borough Council', 'wp-multisite-waas'), + 'EAY' => __('East Ayrshire', 'wp-multisite-waas'), + 'EDU' => __('East Dunbartonshire', 'wp-multisite-waas'), + 'ELN' => __('East Lothian', 'wp-multisite-waas'), + 'ERW' => __('East Renfrewshire', 'wp-multisite-waas'), + 'ERY' => __('East Riding of Yorkshire', 'wp-multisite-waas'), + 'ESX' => __('East Sussex', 'wp-multisite-waas'), + 'EDH' => __('Edinburgh', 'wp-multisite-waas'), + 'ENG' => __('England', 'wp-multisite-waas'), + 'ESS' => __('Essex', 'wp-multisite-waas'), + 'FAL' => __('Falkirk', 'wp-multisite-waas'), + 'FER' => __('Fermanagh District Council', 'wp-multisite-waas'), + 'FMO' => __('Fermanagh and Omagh', 'wp-multisite-waas'), + 'FIF' => __('Fife', 'wp-multisite-waas'), + 'FLN' => __('Flintshire', 'wp-multisite-waas'), + 'GAT' => __('Gateshead', 'wp-multisite-waas'), + 'GLG' => __('Glasgow', 'wp-multisite-waas'), + 'GLS' => __('Gloucestershire', 'wp-multisite-waas'), + 'GWN' => __('Gwynedd', 'wp-multisite-waas'), + 'HAL' => __('Halton', 'wp-multisite-waas'), + 'HAM' => __('Hampshire', 'wp-multisite-waas'), + 'HPL' => __('Hartlepool', 'wp-multisite-waas'), + 'HEF' => __('Herefordshire', 'wp-multisite-waas'), + 'HRT' => __('Hertfordshire', 'wp-multisite-waas'), + 'HLD' => __('Highland', 'wp-multisite-waas'), + 'IVC' => __('Inverclyde', 'wp-multisite-waas'), + 'IOW' => __('Isle of Wight', 'wp-multisite-waas'), + 'IOS' => __('Isles of Scilly', 'wp-multisite-waas'), + 'KEN' => __('Kent', 'wp-multisite-waas'), + 'KIR' => __('Kirklees', 'wp-multisite-waas'), + 'KWL' => __('Knowsley', 'wp-multisite-waas'), + 'LAN' => __('Lancashire', 'wp-multisite-waas'), + 'LRN' => __('Larne Borough Council', 'wp-multisite-waas'), + 'LDS' => __('Leeds', 'wp-multisite-waas'), + 'LEC' => __('Leicestershire', 'wp-multisite-waas'), + 'LMV' => __('Limavady Borough Council', 'wp-multisite-waas'), + 'LIN' => __('Lincolnshire', 'wp-multisite-waas'), + 'LSB' => __('Lisburn City Council', 'wp-multisite-waas'), + 'LBC' => __('Lisburn and Castlereagh', 'wp-multisite-waas'), + 'LIV' => __('Liverpool', 'wp-multisite-waas'), + 'BDG' => __('London Borough of Barking and Dagenham', 'wp-multisite-waas'), + 'BNE' => __('London Borough of Barnet', 'wp-multisite-waas'), + 'BEX' => __('London Borough of Bexley', 'wp-multisite-waas'), + 'BEN' => __('London Borough of Brent', 'wp-multisite-waas'), + 'BRY' => __('London Borough of Bromley', 'wp-multisite-waas'), + 'CMD' => __('London Borough of Camden', 'wp-multisite-waas'), + 'CRY' => __('London Borough of Croydon', 'wp-multisite-waas'), + 'EAL' => __('London Borough of Ealing', 'wp-multisite-waas'), + 'ENF' => __('London Borough of Enfield', 'wp-multisite-waas'), + 'HCK' => __('London Borough of Hackney', 'wp-multisite-waas'), + 'HMF' => __('London Borough of Hammersmith and Fulham', 'wp-multisite-waas'), + 'HRY' => __('London Borough of Haringey', 'wp-multisite-waas'), + 'HRW' => __('London Borough of Harrow', 'wp-multisite-waas'), + 'HAV' => __('London Borough of Havering', 'wp-multisite-waas'), + 'HIL' => __('London Borough of Hillingdon', 'wp-multisite-waas'), + 'HNS' => __('London Borough of Hounslow', 'wp-multisite-waas'), + 'ISL' => __('London Borough of Islington', 'wp-multisite-waas'), + 'LBH' => __('London Borough of Lambeth', 'wp-multisite-waas'), + 'LEW' => __('London Borough of Lewisham', 'wp-multisite-waas'), + 'MRT' => __('London Borough of Merton', 'wp-multisite-waas'), + 'NWM' => __('London Borough of Newham', 'wp-multisite-waas'), + 'RDB' => __('London Borough of Redbridge', 'wp-multisite-waas'), + 'RIC' => __('London Borough of Richmond upon Thames', 'wp-multisite-waas'), + 'SWK' => __('London Borough of Southwark', 'wp-multisite-waas'), + 'STN' => __('London Borough of Sutton', 'wp-multisite-waas'), + 'TWH' => __('London Borough of Tower Hamlets', 'wp-multisite-waas'), + 'WFT' => __('London Borough of Waltham Forest', 'wp-multisite-waas'), + 'WND' => __('London Borough of Wandsworth', 'wp-multisite-waas'), + 'MFT' => __('Magherafelt District Council', 'wp-multisite-waas'), + 'MAN' => __('Manchester', 'wp-multisite-waas'), + 'MDW' => __('Medway', 'wp-multisite-waas'), + 'MTY' => __('Merthyr Tydfil County Borough', 'wp-multisite-waas'), + 'WGN' => __('Metropolitan Borough of Wigan', 'wp-multisite-waas'), + 'MUL' => __('Mid Ulster', 'wp-multisite-waas'), + 'MEA' => __('Mid and East Antrim', 'wp-multisite-waas'), + 'MDB' => __('Middlesbrough', 'wp-multisite-waas'), + 'MLN' => __('Midlothian', 'wp-multisite-waas'), + 'MIK' => __('Milton Keynes', 'wp-multisite-waas'), + 'MON' => __('Monmouthshire', 'wp-multisite-waas'), + 'MRY' => __('Moray', 'wp-multisite-waas'), + 'MYL' => __('Moyle District Council', 'wp-multisite-waas'), + 'NTL' => __('Neath Port Talbot County Borough', 'wp-multisite-waas'), + 'NET' => __('Newcastle upon Tyne', 'wp-multisite-waas'), + 'NWP' => __('Newport', 'wp-multisite-waas'), + 'NYM' => __('Newry and Mourne District Council', 'wp-multisite-waas'), + 'NMD' => __('Newry, Mourne and Down', 'wp-multisite-waas'), + 'NTA' => __('Newtownabbey Borough Council', 'wp-multisite-waas'), + 'NFK' => __('Norfolk', 'wp-multisite-waas'), + 'NAY' => __('North Ayrshire', 'wp-multisite-waas'), + 'NDN' => __('North Down Borough Council', 'wp-multisite-waas'), + 'NEL' => __('North East Lincolnshire', 'wp-multisite-waas'), + 'NLK' => __('North Lanarkshire', 'wp-multisite-waas'), + 'NLN' => __('North Lincolnshire', 'wp-multisite-waas'), + 'NSM' => __('North Somerset', 'wp-multisite-waas'), + 'NTY' => __('North Tyneside', 'wp-multisite-waas'), + 'NYK' => __('North Yorkshire', 'wp-multisite-waas'), + 'NTH' => __('Northamptonshire', 'wp-multisite-waas'), + 'NIR' => __('Northern Ireland', 'wp-multisite-waas'), + 'NBL' => __('Northumberland', 'wp-multisite-waas'), + 'NTT' => __('Nottinghamshire', 'wp-multisite-waas'), + 'OLD' => __('Oldham', 'wp-multisite-waas'), + 'OMH' => __('Omagh District Council', 'wp-multisite-waas'), + 'ORK' => __('Orkney Islands', 'wp-multisite-waas'), + 'ELS' => __('Outer Hebrides', 'wp-multisite-waas'), + 'OXF' => __('Oxfordshire', 'wp-multisite-waas'), + 'PEM' => __('Pembrokeshire', 'wp-multisite-waas'), + 'PKN' => __('Perth and Kinross', 'wp-multisite-waas'), + 'POL' => __('Poole', 'wp-multisite-waas'), + 'POW' => __('Powys', 'wp-multisite-waas'), + 'RDG' => __('Reading', 'wp-multisite-waas'), + 'RCC' => __('Redcar and Cleveland', 'wp-multisite-waas'), + 'RFW' => __('Renfrewshire', 'wp-multisite-waas'), + 'RCT' => __('Rhondda Cynon Taf', 'wp-multisite-waas'), + 'RCH' => __('Rochdale', 'wp-multisite-waas'), + 'ROT' => __('Rotherham', 'wp-multisite-waas'), + 'GRE' => __('Royal Borough of Greenwich', 'wp-multisite-waas'), + 'KEC' => __('Royal Borough of Kensington and Chelsea', 'wp-multisite-waas'), + 'KTT' => __('Royal Borough of Kingston upon Thames', 'wp-multisite-waas'), + 'RUT' => __('Rutland', 'wp-multisite-waas'), + 'SH-HL' => __('Saint Helena', 'wp-multisite-waas'), + 'SLF' => __('Salford', 'wp-multisite-waas'), + 'SAW' => __('Sandwell', 'wp-multisite-waas'), + 'SCT' => __('Scotland', 'wp-multisite-waas'), + 'SCB' => __('Scottish Borders', 'wp-multisite-waas'), + 'SFT' => __('Sefton', 'wp-multisite-waas'), + 'SHF' => __('Sheffield', 'wp-multisite-waas'), + 'ZET' => __('Shetland Islands', 'wp-multisite-waas'), + 'SHR' => __('Shropshire', 'wp-multisite-waas'), + 'SLG' => __('Slough', 'wp-multisite-waas'), + 'SOL' => __('Solihull', 'wp-multisite-waas'), + 'SOM' => __('Somerset', 'wp-multisite-waas'), + 'SAY' => __('South Ayrshire', 'wp-multisite-waas'), + 'SGC' => __('South Gloucestershire', 'wp-multisite-waas'), + 'SLK' => __('South Lanarkshire', 'wp-multisite-waas'), + 'STY' => __('South Tyneside', 'wp-multisite-waas'), + 'SOS' => __('Southend-on-Sea', 'wp-multisite-waas'), + 'SHN' => __('St Helens', 'wp-multisite-waas'), + 'STS' => __('Staffordshire', 'wp-multisite-waas'), + 'STG' => __('Stirling', 'wp-multisite-waas'), + 'SKP' => __('Stockport', 'wp-multisite-waas'), + 'STT' => __('Stockton-on-Tees', 'wp-multisite-waas'), + 'STB' => __('Strabane District Council', 'wp-multisite-waas'), + 'SFK' => __('Suffolk', 'wp-multisite-waas'), + 'SRY' => __('Surrey', 'wp-multisite-waas'), + 'SWD' => __('Swindon', 'wp-multisite-waas'), + 'TAM' => __('Tameside', 'wp-multisite-waas'), + 'TFW' => __('Telford and Wrekin', 'wp-multisite-waas'), + 'THR' => __('Thurrock', 'wp-multisite-waas'), + 'TOB' => __('Torbay', 'wp-multisite-waas'), + 'TOF' => __('Torfaen', 'wp-multisite-waas'), + 'TRF' => __('Trafford', 'wp-multisite-waas'), + 'UKM' => __('United Kingdom', 'wp-multisite-waas'), + 'VGL' => __('Vale of Glamorgan', 'wp-multisite-waas'), + 'WKF' => __('Wakefield', 'wp-multisite-waas'), + 'WLS' => __('Wales', 'wp-multisite-waas'), + 'WLL' => __('Walsall', 'wp-multisite-waas'), + 'WRT' => __('Warrington', 'wp-multisite-waas'), + 'WAR' => __('Warwickshire', 'wp-multisite-waas'), + 'WBK' => __('West Berkshire', 'wp-multisite-waas'), + 'WDU' => __('West Dunbartonshire', 'wp-multisite-waas'), + 'WLN' => __('West Lothian', 'wp-multisite-waas'), + 'WSX' => __('West Sussex', 'wp-multisite-waas'), + 'WIL' => __('Wiltshire', 'wp-multisite-waas'), + 'WNM' => __('Windsor and Maidenhead', 'wp-multisite-waas'), + 'WRL' => __('Wirral', 'wp-multisite-waas'), + 'WOK' => __('Wokingham', 'wp-multisite-waas'), + 'WOR' => __('Worcestershire', 'wp-multisite-waas'), + 'WRX' => __('Wrexham County Borough', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-in.php b/inc/country/class-country-in.php index 4eacb54..5ef0f2e 100644 --- a/inc/country/class-country-in.php +++ b/inc/country/class-country-in.php @@ -99,7 +99,7 @@ class Country_IN extends Country { */ public function get_name() { - return __('India', 'wp-ultimo'); + return __('India', 'wp-multisite-waas'); } /** @@ -111,42 +111,42 @@ class Country_IN extends Country { protected function states() { return [ - 'AN' => __('Andaman and Nicobar Islands', 'wp-ultimo'), - 'AP' => __('Andhra Pradesh', 'wp-ultimo'), - 'AR' => __('Arunachal Pradesh', 'wp-ultimo'), - 'AS' => __('Assam', 'wp-ultimo'), - 'BR' => __('Bihar', 'wp-ultimo'), - 'CH' => __('Chandigarh', 'wp-ultimo'), - 'CT' => __('Chhattisgarh', 'wp-ultimo'), - 'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'wp-ultimo'), - 'DL' => __('Delhi', 'wp-ultimo'), - 'GA' => __('Goa', 'wp-ultimo'), - 'GJ' => __('Gujarat', 'wp-ultimo'), - 'HR' => __('Haryana', 'wp-ultimo'), - 'HP' => __('Himachal Pradesh', 'wp-ultimo'), - 'JK' => __('Jammu and Kashmir', 'wp-ultimo'), - 'JH' => __('Jharkhand', 'wp-ultimo'), - 'KA' => __('Karnataka', 'wp-ultimo'), - 'KL' => __('Kerala', 'wp-ultimo'), - 'LA' => __('Ladakh', 'wp-ultimo'), - 'LD' => __('Lakshadweep', 'wp-ultimo'), - 'MP' => __('Madhya Pradesh', 'wp-ultimo'), - 'MH' => __('Maharashtra', 'wp-ultimo'), - 'MN' => __('Manipur', 'wp-ultimo'), - 'ML' => __('Meghalaya', 'wp-ultimo'), - 'MZ' => __('Mizoram', 'wp-ultimo'), - 'NL' => __('Nagaland', 'wp-ultimo'), - 'OR' => __('Odisha', 'wp-ultimo'), - 'PY' => __('Puducherry', 'wp-ultimo'), - 'PB' => __('Punjab', 'wp-ultimo'), - 'RJ' => __('Rajasthan', 'wp-ultimo'), - 'SK' => __('Sikkim', 'wp-ultimo'), - 'TN' => __('Tamil Nadu', 'wp-ultimo'), - 'TG' => __('Telangana', 'wp-ultimo'), - 'TR' => __('Tripura', 'wp-ultimo'), - 'UP' => __('Uttar Pradesh', 'wp-ultimo'), - 'UT' => __('Uttarakhand', 'wp-ultimo'), - 'WB' => __('West Bengal', 'wp-ultimo'), + 'AN' => __('Andaman and Nicobar Islands', 'wp-multisite-waas'), + 'AP' => __('Andhra Pradesh', 'wp-multisite-waas'), + 'AR' => __('Arunachal Pradesh', 'wp-multisite-waas'), + 'AS' => __('Assam', 'wp-multisite-waas'), + 'BR' => __('Bihar', 'wp-multisite-waas'), + 'CH' => __('Chandigarh', 'wp-multisite-waas'), + 'CT' => __('Chhattisgarh', 'wp-multisite-waas'), + 'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'wp-multisite-waas'), + 'DL' => __('Delhi', 'wp-multisite-waas'), + 'GA' => __('Goa', 'wp-multisite-waas'), + 'GJ' => __('Gujarat', 'wp-multisite-waas'), + 'HR' => __('Haryana', 'wp-multisite-waas'), + 'HP' => __('Himachal Pradesh', 'wp-multisite-waas'), + 'JK' => __('Jammu and Kashmir', 'wp-multisite-waas'), + 'JH' => __('Jharkhand', 'wp-multisite-waas'), + 'KA' => __('Karnataka', 'wp-multisite-waas'), + 'KL' => __('Kerala', 'wp-multisite-waas'), + 'LA' => __('Ladakh', 'wp-multisite-waas'), + 'LD' => __('Lakshadweep', 'wp-multisite-waas'), + 'MP' => __('Madhya Pradesh', 'wp-multisite-waas'), + 'MH' => __('Maharashtra', 'wp-multisite-waas'), + 'MN' => __('Manipur', 'wp-multisite-waas'), + 'ML' => __('Meghalaya', 'wp-multisite-waas'), + 'MZ' => __('Mizoram', 'wp-multisite-waas'), + 'NL' => __('Nagaland', 'wp-multisite-waas'), + 'OR' => __('Odisha', 'wp-multisite-waas'), + 'PY' => __('Puducherry', 'wp-multisite-waas'), + 'PB' => __('Punjab', 'wp-multisite-waas'), + 'RJ' => __('Rajasthan', 'wp-multisite-waas'), + 'SK' => __('Sikkim', 'wp-multisite-waas'), + 'TN' => __('Tamil Nadu', 'wp-multisite-waas'), + 'TG' => __('Telangana', 'wp-multisite-waas'), + 'TR' => __('Tripura', 'wp-multisite-waas'), + 'UP' => __('Uttar Pradesh', 'wp-multisite-waas'), + 'UT' => __('Uttarakhand', 'wp-multisite-waas'), + 'WB' => __('West Bengal', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-jp.php b/inc/country/class-country-jp.php index 8f2b36d..483f5f1 100644 --- a/inc/country/class-country-jp.php +++ b/inc/country/class-country-jp.php @@ -110,7 +110,7 @@ class Country_JP extends Country { */ public function get_name() { - return __('Japan', 'wp-ultimo'); + return __('Japan', 'wp-multisite-waas'); } /** @@ -122,53 +122,53 @@ class Country_JP extends Country { protected function states() { return [ - '10' => __('Gunma Prefecture', 'wp-ultimo'), - '11' => __('Saitama Prefecture', 'wp-ultimo'), - '12' => __('Chiba Prefecture', 'wp-ultimo'), - '13' => __('Tokyo', 'wp-ultimo'), - '14' => __('Kanagawa Prefecture', 'wp-ultimo'), - '15' => __('Niigata Prefecture', 'wp-ultimo'), - '16' => __('Toyama Prefecture', 'wp-ultimo'), - '17' => __('Ishikawa Prefecture', 'wp-ultimo'), - '18' => __('Fukui Prefecture', 'wp-ultimo'), - '19' => __('Yamanashi Prefecture', 'wp-ultimo'), - '20' => __('Nagano Prefecture', 'wp-ultimo'), - '21' => __('Gifu Prefecture', 'wp-ultimo'), - '22' => __('Shizuoka Prefecture', 'wp-ultimo'), - '23' => __('Aichi Prefecture', 'wp-ultimo'), - '24' => __('Mie Prefecture', 'wp-ultimo'), - '25' => __('Shiga Prefecture', 'wp-ultimo'), - '26' => __('Kyōto Prefecture', 'wp-ultimo'), - '27' => __('Ōsaka Prefecture', 'wp-ultimo'), - '28' => __('Hyōgo Prefecture', 'wp-ultimo'), - '29' => __('Nara Prefecture', 'wp-ultimo'), - '30' => __('Wakayama Prefecture', 'wp-ultimo'), - '31' => __('Tottori Prefecture', 'wp-ultimo'), - '32' => __('Shimane Prefecture', 'wp-ultimo'), - '33' => __('Okayama Prefecture', 'wp-ultimo'), - '34' => __('Hiroshima Prefecture', 'wp-ultimo'), - '35' => __('Yamaguchi Prefecture', 'wp-ultimo'), - '36' => __('Tokushima Prefecture', 'wp-ultimo'), - '37' => __('Kagawa Prefecture', 'wp-ultimo'), - '38' => __('Ehime Prefecture', 'wp-ultimo'), - '39' => __('Kōchi Prefecture', 'wp-ultimo'), - '40' => __('Fukuoka Prefecture', 'wp-ultimo'), - '41' => __('Saga Prefecture', 'wp-ultimo'), - '42' => __('Nagasaki Prefecture', 'wp-ultimo'), - '43' => __('Kumamoto Prefecture', 'wp-ultimo'), - '44' => __('Ōita Prefecture', 'wp-ultimo'), - '45' => __('Miyazaki Prefecture', 'wp-ultimo'), - '46' => __('Kagoshima Prefecture', 'wp-ultimo'), - '47' => __('Okinawa Prefecture', 'wp-ultimo'), - '05' => __('Akita Prefecture', 'wp-ultimo'), - '02' => __('Aomori Prefecture', 'wp-ultimo'), - '07' => __('Fukushima Prefecture', 'wp-ultimo'), - '01' => __('Hokkaidō Prefecture', 'wp-ultimo'), - '08' => __('Ibaraki Prefecture', 'wp-ultimo'), - '03' => __('Iwate Prefecture', 'wp-ultimo'), - '04' => __('Miyagi Prefecture', 'wp-ultimo'), - '09' => __('Tochigi Prefecture', 'wp-ultimo'), - '06' => __('Yamagata Prefecture', 'wp-ultimo'), + '10' => __('Gunma Prefecture', 'wp-multisite-waas'), + '11' => __('Saitama Prefecture', 'wp-multisite-waas'), + '12' => __('Chiba Prefecture', 'wp-multisite-waas'), + '13' => __('Tokyo', 'wp-multisite-waas'), + '14' => __('Kanagawa Prefecture', 'wp-multisite-waas'), + '15' => __('Niigata Prefecture', 'wp-multisite-waas'), + '16' => __('Toyama Prefecture', 'wp-multisite-waas'), + '17' => __('Ishikawa Prefecture', 'wp-multisite-waas'), + '18' => __('Fukui Prefecture', 'wp-multisite-waas'), + '19' => __('Yamanashi Prefecture', 'wp-multisite-waas'), + '20' => __('Nagano Prefecture', 'wp-multisite-waas'), + '21' => __('Gifu Prefecture', 'wp-multisite-waas'), + '22' => __('Shizuoka Prefecture', 'wp-multisite-waas'), + '23' => __('Aichi Prefecture', 'wp-multisite-waas'), + '24' => __('Mie Prefecture', 'wp-multisite-waas'), + '25' => __('Shiga Prefecture', 'wp-multisite-waas'), + '26' => __('Kyōto Prefecture', 'wp-multisite-waas'), + '27' => __('Ōsaka Prefecture', 'wp-multisite-waas'), + '28' => __('Hyōgo Prefecture', 'wp-multisite-waas'), + '29' => __('Nara Prefecture', 'wp-multisite-waas'), + '30' => __('Wakayama Prefecture', 'wp-multisite-waas'), + '31' => __('Tottori Prefecture', 'wp-multisite-waas'), + '32' => __('Shimane Prefecture', 'wp-multisite-waas'), + '33' => __('Okayama Prefecture', 'wp-multisite-waas'), + '34' => __('Hiroshima Prefecture', 'wp-multisite-waas'), + '35' => __('Yamaguchi Prefecture', 'wp-multisite-waas'), + '36' => __('Tokushima Prefecture', 'wp-multisite-waas'), + '37' => __('Kagawa Prefecture', 'wp-multisite-waas'), + '38' => __('Ehime Prefecture', 'wp-multisite-waas'), + '39' => __('Kōchi Prefecture', 'wp-multisite-waas'), + '40' => __('Fukuoka Prefecture', 'wp-multisite-waas'), + '41' => __('Saga Prefecture', 'wp-multisite-waas'), + '42' => __('Nagasaki Prefecture', 'wp-multisite-waas'), + '43' => __('Kumamoto Prefecture', 'wp-multisite-waas'), + '44' => __('Ōita Prefecture', 'wp-multisite-waas'), + '45' => __('Miyazaki Prefecture', 'wp-multisite-waas'), + '46' => __('Kagoshima Prefecture', 'wp-multisite-waas'), + '47' => __('Okinawa Prefecture', 'wp-multisite-waas'), + '05' => __('Akita Prefecture', 'wp-multisite-waas'), + '02' => __('Aomori Prefecture', 'wp-multisite-waas'), + '07' => __('Fukushima Prefecture', 'wp-multisite-waas'), + '01' => __('Hokkaidō Prefecture', 'wp-multisite-waas'), + '08' => __('Ibaraki Prefecture', 'wp-multisite-waas'), + '03' => __('Iwate Prefecture', 'wp-multisite-waas'), + '04' => __('Miyagi Prefecture', 'wp-multisite-waas'), + '09' => __('Tochigi Prefecture', 'wp-multisite-waas'), + '06' => __('Yamagata Prefecture', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-mx.php b/inc/country/class-country-mx.php index 7fa12e1..380ded2 100644 --- a/inc/country/class-country-mx.php +++ b/inc/country/class-country-mx.php @@ -95,7 +95,7 @@ class Country_MX extends Country { */ public function get_name() { - return __('Mexico', 'wp-ultimo'); + return __('Mexico', 'wp-multisite-waas'); } /** @@ -107,38 +107,38 @@ class Country_MX extends Country { protected function states() { return [ - 'AGU' => __('Aguascalientes', 'wp-ultimo'), - 'BCN' => __('Baja California', 'wp-ultimo'), - 'BCS' => __('Baja California Sur', 'wp-ultimo'), - 'CAM' => __('Campeche', 'wp-ultimo'), - 'CHP' => __('Chiapas', 'wp-ultimo'), - 'CHH' => __('Chihuahua', 'wp-ultimo'), - 'CDMX' => __('Ciudad de México', 'wp-ultimo'), - 'COA' => __('Coahuila de Zaragoza', 'wp-ultimo'), - 'COL' => __('Colima', 'wp-ultimo'), - 'DUR' => __('Durango', 'wp-ultimo'), - 'MEX' => __('Estado de México', 'wp-ultimo'), - 'GUA' => __('Guanajuato', 'wp-ultimo'), - 'GRO' => __('Guerrero', 'wp-ultimo'), - 'HID' => __('Hidalgo', 'wp-ultimo'), - 'JAL' => __('Jalisco', 'wp-ultimo'), - 'MIC' => __('Michoacán de Ocampo', 'wp-ultimo'), - 'MOR' => __('Morelos', 'wp-ultimo'), - 'NAY' => __('Nayarit', 'wp-ultimo'), - 'NLE' => __('Nuevo León', 'wp-ultimo'), - 'OAX' => __('Oaxaca', 'wp-ultimo'), - 'PUE' => __('Puebla', 'wp-ultimo'), - 'QUE' => __('Querétaro', 'wp-ultimo'), - 'ROO' => __('Quintana Roo', 'wp-ultimo'), - 'SLP' => __('San Luis Potosí', 'wp-ultimo'), - 'SIN' => __('Sinaloa', 'wp-ultimo'), - 'SON' => __('Sonora', 'wp-ultimo'), - 'TAB' => __('Tabasco', 'wp-ultimo'), - 'TAM' => __('Tamaulipas', 'wp-ultimo'), - 'TLA' => __('Tlaxcala', 'wp-ultimo'), - 'VER' => __('Veracruz de Ignacio de la Llave', 'wp-ultimo'), - 'YUC' => __('Yucatán', 'wp-ultimo'), - 'ZAC' => __('Zacatecas', 'wp-ultimo'), + 'AGU' => __('Aguascalientes', 'wp-multisite-waas'), + 'BCN' => __('Baja California', 'wp-multisite-waas'), + 'BCS' => __('Baja California Sur', 'wp-multisite-waas'), + 'CAM' => __('Campeche', 'wp-multisite-waas'), + 'CHP' => __('Chiapas', 'wp-multisite-waas'), + 'CHH' => __('Chihuahua', 'wp-multisite-waas'), + 'CDMX' => __('Ciudad de México', 'wp-multisite-waas'), + 'COA' => __('Coahuila de Zaragoza', 'wp-multisite-waas'), + 'COL' => __('Colima', 'wp-multisite-waas'), + 'DUR' => __('Durango', 'wp-multisite-waas'), + 'MEX' => __('Estado de México', 'wp-multisite-waas'), + 'GUA' => __('Guanajuato', 'wp-multisite-waas'), + 'GRO' => __('Guerrero', 'wp-multisite-waas'), + 'HID' => __('Hidalgo', 'wp-multisite-waas'), + 'JAL' => __('Jalisco', 'wp-multisite-waas'), + 'MIC' => __('Michoacán de Ocampo', 'wp-multisite-waas'), + 'MOR' => __('Morelos', 'wp-multisite-waas'), + 'NAY' => __('Nayarit', 'wp-multisite-waas'), + 'NLE' => __('Nuevo León', 'wp-multisite-waas'), + 'OAX' => __('Oaxaca', 'wp-multisite-waas'), + 'PUE' => __('Puebla', 'wp-multisite-waas'), + 'QUE' => __('Querétaro', 'wp-multisite-waas'), + 'ROO' => __('Quintana Roo', 'wp-multisite-waas'), + 'SLP' => __('San Luis Potosí', 'wp-multisite-waas'), + 'SIN' => __('Sinaloa', 'wp-multisite-waas'), + 'SON' => __('Sonora', 'wp-multisite-waas'), + 'TAB' => __('Tabasco', 'wp-multisite-waas'), + 'TAM' => __('Tamaulipas', 'wp-multisite-waas'), + 'TLA' => __('Tlaxcala', 'wp-multisite-waas'), + 'VER' => __('Veracruz de Ignacio de la Llave', 'wp-multisite-waas'), + 'YUC' => __('Yucatán', 'wp-multisite-waas'), + 'ZAC' => __('Zacatecas', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-my.php b/inc/country/class-country-my.php index 97666df..ac08228 100644 --- a/inc/country/class-country-my.php +++ b/inc/country/class-country-my.php @@ -79,7 +79,7 @@ class Country_MY extends Country { */ public function get_name() { - return __('Malaysia', 'wp-ultimo'); + return __('Malaysia', 'wp-multisite-waas'); } /** @@ -91,22 +91,22 @@ class Country_MY extends Country { protected function states() { return [ - '10' => __('Selangor', 'wp-ultimo'), - '11' => __('Terengganu', 'wp-ultimo'), - '12' => __('Sabah', 'wp-ultimo'), - '13' => __('Sarawak', 'wp-ultimo'), - '14' => __('Kuala Lumpur', 'wp-ultimo'), - '15' => __('Labuan', 'wp-ultimo'), - '16' => __('Putrajaya', 'wp-ultimo'), - '01' => __('Johor', 'wp-ultimo'), - '02' => __('Kedah', 'wp-ultimo'), - '03' => __('Kelantan', 'wp-ultimo'), - '04' => __('Malacca', 'wp-ultimo'), - '05' => __('Negeri Sembilan', 'wp-ultimo'), - '06' => __('Pahang', 'wp-ultimo'), - '07' => __('Penang', 'wp-ultimo'), - '08' => __('Perak', 'wp-ultimo'), - '09' => __('Perlis', 'wp-ultimo'), + '10' => __('Selangor', 'wp-multisite-waas'), + '11' => __('Terengganu', 'wp-multisite-waas'), + '12' => __('Sabah', 'wp-multisite-waas'), + '13' => __('Sarawak', 'wp-multisite-waas'), + '14' => __('Kuala Lumpur', 'wp-multisite-waas'), + '15' => __('Labuan', 'wp-multisite-waas'), + '16' => __('Putrajaya', 'wp-multisite-waas'), + '01' => __('Johor', 'wp-multisite-waas'), + '02' => __('Kedah', 'wp-multisite-waas'), + '03' => __('Kelantan', 'wp-multisite-waas'), + '04' => __('Malacca', 'wp-multisite-waas'), + '05' => __('Negeri Sembilan', 'wp-multisite-waas'), + '06' => __('Pahang', 'wp-multisite-waas'), + '07' => __('Penang', 'wp-multisite-waas'), + '08' => __('Perak', 'wp-multisite-waas'), + '09' => __('Perlis', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-ne.php b/inc/country/class-country-ne.php index 4003995..85ab8c9 100644 --- a/inc/country/class-country-ne.php +++ b/inc/country/class-country-ne.php @@ -70,7 +70,7 @@ class Country_NE extends Country { */ public function get_name() { - return __('Niger', 'wp-ultimo'); + return __('Niger', 'wp-multisite-waas'); } /** @@ -82,13 +82,13 @@ class Country_NE extends Country { protected function states() { return [ - '1' => __('Agadez Region', 'wp-ultimo'), - '2' => __('Diffa Region', 'wp-ultimo'), - '3' => __('Dosso Region', 'wp-ultimo'), - '4' => __('Maradi Region', 'wp-ultimo'), - '5' => __('Tahoua Region', 'wp-ultimo'), - '6' => __('Tillabéri Region', 'wp-ultimo'), - '7' => __('Zinder Region', 'wp-ultimo'), + '1' => __('Agadez Region', 'wp-multisite-waas'), + '2' => __('Diffa Region', 'wp-multisite-waas'), + '3' => __('Dosso Region', 'wp-multisite-waas'), + '4' => __('Maradi Region', 'wp-multisite-waas'), + '5' => __('Tahoua Region', 'wp-multisite-waas'), + '6' => __('Tillabéri Region', 'wp-multisite-waas'), + '7' => __('Zinder Region', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-nl.php b/inc/country/class-country-nl.php index 80cf8fb..2916993 100644 --- a/inc/country/class-country-nl.php +++ b/inc/country/class-country-nl.php @@ -75,7 +75,7 @@ class Country_NL extends Country { */ public function get_name() { - return __('Netherlands', 'wp-ultimo'); + return __('Netherlands', 'wp-multisite-waas'); } /** @@ -87,21 +87,21 @@ class Country_NL extends Country { protected function states() { return [ - 'BQ1' => __('Bonaire', 'wp-ultimo'), - 'DR' => __('Drenthe', 'wp-ultimo'), - 'FL' => __('Flevoland', 'wp-ultimo'), - 'FR' => __('Friesland', 'wp-ultimo'), - 'GE' => __('Gelderland', 'wp-ultimo'), - 'GR' => __('Groningen', 'wp-ultimo'), - 'LI' => __('Limburg', 'wp-ultimo'), - 'NB' => __('North Brabant', 'wp-ultimo'), - 'NH' => __('North Holland', 'wp-ultimo'), - 'OV' => __('Overijssel', 'wp-ultimo'), - 'BQ2' => __('Saba', 'wp-ultimo'), - 'BQ3' => __('Sint Eustatius', 'wp-ultimo'), - 'ZH' => __('South Holland', 'wp-ultimo'), - 'UT' => __('Utrecht', 'wp-ultimo'), - 'ZE' => __('Zeeland', 'wp-ultimo'), + 'BQ1' => __('Bonaire', 'wp-multisite-waas'), + 'DR' => __('Drenthe', 'wp-multisite-waas'), + 'FL' => __('Flevoland', 'wp-multisite-waas'), + 'FR' => __('Friesland', 'wp-multisite-waas'), + 'GE' => __('Gelderland', 'wp-multisite-waas'), + 'GR' => __('Groningen', 'wp-multisite-waas'), + 'LI' => __('Limburg', 'wp-multisite-waas'), + 'NB' => __('North Brabant', 'wp-multisite-waas'), + 'NH' => __('North Holland', 'wp-multisite-waas'), + 'OV' => __('Overijssel', 'wp-multisite-waas'), + 'BQ2' => __('Saba', 'wp-multisite-waas'), + 'BQ3' => __('Sint Eustatius', 'wp-multisite-waas'), + 'ZH' => __('South Holland', 'wp-multisite-waas'), + 'UT' => __('Utrecht', 'wp-multisite-waas'), + 'ZE' => __('Zeeland', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-ru.php b/inc/country/class-country-ru.php index 1302b22..5d2bc33 100644 --- a/inc/country/class-country-ru.php +++ b/inc/country/class-country-ru.php @@ -146,7 +146,7 @@ class Country_RU extends Country { */ public function get_name() { - return __('Russia', 'wp-ultimo'); + return __('Russia', 'wp-multisite-waas'); } /** @@ -158,90 +158,90 @@ class Country_RU extends Country { protected function states() { return [ - 'ALT' => __('Altai Krai', 'wp-ultimo'), - 'AL' => __('Altai Republic', 'wp-ultimo'), - 'AMU' => __('Amur Oblast', 'wp-ultimo'), - 'ARK' => __('Arkhangelsk', 'wp-ultimo'), - 'AST' => __('Astrakhan Oblast', 'wp-ultimo'), - 'BEL' => __('Belgorod Oblast', 'wp-ultimo'), - 'BRY' => __('Bryansk Oblast', 'wp-ultimo'), - 'CE' => __('Chechen Republic', 'wp-ultimo'), - 'CHE' => __('Chelyabinsk Oblast', 'wp-ultimo'), - 'CHU' => __('Chukotka Autonomous Okrug', 'wp-ultimo'), - 'CU' => __('Chuvash Republic', 'wp-ultimo'), - 'IRK' => __('Irkutsk', 'wp-ultimo'), - 'IVA' => __('Ivanovo Oblast', 'wp-ultimo'), - 'YEV' => __('Jewish Autonomous Oblast', 'wp-ultimo'), - 'KB' => __('Kabardino-Balkar Republic', 'wp-ultimo'), - 'KGD' => __('Kaliningrad', 'wp-ultimo'), - 'KLU' => __('Kaluga Oblast', 'wp-ultimo'), - 'KAM' => __('Kamchatka Krai', 'wp-ultimo'), - 'KC' => __('Karachay-Cherkess Republic', 'wp-ultimo'), - 'KEM' => __('Kemerovo Oblast', 'wp-ultimo'), - 'KHA' => __('Khabarovsk Krai', 'wp-ultimo'), - 'KHM' => __('Khanty-Mansi Autonomous Okrug', 'wp-ultimo'), - 'KIR' => __('Kirov Oblast', 'wp-ultimo'), - 'KO' => __('Komi Republic', 'wp-ultimo'), - 'KOS' => __('Kostroma Oblast', 'wp-ultimo'), - 'KDA' => __('Krasnodar Krai', 'wp-ultimo'), - 'KYA' => __('Krasnoyarsk Krai', 'wp-ultimo'), - 'KGN' => __('Kurgan Oblast', 'wp-ultimo'), - 'KRS' => __('Kursk Oblast', 'wp-ultimo'), - 'LEN' => __('Leningrad Oblast', 'wp-ultimo'), - 'LIP' => __('Lipetsk Oblast', 'wp-ultimo'), - 'MAG' => __('Magadan Oblast', 'wp-ultimo'), - 'ME' => __('Mari El Republic', 'wp-ultimo'), - 'MOW' => __('Moscow', 'wp-ultimo'), - 'MOS' => __('Moscow Oblast', 'wp-ultimo'), - 'MUR' => __('Murmansk Oblast', 'wp-ultimo'), - 'NEN' => __('Nenets Autonomous Okrug', 'wp-ultimo'), - 'NIZ' => __('Nizhny Novgorod Oblast', 'wp-ultimo'), - 'NGR' => __('Novgorod Oblast', 'wp-ultimo'), - 'NVS' => __('Novosibirsk', 'wp-ultimo'), - 'OMS' => __('Omsk Oblast', 'wp-ultimo'), - 'ORE' => __('Orenburg Oblast', 'wp-ultimo'), - 'ORL' => __('Oryol Oblast', 'wp-ultimo'), - 'PNZ' => __('Penza Oblast', 'wp-ultimo'), - 'PER' => __('Perm Krai', 'wp-ultimo'), - 'PRI' => __('Primorsky Krai', 'wp-ultimo'), - 'PSK' => __('Pskov Oblast', 'wp-ultimo'), - 'AD' => __('Republic of Adygea', 'wp-ultimo'), - 'BA' => __('Republic of Bashkortostan', 'wp-ultimo'), - 'BU' => __('Republic of Buryatia', 'wp-ultimo'), - 'DA' => __('Republic of Dagestan', 'wp-ultimo'), - 'IN' => __('Republic of Ingushetia', 'wp-ultimo'), - 'KL' => __('Republic of Kalmykia', 'wp-ultimo'), - 'KR' => __('Republic of Karelia', 'wp-ultimo'), - 'KK' => __('Republic of Khakassia', 'wp-ultimo'), - 'MO' => __('Republic of Mordovia', 'wp-ultimo'), - 'SE' => __('Republic of North Ossetia-Alania', 'wp-ultimo'), - 'TA' => __('Republic of Tatarstan', 'wp-ultimo'), - 'ROS' => __('Rostov Oblast', 'wp-ultimo'), - 'RYA' => __('Ryazan Oblast', 'wp-ultimo'), - 'SPE' => __('Saint Petersburg', 'wp-ultimo'), - 'SA' => __('Sakha Republic', 'wp-ultimo'), - 'SAK' => __('Sakhalin', 'wp-ultimo'), - 'SAM' => __('Samara Oblast', 'wp-ultimo'), - 'SAR' => __('Saratov Oblast', 'wp-ultimo'), - 'UA-40' => __('Sevastopol', 'wp-ultimo'), - 'SMO' => __('Smolensk Oblast', 'wp-ultimo'), - 'STA' => __('Stavropol Krai', 'wp-ultimo'), - 'SVE' => __('Sverdlovsk', 'wp-ultimo'), - 'TAM' => __('Tambov Oblast', 'wp-ultimo'), - 'TOM' => __('Tomsk Oblast', 'wp-ultimo'), - 'TUL' => __('Tula Oblast', 'wp-ultimo'), - 'TY' => __('Tuva Republic', 'wp-ultimo'), - 'TVE' => __('Tver Oblast', 'wp-ultimo'), - 'TYU' => __('Tyumen Oblast', 'wp-ultimo'), - 'UD' => __('Udmurt Republic', 'wp-ultimo'), - 'ULY' => __('Ulyanovsk Oblast', 'wp-ultimo'), - 'VLA' => __('Vladimir Oblast', 'wp-ultimo'), - 'VGG' => __('Volgograd Oblast', 'wp-ultimo'), - 'VLG' => __('Vologda Oblast', 'wp-ultimo'), - 'VOR' => __('Voronezh Oblast', 'wp-ultimo'), - 'YAN' => __('Yamalo-Nenets Autonomous Okrug', 'wp-ultimo'), - 'YAR' => __('Yaroslavl Oblast', 'wp-ultimo'), - 'ZAB' => __('Zabaykalsky Krai', 'wp-ultimo'), + 'ALT' => __('Altai Krai', 'wp-multisite-waas'), + 'AL' => __('Altai Republic', 'wp-multisite-waas'), + 'AMU' => __('Amur Oblast', 'wp-multisite-waas'), + 'ARK' => __('Arkhangelsk', 'wp-multisite-waas'), + 'AST' => __('Astrakhan Oblast', 'wp-multisite-waas'), + 'BEL' => __('Belgorod Oblast', 'wp-multisite-waas'), + 'BRY' => __('Bryansk Oblast', 'wp-multisite-waas'), + 'CE' => __('Chechen Republic', 'wp-multisite-waas'), + 'CHE' => __('Chelyabinsk Oblast', 'wp-multisite-waas'), + 'CHU' => __('Chukotka Autonomous Okrug', 'wp-multisite-waas'), + 'CU' => __('Chuvash Republic', 'wp-multisite-waas'), + 'IRK' => __('Irkutsk', 'wp-multisite-waas'), + 'IVA' => __('Ivanovo Oblast', 'wp-multisite-waas'), + 'YEV' => __('Jewish Autonomous Oblast', 'wp-multisite-waas'), + 'KB' => __('Kabardino-Balkar Republic', 'wp-multisite-waas'), + 'KGD' => __('Kaliningrad', 'wp-multisite-waas'), + 'KLU' => __('Kaluga Oblast', 'wp-multisite-waas'), + 'KAM' => __('Kamchatka Krai', 'wp-multisite-waas'), + 'KC' => __('Karachay-Cherkess Republic', 'wp-multisite-waas'), + 'KEM' => __('Kemerovo Oblast', 'wp-multisite-waas'), + 'KHA' => __('Khabarovsk Krai', 'wp-multisite-waas'), + 'KHM' => __('Khanty-Mansi Autonomous Okrug', 'wp-multisite-waas'), + 'KIR' => __('Kirov Oblast', 'wp-multisite-waas'), + 'KO' => __('Komi Republic', 'wp-multisite-waas'), + 'KOS' => __('Kostroma Oblast', 'wp-multisite-waas'), + 'KDA' => __('Krasnodar Krai', 'wp-multisite-waas'), + 'KYA' => __('Krasnoyarsk Krai', 'wp-multisite-waas'), + 'KGN' => __('Kurgan Oblast', 'wp-multisite-waas'), + 'KRS' => __('Kursk Oblast', 'wp-multisite-waas'), + 'LEN' => __('Leningrad Oblast', 'wp-multisite-waas'), + 'LIP' => __('Lipetsk Oblast', 'wp-multisite-waas'), + 'MAG' => __('Magadan Oblast', 'wp-multisite-waas'), + 'ME' => __('Mari El Republic', 'wp-multisite-waas'), + 'MOW' => __('Moscow', 'wp-multisite-waas'), + 'MOS' => __('Moscow Oblast', 'wp-multisite-waas'), + 'MUR' => __('Murmansk Oblast', 'wp-multisite-waas'), + 'NEN' => __('Nenets Autonomous Okrug', 'wp-multisite-waas'), + 'NIZ' => __('Nizhny Novgorod Oblast', 'wp-multisite-waas'), + 'NGR' => __('Novgorod Oblast', 'wp-multisite-waas'), + 'NVS' => __('Novosibirsk', 'wp-multisite-waas'), + 'OMS' => __('Omsk Oblast', 'wp-multisite-waas'), + 'ORE' => __('Orenburg Oblast', 'wp-multisite-waas'), + 'ORL' => __('Oryol Oblast', 'wp-multisite-waas'), + 'PNZ' => __('Penza Oblast', 'wp-multisite-waas'), + 'PER' => __('Perm Krai', 'wp-multisite-waas'), + 'PRI' => __('Primorsky Krai', 'wp-multisite-waas'), + 'PSK' => __('Pskov Oblast', 'wp-multisite-waas'), + 'AD' => __('Republic of Adygea', 'wp-multisite-waas'), + 'BA' => __('Republic of Bashkortostan', 'wp-multisite-waas'), + 'BU' => __('Republic of Buryatia', 'wp-multisite-waas'), + 'DA' => __('Republic of Dagestan', 'wp-multisite-waas'), + 'IN' => __('Republic of Ingushetia', 'wp-multisite-waas'), + 'KL' => __('Republic of Kalmykia', 'wp-multisite-waas'), + 'KR' => __('Republic of Karelia', 'wp-multisite-waas'), + 'KK' => __('Republic of Khakassia', 'wp-multisite-waas'), + 'MO' => __('Republic of Mordovia', 'wp-multisite-waas'), + 'SE' => __('Republic of North Ossetia-Alania', 'wp-multisite-waas'), + 'TA' => __('Republic of Tatarstan', 'wp-multisite-waas'), + 'ROS' => __('Rostov Oblast', 'wp-multisite-waas'), + 'RYA' => __('Ryazan Oblast', 'wp-multisite-waas'), + 'SPE' => __('Saint Petersburg', 'wp-multisite-waas'), + 'SA' => __('Sakha Republic', 'wp-multisite-waas'), + 'SAK' => __('Sakhalin', 'wp-multisite-waas'), + 'SAM' => __('Samara Oblast', 'wp-multisite-waas'), + 'SAR' => __('Saratov Oblast', 'wp-multisite-waas'), + 'UA-40' => __('Sevastopol', 'wp-multisite-waas'), + 'SMO' => __('Smolensk Oblast', 'wp-multisite-waas'), + 'STA' => __('Stavropol Krai', 'wp-multisite-waas'), + 'SVE' => __('Sverdlovsk', 'wp-multisite-waas'), + 'TAM' => __('Tambov Oblast', 'wp-multisite-waas'), + 'TOM' => __('Tomsk Oblast', 'wp-multisite-waas'), + 'TUL' => __('Tula Oblast', 'wp-multisite-waas'), + 'TY' => __('Tuva Republic', 'wp-multisite-waas'), + 'TVE' => __('Tver Oblast', 'wp-multisite-waas'), + 'TYU' => __('Tyumen Oblast', 'wp-multisite-waas'), + 'UD' => __('Udmurt Republic', 'wp-multisite-waas'), + 'ULY' => __('Ulyanovsk Oblast', 'wp-multisite-waas'), + 'VLA' => __('Vladimir Oblast', 'wp-multisite-waas'), + 'VGG' => __('Volgograd Oblast', 'wp-multisite-waas'), + 'VLG' => __('Vologda Oblast', 'wp-multisite-waas'), + 'VOR' => __('Voronezh Oblast', 'wp-multisite-waas'), + 'YAN' => __('Yamalo-Nenets Autonomous Okrug', 'wp-multisite-waas'), + 'YAR' => __('Yaroslavl Oblast', 'wp-multisite-waas'), + 'ZAB' => __('Zabaykalsky Krai', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-sg.php b/inc/country/class-country-sg.php index 6bb993b..08a7e27 100644 --- a/inc/country/class-country-sg.php +++ b/inc/country/class-country-sg.php @@ -65,7 +65,7 @@ class Country_SG extends Country { */ public function get_name() { - return __('Singapore', 'wp-ultimo'); + return __('Singapore', 'wp-multisite-waas'); } /** @@ -77,11 +77,11 @@ class Country_SG extends Country { protected function states() { return [ - '01' => __('Central Singapore Community Development Council', 'wp-ultimo'), - '02' => __('North East Community Development Council', 'wp-ultimo'), - '03' => __('North West Community Development Council', 'wp-ultimo'), - '04' => __('South East Community Development Council', 'wp-ultimo'), - '05' => __('South West Community Development Council', 'wp-ultimo'), + '01' => __('Central Singapore Community Development Council', 'wp-multisite-waas'), + '02' => __('North East Community Development Council', 'wp-multisite-waas'), + '03' => __('North West Community Development Council', 'wp-multisite-waas'), + '04' => __('South East Community Development Council', 'wp-multisite-waas'), + '05' => __('South West Community Development Council', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-tr.php b/inc/country/class-country-tr.php index 7a93b00..f6683b3 100644 --- a/inc/country/class-country-tr.php +++ b/inc/country/class-country-tr.php @@ -144,7 +144,7 @@ class Country_TR extends Country { */ public function get_name() { - return __('Turkey', 'wp-ultimo'); + return __('Turkey', 'wp-multisite-waas'); } /** @@ -156,87 +156,87 @@ class Country_TR extends Country { protected function states() { return [ - '10' => __('Balıkesir', 'wp-ultimo'), - '11' => __('Bilecik', 'wp-ultimo'), - '12' => __('Bingöl', 'wp-ultimo'), - '13' => __('Bitlis', 'wp-ultimo'), - '14' => __('Bolu', 'wp-ultimo'), - '15' => __('Burdur', 'wp-ultimo'), - '16' => __('Bursa', 'wp-ultimo'), - '17' => __('Çanakkale', 'wp-ultimo'), - '18' => __('Çankırı', 'wp-ultimo'), - '19' => __('Çorum', 'wp-ultimo'), - '20' => __('Denizli', 'wp-ultimo'), - '21' => __('Diyarbakır', 'wp-ultimo'), - '22' => __('Edirne', 'wp-ultimo'), - '23' => __('Elazığ', 'wp-ultimo'), - '24' => __('Erzincan', 'wp-ultimo'), - '25' => __('Erzurum', 'wp-ultimo'), - '26' => __('Eskişehir', 'wp-ultimo'), - '27' => __('Gaziantep', 'wp-ultimo'), - '28' => __('Giresun', 'wp-ultimo'), - '29' => __('Gümüşhane', 'wp-ultimo'), - '30' => __('Hakkâri', 'wp-ultimo'), - '31' => __('Hatay', 'wp-ultimo'), - '32' => __('Isparta', 'wp-ultimo'), - '33' => __('Mersin', 'wp-ultimo'), - '34' => __('Istanbul', 'wp-ultimo'), - '35' => __('İzmir', 'wp-ultimo'), - '36' => __('Kars', 'wp-ultimo'), - '37' => __('Kastamonu', 'wp-ultimo'), - '38' => __('Kayseri', 'wp-ultimo'), - '39' => __('Kırklareli', 'wp-ultimo'), - '40' => __('Kırşehir', 'wp-ultimo'), - '41' => __('Kocaeli', 'wp-ultimo'), - '42' => __('Konya', 'wp-ultimo'), - '43' => __('Kütahya', 'wp-ultimo'), - '44' => __('Malatya', 'wp-ultimo'), - '45' => __('Manisa', 'wp-ultimo'), - '46' => __('Kahramanmaraş', 'wp-ultimo'), - '47' => __('Mardin', 'wp-ultimo'), - '48' => __('Muğla', 'wp-ultimo'), - '49' => __('Muş', 'wp-ultimo'), - '50' => __('Nevşehir', 'wp-ultimo'), - '51' => __('Niğde', 'wp-ultimo'), - '52' => __('Ordu', 'wp-ultimo'), - '53' => __('Rize', 'wp-ultimo'), - '54' => __('Sakarya', 'wp-ultimo'), - '55' => __('Samsun', 'wp-ultimo'), - '56' => __('Siirt', 'wp-ultimo'), - '57' => __('Sinop', 'wp-ultimo'), - '58' => __('Sivas', 'wp-ultimo'), - '59' => __('Tekirdağ', 'wp-ultimo'), - '60' => __('Tokat', 'wp-ultimo'), - '61' => __('Trabzon', 'wp-ultimo'), - '62' => __('Tunceli', 'wp-ultimo'), - '63' => __('Şanlıurfa', 'wp-ultimo'), - '64' => __('Uşak', 'wp-ultimo'), - '65' => __('Van', 'wp-ultimo'), - '66' => __('Yozgat', 'wp-ultimo'), - '67' => __('Zonguldak', 'wp-ultimo'), - '68' => __('Aksaray', 'wp-ultimo'), - '69' => __('Bayburt', 'wp-ultimo'), - '70' => __('Karaman', 'wp-ultimo'), - '71' => __('Kırıkkale', 'wp-ultimo'), - '72' => __('Batman', 'wp-ultimo'), - '73' => __('Şırnak', 'wp-ultimo'), - '74' => __('Bartın', 'wp-ultimo'), - '75' => __('Ardahan', 'wp-ultimo'), - '76' => __('Iğdır', 'wp-ultimo'), - '77' => __('Yalova', 'wp-ultimo'), - '78' => __('Karabük', 'wp-ultimo'), - '79' => __('Kilis', 'wp-ultimo'), - '80' => __('Osmaniye', 'wp-ultimo'), - '81' => __('Düzce', 'wp-ultimo'), - '01' => __('Adana', 'wp-ultimo'), - '02' => __('Adıyaman', 'wp-ultimo'), - '03' => __('Afyonkarahisar', 'wp-ultimo'), - '05' => __('Amasya', 'wp-ultimo'), - '06' => __('Ankara', 'wp-ultimo'), - '07' => __('Antalya', 'wp-ultimo'), - '08' => __('Artvin', 'wp-ultimo'), - '09' => __('Aydın', 'wp-ultimo'), - '04' => __('Ağrı', 'wp-ultimo'), + '10' => __('Balıkesir', 'wp-multisite-waas'), + '11' => __('Bilecik', 'wp-multisite-waas'), + '12' => __('Bingöl', 'wp-multisite-waas'), + '13' => __('Bitlis', 'wp-multisite-waas'), + '14' => __('Bolu', 'wp-multisite-waas'), + '15' => __('Burdur', 'wp-multisite-waas'), + '16' => __('Bursa', 'wp-multisite-waas'), + '17' => __('Çanakkale', 'wp-multisite-waas'), + '18' => __('Çankırı', 'wp-multisite-waas'), + '19' => __('Çorum', 'wp-multisite-waas'), + '20' => __('Denizli', 'wp-multisite-waas'), + '21' => __('Diyarbakır', 'wp-multisite-waas'), + '22' => __('Edirne', 'wp-multisite-waas'), + '23' => __('Elazığ', 'wp-multisite-waas'), + '24' => __('Erzincan', 'wp-multisite-waas'), + '25' => __('Erzurum', 'wp-multisite-waas'), + '26' => __('Eskişehir', 'wp-multisite-waas'), + '27' => __('Gaziantep', 'wp-multisite-waas'), + '28' => __('Giresun', 'wp-multisite-waas'), + '29' => __('Gümüşhane', 'wp-multisite-waas'), + '30' => __('Hakkâri', 'wp-multisite-waas'), + '31' => __('Hatay', 'wp-multisite-waas'), + '32' => __('Isparta', 'wp-multisite-waas'), + '33' => __('Mersin', 'wp-multisite-waas'), + '34' => __('Istanbul', 'wp-multisite-waas'), + '35' => __('İzmir', 'wp-multisite-waas'), + '36' => __('Kars', 'wp-multisite-waas'), + '37' => __('Kastamonu', 'wp-multisite-waas'), + '38' => __('Kayseri', 'wp-multisite-waas'), + '39' => __('Kırklareli', 'wp-multisite-waas'), + '40' => __('Kırşehir', 'wp-multisite-waas'), + '41' => __('Kocaeli', 'wp-multisite-waas'), + '42' => __('Konya', 'wp-multisite-waas'), + '43' => __('Kütahya', 'wp-multisite-waas'), + '44' => __('Malatya', 'wp-multisite-waas'), + '45' => __('Manisa', 'wp-multisite-waas'), + '46' => __('Kahramanmaraş', 'wp-multisite-waas'), + '47' => __('Mardin', 'wp-multisite-waas'), + '48' => __('Muğla', 'wp-multisite-waas'), + '49' => __('Muş', 'wp-multisite-waas'), + '50' => __('Nevşehir', 'wp-multisite-waas'), + '51' => __('Niğde', 'wp-multisite-waas'), + '52' => __('Ordu', 'wp-multisite-waas'), + '53' => __('Rize', 'wp-multisite-waas'), + '54' => __('Sakarya', 'wp-multisite-waas'), + '55' => __('Samsun', 'wp-multisite-waas'), + '56' => __('Siirt', 'wp-multisite-waas'), + '57' => __('Sinop', 'wp-multisite-waas'), + '58' => __('Sivas', 'wp-multisite-waas'), + '59' => __('Tekirdağ', 'wp-multisite-waas'), + '60' => __('Tokat', 'wp-multisite-waas'), + '61' => __('Trabzon', 'wp-multisite-waas'), + '62' => __('Tunceli', 'wp-multisite-waas'), + '63' => __('Şanlıurfa', 'wp-multisite-waas'), + '64' => __('Uşak', 'wp-multisite-waas'), + '65' => __('Van', 'wp-multisite-waas'), + '66' => __('Yozgat', 'wp-multisite-waas'), + '67' => __('Zonguldak', 'wp-multisite-waas'), + '68' => __('Aksaray', 'wp-multisite-waas'), + '69' => __('Bayburt', 'wp-multisite-waas'), + '70' => __('Karaman', 'wp-multisite-waas'), + '71' => __('Kırıkkale', 'wp-multisite-waas'), + '72' => __('Batman', 'wp-multisite-waas'), + '73' => __('Şırnak', 'wp-multisite-waas'), + '74' => __('Bartın', 'wp-multisite-waas'), + '75' => __('Ardahan', 'wp-multisite-waas'), + '76' => __('Iğdır', 'wp-multisite-waas'), + '77' => __('Yalova', 'wp-multisite-waas'), + '78' => __('Karabük', 'wp-multisite-waas'), + '79' => __('Kilis', 'wp-multisite-waas'), + '80' => __('Osmaniye', 'wp-multisite-waas'), + '81' => __('Düzce', 'wp-multisite-waas'), + '01' => __('Adana', 'wp-multisite-waas'), + '02' => __('Adıyaman', 'wp-multisite-waas'), + '03' => __('Afyonkarahisar', 'wp-multisite-waas'), + '05' => __('Amasya', 'wp-multisite-waas'), + '06' => __('Ankara', 'wp-multisite-waas'), + '07' => __('Antalya', 'wp-multisite-waas'), + '08' => __('Artvin', 'wp-multisite-waas'), + '09' => __('Aydın', 'wp-multisite-waas'), + '04' => __('Ağrı', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-us.php b/inc/country/class-country-us.php index 238883c..a09d54d 100644 --- a/inc/country/class-country-us.php +++ b/inc/country/class-country-us.php @@ -115,7 +115,7 @@ class Country_US extends Country { */ public function get_name() { - return __('United States', 'wp-ultimo'); + return __('United States', 'wp-multisite-waas'); } /** @@ -127,72 +127,72 @@ class Country_US extends Country { protected function states() { return [ - 'AL' => __('Alabama', 'wp-ultimo'), - 'AK' => __('Alaska', 'wp-ultimo'), - 'AS' => __('American Samoa', 'wp-ultimo'), - 'AZ' => __('Arizona', 'wp-ultimo'), - 'AR' => __('Arkansas', 'wp-ultimo'), - 'UM-81' => __('Baker Island', 'wp-ultimo'), - 'CA' => __('California', 'wp-ultimo'), - 'CO' => __('Colorado', 'wp-ultimo'), - 'CT' => __('Connecticut', 'wp-ultimo'), - 'DE' => __('Delaware', 'wp-ultimo'), - 'DC' => __('District of Columbia', 'wp-ultimo'), - 'FL' => __('Florida', 'wp-ultimo'), - 'GA' => __('Georgia', 'wp-ultimo'), - 'GU' => __('Guam', 'wp-ultimo'), - 'HI' => __('Hawaii', 'wp-ultimo'), - 'UM-84' => __('Howland Island', 'wp-ultimo'), - 'ID' => __('Idaho', 'wp-ultimo'), - 'IL' => __('Illinois', 'wp-ultimo'), - 'IN' => __('Indiana', 'wp-ultimo'), - 'IA' => __('Iowa', 'wp-ultimo'), - 'UM-86' => __('Jarvis Island', 'wp-ultimo'), - 'UM-67' => __('Johnston Atoll', 'wp-ultimo'), - 'KS' => __('Kansas', 'wp-ultimo'), - 'KY' => __('Kentucky', 'wp-ultimo'), - 'UM-89' => __('Kingman Reef', 'wp-ultimo'), - 'LA' => __('Louisiana', 'wp-ultimo'), - 'ME' => __('Maine', 'wp-ultimo'), - 'MD' => __('Maryland', 'wp-ultimo'), - 'MA' => __('Massachusetts', 'wp-ultimo'), - 'MI' => __('Michigan', 'wp-ultimo'), - 'UM-71' => __('Midway Atoll', 'wp-ultimo'), - 'MN' => __('Minnesota', 'wp-ultimo'), - 'MS' => __('Mississippi', 'wp-ultimo'), - 'MO' => __('Missouri', 'wp-ultimo'), - 'MT' => __('Montana', 'wp-ultimo'), - 'UM-76' => __('Navassa Island', 'wp-ultimo'), - 'NE' => __('Nebraska', 'wp-ultimo'), - 'NV' => __('Nevada', 'wp-ultimo'), - 'NH' => __('New Hampshire', 'wp-ultimo'), - 'NJ' => __('New Jersey', 'wp-ultimo'), - 'NM' => __('New Mexico', 'wp-ultimo'), - 'NY' => __('New York', 'wp-ultimo'), - 'NC' => __('North Carolina', 'wp-ultimo'), - 'ND' => __('North Dakota', 'wp-ultimo'), - 'MP' => __('Northern Mariana Islands', 'wp-ultimo'), - 'OH' => __('Ohio', 'wp-ultimo'), - 'OK' => __('Oklahoma', 'wp-ultimo'), - 'OR' => __('Oregon', 'wp-ultimo'), - 'UM-95' => __('Palmyra Atoll', 'wp-ultimo'), - 'PA' => __('Pennsylvania', 'wp-ultimo'), - 'PR' => __('Puerto Rico', 'wp-ultimo'), - 'RI' => __('Rhode Island', 'wp-ultimo'), - 'SC' => __('South Carolina', 'wp-ultimo'), - 'SD' => __('South Dakota', 'wp-ultimo'), - 'TN' => __('Tennessee', 'wp-ultimo'), - 'TX' => __('Texas', 'wp-ultimo'), - 'UM' => __('United States Minor Outlying Islands', 'wp-ultimo'), - 'VI' => __('United States Virgin Islands', 'wp-ultimo'), - 'UT' => __('Utah', 'wp-ultimo'), - 'VT' => __('Vermont', 'wp-ultimo'), - 'VA' => __('Virginia', 'wp-ultimo'), - 'UM-79' => __('Wake Island', 'wp-ultimo'), - 'WA' => __('Washington', 'wp-ultimo'), - 'WV' => __('West Virginia', 'wp-ultimo'), - 'WI' => __('Wisconsin', 'wp-ultimo'), - 'WY' => __('Wyoming', 'wp-ultimo'), + 'AL' => __('Alabama', 'wp-multisite-waas'), + 'AK' => __('Alaska', 'wp-multisite-waas'), + 'AS' => __('American Samoa', 'wp-multisite-waas'), + 'AZ' => __('Arizona', 'wp-multisite-waas'), + 'AR' => __('Arkansas', 'wp-multisite-waas'), + 'UM-81' => __('Baker Island', 'wp-multisite-waas'), + 'CA' => __('California', 'wp-multisite-waas'), + 'CO' => __('Colorado', 'wp-multisite-waas'), + 'CT' => __('Connecticut', 'wp-multisite-waas'), + 'DE' => __('Delaware', 'wp-multisite-waas'), + 'DC' => __('District of Columbia', 'wp-multisite-waas'), + 'FL' => __('Florida', 'wp-multisite-waas'), + 'GA' => __('Georgia', 'wp-multisite-waas'), + 'GU' => __('Guam', 'wp-multisite-waas'), + 'HI' => __('Hawaii', 'wp-multisite-waas'), + 'UM-84' => __('Howland Island', 'wp-multisite-waas'), + 'ID' => __('Idaho', 'wp-multisite-waas'), + 'IL' => __('Illinois', 'wp-multisite-waas'), + 'IN' => __('Indiana', 'wp-multisite-waas'), + 'IA' => __('Iowa', 'wp-multisite-waas'), + 'UM-86' => __('Jarvis Island', 'wp-multisite-waas'), + 'UM-67' => __('Johnston Atoll', 'wp-multisite-waas'), + 'KS' => __('Kansas', 'wp-multisite-waas'), + 'KY' => __('Kentucky', 'wp-multisite-waas'), + 'UM-89' => __('Kingman Reef', 'wp-multisite-waas'), + 'LA' => __('Louisiana', 'wp-multisite-waas'), + 'ME' => __('Maine', 'wp-multisite-waas'), + 'MD' => __('Maryland', 'wp-multisite-waas'), + 'MA' => __('Massachusetts', 'wp-multisite-waas'), + 'MI' => __('Michigan', 'wp-multisite-waas'), + 'UM-71' => __('Midway Atoll', 'wp-multisite-waas'), + 'MN' => __('Minnesota', 'wp-multisite-waas'), + 'MS' => __('Mississippi', 'wp-multisite-waas'), + 'MO' => __('Missouri', 'wp-multisite-waas'), + 'MT' => __('Montana', 'wp-multisite-waas'), + 'UM-76' => __('Navassa Island', 'wp-multisite-waas'), + 'NE' => __('Nebraska', 'wp-multisite-waas'), + 'NV' => __('Nevada', 'wp-multisite-waas'), + 'NH' => __('New Hampshire', 'wp-multisite-waas'), + 'NJ' => __('New Jersey', 'wp-multisite-waas'), + 'NM' => __('New Mexico', 'wp-multisite-waas'), + 'NY' => __('New York', 'wp-multisite-waas'), + 'NC' => __('North Carolina', 'wp-multisite-waas'), + 'ND' => __('North Dakota', 'wp-multisite-waas'), + 'MP' => __('Northern Mariana Islands', 'wp-multisite-waas'), + 'OH' => __('Ohio', 'wp-multisite-waas'), + 'OK' => __('Oklahoma', 'wp-multisite-waas'), + 'OR' => __('Oregon', 'wp-multisite-waas'), + 'UM-95' => __('Palmyra Atoll', 'wp-multisite-waas'), + 'PA' => __('Pennsylvania', 'wp-multisite-waas'), + 'PR' => __('Puerto Rico', 'wp-multisite-waas'), + 'RI' => __('Rhode Island', 'wp-multisite-waas'), + 'SC' => __('South Carolina', 'wp-multisite-waas'), + 'SD' => __('South Dakota', 'wp-multisite-waas'), + 'TN' => __('Tennessee', 'wp-multisite-waas'), + 'TX' => __('Texas', 'wp-multisite-waas'), + 'UM' => __('United States Minor Outlying Islands', 'wp-multisite-waas'), + 'VI' => __('United States Virgin Islands', 'wp-multisite-waas'), + 'UT' => __('Utah', 'wp-multisite-waas'), + 'VT' => __('Vermont', 'wp-multisite-waas'), + 'VA' => __('Virginia', 'wp-multisite-waas'), + 'UM-79' => __('Wake Island', 'wp-multisite-waas'), + 'WA' => __('Washington', 'wp-multisite-waas'), + 'WV' => __('West Virginia', 'wp-multisite-waas'), + 'WI' => __('Wisconsin', 'wp-multisite-waas'), + 'WY' => __('Wyoming', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country-za.php b/inc/country/class-country-za.php index ac7a90c..6b5d988 100644 --- a/inc/country/class-country-za.php +++ b/inc/country/class-country-za.php @@ -72,7 +72,7 @@ class Country_ZA extends Country { */ public function get_name() { - return __('South Africa', 'wp-ultimo'); + return __('South Africa', 'wp-multisite-waas'); } /** @@ -84,15 +84,15 @@ class Country_ZA extends Country { protected function states() { return [ - 'EC' => __('Eastern Cape', 'wp-ultimo'), - 'FS' => __('Free State', 'wp-ultimo'), - 'GP' => __('Gauteng', 'wp-ultimo'), - 'KZN' => __('KwaZulu-Natal', 'wp-ultimo'), - 'LP' => __('Limpopo', 'wp-ultimo'), - 'MP' => __('Mpumalanga', 'wp-ultimo'), - 'NW' => __('North West', 'wp-ultimo'), - 'NC' => __('Northern Cape', 'wp-ultimo'), - 'WC' => __('Western Cape', 'wp-ultimo'), + 'EC' => __('Eastern Cape', 'wp-multisite-waas'), + 'FS' => __('Free State', 'wp-multisite-waas'), + 'GP' => __('Gauteng', 'wp-multisite-waas'), + 'KZN' => __('KwaZulu-Natal', 'wp-multisite-waas'), + 'LP' => __('Limpopo', 'wp-multisite-waas'), + 'MP' => __('Mpumalanga', 'wp-multisite-waas'), + 'NW' => __('North West', 'wp-multisite-waas'), + 'NC' => __('Northern Cape', 'wp-multisite-waas'), + 'WC' => __('Western Cape', 'wp-multisite-waas'), ]; } } diff --git a/inc/country/class-country.php b/inc/country/class-country.php index 2c73dc5..9ece069 100644 --- a/inc/country/class-country.php +++ b/inc/country/class-country.php @@ -104,7 +104,7 @@ abstract class Country { $division_name = $this->get_administrative_division_name(); // translators: %s is the name of the administrative division (state, province, etc). - $placeholder_option[''] = '' !== $placeholder ? $placeholder : sprintf(__('Select your %s', 'wp-ultimo'), $division_name); + $placeholder_option[''] = '' !== $placeholder ? $placeholder : sprintf(__('Select your %s', 'wp-multisite-waas'), $division_name); } return array_merge($placeholder_option, $options); @@ -162,7 +162,7 @@ abstract class Country { $placeholder_option = []; if (false !== $placeholder && $options) { - $placeholder_option[''] = '' !== $placeholder ? $placeholder : __('Select your city', 'wp-ultimo'); + $placeholder_option[''] = '' !== $placeholder ? $placeholder : __('Select your city', 'wp-multisite-waas'); } $options = array_combine($options, $options); @@ -195,7 +195,7 @@ abstract class Country { */ public function get_municipality_name($state_code = null, $ucwords = false) { - $name = __('city', 'wp-ultimo'); + $name = __('city', 'wp-multisite-waas'); $name = $ucwords ? ucwords($name) : $name; @@ -217,18 +217,18 @@ abstract class Country { public function get_administrative_division_name($state_code = null, $ucwords = false) { $denominations = [ - 'province' => __('province', 'wp-ultimo'), - 'state' => __('state', 'wp-ultimo'), - 'territory' => __('territory', 'wp-ultimo'), - 'region' => __('region', 'wp-ultimo'), - 'department' => __('department', 'wp-ultimo'), - 'district' => __('district', 'wp-ultimo'), - 'prefecture' => __('prefecture', 'wp-ultimo'), - 'autonomous_community' => __('autonomous community', 'wp-ultimo'), - 'parish' => __('parish', 'wp-ultimo'), - 'county' => __('county', 'wp-ultimo'), - 'division' => __('division', 'wp-ultimo'), - 'unknown' => __('state / province', 'wp-ultimo'), + 'province' => __('province', 'wp-multisite-waas'), + 'state' => __('state', 'wp-multisite-waas'), + 'territory' => __('territory', 'wp-multisite-waas'), + 'region' => __('region', 'wp-multisite-waas'), + 'department' => __('department', 'wp-multisite-waas'), + 'district' => __('district', 'wp-multisite-waas'), + 'prefecture' => __('prefecture', 'wp-multisite-waas'), + 'autonomous_community' => __('autonomous community', 'wp-multisite-waas'), + 'parish' => __('parish', 'wp-multisite-waas'), + 'county' => __('county', 'wp-multisite-waas'), + 'division' => __('division', 'wp-multisite-waas'), + 'unknown' => __('state / province', 'wp-multisite-waas'), ]; $name = wu_get_isset($denominations, $this->state_type, $denominations['unknown']); diff --git a/inc/database/domains/class-domain-stage.php b/inc/database/domains/class-domain-stage.php index d3c862c..10a4077 100644 --- a/inc/database/domains/class-domain-stage.php +++ b/inc/database/domains/class-domain-stage.php @@ -26,15 +26,15 @@ class Domain_Stage extends Enum { */ const __default = 'checking-dns'; // phpcs:ignore - const FAILED = 'failed'; + const FAILED = 'failed'; - const CHECKING_DNS = 'checking-dns'; + const CHECKING_DNS = 'checking-dns'; - const CHECKING_SSL = 'checking-ssl-cert'; + const CHECKING_SSL = 'checking-ssl-cert'; const DONE_WITHOUT_SSL = 'done-without-ssl'; - const DONE = 'done'; + const DONE = 'done'; /** * Returns an array with values => CSS Classes. @@ -62,11 +62,11 @@ class Domain_Stage extends Enum { protected function labels() { return [ - static::FAILED => __('DNS Failed', 'wp-ultimo'), - static::CHECKING_DNS => __('Checking DNS', 'wp-ultimo'), - static::CHECKING_SSL => __('Checking SSL', 'wp-ultimo'), - static::DONE => __('Ready', 'wp-ultimo'), - static::DONE_WITHOUT_SSL => __('Ready (without SSL)', 'wp-ultimo'), + static::FAILED => __('DNS Failed', 'wp-multisite-waas'), + static::CHECKING_DNS => __('Checking DNS', 'wp-multisite-waas'), + static::CHECKING_SSL => __('Checking SSL', 'wp-multisite-waas'), + static::DONE => __('Ready', 'wp-multisite-waas'), + static::DONE_WITHOUT_SSL => __('Ready (without SSL)', 'wp-multisite-waas'), ]; } } diff --git a/inc/database/engine/class-table.php b/inc/database/engine/class-table.php index 81a6e28..c7f8c64 100644 --- a/inc/database/engine/class-table.php +++ b/inc/database/engine/class-table.php @@ -51,7 +51,7 @@ abstract class Table extends \BerlinDB\Database\Table { return false; } - return (bool) is_main_site(); + return (bool) is_main_site(); } /** diff --git a/inc/database/memberships/class-membership-status.php b/inc/database/memberships/class-membership-status.php index 2941bea..edf08cc 100644 --- a/inc/database/memberships/class-membership-status.php +++ b/inc/database/memberships/class-membership-status.php @@ -26,15 +26,15 @@ class Membership_Status extends Enum { */ const __default = 'pending'; // phpcs:ignore - const PENDING = 'pending'; + const PENDING = 'pending'; - const ACTIVE = 'active'; + const ACTIVE = 'active'; - const TRIALING = 'trialing'; + const TRIALING = 'trialing'; - const EXPIRED = 'expired'; + const EXPIRED = 'expired'; - const ON_HOLD = 'on-hold'; + const ON_HOLD = 'on-hold'; const CANCELLED = 'cancelled'; @@ -65,12 +65,12 @@ class Membership_Status extends Enum { protected function labels() { return [ - static::PENDING => __('Pending', 'wp-ultimo'), - static::ACTIVE => __('Active', 'wp-ultimo'), - static::TRIALING => __('Trialing', 'wp-ultimo'), - static::ON_HOLD => __('On Hold', 'wp-ultimo'), - static::EXPIRED => __('Expired', 'wp-ultimo'), - static::CANCELLED => __('Cancelled', 'wp-ultimo'), + static::PENDING => __('Pending', 'wp-multisite-waas'), + static::ACTIVE => __('Active', 'wp-multisite-waas'), + static::TRIALING => __('Trialing', 'wp-multisite-waas'), + static::ON_HOLD => __('On Hold', 'wp-multisite-waas'), + static::EXPIRED => __('Expired', 'wp-multisite-waas'), + static::CANCELLED => __('Cancelled', 'wp-multisite-waas'), ]; } } diff --git a/inc/database/payments/class-payment-status.php b/inc/database/payments/class-payment-status.php index d047c46..9a908b3 100644 --- a/inc/database/payments/class-payment-status.php +++ b/inc/database/payments/class-payment-status.php @@ -26,19 +26,19 @@ class Payment_Status extends Enum { */ const __default = 'pending'; // phpcs:ignore - const PENDING = 'pending'; + const PENDING = 'pending'; - const COMPLETED = 'completed'; + const COMPLETED = 'completed'; - const REFUND = 'refunded'; + const REFUND = 'refunded'; const PARTIAL_REFUND = 'partially-refunded'; - const PARTIAL = 'partially-paid'; + const PARTIAL = 'partially-paid'; - const FAILED = 'failed'; + const FAILED = 'failed'; - const CANCELLED = 'cancelled'; + const CANCELLED = 'cancelled'; /** * Returns an array with values => CSS Classes. @@ -87,13 +87,13 @@ class Payment_Status extends Enum { protected function labels() { return [ - static::PENDING => __('Pending', 'wp-ultimo'), - static::COMPLETED => __('Completed', 'wp-ultimo'), - static::REFUND => __('Refunded', 'wp-ultimo'), - static::PARTIAL_REFUND => __('Partially Refunded', 'wp-ultimo'), - static::PARTIAL => __('Partially Paid', 'wp-ultimo'), - static::FAILED => __('Failed', 'wp-ultimo'), - static::CANCELLED => __('Cancelled', 'wp-ultimo'), + static::PENDING => __('Pending', 'wp-multisite-waas'), + static::COMPLETED => __('Completed', 'wp-multisite-waas'), + static::REFUND => __('Refunded', 'wp-multisite-waas'), + static::PARTIAL_REFUND => __('Partially Refunded', 'wp-multisite-waas'), + static::PARTIAL => __('Partially Paid', 'wp-multisite-waas'), + static::FAILED => __('Failed', 'wp-multisite-waas'), + static::CANCELLED => __('Cancelled', 'wp-multisite-waas'), ]; } } diff --git a/inc/database/products/class-product-type.php b/inc/database/products/class-product-type.php index 371241f..5c98aca 100644 --- a/inc/database/products/class-product-type.php +++ b/inc/database/products/class-product-type.php @@ -26,7 +26,7 @@ class Product_Type extends Enum { */ const __default = 'plan'; // phpcs:ignore - const PLAN = 'plan'; + const PLAN = 'plan'; const PACKAGE = 'package'; @@ -56,9 +56,9 @@ class Product_Type extends Enum { protected function labels() { return [ - static::PLAN => __('Plan', 'wp-ultimo'), - static::PACKAGE => __('Package', 'wp-ultimo'), - static::SERVICE => __('Service', 'wp-ultimo'), + static::PLAN => __('Plan', 'wp-multisite-waas'), + static::PACKAGE => __('Package', 'wp-multisite-waas'), + static::SERVICE => __('Service', 'wp-multisite-waas'), ]; } } diff --git a/inc/database/sites/class-site-type.php b/inc/database/sites/class-site-type.php index a53d61d..be89345 100644 --- a/inc/database/sites/class-site-type.php +++ b/inc/database/sites/class-site-type.php @@ -26,17 +26,17 @@ class Site_Type extends Enum { */ const __default = 'default'; // phpcs:ignore - const REGULAR = 'default'; + const REGULAR = 'default'; - const SITE_TEMPLATE = 'site_template'; + const SITE_TEMPLATE = 'site_template'; const CUSTOMER_OWNED = 'customer_owned'; - const PENDING = 'pending'; + const PENDING = 'pending'; - const EXTERNAL = 'external'; + const EXTERNAL = 'external'; - const MAIN = 'main'; + const MAIN = 'main'; /** * Returns an array with values => CSS Classes. @@ -65,11 +65,11 @@ class Site_Type extends Enum { protected function labels() { return [ - static::REGULAR => __('Regular Site', 'wp-ultimo'), - static::SITE_TEMPLATE => __('Site Template', 'wp-ultimo'), - static::CUSTOMER_OWNED => __('Customer-Owned', 'wp-ultimo'), - static::PENDING => __('Pending', 'wp-ultimo'), - static::MAIN => __('Main Site', 'wp-ultimo'), + static::REGULAR => __('Regular Site', 'wp-multisite-waas'), + static::SITE_TEMPLATE => __('Site Template', 'wp-multisite-waas'), + static::CUSTOMER_OWNED => __('Customer-Owned', 'wp-multisite-waas'), + static::PENDING => __('Pending', 'wp-multisite-waas'), + static::MAIN => __('Main Site', 'wp-multisite-waas'), ]; } } diff --git a/inc/debug/class-debug.php b/inc/debug/class-debug.php index 37ee3f6..0281510 100644 --- a/inc/debug/class-debug.php +++ b/inc/debug/class-debug.php @@ -72,37 +72,37 @@ class Debug { - + - + - + - + [ - 'title' => __('Customers', 'wp-ultimo'), - 'desc' => __('Toggle to generate customers.', 'wp-ultimo'), + 'title' => __('Customers', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate customers.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'customers', ], ], 'customers_number' => [ - 'title' => __('Number of Customers', 'wp-ultimo'), + 'title' => __('Number of Customers', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -179,15 +179,15 @@ class Debug { ], ], 'products' => [ - 'title' => __('Products', 'wp-ultimo'), - 'desc' => __('Toggle to generate products.', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate products.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'products', ], ], 'products_number' => [ - 'title' => __('Number of Products', 'wp-ultimo'), + 'title' => __('Number of Products', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -196,15 +196,15 @@ class Debug { ], ], 'memberships' => [ - 'title' => __('Memberships', 'wp-ultimo'), - 'desc' => __('Toggle to generate memberships.', 'wp-ultimo'), + 'title' => __('Memberships', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate memberships.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'memberships', ], ], 'memberships_number' => [ - 'title' => __('Number of Memberships', 'wp-ultimo'), + 'title' => __('Number of Memberships', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -213,15 +213,15 @@ class Debug { ], ], 'sites' => [ - 'title' => __('Sites', 'wp-ultimo'), - 'desc' => __('Toggle to generate sites.', 'wp-ultimo'), + 'title' => __('Sites', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate sites.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'sites', ], ], 'sites_number' => [ - 'title' => __('Number of Sites', 'wp-ultimo'), + 'title' => __('Number of Sites', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -230,15 +230,15 @@ class Debug { ], ], 'domains' => [ - 'title' => __('Domains', 'wp-ultimo'), - 'desc' => __('Toggle to generate domains.', 'wp-ultimo'), + 'title' => __('Domains', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate domains.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'domains', ], ], 'domains_number' => [ - 'title' => __('Number of Domains', 'wp-ultimo'), + 'title' => __('Number of Domains', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -247,15 +247,15 @@ class Debug { ], ], 'discount_codes' => [ - 'title' => __('Discount Codes', 'wp-ultimo'), - 'desc' => __('Toggle to generate discount codes.', 'wp-ultimo'), + 'title' => __('Discount Codes', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate discount codes.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'discount_codes', ], ], 'discount_codes_number' => [ - 'title' => __('Number of Discount Codes', 'wp-ultimo'), + 'title' => __('Number of Discount Codes', 'wp-multisite-waas'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -264,15 +264,15 @@ class Debug { ], ], 'payments' => [ - 'title' => __('Payments', 'wp-ultimo'), - 'desc' => __('Toggle to generate payments.', 'wp-ultimo'), + 'title' => __('Payments', 'wp-multisite-waas'), + 'desc' => __('Toggle to generate payments.', 'wp-multisite-waas'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'payments', ], ], 'payments_number' => [ - 'title' => __('Number of Payments', 'wp-ultimo'), + 'title' => __('Number of Payments', 'wp-multisite-waas'), 'type' => 'number', 'value' => 30, 'wrapper_html_attr' => [ @@ -281,7 +281,7 @@ class Debug { ], ], 'submit_button' => [ - 'title' => __('Generate Data →', 'wp-ultimo'), + 'title' => __('Generate Data →', 'wp-multisite-waas'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -298,7 +298,7 @@ class Debug { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'debug_generator', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'customers' => false, 'products' => false, @@ -404,8 +404,8 @@ class Debug { $fields = [ 'reset_only_fake_data' => [ - 'title' => __('Only reset generated data.', 'wp-ultimo'), - 'desc' => __('Toggle this option to only remove data that was added by the generator previously. Untoggling this option will reset ALL data in WP Multisite WaaS tables.', 'wp-ultimo'), + 'title' => __('Only reset generated data.', 'wp-multisite-waas'), + 'desc' => __('Toggle this option to only remove data that was added by the generator previously. Untoggling this option will reset ALL data in WP Multisite WaaS tables.', 'wp-multisite-waas'), 'type' => 'toggle', 'value' => true, 'html_attr' => [ @@ -413,7 +413,7 @@ class Debug { ], ], 'submit_button' => [ - 'title' => __('Reset Database →', 'wp-ultimo'), + 'title' => __('Reset Database →', 'wp-multisite-waas'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -430,7 +430,7 @@ class Debug { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'debug_reset_database_form', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'reset_only' => true, ] @@ -490,10 +490,10 @@ class Debug { $fields = [ 'reset_note' => [ 'type' => 'note', - 'desc' => __('This action will drop the WP Multisite WaaS database tables and is irreversable.', 'wp-ultimo'), + 'desc' => __('This action will drop the WP Multisite WaaS database tables and is irreversable.', 'wp-multisite-waas'), ], 'submit_button' => [ - 'title' => __('Drop Database Tables →', 'wp-ultimo'), + 'title' => __('Drop Database Tables →', 'wp-multisite-waas'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -510,7 +510,7 @@ class Debug { 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', 'html_attr' => [ 'data-wu-app' => 'debug_drop_database_form', - 'data-state' => json_encode( + 'data-state' => wp_json_encode( [ 'reset_only' => true, ] diff --git a/inc/deprecated/deprecated.php b/inc/deprecated/deprecated.php index 1d694f8..d8da57a 100644 --- a/inc/deprecated/deprecated.php +++ b/inc/deprecated/deprecated.php @@ -171,8 +171,8 @@ class WU_Page extends \WP_Ultimo\Admin_Pages\Base_Admin_Page { 'parent' => 'wp-ultimo', 'capability' => 'manage_network', 'menu_icon' => 'dashicons-menu', - 'title' => __('Admin Page', 'wp-ultimo'), - 'menu_title' => __('Admin Page', 'wp-ultimo'), + 'title' => __('Admin Page', 'wp-multisite-waas'), + 'menu_title' => __('Admin Page', 'wp-multisite-waas'), ] ); @@ -413,7 +413,7 @@ class WU_Multi_Network { */ public static function __callStatic($method_name, $args) { - _deprecated_function(self::class . "::$method_name()", '2.0.0'); + _deprecated_function(self::class . esc_html("::$method_name()"), '2.0.0'); return false; } @@ -710,21 +710,21 @@ class WU_Site extends \WP_Ultimo\Models\Site { * * @since 2.0.0 * - * @param mixed $object Object containing the parameters. + * @param mixed $object_model Object containing the parameters. */ - public function __construct($object = null) { + public function __construct($object_model = null) { - _deprecated_function(self::class, '2.0.0', \WP_Ultimo\Models\Site::class); + _deprecated_function(self::class, '2.0.0', esc_html(\WP_Ultimo\Models\Site::class)); - if (is_numeric($object)) { - $object = wu_get_site($object); + if (is_numeric($object_model)) { + $object_model = wu_get_site($object_model); } - if ($object) { - $object = get_object_vars($object); + if ( $object_model) { + $object_model = get_object_vars($object_model); } - parent::__construct($object); + parent::__construct($object_model); } } @@ -740,21 +740,21 @@ class WU_Site_Template extends \WP_Ultimo\Models\Site { * * @deprecated 2.0.0 * - * @param mixed $object Object containing the parameters. + * @param mixed $object_model Object containing the parameters. */ - public function __construct($object = null) { + public function __construct($object_model = null) { - _deprecated_function(self::class, '2.0.0', \WP_Ultimo\Models\Site::class); + _deprecated_function(self::class, '2.0.0', esc_html(\WP_Ultimo\Models\Site::class)); - if (is_numeric($object)) { - $object = wu_get_site($object); + if (is_numeric($object_model)) { + $object_model = wu_get_site($object_model); } - if ($object) { - $object = get_object_vars($object); + if ( $object_model) { + $object_model = get_object_vars($object_model); } - parent::__construct($object); + parent::__construct($object_model); } } @@ -843,22 +843,22 @@ class WU_Coupon extends \WP_Ultimo\Models\Discount_Code { * * @deprecated 2.0.0 * - * @param mixed $object Object containing the parameters. + * @param mixed $object_model Object containing the parameters. */ - public function __construct($object = null) { + public function __construct($object_model = null) { _deprecated_function(self::class, '2.0.0', \WP_Ultimo\Models\Discount_Code::class); - if (is_numeric($object)) { - $object = wu_get_discount_code($object); + if (is_numeric($object_model) ) { + $object_model = wu_get_discount_code($object_model); } - if ($object) { - $object = get_object_vars($object); + if ( $object_model ) { + $object_model = get_object_vars($object_model); } - if (is_array($object)) { - foreach ($object as $att => $value) { + if (is_array($object_model)) { + foreach ( $object_model as $att => $value) { $this->{$att} = $value; } } @@ -898,29 +898,29 @@ class WU_Plan extends \WP_Ultimo\Models\Product { * * @deprecated 2.0.0 * - * @param mixed $object Object containing the parameters. + * @param mixed $object_model Object containing the parameters. */ - public function __construct($object = null) { + public function __construct($object_model = null) { - _deprecated_function(self::class, '2.0.0', \WP_Ultimo\Models\Product::class); + _deprecated_function(self::class, '2.0.0', esc_html(\WP_Ultimo\Models\Product::class)); - if (is_numeric($object)) { - $object = wu_get_product($object); + if (is_numeric($object_model)) { + $object_model = wu_get_product($object_model); } - if ($object) { - $object = get_object_vars($object); + if ($object_model ) { + $object_model = get_object_vars($object_model); } - if (is_array($object)) { - foreach ($object as $att => $value) { + if (is_array($object_model)) { + foreach ($object_model as $att => $value) { $this->{$att} = $value; } } $this->set_slug(uniqid()); - parent::__construct($object); + parent::__construct($object_model); } /** @@ -973,21 +973,21 @@ class WU_Subscription extends \WP_Ultimo\Models\Membership { * * @deprecated 2.0.0 * - * @param mixed $object Object containing the parameters. + * @param mixed $object_model Object containing the parameters. */ - public function __construct($object = null) { + public function __construct($object_model = null) { - _deprecated_function(self::class, '2.0.0', \WP_Ultimo\Models\Membership::class); + _deprecated_function(self::class, '2.0.0', esc_html(\WP_Ultimo\Models\Membership::class)); - if (is_numeric($object)) { - $object = wu_get_membership($object); + if (is_numeric($object_model)) { + $object_model = wu_get_membership($object_model); } - if ($object) { - $object = get_object_vars($object); + if ($object_model ) { + $object_model = get_object_vars($object_model); } - parent::__construct($object); + parent::__construct($object_model); } /** diff --git a/inc/development/assets/development.css b/inc/development/assets/development.css index b0e169c..e8e6fc3 100644 --- a/inc/development/assets/development.css +++ b/inc/development/assets/development.css @@ -9,7 +9,7 @@ body { width: 200px; content: " "; position: absolute; - top: 30; + top: 30px; background: url("../../../assets/img/logo.webp"); background-size: contain; height: 40px; diff --git a/inc/development/assets/development.scss b/inc/development/assets/development.scss index 29a5d83..b09a43e 100644 --- a/inc/development/assets/development.scss +++ b/inc/development/assets/development.scss @@ -20,7 +20,7 @@ body { width: 200px; content: " "; position: absolute; - top: 30; + top: 30px; background: url("../../../assets/img/logo.webp"); background-size: contain; height: 40px; diff --git a/inc/development/class-toolkit.php b/inc/development/class-toolkit.php index d4f6836..8dcd2ec 100644 --- a/inc/development/class-toolkit.php +++ b/inc/development/class-toolkit.php @@ -125,7 +125,7 @@ class Toolkit { $args = $manager->get_arguments_schema('update' === $context); - file_put_contents(wu_path("/mpb/data/endpoint/.endpoint-$class_name-$context"), json_encode($args)); // phpcs:ignore + file_put_contents(wu_path("/mpb/data/endpoint/.endpoint-$class_name-$context"), wp_json_encode($args)); // phpcs:ignore } /** diff --git a/inc/development/query-monitor/panel/class-overview.php b/inc/development/query-monitor/panel/class-overview.php index 7ce5798..e4597d9 100644 --- a/inc/development/query-monitor/panel/class-overview.php +++ b/inc/development/query-monitor/panel/class-overview.php @@ -43,7 +43,7 @@ class Overview extends \QM_Output_Html { */ public function name() { - return __('WP Multisite WaaS', 'wp-ultimo'); + return __('WP Multisite WaaS', 'wp-multisite-waas'); } /** @@ -105,7 +105,7 @@ class Overview extends \QM_Output_Html { $new_menu = [ 'wp-ultimo' => $this->menu( [ - 'title' => esc_html__('WP Multisite WaaS', 'wp-ultimo'), + 'title' => esc_html__('WP Multisite WaaS', 'wp-multisite-waas'), 'id' => 'wp-ultimo', ] ), diff --git a/inc/domain-mapping/class-helper.php b/inc/domain-mapping/class-helper.php index ec0463d..32a46a5 100644 --- a/inc/domain-mapping/class-helper.php +++ b/inc/domain-mapping/class-helper.php @@ -230,7 +230,7 @@ class Helper { // Log the error message. wu_log_add( 'domain-ssl-checks', - sprintf(__('Certificate Invalid: %s', 'wp-ultimo'), $e->getMessage()), + sprintf(__('Certificate Invalid: %s', 'wp-multisite-waas'), $e->getMessage()), LogLevel::ERROR ); } diff --git a/inc/duplication/functions.php b/inc/duplication/functions.php index 44c418f..d11ea2a 100644 --- a/inc/duplication/functions.php +++ b/inc/duplication/functions.php @@ -75,7 +75,7 @@ if ( ! class_exists('MUCD_Functions') ) { return true; } - return get_blog_option($blog_id, 'mucd_duplicable', 'no') == 'yes'; + return get_blog_option($blog_id, 'mucd_duplicable', 'no') == 'yes'; } /** diff --git a/inc/functions/admin.php b/inc/functions/admin.php index 950807a..27642f2 100644 --- a/inc/functions/admin.php +++ b/inc/functions/admin.php @@ -24,7 +24,7 @@ function wu_render_empty_state($args = []) { [ 'message' => __('This is not yet available...'), 'sub_message' => __('We\'re still working on this part of the product.'), - 'link_label' => __('← Go Back', 'wp-ultimo'), + 'link_label' => __('← Go Back', 'wp-multisite-waas'), 'link_url' => 'javascript:history.go(-1)', 'link_classes' => '', 'link_icon' => '', @@ -61,7 +61,7 @@ function wu_responsive_table_row($args = [], $first_row = [], $second_row = []) $args, [ 'id' => '', - 'title' => __('No Title', 'wp-ultimo'), + 'title' => __('No Title', 'wp-multisite-waas'), 'url' => '#', 'status' => '', 'image' => '', diff --git a/inc/functions/compatiblity.php b/inc/functions/compatiblity.php new file mode 100644 index 0000000..9a465e8 --- /dev/null +++ b/inc/functions/compatiblity.php @@ -0,0 +1,35 @@ +ID ); + * current_user_can_for_site( $site_id, 'edit_post_meta', $post->ID, $meta_key ); + * + * @since 6.7.0 + * + * @param int $site_id Site ID. + * @param string $capability Capability name. + * @param mixed ...$args Optional further parameters, typically starting with an object ID. + * @return bool Whether the user has the given capability. + */ + function current_user_can_for_site($site_id, $capability, ...$args) { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound + return current_user_can_for_blog($site_id, $capability, ...$args); + } +} diff --git a/inc/functions/countries.php b/inc/functions/countries.php index 8c03251..c3d41a7 100644 --- a/inc/functions/countries.php +++ b/inc/functions/countries.php @@ -20,255 +20,255 @@ function wu_get_countries() { return apply_filters( 'wu_get_countries', [ - 'AF' => __('Afghanistan', 'wp-ultimo'), - 'AX' => __('Åland Islands', 'wp-ultimo'), - 'AL' => __('Albania', 'wp-ultimo'), - 'DZ' => __('Algeria', 'wp-ultimo'), - 'AS' => __('American Samoa', 'wp-ultimo'), - 'AD' => __('Andorra', 'wp-ultimo'), - 'AO' => __('Angola', 'wp-ultimo'), - 'AI' => __('Anguilla', 'wp-ultimo'), - 'AQ' => __('Antarctica', 'wp-ultimo'), - 'AG' => __('Antigua and Barbuda', 'wp-ultimo'), - 'AR' => __('Argentina', 'wp-ultimo'), - 'AM' => __('Armenia', 'wp-ultimo'), - 'AW' => __('Aruba', 'wp-ultimo'), - 'AU' => __('Australia', 'wp-ultimo'), - 'AT' => __('Austria', 'wp-ultimo'), - 'AZ' => __('Azerbaijan', 'wp-ultimo'), - 'BS' => __('Bahamas', 'wp-ultimo'), - 'BH' => __('Bahrain', 'wp-ultimo'), - 'BD' => __('Bangladesh', 'wp-ultimo'), - 'BB' => __('Barbados', 'wp-ultimo'), - 'BY' => __('Belarus', 'wp-ultimo'), - 'BE' => __('Belgium', 'wp-ultimo'), - 'PW' => __('Belau', 'wp-ultimo'), - 'BZ' => __('Belize', 'wp-ultimo'), - 'BJ' => __('Benin', 'wp-ultimo'), - 'BM' => __('Bermuda', 'wp-ultimo'), - 'BT' => __('Bhutan', 'wp-ultimo'), - 'BO' => __('Bolivia', 'wp-ultimo'), - 'BQ' => __('Bonaire, Saint Eustatius and Saba', 'wp-ultimo'), - 'BA' => __('Bosnia and Herzegovina', 'wp-ultimo'), - 'BW' => __('Botswana', 'wp-ultimo'), - 'BV' => __('Bouvet Island', 'wp-ultimo'), - 'BR' => __('Brazil', 'wp-ultimo'), - 'IO' => __('British Indian Ocean Territory', 'wp-ultimo'), - 'VG' => __('British Virgin Islands', 'wp-ultimo'), - 'BN' => __('Brunei', 'wp-ultimo'), - 'BG' => __('Bulgaria', 'wp-ultimo'), - 'BF' => __('Burkina Faso', 'wp-ultimo'), - 'BI' => __('Burundi', 'wp-ultimo'), - 'KH' => __('Cambodia', 'wp-ultimo'), - 'CM' => __('Cameroon', 'wp-ultimo'), - 'CA' => __('Canada', 'wp-ultimo'), - 'CV' => __('Cape Verde', 'wp-ultimo'), - 'KY' => __('Cayman Islands', 'wp-ultimo'), - 'CF' => __('Central African Republic', 'wp-ultimo'), - 'TD' => __('Chad', 'wp-ultimo'), - 'CL' => __('Chile', 'wp-ultimo'), - 'CN' => __('China', 'wp-ultimo'), - 'CX' => __('Christmas Island', 'wp-ultimo'), - 'CC' => __('Cocos (Keeling) Islands', 'wp-ultimo'), - 'CO' => __('Colombia', 'wp-ultimo'), - 'KM' => __('Comoros', 'wp-ultimo'), - 'CG' => __('Congo (Brazzaville)', 'wp-ultimo'), - 'CD' => __('Congo (Kinshasa)', 'wp-ultimo'), - 'CK' => __('Cook Islands', 'wp-ultimo'), - 'CR' => __('Costa Rica', 'wp-ultimo'), - 'HR' => __('Croatia', 'wp-ultimo'), - 'CU' => __('Cuba', 'wp-ultimo'), - 'CW' => __('Curaçao', 'wp-ultimo'), - 'CY' => __('Cyprus', 'wp-ultimo'), - 'CZ' => __('Czech Republic', 'wp-ultimo'), - 'DK' => __('Denmark', 'wp-ultimo'), - 'DJ' => __('Djibouti', 'wp-ultimo'), - 'DM' => __('Dominica', 'wp-ultimo'), - 'DO' => __('Dominican Republic', 'wp-ultimo'), - 'EC' => __('Ecuador', 'wp-ultimo'), - 'EG' => __('Egypt', 'wp-ultimo'), - 'SV' => __('El Salvador', 'wp-ultimo'), - 'GQ' => __('Equatorial Guinea', 'wp-ultimo'), - 'ER' => __('Eritrea', 'wp-ultimo'), - 'EE' => __('Estonia', 'wp-ultimo'), - 'ET' => __('Ethiopia', 'wp-ultimo'), - 'FK' => __('Falkland Islands', 'wp-ultimo'), - 'FO' => __('Faroe Islands', 'wp-ultimo'), - 'FJ' => __('Fiji', 'wp-ultimo'), - 'FI' => __('Finland', 'wp-ultimo'), - 'FR' => __('France', 'wp-ultimo'), - 'GF' => __('French Guiana', 'wp-ultimo'), - 'PF' => __('French Polynesia', 'wp-ultimo'), - 'TF' => __('French Southern Territories', 'wp-ultimo'), - 'GA' => __('Gabon', 'wp-ultimo'), - 'GM' => __('Gambia', 'wp-ultimo'), - 'GE' => __('Georgia', 'wp-ultimo'), - 'DE' => __('Germany', 'wp-ultimo'), - 'GH' => __('Ghana', 'wp-ultimo'), - 'GI' => __('Gibraltar', 'wp-ultimo'), - 'GR' => __('Greece', 'wp-ultimo'), - 'GL' => __('Greenland', 'wp-ultimo'), - 'GD' => __('Grenada', 'wp-ultimo'), - 'GP' => __('Guadeloupe', 'wp-ultimo'), - 'GU' => __('Guam', 'wp-ultimo'), - 'GT' => __('Guatemala', 'wp-ultimo'), - 'GG' => __('Guernsey', 'wp-ultimo'), - 'GN' => __('Guinea', 'wp-ultimo'), - 'GW' => __('Guinea-Bissau', 'wp-ultimo'), - 'GY' => __('Guyana', 'wp-ultimo'), - 'HT' => __('Haiti', 'wp-ultimo'), - 'HM' => __('Heard Island and McDonald Islands', 'wp-ultimo'), - 'HN' => __('Honduras', 'wp-ultimo'), - 'HK' => __('Hong Kong', 'wp-ultimo'), - 'HU' => __('Hungary', 'wp-ultimo'), - 'IS' => __('Iceland', 'wp-ultimo'), - 'IN' => __('India', 'wp-ultimo'), - 'ID' => __('Indonesia', 'wp-ultimo'), - 'IR' => __('Iran', 'wp-ultimo'), - 'IQ' => __('Iraq', 'wp-ultimo'), - 'IE' => __('Ireland', 'wp-ultimo'), - 'IM' => __('Isle of Man', 'wp-ultimo'), - 'IL' => __('Israel', 'wp-ultimo'), - 'IT' => __('Italy', 'wp-ultimo'), - 'CI' => __('Ivory Coast', 'wp-ultimo'), - 'JM' => __('Jamaica', 'wp-ultimo'), - 'JP' => __('Japan', 'wp-ultimo'), - 'JE' => __('Jersey', 'wp-ultimo'), - 'JO' => __('Jordan', 'wp-ultimo'), - 'KZ' => __('Kazakhstan', 'wp-ultimo'), - 'KE' => __('Kenya', 'wp-ultimo'), - 'KI' => __('Kiribati', 'wp-ultimo'), - 'KW' => __('Kuwait', 'wp-ultimo'), - 'KG' => __('Kyrgyzstan', 'wp-ultimo'), - 'LA' => __('Laos', 'wp-ultimo'), - 'LV' => __('Latvia', 'wp-ultimo'), - 'LB' => __('Lebanon', 'wp-ultimo'), - 'LS' => __('Lesotho', 'wp-ultimo'), - 'LR' => __('Liberia', 'wp-ultimo'), - 'LY' => __('Libya', 'wp-ultimo'), - 'LI' => __('Liechtenstein', 'wp-ultimo'), - 'LT' => __('Lithuania', 'wp-ultimo'), - 'LU' => __('Luxembourg', 'wp-ultimo'), - 'MO' => __('Macao S.A.R., China', 'wp-ultimo'), - 'MK' => __('Macedonia', 'wp-ultimo'), - 'MG' => __('Madagascar', 'wp-ultimo'), - 'MW' => __('Malawi', 'wp-ultimo'), - 'MY' => __('Malaysia', 'wp-ultimo'), - 'MV' => __('Maldives', 'wp-ultimo'), - 'ML' => __('Mali', 'wp-ultimo'), - 'MT' => __('Malta', 'wp-ultimo'), - 'MH' => __('Marshall Islands', 'wp-ultimo'), - 'MQ' => __('Martinique', 'wp-ultimo'), - 'MR' => __('Mauritania', 'wp-ultimo'), - 'MU' => __('Mauritius', 'wp-ultimo'), - 'YT' => __('Mayotte', 'wp-ultimo'), - 'MX' => __('Mexico', 'wp-ultimo'), - 'FM' => __('Micronesia', 'wp-ultimo'), - 'MD' => __('Moldova', 'wp-ultimo'), - 'MC' => __('Monaco', 'wp-ultimo'), - 'MN' => __('Mongolia', 'wp-ultimo'), - 'ME' => __('Montenegro', 'wp-ultimo'), - 'MS' => __('Montserrat', 'wp-ultimo'), - 'MA' => __('Morocco', 'wp-ultimo'), - 'MZ' => __('Mozambique', 'wp-ultimo'), - 'MM' => __('Myanmar', 'wp-ultimo'), - 'NA' => __('Namibia', 'wp-ultimo'), - 'NR' => __('Nauru', 'wp-ultimo'), - 'NP' => __('Nepal', 'wp-ultimo'), - 'NL' => __('Netherlands', 'wp-ultimo'), - 'NC' => __('New Caledonia', 'wp-ultimo'), - 'NZ' => __('New Zealand', 'wp-ultimo'), - 'NI' => __('Nicaragua', 'wp-ultimo'), - 'NE' => __('Niger', 'wp-ultimo'), - 'NG' => __('Nigeria', 'wp-ultimo'), - 'NU' => __('Niue', 'wp-ultimo'), - 'NF' => __('Norfolk Island', 'wp-ultimo'), - 'MP' => __('Northern Mariana Islands', 'wp-ultimo'), - 'KP' => __('North Korea', 'wp-ultimo'), - 'NO' => __('Norway', 'wp-ultimo'), - 'OM' => __('Oman', 'wp-ultimo'), - 'PK' => __('Pakistan', 'wp-ultimo'), - 'PS' => __('Palestinian Territory', 'wp-ultimo'), - 'PA' => __('Panama', 'wp-ultimo'), - 'PG' => __('Papua New Guinea', 'wp-ultimo'), - 'PY' => __('Paraguay', 'wp-ultimo'), - 'PE' => __('Peru', 'wp-ultimo'), - 'PH' => __('Philippines', 'wp-ultimo'), - 'PN' => __('Pitcairn', 'wp-ultimo'), - 'PL' => __('Poland', 'wp-ultimo'), - 'PT' => __('Portugal', 'wp-ultimo'), - 'PR' => __('Puerto Rico', 'wp-ultimo'), - 'QA' => __('Qatar', 'wp-ultimo'), - 'RE' => __('Reunion', 'wp-ultimo'), - 'RO' => __('Romania', 'wp-ultimo'), - 'RU' => __('Russia', 'wp-ultimo'), - 'RW' => __('Rwanda', 'wp-ultimo'), - 'BL' => __('Saint Barthélemy', 'wp-ultimo'), - 'SH' => __('Saint Helena', 'wp-ultimo'), - 'KN' => __('Saint Kitts and Nevis', 'wp-ultimo'), - 'LC' => __('Saint Lucia', 'wp-ultimo'), - 'MF' => __('Saint Martin (French part)', 'wp-ultimo'), - 'SX' => __('Saint Martin (Dutch part)', 'wp-ultimo'), - 'PM' => __('Saint Pierre and Miquelon', 'wp-ultimo'), - 'VC' => __('Saint Vincent and the Grenadines', 'wp-ultimo'), - 'SM' => __('San Marino', 'wp-ultimo'), - 'ST' => __('São Tomé and Príncipe', 'wp-ultimo'), - 'SA' => __('Saudi Arabia', 'wp-ultimo'), - 'SN' => __('Senegal', 'wp-ultimo'), - 'RS' => __('Serbia', 'wp-ultimo'), - 'SC' => __('Seychelles', 'wp-ultimo'), - 'SL' => __('Sierra Leone', 'wp-ultimo'), - 'SG' => __('Singapore', 'wp-ultimo'), - 'SK' => __('Slovakia', 'wp-ultimo'), - 'SI' => __('Slovenia', 'wp-ultimo'), - 'SB' => __('Solomon Islands', 'wp-ultimo'), - 'SO' => __('Somalia', 'wp-ultimo'), - 'ZA' => __('South Africa', 'wp-ultimo'), - 'GS' => __('South Georgia/Sandwich Islands', 'wp-ultimo'), - 'KR' => __('South Korea', 'wp-ultimo'), - 'SS' => __('South Sudan', 'wp-ultimo'), - 'ES' => __('Spain', 'wp-ultimo'), - 'LK' => __('Sri Lanka', 'wp-ultimo'), - 'SD' => __('Sudan', 'wp-ultimo'), - 'SR' => __('Suriname', 'wp-ultimo'), - 'SJ' => __('Svalbard and Jan Mayen', 'wp-ultimo'), - 'SZ' => __('Swaziland', 'wp-ultimo'), - 'SE' => __('Sweden', 'wp-ultimo'), - 'CH' => __('Switzerland', 'wp-ultimo'), - 'SY' => __('Syria', 'wp-ultimo'), - 'TW' => __('Taiwan', 'wp-ultimo'), - 'TJ' => __('Tajikistan', 'wp-ultimo'), - 'TZ' => __('Tanzania', 'wp-ultimo'), - 'TH' => __('Thailand', 'wp-ultimo'), - 'TL' => __('Timor-Leste', 'wp-ultimo'), - 'TG' => __('Togo', 'wp-ultimo'), - 'TK' => __('Tokelau', 'wp-ultimo'), - 'TO' => __('Tonga', 'wp-ultimo'), - 'TT' => __('Trinidad and Tobago', 'wp-ultimo'), - 'TN' => __('Tunisia', 'wp-ultimo'), - 'TR' => __('Turkey', 'wp-ultimo'), - 'TM' => __('Turkmenistan', 'wp-ultimo'), - 'TC' => __('Turks and Caicos Islands', 'wp-ultimo'), - 'TV' => __('Tuvalu', 'wp-ultimo'), - 'UG' => __('Uganda', 'wp-ultimo'), - 'UA' => __('Ukraine', 'wp-ultimo'), - 'AE' => __('United Arab Emirates', 'wp-ultimo'), - 'GB' => __('United Kingdom (UK)', 'wp-ultimo'), - 'US' => __('United States (US)', 'wp-ultimo'), - 'UM' => __('United States (US) Minor Outlying Islands', 'wp-ultimo'), - 'VI' => __('United States (US) Virgin Islands', 'wp-ultimo'), - 'UY' => __('Uruguay', 'wp-ultimo'), - 'UZ' => __('Uzbekistan', 'wp-ultimo'), - 'VU' => __('Vanuatu', 'wp-ultimo'), - 'VA' => __('Vatican', 'wp-ultimo'), - 'VE' => __('Venezuela', 'wp-ultimo'), - 'VN' => __('Vietnam', 'wp-ultimo'), - 'WF' => __('Wallis and Futuna', 'wp-ultimo'), - 'EH' => __('Western Sahara', 'wp-ultimo'), - 'WS' => __('Samoa', 'wp-ultimo'), - 'YE' => __('Yemen', 'wp-ultimo'), - 'ZM' => __('Zambia', 'wp-ultimo'), - 'ZW' => __('Zimbabwe', 'wp-ultimo'), + 'AF' => __('Afghanistan', 'wp-multisite-waas'), + 'AX' => __('Åland Islands', 'wp-multisite-waas'), + 'AL' => __('Albania', 'wp-multisite-waas'), + 'DZ' => __('Algeria', 'wp-multisite-waas'), + 'AS' => __('American Samoa', 'wp-multisite-waas'), + 'AD' => __('Andorra', 'wp-multisite-waas'), + 'AO' => __('Angola', 'wp-multisite-waas'), + 'AI' => __('Anguilla', 'wp-multisite-waas'), + 'AQ' => __('Antarctica', 'wp-multisite-waas'), + 'AG' => __('Antigua and Barbuda', 'wp-multisite-waas'), + 'AR' => __('Argentina', 'wp-multisite-waas'), + 'AM' => __('Armenia', 'wp-multisite-waas'), + 'AW' => __('Aruba', 'wp-multisite-waas'), + 'AU' => __('Australia', 'wp-multisite-waas'), + 'AT' => __('Austria', 'wp-multisite-waas'), + 'AZ' => __('Azerbaijan', 'wp-multisite-waas'), + 'BS' => __('Bahamas', 'wp-multisite-waas'), + 'BH' => __('Bahrain', 'wp-multisite-waas'), + 'BD' => __('Bangladesh', 'wp-multisite-waas'), + 'BB' => __('Barbados', 'wp-multisite-waas'), + 'BY' => __('Belarus', 'wp-multisite-waas'), + 'BE' => __('Belgium', 'wp-multisite-waas'), + 'PW' => __('Belau', 'wp-multisite-waas'), + 'BZ' => __('Belize', 'wp-multisite-waas'), + 'BJ' => __('Benin', 'wp-multisite-waas'), + 'BM' => __('Bermuda', 'wp-multisite-waas'), + 'BT' => __('Bhutan', 'wp-multisite-waas'), + 'BO' => __('Bolivia', 'wp-multisite-waas'), + 'BQ' => __('Bonaire, Saint Eustatius and Saba', 'wp-multisite-waas'), + 'BA' => __('Bosnia and Herzegovina', 'wp-multisite-waas'), + 'BW' => __('Botswana', 'wp-multisite-waas'), + 'BV' => __('Bouvet Island', 'wp-multisite-waas'), + 'BR' => __('Brazil', 'wp-multisite-waas'), + 'IO' => __('British Indian Ocean Territory', 'wp-multisite-waas'), + 'VG' => __('British Virgin Islands', 'wp-multisite-waas'), + 'BN' => __('Brunei', 'wp-multisite-waas'), + 'BG' => __('Bulgaria', 'wp-multisite-waas'), + 'BF' => __('Burkina Faso', 'wp-multisite-waas'), + 'BI' => __('Burundi', 'wp-multisite-waas'), + 'KH' => __('Cambodia', 'wp-multisite-waas'), + 'CM' => __('Cameroon', 'wp-multisite-waas'), + 'CA' => __('Canada', 'wp-multisite-waas'), + 'CV' => __('Cape Verde', 'wp-multisite-waas'), + 'KY' => __('Cayman Islands', 'wp-multisite-waas'), + 'CF' => __('Central African Republic', 'wp-multisite-waas'), + 'TD' => __('Chad', 'wp-multisite-waas'), + 'CL' => __('Chile', 'wp-multisite-waas'), + 'CN' => __('China', 'wp-multisite-waas'), + 'CX' => __('Christmas Island', 'wp-multisite-waas'), + 'CC' => __('Cocos (Keeling) Islands', 'wp-multisite-waas'), + 'CO' => __('Colombia', 'wp-multisite-waas'), + 'KM' => __('Comoros', 'wp-multisite-waas'), + 'CG' => __('Congo (Brazzaville)', 'wp-multisite-waas'), + 'CD' => __('Congo (Kinshasa)', 'wp-multisite-waas'), + 'CK' => __('Cook Islands', 'wp-multisite-waas'), + 'CR' => __('Costa Rica', 'wp-multisite-waas'), + 'HR' => __('Croatia', 'wp-multisite-waas'), + 'CU' => __('Cuba', 'wp-multisite-waas'), + 'CW' => __('Curaçao', 'wp-multisite-waas'), + 'CY' => __('Cyprus', 'wp-multisite-waas'), + 'CZ' => __('Czech Republic', 'wp-multisite-waas'), + 'DK' => __('Denmark', 'wp-multisite-waas'), + 'DJ' => __('Djibouti', 'wp-multisite-waas'), + 'DM' => __('Dominica', 'wp-multisite-waas'), + 'DO' => __('Dominican Republic', 'wp-multisite-waas'), + 'EC' => __('Ecuador', 'wp-multisite-waas'), + 'EG' => __('Egypt', 'wp-multisite-waas'), + 'SV' => __('El Salvador', 'wp-multisite-waas'), + 'GQ' => __('Equatorial Guinea', 'wp-multisite-waas'), + 'ER' => __('Eritrea', 'wp-multisite-waas'), + 'EE' => __('Estonia', 'wp-multisite-waas'), + 'ET' => __('Ethiopia', 'wp-multisite-waas'), + 'FK' => __('Falkland Islands', 'wp-multisite-waas'), + 'FO' => __('Faroe Islands', 'wp-multisite-waas'), + 'FJ' => __('Fiji', 'wp-multisite-waas'), + 'FI' => __('Finland', 'wp-multisite-waas'), + 'FR' => __('France', 'wp-multisite-waas'), + 'GF' => __('French Guiana', 'wp-multisite-waas'), + 'PF' => __('French Polynesia', 'wp-multisite-waas'), + 'TF' => __('French Southern Territories', 'wp-multisite-waas'), + 'GA' => __('Gabon', 'wp-multisite-waas'), + 'GM' => __('Gambia', 'wp-multisite-waas'), + 'GE' => __('Georgia', 'wp-multisite-waas'), + 'DE' => __('Germany', 'wp-multisite-waas'), + 'GH' => __('Ghana', 'wp-multisite-waas'), + 'GI' => __('Gibraltar', 'wp-multisite-waas'), + 'GR' => __('Greece', 'wp-multisite-waas'), + 'GL' => __('Greenland', 'wp-multisite-waas'), + 'GD' => __('Grenada', 'wp-multisite-waas'), + 'GP' => __('Guadeloupe', 'wp-multisite-waas'), + 'GU' => __('Guam', 'wp-multisite-waas'), + 'GT' => __('Guatemala', 'wp-multisite-waas'), + 'GG' => __('Guernsey', 'wp-multisite-waas'), + 'GN' => __('Guinea', 'wp-multisite-waas'), + 'GW' => __('Guinea-Bissau', 'wp-multisite-waas'), + 'GY' => __('Guyana', 'wp-multisite-waas'), + 'HT' => __('Haiti', 'wp-multisite-waas'), + 'HM' => __('Heard Island and McDonald Islands', 'wp-multisite-waas'), + 'HN' => __('Honduras', 'wp-multisite-waas'), + 'HK' => __('Hong Kong', 'wp-multisite-waas'), + 'HU' => __('Hungary', 'wp-multisite-waas'), + 'IS' => __('Iceland', 'wp-multisite-waas'), + 'IN' => __('India', 'wp-multisite-waas'), + 'ID' => __('Indonesia', 'wp-multisite-waas'), + 'IR' => __('Iran', 'wp-multisite-waas'), + 'IQ' => __('Iraq', 'wp-multisite-waas'), + 'IE' => __('Ireland', 'wp-multisite-waas'), + 'IM' => __('Isle of Man', 'wp-multisite-waas'), + 'IL' => __('Israel', 'wp-multisite-waas'), + 'IT' => __('Italy', 'wp-multisite-waas'), + 'CI' => __('Ivory Coast', 'wp-multisite-waas'), + 'JM' => __('Jamaica', 'wp-multisite-waas'), + 'JP' => __('Japan', 'wp-multisite-waas'), + 'JE' => __('Jersey', 'wp-multisite-waas'), + 'JO' => __('Jordan', 'wp-multisite-waas'), + 'KZ' => __('Kazakhstan', 'wp-multisite-waas'), + 'KE' => __('Kenya', 'wp-multisite-waas'), + 'KI' => __('Kiribati', 'wp-multisite-waas'), + 'KW' => __('Kuwait', 'wp-multisite-waas'), + 'KG' => __('Kyrgyzstan', 'wp-multisite-waas'), + 'LA' => __('Laos', 'wp-multisite-waas'), + 'LV' => __('Latvia', 'wp-multisite-waas'), + 'LB' => __('Lebanon', 'wp-multisite-waas'), + 'LS' => __('Lesotho', 'wp-multisite-waas'), + 'LR' => __('Liberia', 'wp-multisite-waas'), + 'LY' => __('Libya', 'wp-multisite-waas'), + 'LI' => __('Liechtenstein', 'wp-multisite-waas'), + 'LT' => __('Lithuania', 'wp-multisite-waas'), + 'LU' => __('Luxembourg', 'wp-multisite-waas'), + 'MO' => __('Macao S.A.R., China', 'wp-multisite-waas'), + 'MK' => __('Macedonia', 'wp-multisite-waas'), + 'MG' => __('Madagascar', 'wp-multisite-waas'), + 'MW' => __('Malawi', 'wp-multisite-waas'), + 'MY' => __('Malaysia', 'wp-multisite-waas'), + 'MV' => __('Maldives', 'wp-multisite-waas'), + 'ML' => __('Mali', 'wp-multisite-waas'), + 'MT' => __('Malta', 'wp-multisite-waas'), + 'MH' => __('Marshall Islands', 'wp-multisite-waas'), + 'MQ' => __('Martinique', 'wp-multisite-waas'), + 'MR' => __('Mauritania', 'wp-multisite-waas'), + 'MU' => __('Mauritius', 'wp-multisite-waas'), + 'YT' => __('Mayotte', 'wp-multisite-waas'), + 'MX' => __('Mexico', 'wp-multisite-waas'), + 'FM' => __('Micronesia', 'wp-multisite-waas'), + 'MD' => __('Moldova', 'wp-multisite-waas'), + 'MC' => __('Monaco', 'wp-multisite-waas'), + 'MN' => __('Mongolia', 'wp-multisite-waas'), + 'ME' => __('Montenegro', 'wp-multisite-waas'), + 'MS' => __('Montserrat', 'wp-multisite-waas'), + 'MA' => __('Morocco', 'wp-multisite-waas'), + 'MZ' => __('Mozambique', 'wp-multisite-waas'), + 'MM' => __('Myanmar', 'wp-multisite-waas'), + 'NA' => __('Namibia', 'wp-multisite-waas'), + 'NR' => __('Nauru', 'wp-multisite-waas'), + 'NP' => __('Nepal', 'wp-multisite-waas'), + 'NL' => __('Netherlands', 'wp-multisite-waas'), + 'NC' => __('New Caledonia', 'wp-multisite-waas'), + 'NZ' => __('New Zealand', 'wp-multisite-waas'), + 'NI' => __('Nicaragua', 'wp-multisite-waas'), + 'NE' => __('Niger', 'wp-multisite-waas'), + 'NG' => __('Nigeria', 'wp-multisite-waas'), + 'NU' => __('Niue', 'wp-multisite-waas'), + 'NF' => __('Norfolk Island', 'wp-multisite-waas'), + 'MP' => __('Northern Mariana Islands', 'wp-multisite-waas'), + 'KP' => __('North Korea', 'wp-multisite-waas'), + 'NO' => __('Norway', 'wp-multisite-waas'), + 'OM' => __('Oman', 'wp-multisite-waas'), + 'PK' => __('Pakistan', 'wp-multisite-waas'), + 'PS' => __('Palestinian Territory', 'wp-multisite-waas'), + 'PA' => __('Panama', 'wp-multisite-waas'), + 'PG' => __('Papua New Guinea', 'wp-multisite-waas'), + 'PY' => __('Paraguay', 'wp-multisite-waas'), + 'PE' => __('Peru', 'wp-multisite-waas'), + 'PH' => __('Philippines', 'wp-multisite-waas'), + 'PN' => __('Pitcairn', 'wp-multisite-waas'), + 'PL' => __('Poland', 'wp-multisite-waas'), + 'PT' => __('Portugal', 'wp-multisite-waas'), + 'PR' => __('Puerto Rico', 'wp-multisite-waas'), + 'QA' => __('Qatar', 'wp-multisite-waas'), + 'RE' => __('Reunion', 'wp-multisite-waas'), + 'RO' => __('Romania', 'wp-multisite-waas'), + 'RU' => __('Russia', 'wp-multisite-waas'), + 'RW' => __('Rwanda', 'wp-multisite-waas'), + 'BL' => __('Saint Barthélemy', 'wp-multisite-waas'), + 'SH' => __('Saint Helena', 'wp-multisite-waas'), + 'KN' => __('Saint Kitts and Nevis', 'wp-multisite-waas'), + 'LC' => __('Saint Lucia', 'wp-multisite-waas'), + 'MF' => __('Saint Martin (French part)', 'wp-multisite-waas'), + 'SX' => __('Saint Martin (Dutch part)', 'wp-multisite-waas'), + 'PM' => __('Saint Pierre and Miquelon', 'wp-multisite-waas'), + 'VC' => __('Saint Vincent and the Grenadines', 'wp-multisite-waas'), + 'SM' => __('San Marino', 'wp-multisite-waas'), + 'ST' => __('São Tomé and Príncipe', 'wp-multisite-waas'), + 'SA' => __('Saudi Arabia', 'wp-multisite-waas'), + 'SN' => __('Senegal', 'wp-multisite-waas'), + 'RS' => __('Serbia', 'wp-multisite-waas'), + 'SC' => __('Seychelles', 'wp-multisite-waas'), + 'SL' => __('Sierra Leone', 'wp-multisite-waas'), + 'SG' => __('Singapore', 'wp-multisite-waas'), + 'SK' => __('Slovakia', 'wp-multisite-waas'), + 'SI' => __('Slovenia', 'wp-multisite-waas'), + 'SB' => __('Solomon Islands', 'wp-multisite-waas'), + 'SO' => __('Somalia', 'wp-multisite-waas'), + 'ZA' => __('South Africa', 'wp-multisite-waas'), + 'GS' => __('South Georgia/Sandwich Islands', 'wp-multisite-waas'), + 'KR' => __('South Korea', 'wp-multisite-waas'), + 'SS' => __('South Sudan', 'wp-multisite-waas'), + 'ES' => __('Spain', 'wp-multisite-waas'), + 'LK' => __('Sri Lanka', 'wp-multisite-waas'), + 'SD' => __('Sudan', 'wp-multisite-waas'), + 'SR' => __('Suriname', 'wp-multisite-waas'), + 'SJ' => __('Svalbard and Jan Mayen', 'wp-multisite-waas'), + 'SZ' => __('Swaziland', 'wp-multisite-waas'), + 'SE' => __('Sweden', 'wp-multisite-waas'), + 'CH' => __('Switzerland', 'wp-multisite-waas'), + 'SY' => __('Syria', 'wp-multisite-waas'), + 'TW' => __('Taiwan', 'wp-multisite-waas'), + 'TJ' => __('Tajikistan', 'wp-multisite-waas'), + 'TZ' => __('Tanzania', 'wp-multisite-waas'), + 'TH' => __('Thailand', 'wp-multisite-waas'), + 'TL' => __('Timor-Leste', 'wp-multisite-waas'), + 'TG' => __('Togo', 'wp-multisite-waas'), + 'TK' => __('Tokelau', 'wp-multisite-waas'), + 'TO' => __('Tonga', 'wp-multisite-waas'), + 'TT' => __('Trinidad and Tobago', 'wp-multisite-waas'), + 'TN' => __('Tunisia', 'wp-multisite-waas'), + 'TR' => __('Turkey', 'wp-multisite-waas'), + 'TM' => __('Turkmenistan', 'wp-multisite-waas'), + 'TC' => __('Turks and Caicos Islands', 'wp-multisite-waas'), + 'TV' => __('Tuvalu', 'wp-multisite-waas'), + 'UG' => __('Uganda', 'wp-multisite-waas'), + 'UA' => __('Ukraine', 'wp-multisite-waas'), + 'AE' => __('United Arab Emirates', 'wp-multisite-waas'), + 'GB' => __('United Kingdom (UK)', 'wp-multisite-waas'), + 'US' => __('United States (US)', 'wp-multisite-waas'), + 'UM' => __('United States (US) Minor Outlying Islands', 'wp-multisite-waas'), + 'VI' => __('United States (US) Virgin Islands', 'wp-multisite-waas'), + 'UY' => __('Uruguay', 'wp-multisite-waas'), + 'UZ' => __('Uzbekistan', 'wp-multisite-waas'), + 'VU' => __('Vanuatu', 'wp-multisite-waas'), + 'VA' => __('Vatican', 'wp-multisite-waas'), + 'VE' => __('Venezuela', 'wp-multisite-waas'), + 'VN' => __('Vietnam', 'wp-multisite-waas'), + 'WF' => __('Wallis and Futuna', 'wp-multisite-waas'), + 'EH' => __('Western Sahara', 'wp-multisite-waas'), + 'WS' => __('Samoa', 'wp-multisite-waas'), + 'YE' => __('Yemen', 'wp-multisite-waas'), + 'ZM' => __('Zambia', 'wp-multisite-waas'), + 'ZW' => __('Zimbabwe', 'wp-multisite-waas'), ] ); } @@ -283,7 +283,7 @@ function wu_get_countries_as_options() { return array_merge( [ - '' => __('Select Country', 'wp-ultimo'), + '' => __('Select Country', 'wp-multisite-waas'), ], wu_get_countries() ); @@ -397,7 +397,7 @@ function wu_get_country_cities($country_code, $states, $key_name = 'id', $value_ */ function wu_get_country_name($country_code) { - $country_name = wu_get_isset(wu_get_countries(), $country_code, __('Not found', 'wp-ultimo')); + $country_name = wu_get_isset(wu_get_countries(), $country_code, __('Not found', 'wp-multisite-waas')); return apply_filters('wu_get_country_name', $country_name, $country_code); } diff --git a/inc/functions/currency.php b/inc/functions/currency.php index 4adfffe..fbf8bbc 100644 --- a/inc/functions/currency.php +++ b/inc/functions/currency.php @@ -19,55 +19,55 @@ function wu_get_currencies(): array { $currencies = apply_filters( 'wu_currencies', [ - 'AED' => __('United Arab Emirates Dirham', 'wp-ultimo'), - 'ARS' => __('Argentine Peso', 'wp-ultimo'), - 'AUD' => __('Australian Dollars', 'wp-ultimo'), - 'BDT' => __('Bangladeshi Taka', 'wp-ultimo'), - 'BRL' => __('Brazilian Real', 'wp-ultimo'), - 'BGN' => __('Bulgarian Lev', 'wp-ultimo'), - 'CAD' => __('Canadian Dollars', 'wp-ultimo'), - 'CLP' => __('Chilean Peso', 'wp-ultimo'), - 'CNY' => __('Chinese Yuan', 'wp-ultimo'), - 'COP' => __('Colombian Peso', 'wp-ultimo'), - 'CZK' => __('Czech Koruna', 'wp-ultimo'), - 'DKK' => __('Danish Krone', 'wp-ultimo'), - 'DOP' => __('Dominican Peso', 'wp-ultimo'), - 'EUR' => __('Euros', 'wp-ultimo'), - 'HKD' => __('Hong Kong Dollar', 'wp-ultimo'), - 'HRK' => __('Croatia kuna', 'wp-ultimo'), - 'HUF' => __('Hungarian Forint', 'wp-ultimo'), - 'ISK' => __('Icelandic krona', 'wp-ultimo'), - 'IDR' => __('Indonesia Rupiah', 'wp-ultimo'), - 'INR' => __('Indian Rupee', 'wp-ultimo'), - 'NPR' => __('Nepali Rupee', 'wp-ultimo'), - 'ILS' => __('Israeli Shekel', 'wp-ultimo'), - 'JPY' => __('Japanese Yen', 'wp-ultimo'), - 'KES' => __('Kenyan Shilling', 'wp-ultimo'), - 'KIP' => __('Lao Kip', 'wp-ultimo'), - 'KRW' => __('South Korean Won', 'wp-ultimo'), - 'MYR' => __('Malaysian Ringgits', 'wp-ultimo'), - 'MXN' => __('Mexican Peso', 'wp-ultimo'), - 'NGN' => __('Nigerian Naira', 'wp-ultimo'), - 'NOK' => __('Norwegian Krone', 'wp-ultimo'), - 'NZD' => __('New Zealand Dollar', 'wp-ultimo'), - 'PYG' => __('Paraguayan Guaraní', 'wp-ultimo'), - 'PHP' => __('Philippine Pesos', 'wp-ultimo'), - 'PLN' => __('Polish Zloty', 'wp-ultimo'), - 'GBP' => __('Pounds Sterling', 'wp-ultimo'), - 'RON' => __('Romanian Leu', 'wp-ultimo'), - 'RUB' => __('Russian Ruble', 'wp-ultimo'), - 'SGD' => __('Singapore Dollar', 'wp-ultimo'), - 'ZAR' => __('South African rand', 'wp-ultimo'), - 'SAR' => __('Saudi Riyal', 'wp-ultimo'), - 'SEK' => __('Swedish Krona', 'wp-ultimo'), - 'CHF' => __('Swiss Franc', 'wp-ultimo'), - 'TWD' => __('Taiwan New Dollars', 'wp-ultimo'), - 'THB' => __('Thai Baht', 'wp-ultimo'), - 'TRY' => __('Turkish Lira', 'wp-ultimo'), - 'UAH' => __('Ukrainian Hryvnia', 'wp-ultimo'), - 'USD' => __('US Dollars', 'wp-ultimo'), - 'VND' => __('Vietnamese Dong', 'wp-ultimo'), - 'EGP' => __('Egyptian Pound', 'wp-ultimo'), + 'AED' => __('United Arab Emirates Dirham', 'wp-multisite-waas'), + 'ARS' => __('Argentine Peso', 'wp-multisite-waas'), + 'AUD' => __('Australian Dollars', 'wp-multisite-waas'), + 'BDT' => __('Bangladeshi Taka', 'wp-multisite-waas'), + 'BRL' => __('Brazilian Real', 'wp-multisite-waas'), + 'BGN' => __('Bulgarian Lev', 'wp-multisite-waas'), + 'CAD' => __('Canadian Dollars', 'wp-multisite-waas'), + 'CLP' => __('Chilean Peso', 'wp-multisite-waas'), + 'CNY' => __('Chinese Yuan', 'wp-multisite-waas'), + 'COP' => __('Colombian Peso', 'wp-multisite-waas'), + 'CZK' => __('Czech Koruna', 'wp-multisite-waas'), + 'DKK' => __('Danish Krone', 'wp-multisite-waas'), + 'DOP' => __('Dominican Peso', 'wp-multisite-waas'), + 'EUR' => __('Euros', 'wp-multisite-waas'), + 'HKD' => __('Hong Kong Dollar', 'wp-multisite-waas'), + 'HRK' => __('Croatia kuna', 'wp-multisite-waas'), + 'HUF' => __('Hungarian Forint', 'wp-multisite-waas'), + 'ISK' => __('Icelandic krona', 'wp-multisite-waas'), + 'IDR' => __('Indonesia Rupiah', 'wp-multisite-waas'), + 'INR' => __('Indian Rupee', 'wp-multisite-waas'), + 'NPR' => __('Nepali Rupee', 'wp-multisite-waas'), + 'ILS' => __('Israeli Shekel', 'wp-multisite-waas'), + 'JPY' => __('Japanese Yen', 'wp-multisite-waas'), + 'KES' => __('Kenyan Shilling', 'wp-multisite-waas'), + 'KIP' => __('Lao Kip', 'wp-multisite-waas'), + 'KRW' => __('South Korean Won', 'wp-multisite-waas'), + 'MYR' => __('Malaysian Ringgits', 'wp-multisite-waas'), + 'MXN' => __('Mexican Peso', 'wp-multisite-waas'), + 'NGN' => __('Nigerian Naira', 'wp-multisite-waas'), + 'NOK' => __('Norwegian Krone', 'wp-multisite-waas'), + 'NZD' => __('New Zealand Dollar', 'wp-multisite-waas'), + 'PYG' => __('Paraguayan Guaraní', 'wp-multisite-waas'), + 'PHP' => __('Philippine Pesos', 'wp-multisite-waas'), + 'PLN' => __('Polish Zloty', 'wp-multisite-waas'), + 'GBP' => __('Pounds Sterling', 'wp-multisite-waas'), + 'RON' => __('Romanian Leu', 'wp-multisite-waas'), + 'RUB' => __('Russian Ruble', 'wp-multisite-waas'), + 'SGD' => __('Singapore Dollar', 'wp-multisite-waas'), + 'ZAR' => __('South African rand', 'wp-multisite-waas'), + 'SAR' => __('Saudi Riyal', 'wp-multisite-waas'), + 'SEK' => __('Swedish Krona', 'wp-multisite-waas'), + 'CHF' => __('Swiss Franc', 'wp-multisite-waas'), + 'TWD' => __('Taiwan New Dollars', 'wp-multisite-waas'), + 'THB' => __('Thai Baht', 'wp-multisite-waas'), + 'TRY' => __('Turkish Lira', 'wp-multisite-waas'), + 'UAH' => __('Ukrainian Hryvnia', 'wp-multisite-waas'), + 'USD' => __('US Dollars', 'wp-multisite-waas'), + 'VND' => __('Vietnamese Dong', 'wp-multisite-waas'), + 'EGP' => __('Egyptian Pound', 'wp-multisite-waas'), ] ); @@ -85,7 +85,7 @@ function wu_get_currencies(): array { function wu_get_currency_symbol($currency = '') { if ( ! $currency) { - $currency = wu_get_setting('currency_symbol'); + $currency = wu_get_setting('currency_symbol', 'USD'); } switch ($currency) { case 'AED': $currency_symbol = 'د.إ'; @@ -252,10 +252,10 @@ function wu_format_currency($value, $currency = null, $format = null, $thousands $atts = wp_parse_args( $args, [ - 'currency' => wu_get_setting('currency_symbol'), - 'format' => wu_get_setting('currency_position'), - 'thousands_sep' => wu_get_setting('thousand_separator'), - 'decimal_sep' => wu_get_setting('decimal_separator'), + 'currency' => wu_get_setting('currency_symbol', 'USD'), + 'format' => wu_get_setting('currency_position', '%s %v'), + 'thousands_sep' => wu_get_setting('thousand_separator', ','), + 'decimal_sep' => wu_get_setting('decimal_separator', '.'), 'precision' => (int) wu_get_setting('precision', 2), ] ); diff --git a/inc/functions/customer.php b/inc/functions/customer.php index c581ffe..bdd0312 100644 --- a/inc/functions/customer.php +++ b/inc/functions/customer.php @@ -160,14 +160,14 @@ function wu_create_customer($customer_data) { } if (false === $user_id) { - return new \WP_Error('user', __('We were not able to create a new user with the provided username and email address combination.', 'wp-ultimo'), $customer_data); + return new \WP_Error('user', __('We were not able to create a new user with the provided username and email address combination.', 'wp-multisite-waas'), $customer_data); } } else { $user_id = $user->ID; } if ( ! get_userdata($user_id)) { - return new \WP_Error('user_id', __('We were not able to find a user with the given user_id.', 'wp-ultimo'), $customer_data); + return new \WP_Error('user_id', __('We were not able to find a user with the given user_id.', 'wp-multisite-waas'), $customer_data); } $customer = new Customer( diff --git a/inc/functions/date.php b/inc/functions/date.php index f3d9cea..bb00fcd 100644 --- a/inc/functions/date.php +++ b/inc/functions/date.php @@ -74,9 +74,9 @@ function wu_get_days_ago($date_1, $date_2 = false) { $datetime_2 = wu_date($date_2); - $dateIntervar = $datetime_1->diff($datetime_2, false); + $date_intervar = $datetime_1->diff($datetime_2, false); - return - $dateIntervar->days; + return - $date_intervar->days; } /** @@ -90,7 +90,7 @@ function wu_get_current_time($type = 'mysql', $gmt = false) { switch_to_blog(wu_get_main_site_id()); - $time = current_time($type, $gmt); // phpcs:ignore + $time = current_time($type, $gmt); // phpcs:ignore restore_current_blog(); @@ -112,16 +112,15 @@ function wu_filter_duration_unit($unit, $length) { switch ($unit) { case 'day': - $new_unit = $length > 1 ? __('Days', 'wp-ultimo') : __('Day', 'wp-ultimo'); + $new_unit = $length > 1 ? __('Days', 'wp-multisite-waas') : __('Day', 'wp-multisite-waas'); break; case 'month': - $new_unit = $length > 1 ? __('Months', 'wp-ultimo') : __('Month', 'wp-ultimo'); + $new_unit = $length > 1 ? __('Months', 'wp-multisite-waas') : __('Month', 'wp-multisite-waas'); break; case 'year': - $new_unit = $length > 1 ? __('Years', 'wp-ultimo') : __('Year', 'wp-ultimo'); + $new_unit = $length > 1 ? __('Years', 'wp-multisite-waas') : __('Year', 'wp-multisite-waas'); break; default: - $new_unit = $new_unit; break; } @@ -146,14 +145,14 @@ function wu_human_time_diff($from, $limit = '-5 days', $to = false): string { if ($timestamp_from <= $limit) { // translators: %s: date. - return sprintf(__('on %s', 'wp-ultimo'), date_i18n(get_option('date_format'), $timestamp_from)); + return sprintf(__('on %s', 'wp-multisite-waas'), date_i18n(get_option('date_format'), $timestamp_from)); } if (false === $to) { $to = wu_get_current_time('timestamp'); // phpcs:ignore } - $placeholder = wu_get_current_time('timestamp') > $timestamp_from ? __('%s ago', 'wp-ultimo') : __('In %s', 'wp-ultimo'); // phpcs:ignore + $placeholder = wu_get_current_time('timestamp') > $timestamp_from ? __('%s ago', 'wp-multisite-waas') : __('In %s', 'wp-multisite-waas'); // phpcs:ignore return sprintf($placeholder, human_time_diff($timestamp_from, $to)); } @@ -181,10 +180,10 @@ function wu_convert_php_date_format_to_moment_js_format($php_date_format): strin 'g' => 'h', 'H' => 'HH', 'h' => 'hh', - 'I' => '', // Daylight Saving Time? => moment().isDST(); + 'I' => '', // Daylight Saving Time?: moment().isDST(). 'i' => 'mm', 'j' => 'D', - 'L' => '', // Leap year? => moment().isLeapYear(); + 'L' => '', // Is Leap year?: moment().isLeapYear(). 'l' => 'dddd', 'M' => 'MMM', 'm' => 'MM', diff --git a/inc/functions/financial.php b/inc/functions/financial.php index f300ca5..9a16806 100644 --- a/inc/functions/financial.php +++ b/inc/functions/financial.php @@ -358,7 +358,7 @@ function wu_calculate_taxes_by_day($start_date = false, $end_date = false, $incl foreach ($line_items_groups as $line_items_group) { foreach ($line_items_group as $line_item) { - $date = gmdate('Y-m-d', strtotime((string) $line_item->date_created)); + $date = gmdate('Y-m-d', strtotime($line_item->get_date_created())); if ( ! wu_get_isset($data, $date)) { $data[ $date ] = [ diff --git a/inc/functions/gateway.php b/inc/functions/gateway.php index 8fdacff..30e7bf6 100644 --- a/inc/functions/gateway.php +++ b/inc/functions/gateway.php @@ -26,7 +26,7 @@ use WP_Ultimo\Managers\Gateway_Manager; function wu_register_gateway($id, $title, $desc, $class_name, $hidden = false) { if ( ! did_action('wu_register_gateways')) { - _doing_it_wrong(__FUNCTION__, __('You should not register new payment gateways before the wu_register_gateways hook.', 'wp-ultimo'), '2.0.0'); + _doing_it_wrong(__FUNCTION__, __('You should not register new payment gateways before the wu_register_gateways hook.', 'wp-multisite-waas'), '2.0.0'); } return Gateway_Manager::get_instance()->register_gateway($id, $title, $desc, $class_name, $hidden); diff --git a/inc/functions/legacy.php b/inc/functions/legacy.php index 6c1b387..edb2e51 100644 --- a/inc/functions/legacy.php +++ b/inc/functions/legacy.php @@ -149,7 +149,7 @@ function wu_print_signup_field($field_slug, $field, $results) { diff --git a/views/base/sites/grid-item.php b/views/base/sites/grid-item.php index ceee0e4..b1fb734 100644 --- a/views/base/sites/grid-item.php +++ b/views/base/sites/grid-item.php @@ -14,14 +14,14 @@
- get_type_label(); ?> + get_type_label()); ?>
@@ -31,12 +31,12 @@
- get_title(); ?> - get_id() ? '#' . $item->get_id() : ''; ?> + get_title()); ?> + get_id() ? '#' . $item->get_id() : ''); ?>
@@ -48,23 +48,23 @@ get_type() === 'pending') : ?> - - + + - - + + @@ -73,8 +73,8 @@   - - + + diff --git a/views/base/wizard.php b/views/base/wizard.php index 8317d16..0198f1b 100644 --- a/views/base/wizard.php +++ b/views/base/wizard.php @@ -8,26 +8,26 @@

- +

-
+
-
+
- + -
+
-

labels['deleted_message']; ?>

+

labels['deleted_message']); ?>

-
+
@@ -35,11 +35,11 @@
-
+
- get_title(); ?> + get_title()); ?> @@ -53,105 +53,105 @@ do_action('wu_page_wizard_after_title', $page); ?> - -
    + +
      - + ?> - $section) : ?> + $section) : ?> - + ?> - + - -
    •  
    • + +
    •  
    • - + - -
    • + +
    • - - - - - + + + + + - + - -
        + + + + + + + + + + -
      - +
    + - +
- - +
- +
- + - + /** + * Print Side Metaboxes + * + * Allow plugin developers to add new metaboxes + * + * @since 1.8.2 + * @param object Object being edited right now + */ + do_meta_boxes($screen->id, 'normal', false); -
+ ?> -
+ - + - - /** - * Print Side Metaboxes - * - * Allow plugin developers to add new metaboxes - * - * @since 1.8.2 - * @param object Object being edited right now - */ - do_meta_boxes($screen->id, 'normal', false); - - ?> - - - - - - - -
+
diff --git a/views/base/wizard/submit-box.php b/views/base/wizard/submit-box.php index a4dbf49..aa27836 100644 --- a/views/base/wizard/submit-box.php +++ b/views/base/wizard/submit-box.php @@ -9,13 +9,13 @@
- + diff --git a/views/broadcast/emails/base.php b/views/broadcast/emails/base.php index 2af4326..f992720 100644 --- a/views/broadcast/emails/base.php +++ b/views/broadcast/emails/base.php @@ -17,7 +17,7 @@ if ( ! defined('ABSPATH')) { exit; // Exit if accessed directly -} // end if; +} ?> @@ -78,7 +78,7 @@ if ( ! defined('ABSPATH')) { -

+

@@ -89,7 +89,7 @@ if ( ! defined('ABSPATH')) { -

+


@@ -99,7 +99,7 @@ if ( ! defined('ABSPATH')) { -

+

diff --git a/views/broadcast/widget-targets.php b/views/broadcast/widget-targets.php index 83feafc..c3a78cd 100644 --- a/views/broadcast/widget-targets.php +++ b/views/broadcast/widget-targets.php @@ -9,61 +9,61 @@ -

-
    +
      -
    • +
    • -
      +
      -   +   -
      +
      - + -
      +
      -
      +
      -
    • + -
    +
diff --git a/views/checkout/fields/field-checkbox-multi.php b/views/checkout/fields/field-checkbox-multi.php index 37e53a3..79ed536 100644 --- a/views/checkout/fields/field-checkbox-multi.php +++ b/views/checkout/fields/field-checkbox-multi.php @@ -5,10 +5,9 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> options as $option_value => $option_name) : ?> - - - + $field, ] ); - ?>
diff --git a/views/checkout/fields/field-checkbox.php b/views/checkout/fields/field-checkbox.php index 6ff28af..3a99a4c 100644 --- a/views/checkout/fields/field-checkbox.php +++ b/views/checkout/fields/field-checkbox.php @@ -5,22 +5,18 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> -
diff --git a/views/checkout/fields/field-group.php b/views/checkout/fields/field-group.php index e9c7bfe..31e3e93 100644 --- a/views/checkout/fields/field-group.php +++ b/views/checkout/fields/field-group.php @@ -5,72 +5,57 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> - +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - - $field, - ] - ); - - ?> - - id, - $field->fields, - [ - 'views' => 'checkout/fields', - 'classes' => 'wu-flex wu-my-1', - 'field_wrapper_classes' => 'wu-bg-transparent', - 'wrap_tag' => 'span', - 'step' => (object) [ - 'classes' => '', - ], - ] - ); - - $form->render(); - - /** - * Adds the partial error template. - * - * @since 2.0.0 - */ - wu_get_template( - 'checkout/fields/partials/field-errors', - [ - 'field' => $field, - ] - ); - - ?> - - desc) : ?> - - - - desc; ?> - - - + $field, + ] + ); + ?> + id, + $field->fields, + [ + 'views' => 'checkout/fields', + 'classes' => 'wu-flex wu-my-1', + 'field_wrapper_classes' => 'wu-bg-transparent', + 'wrap_tag' => 'span', + 'step' => (object) [ + 'classes' => '', + ], + ] + ); + $form->render(); + /** + * Adds the partial error template. + * + * @since 2.0.0 + */ + wu_get_template( + 'checkout/fields/partials/field-errors', + [ + 'field' => $field, + ] + ); + ?> + desc) : ?> + + desc); ?> + - -
diff --git a/views/checkout/fields/field-hidden.php b/views/checkout/fields/field-hidden.php index d436e47..b4bb010 100644 --- a/views/checkout/fields/field-hidden.php +++ b/views/checkout/fields/field-hidden.php @@ -1,27 +1,12 @@ - - value)) : ?> - value as $index => $value) : ?> - - get_html_attributes(); ?>> - + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - - - get_html_attributes(); ?>> - + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> diff --git a/views/checkout/fields/field-html.php b/views/checkout/fields/field-html.php index 713e6ea..8016573 100644 --- a/views/checkout/fields/field-html.php +++ b/views/checkout/fields/field-html.php @@ -6,7 +6,7 @@ */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
@@ -24,41 +24,31 @@ ] ); - /** - * Adds the partial description template. - * - * @since 2.0.0 - */ - wu_get_template( - 'checkout/fields/partials/field-description', - [ - 'field' => $field, - ] - ); + /** + * Adds the partial description template. + * + * @since 2.0.0 + */ + wu_get_template( + 'checkout/fields/partials/field-description', + [ + 'field' => $field, + ] + ); - ?> + /** + * Adds the partial errors template. + * + * @since 2.0.0 + */ + wu_get_template( + 'checkout/fields/partials/field-errors', + [ + 'field' => $field, + ] + ); -
- - content; ?> - -
- - $field, - ] - ); - - ?> + ?>
diff --git a/views/checkout/fields/field-note.php b/views/checkout/fields/field-note.php index d503edb..32d1cdc 100644 --- a/views/checkout/fields/field-note.php +++ b/views/checkout/fields/field-note.php @@ -6,8 +6,8 @@ */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - desc; ?> + desc; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
diff --git a/views/checkout/fields/field-password.php b/views/checkout/fields/field-password.php index 35883fb..eba3efe 100644 --- a/views/checkout/fields/field-password.php +++ b/views/checkout/fields/field-password.php @@ -5,10 +5,9 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> - get_html_attributes(); ?>> + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> meter) : ?> - - - - - - - + + + + - - - $field, ] ); - ?> - -
diff --git a/views/checkout/fields/field-payment-methods.php b/views/checkout/fields/field-payment-methods.php index dedb8ff..5232c67 100644 --- a/views/checkout/fields/field-payment-methods.php +++ b/views/checkout/fields/field-payment-methods.php @@ -8,7 +8,7 @@ $active_gateways = wu_get_active_gateway_as_options(); ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - get_html_attributes(); ?> - > + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> + > - + - - + @@ -78,7 +78,7 @@ $active_gateways = wu_get_active_gateway_as_options(); /** * Load Gateway fields - * + * * @since 2.0.0 */ do_action('wu_checkout_gateway_fields'); diff --git a/views/checkout/fields/field-products.php b/views/checkout/fields/field-products.php index c65d6b1..b36b1bc 100644 --- a/views/checkout/fields/field-products.php +++ b/views/checkout/fields/field-products.php @@ -5,10 +5,9 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> - - - + $field, ] ); - ?> -
diff --git a/views/checkout/fields/field-radio.php b/views/checkout/fields/field-radio.php index 522ae88..edfd111 100644 --- a/views/checkout/fields/field-radio.php +++ b/views/checkout/fields/field-radio.php @@ -5,10 +5,9 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> options as $option_value => $option_name) : ?> - - - + $field, ] ); - ?>
diff --git a/views/checkout/fields/field-select.php b/views/checkout/fields/field-select.php index a37ea64..afba4a8 100644 --- a/views/checkout/fields/field-select.php +++ b/views/checkout/fields/field-select.php @@ -5,7 +5,7 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> id); ?>" name="id); ?>" value="value); ?>" - get_html_attributes(); ?> + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> > placeholder) : ?> - + @@ -43,14 +43,14 @@ value="" value); ?> > - + options_template) : ?> - options_template; ?> + options_template; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> diff --git a/views/checkout/fields/field-submit.php b/views/checkout/fields/field-submit.php index 4247d21..dbd1396 100644 --- a/views/checkout/fields/field-submit.php +++ b/views/checkout/fields/field-submit.php @@ -5,12 +5,8 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> - - -
diff --git a/views/checkout/fields/field-text.php b/views/checkout/fields/field-text.php index e92ce6f..b09fc5e 100644 --- a/views/checkout/fields/field-text.php +++ b/views/checkout/fields/field-text.php @@ -5,7 +5,7 @@ * @since 2.0.0 */ ?> -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> -
prefix_html_attr ?? []); ?>> - prefix; ?> +
prefix_html_attr ?? []); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> + prefix; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
- + - get_html_attributes(); ?>> + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - suffix) : ?> + suffix) : ?> -
suffix_html_attr ?? []); ?>> - suffix; ?> -
+
suffix_html_attr ?? []); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> + suffix; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> +
- + - prefix || $field->suffix) : ?> + prefix || $field->suffix) : ?>
- + -
get_wrapper_html_attributes(); ?>> +
get_wrapper_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> $field, ] ); - ?> -
diff --git a/views/checkout/fields/form.php b/views/checkout/fields/form.php index d1f7111..061bc70 100644 --- a/views/checkout/fields/form.php +++ b/views/checkout/fields/form.php @@ -7,21 +7,21 @@ ?> wrap_in_form_tag) : ?> -
get_html_attributes(); ?>> + get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> - <wrap_tag; ?> class="classes ? $form->classes . ' ' . $step->classes . ' wu-mt-2' : $step->classes . ' wu-mt-2')); ?>" get_html_attributes(); ?>> + <wrap_tag; ?> class="classes ? $form->classes . ' ' . $step->classes . ' wu-mt-2' : $step->classes . ' wu-mt-2')); ?>" get_html_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> title) : ?> -

title; ?>

+

title); ?>

- + wrap_in_form_tag) : ?> @@ -29,6 +29,6 @@ - wrap_tag; ?>> + wrap_tag; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> diff --git a/views/checkout/partials/pricing-table-list.php b/views/checkout/partials/pricing-table-list.php index 48ef492..38af1fa 100644 --- a/views/checkout/partials/pricing-table-list.php +++ b/views/checkout/partials/pricing-table-list.php @@ -9,60 +9,33 @@ * * @since 2.0.0 * @param array $products List of product objects. - * @param string $name ID of the field. - * @param string $label The field label. */ ?> -
- - - +
-
- - -
get_id()}"; ?> wu-bg-gray-100 wu-m-2 wu-px-4 wu-py-4 wu-border wu-border-solid wu-rounded wu-border-gray-400 wu-box-border wu-flex-1 wu-flex wu-flex-col wu-justify-end" - > - -
- - get_name(); ?> - get_price_description(false); ?> - +
+
+ get_name()); ?> + get_price_description(false)); ?> +
+
+
    + get_pricing_table_lines() as $key => $line) : ?> +
  • + +
+
+
+ +
+
- -
- -
    - get_pricing_table_lines() as $key => $line) : ?> - -
  • - - -
- -
- -
- - - - - -
- - - -
- -
diff --git a/views/checkout/paypal/confirm.php b/views/checkout/paypal/confirm.php index 08ff8c1..5c8c2e1 100644 --- a/views/checkout/paypal/confirm.php +++ b/views/checkout/paypal/confirm.php @@ -14,8 +14,8 @@ if ($is_trial_setup) { $date = wp_date(get_option('date_format'), strtotime($membership->get_date_trial_end(), wu_get_current_time('timestamp', true))); - $notes[] = sprintf(__('Your trial period will end on %1$s.', 'wp-ultimo'), $date); -} // end if; + $notes[] = sprintf(__('Your trial period will end on %1$s.', 'wp-multisite-waas'), $date); +} $original_cart = $payment->get_meta('wu_original_cart'); @@ -34,29 +34,29 @@ if ($membership->is_recurring() && $should_auto_renew) { if ($original_cart->get_cart_type() === 'downgrade') { $subtotal = wu_format_currency($payment->get_subtotal(), $payment->get_currency()); if ($is_trial_setup) { - $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s %3$s.', 'wp-ultimo'), $date, $subtotal, $desc); + $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s %3$s.', 'wp-multisite-waas'), $date, $subtotal, $desc); } else { $date_renew = wp_date(get_option('date_format'), strtotime($membership->get_date_expiration(), wu_get_current_time('timestamp', true))); - $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'wp-ultimo'), $date_renew, $subtotal, $desc); - } // end if; + $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'wp-multisite-waas'), $date_renew, $subtotal, $desc); + } } elseif ($is_trial_setup) { $initial_amount_format = wu_format_currency($membership->get_initial_amount(), $payment->get_currency()); - $notes[] = sprintf(__('After the first payment of %1$s you will be billed %2$s %3$s.', 'wp-ultimo'), $initial_amount_format, $recurring_total_format, $desc); + $notes[] = sprintf(__('After the first payment of %1$s you will be billed %2$s %3$s.', 'wp-multisite-waas'), $initial_amount_format, $recurring_total_format, $desc); } else { - $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'wp-ultimo'), $recurring_total_format, $desc); - } // end if; + $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'wp-multisite-waas'), $recurring_total_format, $desc); + } } else { $recurring_total_format = wu_format_currency($recurring_total, $payment->get_currency()); if ($is_trial_setup) { - $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'wp-ultimo'), $recurring_total_format, $desc); + $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'wp-multisite-waas'), $recurring_total_format, $desc); } else { - $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'wp-ultimo'), $desc); - } // end if; - } // end if; -} // end if; + $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'wp-multisite-waas'), $desc); + } + } +} $note = implode(' ', $notes); @@ -66,7 +66,7 @@ $subtotal = 0;
-

+

@@ -75,8 +75,8 @@ $subtotal = 0;

- -
+ +

@@ -85,8 +85,8 @@ $subtotal = 0; - - + + @@ -112,21 +112,21 @@ $subtotal = 0; - + get_tax_breakthrough() as $rate => $total) : ?> - + - + @@ -157,7 +157,7 @@ $subtotal = 0;
diff --git a/views/checkout/register.php b/views/checkout/register.php index 199fcad..f62b60c 100644 --- a/views/checkout/register.php +++ b/views/checkout/register.php @@ -11,7 +11,7 @@ 'product-fields', $product_fields, [ - 'title' => __('Products', 'wp-ultimo'), + 'title' => __('Products', 'wp-multisite-waas'), 'views' => 'checkout/fields', ] ); diff --git a/views/checkout/templates/order-bump/simple.php b/views/checkout/templates/order-bump/simple.php index 5683eb1..81bdae2 100644 --- a/views/checkout/templates/order-bump/simple.php +++ b/views/checkout/templates/order-bump/simple.php @@ -4,7 +4,7 @@ * * @since 2.0.0 */ - +//phpcs:disable WordPress.NamingConventions.PrefixAllGlobals $duration = $duration ?: 1; $duration_unit = $duration_unit ?: 'month'; @@ -14,58 +14,39 @@ $product_variation = $product->get_as_variation($duration, $duration_unit); if (false !== $product_variation) { $product = $product_variation; -} // end if; - +} ?>
- - get_featured_image('thumbnail'); - ?> - + + get_featured_image('thumbnail'); ?> - -
- -
- +
+ +
+ - +
+ get_name()) : esc_html($name); ?> + get_description()) : ?> +
+

get_description()); ?>

+
+ +
+

get_price_description()); ?>

+
+
+
+ +
+ +
+ +
+ + +
- -
- get_name() : $name; ?> - - get_description()) : ?> -
-

- get_description(); ?> -

-
- - -
-

- get_price_description(); ?> -

-
-
-
- -
- -
-
- - -
- - + diff --git a/views/checkout/templates/order-summary/simple.php b/views/checkout/templates/order-summary/simple.php index caaf736..393c749 100644 --- a/views/checkout/templates/order-summary/simple.php +++ b/views/checkout/templates/order-summary/simple.php @@ -9,7 +9,7 @@
- +
@@ -22,31 +22,31 @@ @@ -61,7 +61,7 @@ @@ -71,13 +71,13 @@ @@ -183,7 +183,7 @@ @@ -201,7 +201,7 @@ @@ -224,7 +224,7 @@ @@ -245,7 +245,7 @@
  • - +
  • @@ -253,12 +253,12 @@ - + diff --git a/views/checkout/templates/period-selection/clean.php b/views/checkout/templates/period-selection/clean.php index 9af5e71..fa30974 100644 --- a/views/checkout/templates/period-selection/clean.php +++ b/views/checkout/templates/period-selection/clean.php @@ -24,12 +24,12 @@ defined('ABSPATH') || exit; $period_option) : ?>
  • - - +
  • diff --git a/views/checkout/templates/period-selection/legacy.php b/views/checkout/templates/period-selection/legacy.php index 3bed1f1..2162437 100644 --- a/views/checkout/templates/period-selection/legacy.php +++ b/views/checkout/templates/period-selection/legacy.php @@ -27,8 +27,8 @@ defined('ABSPATH') || exit; $period_option) : ?>
  • - - + +
  • diff --git a/views/checkout/templates/pricing-table/legacy.php b/views/checkout/templates/pricing-table/legacy.php index b6526a9..09efc31 100644 --- a/views/checkout/templates/pricing-table/legacy.php +++ b/views/checkout/templates/pricing-table/legacy.php @@ -19,9 +19,9 @@ $first_recurring_product = array_reduce( $products_to_reduce, function ($chosen_product, $product) { - if ($product && $product->is_recurring() && false == $chosen_product) { + if ($product && $product->is_recurring() && ! $chosen_product) { $chosen_product = $product; - } // end if; + } return $chosen_product; } @@ -32,8 +32,8 @@ $legacy_mode = array_reduce( function ($all_have_same_duration, $product) use ($first_recurring_product) { if ($product && $product->is_recurring()) { - $all_have_same_duration = $first_recurring_product->get_recurring_description() == $product->get_recurring_description(); - } // end if; + $all_have_same_duration = $first_recurring_product->get_recurring_description() === $product->get_recurring_description(); + } return $all_have_same_duration; } @@ -52,8 +52,8 @@ wp_add_inline_script( window.wu_legacy_mode = %s; ', - json_encode($force_different_durations), - json_encode($legacy_mode) + wp_json_encode($force_different_durations), + wp_json_encode($legacy_mode) ), 'after' ); @@ -76,21 +76,21 @@ if (null !== $first_recurring_product) { data.duration = %s; - } // end if; + } if (!data.duration_unit && !wu_force_different_durations) { data.duration_unit = %s; - } // end if; + } return data; }); ", - json_encode($first_recurring_product->get_duration()), - json_encode($first_recurring_product->get_duration_unit()) + wp_json_encode($first_recurring_product->get_duration()), + wp_json_encode($first_recurring_product->get_duration_unit()) ), 'after' ); @@ -101,7 +101,7 @@ if (null !== $first_recurring_product) {
    - +
    @@ -115,8 +115,8 @@ if (null !== $first_recurring_product) {
    get_id()}"; ?> lift wu-plan plan-tier wu-flex-1 is_featured_plan() ? 'callout' : ''); ?> wu-flex wu-flex-col wu-justify-between" - v-show="wu_force_different_durations || (duration && wu_legacy_mode) || (( (!duration) || duration == get_duration(); ?> && duration_unit == 'get_duration_unit(); ?>' ) || get_pricing_type() !== 'paid'); ?>)" + class="get_id()}"); ?> lift wu-plan plan-tier wu-flex-1 is_featured_plan() ? 'callout' : ''); ?> wu-flex wu-flex-col wu-justify-between" + v-show="wu_force_different_durations || (duration && wu_legacy_mode) || (( (!duration) || duration == get_duration()); ?> && duration_unit == 'get_duration_unit()); ?>' ) || get_pricing_type() !== 'paid'); ?>)" >
    @@ -130,7 +130,7 @@ if (null !== $first_recurring_product) { /** * Featured tag. */ - echo apply_filters('wu_featured_plan_label', __('Featured Plan', 'wp-ultimo'), $product); + echo esc_html(apply_filters('wu_featured_plan_label', __('Featured Plan', 'wp-multisite-waas'), $product)); ?> @@ -140,7 +140,7 @@ if (null !== $first_recurring_product) {

    - get_name(); ?> + get_name()); ?>

    @@ -158,7 +158,7 @@ if (null !== $first_recurring_product) { - + @@ -178,7 +178,7 @@ if (null !== $first_recurring_product) { - + @@ -195,7 +195,7 @@ if (null !== $first_recurring_product) { * Price display. */ - $symbol_left = in_array(wu_get_setting('currency_position', '%s%v'), ['%s%v', '%s %v']); + $symbol_left = in_array(wu_get_setting('currency_position', '%s%v'), ['%s%v', '%s %v'], true); ?> @@ -203,19 +203,19 @@ if (null !== $first_recurring_product) { - get_currency()); ?> + get_currency())); ?> - + get_amount(); - echo str_replace(wu_get_currency_symbol(), '', wu_format_currency($n)); + echo esc_html(str_replace(wu_get_currency_symbol(), '', wu_format_currency($n))); ?> @@ -227,21 +227,21 @@ if (null !== $first_recurring_product) { if ( ! $price_variation) { continue; - } // end if; + } ?> - + @@ -249,14 +249,14 @@ if (null !== $first_recurring_product) { - + is_recurring() ? __('/mo', 'wp-ultimo') : ''; + $symbol = $product->is_recurring() ? __('/mo', 'wp-multisite-waas') : ''; echo (! $symbol_left ? wu_get_currency_symbol() : '') . ' ' . $symbol; @@ -304,27 +304,27 @@ if (null !== $first_recurring_product) { * Display quarterly and Annually plans, to be hidden. */ $prices_total = [ - 3 => __('every 3 months', 'wp-ultimo'), - 12 => __('yearly', 'wp-ultimo'), + 3 => __('every 3 months', 'wp-multisite-waas'), + 12 => __('yearly', 'wp-multisite-waas'), ]; foreach ($prices_total as $freq => $string) { $price_variation = $product->get_price_variation($freq, 'month'); if ( ! $price_variation || $product->get_pricing_type() == 'free' || $product->get_pricing_type() == 'contact_us') { - echo "
  • -
  • "; + echo "
  • -
  • "; } else { - $text = sprintf(__('%1$s, billed %2$s', 'wp-ultimo'), wu_format_currency($price_variation['amount']), $string); + $text = sprintf(__('%1$s, billed %2$s', 'wp-multisite-waas'), wu_format_currency($price_variation['amount']), $string); $extra_check_for_annual = ''; if (12 === $freq) { $extra_check_for_annual = ' || (duration == "1" && duration_unit == "year")'; - } // end if; + } echo "
  • $text
  • "; - } // end if; - } // end foreach; + } + } ?> @@ -337,14 +337,14 @@ if (null !== $first_recurring_product) {
  • diff --git a/views/checkout/templates/pricing-table/list.php b/views/checkout/templates/pricing-table/list.php index 1303cba..016fbde 100644 --- a/views/checkout/templates/pricing-table/list.php +++ b/views/checkout/templates/pricing-table/list.php @@ -17,8 +17,8 @@ foreach ($products as $index => &$_product) { unset($products[ $index ]); $_product = $product_variation; - } // end if; -} // end foreach; + } +} ?>
    @@ -31,7 +31,7 @@ foreach ($products as $index => &$_product) { id="wu-product-get_id(); ?>" class="wu-relative wu-block wu-rounded-lg wu-border wu-border-gray-300 wu-bg-white wu-border-solid wu-shadow-sm wu-px-6 wu-py-4 wu-cursor-pointer hover:wu-border-gray-400 sm:wu-flex sm:wu-justify-between focus-within:wu-ring-1 focus-within:wu-ring-offset-2 focus-within:wu-ring-indigo-500"> - + diff --git a/views/checkout/templates/steps/clean.php b/views/checkout/templates/steps/clean.php index dbb72c4..70d7a21 100644 --- a/views/checkout/templates/steps/clean.php +++ b/views/checkout/templates/steps/clean.php @@ -22,7 +22,7 @@ if ( ! defined('ABSPATH')) { ?> -
    get_currency()); ?>
    get_currency()); ?>
    get_total(), $payment->get_currency()); ?>
    - + - + - + - + - + - + - + - + - + @@ -93,7 +93,7 @@ - + @@ -167,7 +167,7 @@ - + - + - + - +
    - - - - - - - - - - - $count) : ?> +
    + - + + + + + + + $count) : ?> + + + + + + ', - strtolower($country_code), - wu_tooltip_text(wu_get_country_name($country_code)) - ); + $state_list = wu_get_states_of_customers($country_code); + $_state_count = 0; ?> - - - - - $state_count) : ?> + + + + + - $state_list = wu_get_states_of_customers($country_code); - $_state_count = 0; - - ?> - - $state_count) : - $_state_count += $state_count; - ?> - - - - - + = 0) : ?> + + + + + - = 0) : ?> + - - - - - - - - - - - -
    +
    + %s', + wu_tooltip_text(esc_html(wu_get_country_name($country_code))), // phpcs:ignore WordPress.Security.EscapeOutput + esc_html(wu_get_flag_emoji($country_code)), + ); + + ?> + +
    |⟶
    |⟶
    |⟶
    |⟶
    +
    @@ -114,7 +107,7 @@ $page->render_csv_button(
    - +
    diff --git a/views/dashboard-statistics/widget-forms.php b/views/dashboard-statistics/widget-forms.php index ff43a61..e026c09 100644 --- a/views/dashboard-statistics/widget-forms.php +++ b/views/dashboard-statistics/widget-forms.php @@ -8,37 +8,35 @@
    -
    +
    -signup_form), + intval($form->count), // Ensure count is an integer and properly escaped + ]; -foreach ($forms as $form) { - $line = [ - $form->signup_form, - $form->count, - ]; + $data[] = $line; + } - $data[] = $line; -} // end foreach; + $page->render_csv_button( + [ + 'headers' => $headers, + 'data' => $data, + 'slug' => $slug, + ] + ); + ?> -$page->render_csv_button( - [ - 'headers' => $headers, - 'data' => $data, - 'slug' => $slug, - ] -); - -?> - -
    +
    @@ -46,34 +44,34 @@ $page->render_csv_button(
    - - - - - - - - - - - - +
    + - - + + + - + - + -
    - signup_form; ?> - signup_form) : ?> - - - count; ?>
    + + + signup_form); ?> + signup_form) : ?> + + + + count); ?> + + + + + + +
    @@ -81,7 +79,7 @@ $page->render_csv_button(
    - +
    diff --git a/views/dashboard-statistics/widget-most-visited-sites.php b/views/dashboard-statistics/widget-most-visited-sites.php index fb231c8..7b2ce71 100644 --- a/views/dashboard-statistics/widget-most-visited-sites.php +++ b/views/dashboard-statistics/widget-most-visited-sites.php @@ -15,8 +15,8 @@ $data = []; $slug = 'most_visited_sites'; $headers = [ - __('Site', 'wp-ultimo'), - __('Visits', 'wp-ultimo'), + __('Site', 'wp-multisite-waas'), + __('Visits', 'wp-multisite-waas'), ]; foreach ($sites as $site_visits) { @@ -28,7 +28,7 @@ foreach ($sites as $site_visits) { ]; $data[] = $line; -} // end foreach; +} $page->render_csv_button( [ @@ -52,8 +52,8 @@ $page->render_csv_button( - - + + @@ -64,29 +64,29 @@ $page->render_csv_button( - site->get_title(); ?> + site->get_title()); ?> - count, 'wp-ultimo'), $site_visits->count); ?> + count, 'wp-multisite-waas'), $site_visits->count); ?> @@ -102,7 +102,7 @@ $page->render_csv_button(
    - +
    diff --git a/views/dashboard-statistics/widget-mrr-growth.php b/views/dashboard-statistics/widget-mrr-growth.php index 5f5b773..a5a2136 100644 --- a/views/dashboard-statistics/widget-mrr-growth.php +++ b/views/dashboard-statistics/widget-mrr-growth.php @@ -11,7 +11,7 @@ - + diff --git a/views/dashboard-statistics/widget-new-accounts.php b/views/dashboard-statistics/widget-new-accounts.php index e292e60..6d006a9 100644 --- a/views/dashboard-statistics/widget-new-accounts.php +++ b/views/dashboard-statistics/widget-new-accounts.php @@ -6,70 +6,42 @@ */ ?>
    -
      - -
    • - -
      - - - - - -
      - -
      - -
      - -
    • - +
    • +
      + + + +
      +
      + +
      +
    -
    - - - - - - - - - - - - - - - - - +
    + - - + + - - - - - - - - - - - - - -
    - name; ?> - - count; ?> -
    - -
    - + + + + + + name); ?> + count); ?> + + + + + + + + + + +
    -
    diff --git a/views/dashboard-statistics/widget-revenue.php b/views/dashboard-statistics/widget-revenue.php index f01ac0f..2440135 100644 --- a/views/dashboard-statistics/widget-revenue.php +++ b/views/dashboard-statistics/widget-revenue.php @@ -9,7 +9,7 @@
      -
    • > +
    • >
      @@ -20,7 +20,7 @@
      - +
    • @@ -36,7 +36,7 @@
    - +
    @@ -52,7 +52,7 @@
    - +
    @@ -65,8 +65,8 @@ - - + + @@ -91,7 +91,7 @@ - + diff --git a/views/dashboard-statistics/widget-tax-by-code.php b/views/dashboard-statistics/widget-tax-by-code.php index 3d8b5d1..5186ae7 100644 --- a/views/dashboard-statistics/widget-tax-by-code.php +++ b/views/dashboard-statistics/widget-tax-by-code.php @@ -14,10 +14,10 @@ $data = []; $slug = 'taxes_by_code'; $headers = [ - __('Tax', 'wp-ultimo'), - __('Rate', 'wp-ultimo'), - __('Orders', 'wp-ultimo'), - __('Tax Total', 'wp-ultimo'), + __('Tax', 'wp-multisite-waas'), + __('Rate', 'wp-multisite-waas'), + __('Orders', 'wp-multisite-waas'), + __('Tax Total', 'wp-multisite-waas'), ]; foreach ($taxes_by_rate as $tax_line) { @@ -29,7 +29,7 @@ ]; $data[] = $line; - } // end foreach; + } $page->render_csv_button( [ @@ -45,10 +45,10 @@ - - - - + + + + @@ -59,18 +59,10 @@ - - - - - % - - - - - - - + + % + + @@ -79,7 +71,7 @@ - + diff --git a/views/dashboard-statistics/widget-tax-by-day.php b/views/dashboard-statistics/widget-tax-by-day.php index 752ce52..65801ef 100644 --- a/views/dashboard-statistics/widget-tax-by-day.php +++ b/views/dashboard-statistics/widget-tax-by-day.php @@ -14,11 +14,11 @@ $data = []; $slug = 'taxes_by_day'; $headers = [ - __('Day', 'wp-ultimo'), - __('Orders', 'wp-ultimo'), - __('Total Sales', 'wp-ultimo'), - __('Tax Total', 'wp-ultimo'), - __('Net Profit', 'wp-ultimo'), + __('Day', 'wp-multisite-waas'), + __('Orders', 'wp-multisite-waas'), + __('Total Sales', 'wp-multisite-waas'), + __('Tax Total', 'wp-multisite-waas'), + __('Net Profit', 'wp-multisite-waas'), ]; foreach ($taxes_by_day as $day => $tax_line) { @@ -31,7 +31,7 @@ ]; $data[] = $line; - } // end foreach; + } $page->render_csv_button( [ @@ -47,11 +47,11 @@ - - - - - + + + + + @@ -62,21 +62,11 @@ $tax_line) : ?> - - - - - - - - - - - - - - - + + + + + @@ -85,7 +75,7 @@ - + diff --git a/views/dashboard-statistics/widget-tax-graph.php b/views/dashboard-statistics/widget-tax-graph.php index 5f5b773..a5a2136 100644 --- a/views/dashboard-statistics/widget-tax-graph.php +++ b/views/dashboard-statistics/widget-tax-graph.php @@ -11,7 +11,7 @@ - + diff --git a/views/dashboard-statistics/widget-taxes.php b/views/dashboard-statistics/widget-taxes.php index 5f5b773..a5a2136 100644 --- a/views/dashboard-statistics/widget-taxes.php +++ b/views/dashboard-statistics/widget-taxes.php @@ -11,7 +11,7 @@ - + diff --git a/views/dashboard-widgets/account-summary.php b/views/dashboard-widgets/account-summary.php index ea7ea8e..6012227 100644 --- a/views/dashboard-widgets/account-summary.php +++ b/views/dashboard-widgets/account-summary.php @@ -16,7 +16,7 @@

    - +

    @@ -27,12 +27,12 @@
    - + @@ -53,15 +53,15 @@ - get_name(); ?> + get_name()); ?>
    - - + +
    @@ -75,14 +75,14 @@
    - +
    - - + +
    @@ -98,7 +98,7 @@ /** * Display space used */ - printf($message, size_format($space_used), size_format($space_allowed)); + printf(esc_html($message), esc_html(size_format($space_used)), esc_html(size_format($space_allowed))); ?> @@ -113,8 +113,8 @@
    - - + +
    diff --git a/views/dashboard-widgets/activity-stream.php b/views/dashboard-widgets/activity-stream.php index ebfa360..12a7057 100644 --- a/views/dashboard-widgets/activity-stream.php +++ b/views/dashboard-widgets/activity-stream.php @@ -11,11 +11,11 @@
    - +
    - +
    @@ -58,7 +58,7 @@

    {{ event.object_type }}

    - +

    @@ -67,7 +67,7 @@

    {{ $moment(event.date_created, "YYYYMMDD").fromNow() }} - +

    @@ -91,17 +91,17 @@ class='wu-feed-pagination wu-m-0 wu-flex wu-justify-between'>
  • - +
  • - ← + ←
  • - +
  • @@ -173,7 +173,7 @@ Vue.set(wuActivityStream, 'queried', data.data); - } // end if; + } }, }) diff --git a/views/dashboard-widgets/billing-info.php b/views/dashboard-widgets/billing-info.php index fe9e653..c850b1f 100644 --- a/views/dashboard-widgets/billing-info.php +++ b/views/dashboard-widgets/billing-info.php @@ -20,7 +20,7 @@

    - +

    @@ -29,12 +29,12 @@
    - + @@ -49,7 +49,7 @@
    - here to add one.', 'wp-ultimo'), __('Update Billing Address', 'wp-ultimo'), $update_billing_address_link); ?> + here to add one.', 'wp-multisite-waas')), esc_html__('Update Billing Address', 'wp-multisite-waas'), esc_url($update_billing_address_link)); ?>
    @@ -66,10 +66,10 @@
    - +
    - +
    @@ -99,7 +99,7 @@

    - +

    @@ -108,12 +108,12 @@
    - + diff --git a/views/dashboard-widgets/current-membership-product-details.php b/views/dashboard-widgets/current-membership-product-details.php index 3c86cff..271eac4 100644 --- a/views/dashboard-widgets/current-membership-product-details.php +++ b/views/dashboard-widgets/current-membership-product-details.php @@ -38,7 +38,7 @@ - + @@ -48,7 +48,7 @@ - + diff --git a/views/dashboard-widgets/current-membership.php b/views/dashboard-widgets/current-membership.php index 0d67308..b116151 100644 --- a/views/dashboard-widgets/current-membership.php +++ b/views/dashboard-widgets/current-membership.php @@ -27,12 +27,12 @@
    - + @@ -93,7 +93,7 @@
    - %1\$s. Changing to %2\$s.", 'wp-ultimo'), $pending_change_date, $pending_change); ?> + %1\$s. Changing to %2\$s.", 'wp-multisite-waas'), $pending_change_date, $pending_change); ?>
    @@ -116,7 +116,7 @@
    - +
    @@ -134,7 +134,7 @@
    - +
    @@ -148,7 +148,7 @@
    - +
    @@ -164,7 +164,7 @@
    - +
    @@ -226,7 +226,7 @@

    - +

    @@ -268,7 +268,7 @@
    - + is_recurring() && (! $pending_products || wu_get_isset($pending_products, $addon['product']->get_id()))) : ?> - title="get_name())); ?>" + title="get_name())); ?>" href=" - + @@ -329,7 +329,7 @@
    - +
    @@ -344,7 +344,7 @@
    - + diff --git a/views/dashboard-widgets/current-site.php b/views/dashboard-widgets/current-site.php index 84a0132..48ce45a 100644 --- a/views/dashboard-widgets/current-site.php +++ b/views/dashboard-widgets/current-site.php @@ -17,7 +17,7 @@
    @@ -78,7 +78,7 @@ style="max-width: px;" class="wu-w-full wu-rounded wu-border wu-border-solid " src="get_featured_image(); ?>" - alt="get_title()); ?>" + alt="get_title()); ?>" >
    diff --git a/views/dashboard-widgets/domain-mapping.php b/views/dashboard-widgets/domain-mapping.php index 739059c..4008a03 100644 --- a/views/dashboard-widgets/domain-mapping.php +++ b/views/dashboard-widgets/domain-mapping.php @@ -24,9 +24,9 @@
    - + - + @@ -57,8 +57,8 @@ $label = $item->get_stage_label(); if ( ! $item->is_active()) { - $label = sprintf('%s (%s)', $label, __('Inactive', 'wp-ultimo')); - } // end if; + $label = sprintf('%s (%s)', $label, __('Inactive', 'wp-multisite-waas')); + } $class = $item->get_stage_class(); @@ -72,15 +72,15 @@ 'icon' => 'dashicons-wu-edit1 wu-align-middle wu-mr-1', 'label' => '', 'url' => $domain['primary_link'], - 'value' => __('Make Primary', 'wp-ultimo'), + 'value' => __('Make Primary', 'wp-multisite-waas'), ]; - } // end if; + } $second_row_actions['remove'] = [ 'wrapper_classes' => 'wu-text-red-500 wubox', 'icon' => 'dashicons-wu-trash-2 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Delete', 'wp-ultimo'), + 'value' => __('Delete', 'wp-multisite-waas'), 'url' => $domain['delete_link'], ]; @@ -96,13 +96,13 @@ 'wrapper_classes' => $item->is_primary_domain() ? 'wu-text-blue-600' : '', 'icon' => $item->is_primary_domain() ? 'dashicons-wu-filter_1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-plus-square wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_primary_domain() ? __('Primary', 'wp-ultimo') . wu_tooltip(__('All other mapped domains will redirect to the primary domain.', 'wp-ultimo'), 'dashicons-editor-help wu-align-middle wu-ml-1') : __('Alias', 'wp-ultimo'), + 'value' => $item->is_primary_domain() ? __('Primary', 'wp-multisite-waas') . wu_tooltip(__('All other mapped domains will redirect to the primary domain.', 'wp-multisite-waas'), 'dashicons-editor-help wu-align-middle wu-ml-1') : __('Alias', 'wp-multisite-waas'), ], 'secure' => [ 'wrapper_classes' => $item->is_secure() ? 'wu-text-green-500' : '', 'icon' => $item->is_secure() ? 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'wp-ultimo') : __('Not Secure (HTTP)', 'wp-ultimo'), + 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'wp-multisite-waas') : __('Not Secure (HTTP)', 'wp-multisite-waas'), ], ], $second_row_actions @@ -119,7 +119,7 @@
    - +
    diff --git a/views/dashboard-widgets/first-steps.php b/views/dashboard-widgets/first-steps.php index 04e598c..d209c7a 100644 --- a/views/dashboard-widgets/first-steps.php +++ b/views/dashboard-widgets/first-steps.php @@ -12,11 +12,11 @@
    - + - +
    @@ -24,7 +24,7 @@
    - +
    @@ -41,7 +41,7 @@
    - +
    @@ -49,7 +49,7 @@ - + @@ -59,7 +59,7 @@ - +
    @@ -68,7 +68,7 @@
     
    - +
    @@ -92,7 +92,7 @@ endforeach; class="button wu-text-center hide-postbox-tog" id="wp-ultimo-setup-hide" > - +
    diff --git a/views/dashboard-widgets/invoices.php b/views/dashboard-widgets/invoices.php index 2bbd4e2..eb6aeb4 100644 --- a/views/dashboard-widgets/invoices.php +++ b/views/dashboard-widgets/invoices.php @@ -17,7 +17,7 @@

    - +

    @@ -47,15 +47,15 @@ ', $payment->get_invoice_url(), - esc_attr__('Download Invoice', 'wp-ultimo') + esc_html__('Download Invoice', 'wp-multisite-waas') ); $payment_column = $payment->get_status() === 'pending' ? [ 'pay_now' => [ 'url' => add_query_arg(['payment' => $payment->get_hash()], wu_get_registration_url()), 'icon' => 'dashicons-wu-credit-card wu-align-middle wu-mr-1', - 'label' => __('Go to payment', 'wp-ultimo'), - 'value' => __('Pay Now', 'wp-ultimo'), + 'label' => esc_html__('Go to payment', 'wp-multisite-waas'), + 'value' => esc_html__('Pay Now', 'wp-multisite-waas'), ], ] : []; diff --git a/views/dashboard-widgets/limits-and-quotas.php b/views/dashboard-widgets/limits-and-quotas.php index 29b147d..95d1d18 100644 --- a/views/dashboard-widgets/limits-and-quotas.php +++ b/views/dashboard-widgets/limits-and-quotas.php @@ -16,7 +16,7 @@

    - +

    @@ -37,7 +37,7 @@ if (is_array($items_to_display) && ! in_array($post_type_slug, $items_to_display, true)) { continue; - } // end if; + } if ($post_type_limits->{$post_type_slug}->enabled) : $post_count = $post_type_limits->get_post_count($post_type_slug); @@ -48,11 +48,11 @@ $width = 5; } else { $width = ($post_count / $post_type_limits->{$post_type_slug}->number * 100); - } // end if; + } if ($width > 100) { $width = 100; - } // end if; + } ?> @@ -60,7 +60,7 @@ - label; ?> + label); ?> @@ -72,9 +72,9 @@
    - + / - {$post_type_slug}->number) ? __('Unlimited', 'wp-ultimo') : $post_type_limits->{$post_type_slug}->number; ?> + {$post_type_slug}->number) ? esc_html__('Unlimited', 'wp-multisite-waas') : esc_html($post_type_limits->{$post_type_slug}->number); ?>
    @@ -113,9 +113,9 @@ endforeach;
    - + - +
    @@ -129,7 +129,7 @@ endforeach; / - get_limit() == 0 ? __('Unlimited', 'wp-ultimo') : number_format((int) $visit_limitations->get_limit()); ?> + get_limit() == 0 ? __('Unlimited', 'wp-multisite-waas') : number_format((int) $visit_limitations->get_limit()); ?>
    diff --git a/views/dashboard-widgets/login-form.php b/views/dashboard-widgets/login-form.php index f2e06d3..8e459d2 100644 --- a/views/dashboard-widgets/login-form.php +++ b/views/dashboard-widgets/login-form.php @@ -16,7 +16,7 @@ Log in using your account.', 'wp-ultimo'), wp_get_current_user()->display_name, $login_url); + printf(wp_kses_post(__('Not %1$s? Log in using your account.', 'wp-multisite-waas')), esc_html(wp_get_current_user()->display_name), esc_url($login_url)); ?> @@ -33,7 +33,7 @@

    - +

    @@ -44,12 +44,12 @@
    - + diff --git a/views/dashboard-widgets/my-sites.php b/views/dashboard-widgets/my-sites.php index b4de063..f84d81d 100644 --- a/views/dashboard-widgets/my-sites.php +++ b/views/dashboard-widgets/my-sites.php @@ -5,8 +5,6 @@ * @since 2.0.0 */ -$current_site = wu_get_current_site(); - $add_new_url = wu_get_setting('enable_multiple_sites') ? $element->get_new_site_url() : wu_get_registration_url(); // Redirect back to this page after create the site @@ -54,7 +52,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new); - + @@ -71,7 +69,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new); - + @@ -89,7 +87,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new); <?php printf(esc_attr__('Site Image: %s', 'wp-ultimo'), $site->get_title()); ?> @@ -108,7 +106,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new); get_id()) : ?> - > + > get_title(); ?> @@ -141,7 +139,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new);
  • - +
  • @@ -150,7 +148,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new);
  • - +
  • @@ -172,7 +170,7 @@ $show_add_new = apply_filters('wp_ultimo_my_sites_show_add_new', $show_add_new); - + diff --git a/views/dashboard-widgets/site-actions.php b/views/dashboard-widgets/site-actions.php index 447c398..0455208 100644 --- a/views/dashboard-widgets/site-actions.php +++ b/views/dashboard-widgets/site-actions.php @@ -16,7 +16,7 @@

    - +

    @@ -37,7 +37,7 @@ class=" wu-px-4 wu-py-3 wu-inline-block wu-no-underline" > @@ -61,7 +61,7 @@

    - +

    diff --git a/views/dashboard-widgets/summary.php b/views/dashboard-widgets/summary.php index fae23ed..84736ac 100644 --- a/views/dashboard-widgets/summary.php +++ b/views/dashboard-widgets/summary.php @@ -20,12 +20,12 @@
    - +
    -
  • > +
  • >
    @@ -36,7 +36,7 @@
    - +
  • @@ -52,7 +52,7 @@
    - +
    diff --git a/views/dashboard-widgets/thank-you.php b/views/dashboard-widgets/thank-you.php index bcdd6ea..f37928e 100644 --- a/views/dashboard-widgets/thank-you.php +++ b/views/dashboard-widgets/thank-you.php @@ -45,7 +45,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -87,7 +87,7 @@ - + @@ -141,7 +141,7 @@ - + @@ -159,7 +159,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -195,7 +195,7 @@ - + @@ -227,7 +227,7 @@

    - +

    @@ -277,7 +277,7 @@ - + @@ -302,23 +302,23 @@ - +
    - +
    - + - + @@ -357,7 +357,7 @@

    - +

    @@ -374,8 +374,8 @@ - - + + @@ -404,21 +404,21 @@ - + get_subtotal(), $payment->get_currency()); ?> get_tax_breakthrough() as $rate => $total) : ?> - + get_currency()); ?> - + get_total(), $payment->get_currency()); ?> @@ -442,7 +442,7 @@

    - +

    diff --git a/views/domain/dns-table.php b/views/domain/dns-table.php index eeb366a..ffdc0d7 100644 --- a/views/domain/dns-table.php +++ b/views/domain/dns-table.php @@ -11,10 +11,10 @@ - - - - + + + + @@ -24,7 +24,7 @@ - + @@ -70,7 +70,7 @@ - + {{ results.network_ip }} @@ -79,53 +79,3 @@
    - - diff --git a/views/domain/log.php b/views/domain/log.php index 8ecf05b..61166c6 100644 --- a/views/domain/log.php +++ b/views/domain/log.php @@ -8,7 +8,7 @@
    -	
    +	
     	
    @@ -16,7 +16,7 @@
    diff --git a/views/email/widget-placeholders.php b/views/email/widget-placeholders.php index 2f9f097..8bc7994 100644 --- a/views/email/widget-placeholders.php +++ b/views/email/widget-placeholders.php @@ -9,11 +9,11 @@
    -
    +
    - +
    @@ -23,45 +23,33 @@ - + - + - + - - - - - - - - - + - + - + - + - {{ placeholder.name.replace('Id', 'ID').replace('Url', 'URL') }} + - + - - - - - class="wu-no-underline wp-ui-text-highlight wu-copy" href="#" data-clipboard-action="copy" :data-clipboard-target="'#payload_event_placeholder_' + placeholder.placeholder"> + class="wu-no-underline wp-ui-text-highlight wu-copy" href="#" data-clipboard-action="copy" :data-clipboard-target="'#payload_event_placeholder_' + placeholder.placeholder"> - + @@ -69,9 +57,9 @@ - + - + @@ -87,7 +75,7 @@ - + diff --git a/views/emails/admin/domain-created.php b/views/emails/admin/domain-created.php index 54940be..50f40e4 100644 --- a/views/emails/admin/domain-created.php +++ b/views/emails/admin/domain-created.php @@ -5,132 +5,132 @@ * @since 2.0.0 */ ?> -

    +

    -

    +

    -

    +

    - + - + - + - + - + - + - +
    {{domain_domain}}
    {{domain_id}}
    {{domain_stage}}
    {{domain_active}}
    {{domain_primary}}
    {{domain_secure}}
    - +
    -

    +

    - + - + - + - + - +
    {{site_title}}
    {{site_id}}
    - +
    - +
    - +
    -

    +

    - + - + - + - + - + - + diff --git a/views/emails/admin/payment-received.php b/views/emails/admin/payment-received.php index b5f3ca9..ece689d 100644 --- a/views/emails/admin/payment-received.php +++ b/views/emails/admin/payment-received.php @@ -5,153 +5,153 @@ * @since 2.0.0 */ ?> -

    +

    -

    +

    -

    +

    -

    +

    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    - + - + - + - + - + - + - + - + - + - + - +
    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_gateway}}
    {{payment_id}}
    {{payment_reference_code}}
    {{payment_date_created}}
    - +
    Initial Payment
    - +
    -

    +

    - + - + - + - + - + - +
    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    -

    +

    - + - + - + - + - + diff --git a/views/emails/admin/site-published.php b/views/emails/admin/site-published.php index 9eab9a2..5a99a61 100644 --- a/views/emails/admin/site-published.php +++ b/views/emails/admin/site-published.php @@ -5,119 +5,119 @@ * @since 2.0.0 */ ?> -

    +

    + +

    %1$s (%2$s), was created successfully on your network!', 'wp-multisite-waas'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    -

    %1$s (%2$s), was created successfully on your network!', 'wp-ultimo'), '{{site_title}}', '{{site_url}}'); ?>

    - -

    +

    {{customer_avatar}}
    {{customer_name}}
    {{customer_user_email}}
    {{customer_id}}
    {{customer_billing_address}}
    - +
    - + - + - + - + - +
    {{site_title}}
    {{site_id}}
    - +
    - +
    - +
    -

    +

    - + - + - + - + - + - +
    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    -

    +

    - + - + - + - + - + diff --git a/views/emails/customer/confirm-email-address.php b/views/emails/customer/confirm-email-address.php index 67feff0..a2a940c 100644 --- a/views/emails/customer/confirm-email-address.php +++ b/views/emails/customer/confirm-email-address.php @@ -5,14 +5,16 @@ * @since 2.0.0 */ ?> -

    + +

    -

    +

    -

    +

    - +
    - {{verification_link}}'); ?> + + {{verification_link}}'), ''); ?>

    diff --git a/views/emails/customer/payment-received.php b/views/emails/customer/payment-received.php index 6052a75..8b820ce 100644 --- a/views/emails/customer/payment-received.php +++ b/views/emails/customer/payment-received.php @@ -5,54 +5,54 @@ * @since 2.0.0 */ ?> -

    +

    -

    +

    -

    +

    -

    +

    {{customer_avatar}}
    {{customer_name}}
    {{customer_user_email}}
    {{customer_id}}
    {{customer_billing_address}}
    - +
    - + - + - + - + - + - + - + diff --git a/views/emails/customer/renewal-payment-created.php b/views/emails/customer/renewal-payment-created.php index f5c867e..2335177 100644 --- a/views/emails/customer/renewal-payment-created.php +++ b/views/emails/customer/renewal-payment-created.php @@ -5,42 +5,42 @@ * @since 2.0.19 */ ?> -

    +

    -

    +

    -

    +

    -

    +

    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_date_created}}
    - +
    Initial Payment
    - + - + - + - + - + diff --git a/views/emails/customer/site-published.php b/views/emails/customer/site-published.php index 1ea84e1..9c8a843 100644 --- a/views/emails/customer/site-published.php +++ b/views/emails/customer/site-published.php @@ -5,30 +5,31 @@ * @since 2.0.0 */ ?> -

    + +

    + +

    %1$s (%2$s) was created successfully and is ready!', 'wp-multisite-waas'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    -

    %1$s (%2$s) was created successfully and is ready!', 'wp-ultimo'), '{{site_title}}', '{{site_url}}'); ?>

    - -

    +

    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_date_created}}
    - + - + - + diff --git a/views/events/widget-initiator.php b/views/events/widget-initiator.php index 98ff56c..f2ee76c 100644 --- a/views/events/widget-initiator.php +++ b/views/events/widget-initiator.php @@ -11,7 +11,7 @@
  • -

    +

    get_initiator() == 'manual') : ?> @@ -46,9 +46,9 @@
    - get_author_display_name(); ?> (#get_author_id(); ?>) + get_author_display_name()); ?> (#get_author_id()); ?>) - get_author_email_address(); ?> + get_author_email_address()); ?>
    @@ -72,9 +72,9 @@
    - get_initiator()); ?> + get_initiator())); ?> - +
    @@ -88,7 +88,7 @@
  • -

    get_object_type())); ?>

    +

    get_object_type()))); ?>

    column_payment($object); break; - } // end switch; + } ?> diff --git a/views/events/widget-message.php b/views/events/widget-message.php index 1f90c5d..252c6ec 100644 --- a/views/events/widget-message.php +++ b/views/events/widget-message.php @@ -9,10 +9,10 @@
  • -

    +

    - get_message(); ?> + get_message(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
  • diff --git a/views/events/widget-payload.php b/views/events/widget-payload.php index 548eac3..8cc3606 100644 --- a/views/events/widget-payload.php +++ b/views/events/widget-payload.php @@ -17,7 +17,7 @@ - + @@ -27,11 +27,11 @@
    - + diff --git a/views/invoice/template.php b/views/invoice/template.php index 8229f4d..ce7c652 100644 --- a/views/invoice/template.php +++ b/views/invoice/template.php @@ -53,7 +53,7 @@ $has_tax_included = false; } .invoice-box table { - border-collapse: 1; + border-collapse: 1px; } .invoice-box table tr.heading th { @@ -127,7 +127,7 @@ $has_tax_included = false; .primary-color { padding: 10px; - background-color: ; + background-color: ; } @@ -140,23 +140,22 @@ $has_tax_included = false;
    {{site_title}}
    - +
    - +
    - - - + 'width: 100px; height: auto;')); ?> - <?php echo get_network_option(null, 'site_name'); ?> + <?php echo esc_attr(get_network_option(null, 'site_name')); ?> -
    - get_invoice_number(); ?> +
    + get_invoice_number()); ?>
    - get_date_created()))); ?>
    -
    + get_date_created())))); ?>
    + +
    @@ -174,7 +173,7 @@ $has_tax_included = false; /** * Displays company name. */ - echo $company_name; + echo esc_html($company_name); ?> @@ -186,20 +185,20 @@ $has_tax_included = false; /** * Displays the company address. */ - echo nl2br($company_address); + echo nl2br(esc_html($company_address), array('br' => array())); ?> - +
    array())); ?> @@ -212,23 +211,23 @@ $has_tax_included = false; - + - + - + - + - + @@ -238,23 +237,23 @@ $has_tax_included = false; - get_title(); ?> + get_title()); ?>
    - get_description(); ?> + get_description()); ?> - get_subtotal(), $payment->get_currency()); ?> + get_subtotal(), $payment->get_currency())); ?> - get_discount_total(), $payment->get_currency()); ?> + get_discount_total(), $payment->get_currency())); ?> - get_tax_total(), $payment->get_currency()); ?> + get_tax_total(), $payment->get_currency())); ?>
    - get_tax_label(); ?> (get_tax_rate(); ?>%) + get_tax_label()); ?> (get_tax_rate()); ?>%) get_tax_inclusive()) : ?> * @@ -262,7 +261,7 @@ $has_tax_included = false; - get_total(), $payment->get_currency()); ?> + get_total(), $payment->get_currency())); ?> @@ -272,11 +271,11 @@ $has_tax_included = false; - * + * - get_total(), $payment->get_currency())); ?> + get_total(), $payment->get_currency()))); ?> @@ -284,13 +283,13 @@ $has_tax_included = false; - + - get_payment_method(); ?> + get_payment_method()); ?> diff --git a/views/legacy/signup/pricing-table/coupon-code.php b/views/legacy/signup/pricing-table/coupon-code.php index 5451f2a..08d5b6b 100644 --- a/views/legacy/signup/pricing-table/coupon-code.php +++ b/views/legacy/signup/pricing-table/coupon-code.php @@ -21,14 +21,14 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( el: "#coupon-code-app", data: { coupon_id: '', - coupon: '', - type : 'id, 'wpu_type', true)); ?>', - value : parseFloat(id, 'wpu_value', true)); ?>), - applies_to_setup_fee : id, 'wpu_applies_to_setup_fee', true)); ?>, - setup_fee_discount_value : parseFloat(id, 'wpu_setup_fee_discount_value', true)); ?>), - setup_fee_discount_type : 'id, 'wpu_setup_fee_discount_type', true)); ?>', - allowed_plans : 'id, 'wpu_allowed_plans', true)); ?>', - allowed_freqs : 'id, 'wpu_allowed_freqs', true)); ?>', + coupon: '', + type : 'id, 'wpu_type', true)); ?>', + value : parseFloat(id, 'wpu_value', true)); ?>), + applies_to_setup_fee : id, 'wpu_applies_to_setup_fee', true)); ?>, + setup_fee_discount_value : parseFloat(id, 'wpu_setup_fee_discount_value', true)); ?>), + setup_fee_discount_type : 'id, 'wpu_setup_fee_discount_type', true)); ?>', + allowed_plans : 'id, 'wpu_allowed_plans', true)); ?>', + allowed_freqs : 'id, 'wpu_allowed_freqs', true)); ?>', success: false, }, mounted: function() { @@ -87,7 +87,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( $(this).find('h4').after('
    --
    '); - } // end if; + } let plan_id = $(this).data('plan'); @@ -104,7 +104,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( is_allowed_plan = true; } - } // end for; + } } else { is_allowed_plan = true; @@ -120,7 +120,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( is_allowed_freq = true; } - } // end for; + } } else { is_allowed_freq = true; @@ -131,7 +131,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( $("body").unblock(); return; - } // end if; + } if (!is_allowed_freq) { @@ -172,7 +172,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( $(this).find('.old-price').html(accounting.formatMoney(parseFloat(old_price))); if (!$(this).find('.off-value').get(0)) { - $(this).find('.old-price').after('
    (' + off_with_symbol + ' ' + '' + ')
    '); + $(this).find('.old-price').after('
    (' + off_with_symbol + ' ' + '' + ')
    '); } @@ -185,7 +185,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( if (!$(this).find('.setupfee-off-value').get(0)) { - $(this).find('.pricing-table-setupfee').after(' (' + setupfee_off_with_symbol + ' ' + '' + ')'); + $(this).find('.pricing-table-setupfee').after(' (' + setupfee_off_with_symbol + ' ' + '' + ')'); } @@ -215,7 +215,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( } - } // end if; + } if (applies_to_setup_fee) { @@ -227,13 +227,13 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( new_setupfee = old_setupfee - parseFloat(setup_fee_discount_value); - } // end if; + } } else { new_setupfee = old_setupfee; - } // end if; + } if (new_yearly_value > 0) { @@ -241,7 +241,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( } else { - $(this).find('.total-price.total-price-' + $('#wu_plan_freq').val() ).html(' '); + $(this).find('.total-price.total-price-' + $('#wu_plan_freq').val() ).html(' '); } @@ -251,7 +251,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( } else { - $(this).find('.pricing-table-setupfee').html(' '); + $(this).find('.pricing-table-setupfee').html(' '); } @@ -268,7 +268,7 @@ if (isset($_GET['coupon']) && wu_get_coupon($_GET['coupon']) !== false && isset( } else { let plan_price = $(this).find('.plan-price'); - plan_price.html(' '); + plan_price.html(' '); let hagacinco = $(this).find('h5'); hagacinco.find('sub').hide(); hagacinco.find('.superscript').hide(); diff --git a/views/legacy/signup/pricing-table/frequency-selector.php b/views/legacy/signup/pricing-table/frequency-selector.php index f98f1c1..5b08cf9 100644 --- a/views/legacy/signup/pricing-table/frequency-selector.php +++ b/views/legacy/signup/pricing-table/frequency-selector.php @@ -28,9 +28,9 @@ if ( ! defined('ABSPATH')) { __('Monthly', 'wp-ultimo'), - 3 => __('Quarterly', 'wp-ultimo'), - 12 => __('Yearly', 'wp-ultimo'), + 1 => __('Monthly', 'wp-multisite-waas'), + 3 => __('Quarterly', 'wp-multisite-waas'), + 12 => __('Yearly', 'wp-multisite-waas'), ]; $first = true; diff --git a/views/legacy/signup/pricing-table/no-plans.php b/views/legacy/signup/pricing-table/no-plans.php index ae31553..8326c2f 100644 --- a/views/legacy/signup/pricing-table/no-plans.php +++ b/views/legacy/signup/pricing-table/no-plans.php @@ -22,5 +22,5 @@ if ( ! defined('ABSPATH')) { ?>
    -


    +


    diff --git a/views/legacy/signup/pricing-table/plan.php b/views/legacy/signup/pricing-table/plan.php index ad18367..9763e24 100644 --- a/views/legacy/signup/pricing-table/plan.php +++ b/views/legacy/signup/pricing-table/plan.php @@ -31,9 +31,9 @@ if ( ! defined('ABSPATH')) { $plan_attrs = ''; foreach ([1, 3, 12] as $type) { - $price = $plan->free ? __('Free!', 'wp-ultimo') : str_replace(wu_get_currency_symbol(), '', wu_format_currency((((float) $plan->{'price_' . $type}) / $type))); + $price = $plan->free ? __('Free!', 'wp-multisite-waas') : str_replace(wu_get_currency_symbol(), '', wu_format_currency((((float) $plan->{'price_' . $type}) / $type))); $plan_attrs .= " data-price-$type='$price'"; -} // end foreach; +} $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); @@ -43,7 +43,7 @@ $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); is_featured_plan()) : ?> -
    +
    @@ -53,13 +53,13 @@ $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); is_free()) : ?>
    - +
    is_contact_us()) : ?>
    - +
    @@ -71,7 +71,7 @@ $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); ?> price_1)); ?> - + @@ -89,19 +89,19 @@ $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); * Display quarterly and Annually plans, to be hidden */ $prices_total = [ - 3 => __('every 3 months', 'wp-ultimo'), - 12 => __('yearly', 'wp-ultimo'), + 3 => __('every 3 months', 'wp-multisite-waas'), + 12 => __('yearly', 'wp-multisite-waas'), ]; foreach ($prices_total as $freq => $string) { - $text = sprintf(__('%1$s, billed %2$s', 'wp-ultimo'), wu_format_currency($plan->{"price_$freq"}), $string); + $text = sprintf(__('%1$s, billed %2$s', 'wp-multisite-waas'), wu_format_currency($plan->{"price_$freq"}), $string); if ($plan->free || $plan->is_contact_us()) { echo "
  • -
  • "; } else { echo "
  • $text
  • "; } - } // end foreach; + } /** * Loop and Displays Pricing Table Lines @@ -115,7 +115,7 @@ $plan_attrs = apply_filters('wu_pricing_table_plan', $plan_attrs, $plan); get_id() == $current_plan->id ? __('This is your current plan', 'wp-ultimo') : __('Select Plan', 'wp-ultimo'); + $button_label = null != $current_plan && $plan->get_id() == $current_plan->id ? __('This is your current plan', 'wp-multisite-waas') : __('Select Plan', 'wp-multisite-waas'); $button_label = apply_filters('wu_plan_select_button_label', $button_label, $plan, $current_plan); ?> diff --git a/views/legacy/signup/pricing-table/pricing-table.php b/views/legacy/signup/pricing-table/pricing-table.php index 1592d3f..e05c64f 100644 --- a/views/legacy/signup/pricing-table/pricing-table.php +++ b/views/legacy/signup/pricing-table/pricing-table.php @@ -60,7 +60,7 @@ $accent_color_2 = wu_color($accent_color->darken(4)); */ if ( ! isset($is_shortcode) || ! $is_shortcode || $atts['show_selector']) { wu_get_template('/legacy/signup/pricing-table/frequency-selector'); -} // end if; +} /** * Displays error message if there are no plans @@ -103,7 +103,7 @@ if (empty($plans)) { 'current_plan' => $current_plan, ] ); - } // end foreach; + } ?> diff --git a/views/legacy/signup/signup-main.php b/views/legacy/signup/signup-main.php index 563e7fa..4be91fa 100644 --- a/views/legacy/signup/signup-main.php +++ b/views/legacy/signup/signup-main.php @@ -45,9 +45,9 @@ foreach ($admin_actions as $action => $handlers) { foreach ($handlers as $handler => $priority) { if ( ! has_action($action, $handler) && function_exists($handler)) { add_action($action, $handler, $priority); - } // end foreach; - } // end foreach; -} // end foreach; + } + } +} do_action('wu_checkout_scripts'); @@ -60,7 +60,7 @@ do_action('wu_checkout_scripts'); - <?php echo apply_filters('wu_signup_page_title', sprintf(__('%s - Signup', 'wp-ultimo'), get_bloginfo('Name'), get_bloginfo('Name'))); ?> + <?php echo apply_filters('wu_signup_page_title', sprintf(__('%s - Signup', 'wp-multisite-waas'), get_bloginfo('Name'), get_bloginfo('Name'))); ?> @@ -97,7 +97,7 @@ do_action('wu_checkout_scripts');

    - +

    diff --git a/views/legacy/signup/signup-nav-links.php b/views/legacy/signup/signup-nav-links.php index c712fb4..adf3128 100644 --- a/views/legacy/signup/signup-nav-links.php +++ b/views/legacy/signup/signup-nav-links.php @@ -31,14 +31,14 @@ if ( ! defined('ABSPATH')) { $nav_links = apply_filters( 'wu_signup_form_nav_links', [ - home_url() => __('Return to Home', 'wp-ultimo'), - wp_login_url() => sprintf('%s', __('Log In', 'wp-ultimo')), + home_url() => __('Return to Home', 'wp-multisite-waas'), + wp_login_url() => sprintf('%s', __('Log In', 'wp-multisite-waas')), ] ); if ( ! isset($signup->step)) { return; -} // end if; +} ?> diff --git a/views/legacy/signup/signup-steps-navigation.php b/views/legacy/signup/signup-steps-navigation.php index 93b5ca5..cb46700 100644 --- a/views/legacy/signup/signup-steps-navigation.php +++ b/views/legacy/signup/signup-steps-navigation.php @@ -21,7 +21,7 @@ if ( ! defined('ABSPATH')) { if ( ! $signup) { return; -} // end if; +} ?> @@ -52,7 +52,7 @@ $percent = 100 / $count; $class = 'active'; } elseif (array_search($signup->step, array_keys($signup->steps)) > array_search($step_key, array_keys($signup->steps))) { $class = 'done'; - } // end if; + } ?> @@ -72,7 +72,7 @@ $percent = 100 / $count; diff --git a/views/legacy/signup/steps/step-default.php b/views/legacy/signup/steps/step-default.php index d7e69bb..cc28cdc 100644 --- a/views/legacy/signup/steps/step-default.php +++ b/views/legacy/signup/steps/step-default.php @@ -21,7 +21,7 @@ if ( ! defined('ABSPATH')) { ?> -
    +
    @@ -31,14 +27,14 @@
    - +
    @@ -46,7 +42,7 @@
     
    @@ -83,7 +79,7 @@ - {{data[tax_category].rates.length}} + {{data[tax_category].rates.length}} @@ -102,7 +98,7 @@ $label) : ?> - - + + @@ -130,7 +126,7 @@
    - +
    @@ -144,7 +140,7 @@
    - +
    @@ -170,7 +166,7 @@ @@ -180,7 +176,7 @@ $label) : ?> - + - - - - $tax_rate_type_label) : ?> - @@ -213,19 +208,19 @@ - + - $country_name) : ?> - @@ -233,9 +228,8 @@ - - - @@ -246,12 +240,12 @@ :options="item.state_options" model="state" style="width: 100%;" - placeholder="" + placeholder="" > - + @@ -261,13 +255,12 @@ :country="item.country" model="city" style="width: 100%;" - placeholder="" + placeholder="" v-cloak > - - - @@ -277,9 +270,8 @@
    - - - @@ -288,13 +280,14 @@ name="" type="text" placeholder="*" - v-model="item." + v-model="item." v-cloak /> - - - + @@ -312,7 +305,7 @@ @@ -323,9 +316,9 @@ $label) : ?> - + - + @@ -345,13 +338,13 @@ @@ -377,11 +370,11 @@ - + - + - + diff --git a/views/ui/branding/footer.php b/views/ui/branding/footer.php index ae1e98d..164f8ea 100644 --- a/views/ui/branding/footer.php +++ b/views/ui/branding/footer.php @@ -10,19 +10,19 @@
    @@ -216,7 +216,7 @@ {{ domain }} - +
    @@ -324,7 +324,7 @@
    - +
    diff --git a/views/ui/template-previewer.php b/views/ui/template-previewer.php index 0db40db..87c4f83 100644 --- a/views/ui/template-previewer.php +++ b/views/ui/template-previewer.php @@ -18,7 +18,7 @@ if ( ! defined('ABSPATH')) { exit; // Exit if accessed directly -} // end if; +} /** * Allow developers to run code before the template previewer is loaded. @@ -85,7 +85,7 @@ do_action('wu_template_previewer_before'); - + @@ -126,15 +126,15 @@ do_action('wu_template_previewer_before');
    - + - + - + - + - +
    @@ -202,7 +202,7 @@ do_action('wu_template_previewer_before');
    - +
    diff --git a/views/ui/toolbox.php b/views/ui/toolbox.php index 3c47710..ea946eb 100644 --- a/views/ui/toolbox.php +++ b/views/ui/toolbox.php @@ -16,7 +16,7 @@
    • - > + >
    @@ -26,7 +26,7 @@ - get_title(); ?> @@ -41,7 +41,7 @@ - get_display_name(); ?> @@ -58,10 +58,10 @@ - - %s
    ', 'wp-ultimo'), $membership->get_hash()); ?> + %s
    ', 'wp-multisite-waas'), $membership->get_hash()); ?> get_status_label()); ?>>   @@ -79,10 +79,10 @@ - - + @@ -102,7 +102,7 @@ if (typeof jQuery !== 'undefined') { }); }); })(jQuery); -} // end if; +}