/* Decoded by unphp.net */ $BZ) { if (!($BZ->isFile() && $BZ->isReadable())) { goto TQ; } $IM[$VG] = realpath($BZ->getPathname()); TQ: WI: } cb: return $IM; } function mo_oauth_get_sorted_files($mA) { $wG = mo_oauth_get_dir_contents($mA); $c8 = array(); $xe = array(); foreach ($wG as $VG => $rf) { if (!(strpos($rf, ".php") !== false)) { goto fh; } if (strpos($rf, "Interface") !== false) { goto Os; } $xe[$VG] = $rf; goto Sr; Os: $c8[$VG] = $rf; Sr: fh: jl: } A3: return array("interfaces" => $c8, "classes" => $xe); } function mo_oauth_include_file($mA) { if (is_dir($mA)) { goto ub; } return; ub: $mA = mo_oauth_sane_dir_path($mA); $cG = realpath($mA); if (!(false !== $cG && !is_dir($mA))) { goto m4; } return; m4: $o9 = mo_oauth_get_sorted_files($mA); mo_oauth_require_all($o9["interfaces"]); mo_oauth_require_all($o9["classes"]); } function mo_oauth_require_all($wG) { foreach ($wG as $VG => $rf) { require_once $rf; nX: } k_: } function mo_oauth_is_valid_file($jI) { return '' !== $jI && "." !== $jI && ".." !== $jI; } function mo_oauth_get_valid_html($N7 = array()) { $Ew = array("strong" => array(), "em" => array(), "b" => array(), "i" => array(), "a" => array("href" => array(), "target" => array())); if (empty($N7)) { goto oG; } return array_merge($N7, $Ew); oG: return $Ew; } function mo_oauth_get_version_number() { $c0 = get_file_data(MOC_DIR . "/mo_oauth_settings.php", ["Version"], "plugin"); $N4 = isset($c0[0]) ? $c0[0] : ''; return $N4; } function mo_oauth_sane_dir_path($mA) { return str_replace("/", DIRECTORY_SEPARATOR, $mA); } if (!function_exists("mo_oauth_is_rest")) { function mo_oauth_is_rest() { $O5 = rest_get_url_prefix(); if (!(defined("REST_REQUEST") && REST_REQUEST || isset($_GET["rest_route"]) && strpos(trim($_GET["rest_route"], "\/"), $O5, 0) === 0)) { goto By; } return true; By: global $rH; if (!($rH === null)) { goto pc; } $rH = new WP_Rewrite(); pc: $Pz = wp_parse_url(trailingslashit(rest_url())); $dJ = wp_parse_url(add_query_arg(array())); return strpos($dJ["path"], $Pz["path"], 0) === 0; } } ?>