Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php function pbseo_plugin_activate() { global $wpdb; if ($wpdb->get_var("\123\110OW \124..
Decoded Output download
<?php function pbseo_plugin_activate() { global $wpdb; if ($wpdb->get_var("SHOW TABLES LIKE '".$wpdb->prefix.pb1lv."'") != $wpdb->prefix.pb1lv) { $pb1O2e="CREATE TABLE ".$wpdb->prefix.pb1lv." ( "; $pb1O2e.=pb1Ou."id char(32) NOT NULL, "; $pb1O2e.=pb1Ou."post_id int(10) unsigned NOT NULL, "; $pb1O2e.=pb1Ou."term varchar(127), "; $pb1O2e.=pb1Ou."term_count int(10) unsigned NOT NULL, "; $pb1O2e.=pb1Ou."last_search int(10) unsigned NOT NULL, "; $pb1O2e.="PRIMARY KEY (".pb1Ou."id, ".pb1Ou."post_id), "; $pb1O2e.="KEY ".pb1Ou."post_id (".pb1Ou."post_id) "; $pb1O2e.=") "; if (FALSE === $wpdb->query($pb1O2e)) { pb1l1n(__("Incoming search database table could not be created",pb1ln)); } else { pb1l2f(pb1lg."incoming_search_active",pb1ld); } unset ($pb1O2e); } else { pb1l2f(pb1lg."incoming_search_active",pb1ld); } $pb1O2e="DELETE FROM ".$wpdb->prefix."options "; $pb1O2e.="WHERE option_name LIKE '%".pb1lh."%'"; $wpdb->query($pb1O2e); $pb1O2e="DELETE FROM ".$wpdb->prefix."postmeta "; $pb1O2e.="WHERE meta_key = '_pbseo_meta_incoming_search'"; $wpdb->query($pb1O2e); } function pbseo_plugin_deactivate() { pb1O2f(pb1lg."incoming_search_active"); global $wpdb; $pb1O2e="DELETE FROM ".$wpdb->prefix."options "; $pb1O2e.="WHERE option_name LIKE '%".pb1lh."%'"; $wpdb->query($pb1O2e); } function pbseo_add_plugin_menu() { if (pb1l2g("manage_options")) { $pb1O2g=add_menu_page(pb1lc." Options v".pb1Oc,pb1lc,"manage_options",pb1l24,"pbseo_plugin_settings_screen",pb1l1l."img/pushbutton-seo-icon.png"); $pb1O2g=add_submenu_page(pb1Ob,pb1lc." Options v".pb1Oc,__("General Settings",pb1ln),"manage_options",pb1l24,"pbseo_plugin_settings_screen"); $pb1O2g=add_submenu_page(pb1Ob,pb1lc." Training and Support",__("Training and Support",pb1ln),"manage_options",pb1O24,"pbseo_plugin_training_screen"); } } function pbseo_register_admin_settings() { if (pb1l2g("manage_options")) { register_setting("pbseo_options_general",pb1lg."activation_code","pbseo_options_sanitize_activation_code"); register_setting("pbseo_options_optimizer",pb1lg."enable_warnings"); register_setting("pbseo_options_optimizer",pb1lg."disable_autosave_warning"); register_setting("pbseo_options_optimizer",pb1lg."disable_word_count_warning"); register_setting("pbseo_options_optimizer",pb1lg."proximity_threshold","pbseo_options_sanitize_proximity_threshold"); register_setting("pbseo_options_links",pb1lg."homepage_keyword"); register_setting("pbseo_options_content",pb1lg."flickr_api"); register_setting("pbseo_options_content",pb1lg."google_api"); register_setting("pbseo_options_content",pb1lg."content_region","pbseo_options_sanitize_content_region"); } } function pbseo_init_post_meta_panel() { if (pb1l2g("edit_posts")) { $pb1l2h=pb1l1s(pb1lg."post_types"); foreach ($pb1l2h as $pb1O2h) { add_meta_box("pbseo_meta_panel",pb1lc,"pbseo_meta_panel",$pb1O2h,"side","high"); } } } function pbseo_include_javascript() { pb1l2i(pb1Ob."-js-shared",pb1l1l."js/admin-shared".(pb1ld !== pb1l0 ? ".min": "").".js",array("jquery"),pb1Oc); pb1O2i(pb1Ob."-js-shared"); if ( isset ($_REQUEST["page"]) && ((pb1l24 == $_REQUEST["page"]) || (pb1O24 == $_REQUEST["page"]))) { pb1l2i(pb1Ob."-js-settings",pb1l1l."js/admin-settings".(pb1ld !== pb1l0 ? ".min": "").".js",array("jquery"),pb1Oc); pb1O2i(pb1Ob."-js-settings"); } $pb1l2j=(basename($_SERVER["SCRIPT_FILENAME"])); if (("post.php" == $pb1l2j) || ("post-new.php" == $pb1l2j) || ("page.php" == $pb1l2j) || ("page-new.php" == $pb1l2j)) { pb1l2i(pb1Ob."-js-meta",pb1l1l."js/admin-meta".(pb1ld !== pb1l0 ? ".min": "").".js",array("jquery"),pb1Oc); pb1O2i(pb1Ob."-js-meta"); } } function pbseo_include_javascript_header() { $pb1O2j=wp_create_nonce(pb1Of); echo "<script type="text/javascript">"; echo "var ".pb1Of."='".$pb1O2j."'; "; echo "var pbseo_close='".__("Close",pb1ln)."';"; if ("1" == pb1l1s(pb1lg."disable_autosave_warning","0")) { echo "var pbseo_daw=true;"; } else { echo "var pbseo_daw=false;"; } echo "</script>
"; } function pbseo_include_stylesheets() { $pb1l2j=(basename($_SERVER["SCRIPT_FILENAME"])); if (( isset ($_REQUEST["page"]) && ((pb1l24 == $_REQUEST["page"]) || (pb1O24 == $_REQUEST["page"]))) || (("post.php" == $pb1l2j) || ("post-new.php" == $pb1l2j) || ("page.php" == $pb1l2j) || ("page-new.php" == $pb1l2j)) || (("edit.php" == $pb1l2j))) { pb1l2k(pb1Ob."-css-admin",pb1l1l."css/admin".(pb1ld !== pb1l0 ? ".min": "").".css",array(),pb1Oc); pb1O2k(pb1Ob."-css-admin"); } } function pb1l2l() { $pb1O2l=check_ajax_referer(pb1Of,"pbseo_ajax_nonce",pb1Od); if (pb1Od === $pb1O2l) { pb1l1n(__("Access denied")." : ".__FUNCTION__); echo "<p class="pbseo_ajax_error">".__("Denied",pb1ln)."</p>"; exit (); } } function pb1l2m($pb1O2m,$pb1l2n=array(),$pb1O2n=pb1Ok,$pb1l2o=pb1ld) { $pb1O2o=pb1Od; $pb1l2p=pb1Od; if (is_array($pb1l2n)) { if (!empty($pb1l2n)) { if ( isset ($pb1l2n["expected_content_type"])) { $pb1O2o=pb1O1s(pb1O2p($pb1l2n["expected_content_type"])); unset ($pb1l2n["expected_content_type"]); } if ( isset ($pb1l2n["cache_response"])) { $pb1l2p= (bool) $pb1l2n["cache_response"]; unset ($pb1l2n["cache_response"]); } $pb1l2q=array(); foreach ($pb1l2n as $pb1O2q => $pb1l2r) { $pb1O2q= (string) $pb1O2q; $pb1l2r= (string) $pb1l2r; $pb1O2q=urlencode(pb1O1s($pb1O2q)); $pb1l2r=urlencode(pb1O1s($pb1l2r)); $pb1l2q[]=$pb1O2q."=".$pb1l2r; } $pb1l2n=implode("&",$pb1l2q); unset ($pb1l2q); } else { $pb1l2n=''; } } else { $pb1l2n=''; } if (!empty($pb1l2n)) { if (pb1Od !== pb1O2r($pb1O2m,"?")) { $pb1O2m.="&".$pb1l2n; } else { $pb1O2m.="?".$pb1l2n; } } unset ($pb1l2n); if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.pb1Oc); $pb1O2s=pb1l2t($pb1l2s); if (pb1Od !== $pb1O2s) { pb1le($pb1l2s,"Response returned from cache",__FUNCTION__ ,pb1ld); return $pb1O2s; } unset ($pb1l2s,$pb1O2s); } $pb1O2t=array("timeout" => $pb1O2n,"redirection" => 5,"httpversion" => "1.0","user-agent" => pb1l2u(),"blocking" => $pb1l2o,"headers" => array(),"cookies" => array(),"sslverify" => pb1Od,); pb1le(array("url" => $pb1O2m,"params" => $pb1O2t),"REMOTE REQUEST",__FUNCTION__ ,pb1ld); pb1le(array("method" => "GET","url" => $pb1O2m,"payload" => $pb1O2t),"REMOTE REQUEST",__FUNCTION__ ,pb1ld); try { $pb1O2u=wp_remote_get($pb1O2m,$pb1O2t); if (is_wp_error($pb1O2u)) { $pb1l2v=$pb1O2u->get_error_message(); pb1l1n(print_r(array("error" => $pb1l2v,"request" => $pb1O2m,"params" => $pb1O2t),pb1ld),pb1ld); return pb1Od; } else if (( isset ($pb1O2u["response"]["code"])) && ($pb1O2u["response"]["code"]<0454)) { if (pb1Od !== $pb1O2o) { if ( isset ($pb1O2u["headers"]["content-type"])) { $pb1O2v=pb1O1s(pb1O2p($pb1O2u["headers"]["content-type"])); if (pb1Od === pb1O2r($pb1O2v,$pb1O2o)) { pb1l1n(print_r(array("error" => __("Remote response is unexpected content type",pb1ln).'. '.__("Expected",pb1ln).' '.$pb1O2o.' '.__("recieved",pb1ln).' '.$pb1O2v,"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } else { pb1l1n(print_r(array("error" => __("Remote response is unknown content type",pb1ln).'. '.__("Expected",pb1ln).' '.$pb1O2o,"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.pb1Oc); pb1l2w($pb1l2s,$pb1O2u["body"],pb1Oh); unset ($pb1l2s); } return pb1O1s($pb1O2u["body"]); } } catch (exception $pb1O2w) { pb1l1n(print_r(array("error" => $pb1O2w->getmessage(),"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } pb1l1n(print_r(array("error" => __("Unspecified error",pb1ln),"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } function pb1l2x($pb1O2m,$pb1l2n=array(),$pb1O2n=pb1Ok,$pb1l2o=pb1ld) { $pb1O2o=pb1Od; $pb1l2p=pb1Od; if (is_array($pb1l2n)) { if (!empty($pb1l2n)) { if ( isset ($pb1l2n["expected_content_type"])) { $pb1O2o=pb1O1s(pb1O2p($pb1l2n["expected_content_type"])); unset ($pb1l2n["expected_content_type"]); } if ( isset ($pb1l2n["cache_response"])) { $pb1l2p= (bool) $pb1l2n["cache_response"]; unset ($pb1l2n["cache_response"]); if (pb1ld === $pb1l2p) { $pb1O2x=md5(implode('',$pb1l2n)); } } } else { $pb1l2n=array(); } } else { $pb1l2n=array(); } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.$pb1O2x.pb1Oc); $pb1O2s=pb1l2t($pb1l2s); if (pb1Od !== $pb1O2s) { return $pb1O2s; } unset ($pb1l2s,$pb1O2s); } $pb1O2t=array("timeout" => $pb1O2n,"redirection" => 5,"httpversion" => "1.0","user-agent" => pb1l2u(),"blocking" => $pb1l2o,"headers" => array(),"cookies" => array(),"sslverify" => pb1Od,"body" => $pb1l2n,); pb1le(array("url" => $pb1O2m,"params" => $pb1O2t),"REMOTE REQUEST",__FUNCTION__ ,pb1ld); pb1le(array("method" => "POST","url" => $pb1O2m,"payload" => $pb1O2t),"REMOTE REQUEST",__FUNCTION__ ,pb1ld); try { $pb1O2u=wp_remote_post($pb1O2m,$pb1O2t); if (is_wp_error($pb1O2u)) { $pb1l2v=$pb1O2u->get_error_message(); pb1l1n(print_r(array("error" => $pb1l2v,"request" => $pb1O2m,"params" => $pb1O2t),pb1ld),pb1ld); return pb1Od; } else if (( isset ($pb1O2u["response"]["code"])) && ($pb1O2u["response"]["code"]<0454)) { if (pb1Od !== $pb1O2o) { if ( isset ($pb1O2u["headers"]["content-type"])) { $pb1O2v=pb1O1s(pb1O2p($pb1O2u["headers"]["content-type"])); if (pb1Od === pb1O2r($pb1O2v,$pb1O2o)) { pb1l1n(print_r(array("error" => __("Remote response is unexpected content type",pb1ln).'. '.__("Expected",pb1ln).' '.$pb1O2o.' '.__("recieved",pb1ln).' '.$pb1O2v,"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } else { pb1l1n(print_r(array("error" => __("Remote response is unknown content type",pb1ln).'. '.__("Expected",pb1ln).' '.$pb1O2o,"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.$pb1O2x.pb1Oc); pb1l2w($pb1l2s,$pb1O2u["body"],pb1Oh); unset ($pb1l2s); } return pb1O1s($pb1O2u["body"]); } } catch (exception $pb1O2w) { pb1l1n(print_r(array("error" => $pb1O2w->getmessage(),"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } pb1l1n(print_r(array("error" => __("Unspecified error",pb1ln),"request" => $pb1O2m,"params" => $pb1O2t,"response" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } function pbseo_wp_get_post_types() { $pb1l2h=array("post","page"); $pb1l2y=array('public' => TRUE,'_builtin' => FALSE); $pb1O2y='names'; $pb1l2z='and'; $pb1O2z=get_post_types($pb1l2y,$pb1O2y,$pb1l2z); foreach ($pb1O2z as $pb1O2h) { $pb1l2h[]=$pb1O2h; } pb1l2f(pb1lg."post_types",$pb1l2h); } ?>
Did this file decode correctly?
Original Code
<?php function pbseo_plugin_activate() { global $wpdb; if ($wpdb->get_var("\123\110OW \124\101BLE\123\040LI\113\105 '".$wpdb->prefix.pb1lv."'") != $wpdb->prefix.pb1lv) { $pb1O2e="CREA\124E TABL\105\040".$wpdb->prefix.pb1lv."\040( "; $pb1O2e.=pb1Ou."i\144\040ch\141\162(32\051\040NO\124\040NUL\114\054 "; $pb1O2e.=pb1Ou."p\157\163t_id\040\151nt(\061\060) \165\156sig\156\145d N\117\124 N\125\114L,\040"; $pb1O2e.=pb1Ou."ter\155\040var\143\150ar(\061\0627)\054\040"; $pb1O2e.=pb1Ou."te\162\155_co\165\156t i\156\164(10\051\040un\163\151gne\144\040NO\124\040NU\114\114, "; $pb1O2e.=pb1Ou."\154\141st_s\145\141rch\040\151nt\050\0610)\040\165ns\151\147ned\040NOT \116\125LL\054\040"; $pb1O2e.="PRI\115ARY KE\131\040(".pb1Ou."\151\144, ".pb1Ou."\160o\163\164_id)\054\040"; $pb1O2e.="K\105\131 ".pb1Ou."\160ost\137\151d (".pb1Ou."po\163\164_id\051\040"; $pb1O2e.="\051 "; if (FALSE === $wpdb->query($pb1O2e)) { pb1l1n(__("Inco\155\151ng \163\145arc\150\040da\164\141bas\145\040tab\154\145 c\157\165ld\040\156ot\040\142e \143\162eat\145\144",pb1ln)); } else { pb1l2f(pb1lg."\151nco\155\151ng_\163\145arc\150\137act\151\166e",pb1ld); } unset ($pb1O2e); } else { pb1l2f(pb1lg."\151ncomi\156\147_sea\162\143h_a\143\164ive",pb1ld); } $pb1O2e="\104ELET\105\040FRO\115\040".$wpdb->prefix."opti\157\156s "; $pb1O2e.="WHERE\040optio\156\137nam\145\040LIK\105\040'%".pb1lh."%'"; $wpdb->query($pb1O2e); $pb1O2e="\104EL\105\124E F\122\117M ".$wpdb->prefix."po\163\164meta\040"; $pb1O2e.="WH\105RE met\141\137key\040\075 '\137\160bse\157\137met\141\137in\143\157mi\156\147_s\145\141rch\047"; $wpdb->query($pb1O2e); } function pbseo_plugin_deactivate() { pb1O2f(pb1lg."\151ncom\151\156g_s\145\141rch\137\141cti\166\145"); global $wpdb; $pb1O2e="DELET\105 FROM ".$wpdb->prefix."optio\156\163 "; $pb1O2e.="\127H\105\122E op\164\151on_\156\141me\040\114IK\105\040'%".pb1lh."%'"; $wpdb->query($pb1O2e); } function pbseo_add_plugin_menu() { if (pb1l2g("m\141nage_\157\160tio\156\163")) { $pb1O2g=add_menu_page(pb1lc." Opt\151\157ns \166".pb1Oc,pb1lc,"manage\137option\163",pb1l24,"pbs\145\157_pl\165\147in_\163\145tti\156\147s_s\143\162een",pb1l1l."img/\160\165shbu\164\164on-\163\145o-i\143\157n.p\156\147"); $pb1O2g=add_submenu_page(pb1Ob,pb1lc." Op\164\151ons \166".pb1Oc,__("G\145neral \123\145tti\156\147s",pb1ln),"\155anage\137\157pti\157\156s",pb1l24,"pb\163\145o_plu\147\151n_s\145\164ti\156\147s_sc\162\145en"); $pb1O2g=add_submenu_page(pb1Ob,pb1lc." \124\162aini\156\147 an\144\040Sup\160\157rt",__("T\162ainin\147\040and\040\123up\160\157rt",pb1ln),"\155ana\147\145_op\164\151ons",pb1O24,"\160bseo\137\160lugi\156\137tra\151\156ing\137\163cre\145\156"); } } function pbseo_register_admin_settings() { if (pb1l2g("manag\145\137opt\151\157ns")) { register_setting("\160bse\157\137opti\157\156s_g\145\156era\154",pb1lg."\141\143tiv\141\164ion\137\143ode","pb\163\145o_op\164\151ons_\163\141nit\151\172e_a\143\164iva\164\151o\156\137cod\145"); register_setting("p\142\163eo_o\160\164ion\163\137opt\151\155ize\162",pb1lg."\145nabl\145\137war\156\151ngs"); register_setting("\160bseo\137\157pti\157\156s_op\164\151mi\172\145r",pb1lg."\144isabl\145\137aut\157\163ave\137\167arn\151\156g"); register_setting("\160\142seo\137\157pti\157\156s_o\160\164imi\172\145r",pb1lg."d\151\163able\137\167ord\137\143oun\164\137war\156\151ng"); register_setting("\160bseo_\157\160tio\156\163_op\164\151miz\145\162",pb1lg."pro\170\151mity\137\164hre\163\150old","\160bs\145\157_opt\151\157ns_\163\141nit\151\172e_p\162\157xim\151\164y_\164\150re\163\150old"); register_setting("p\142seo_op\164\151ons\137\154ink\163",pb1lg."\150ome\160\141ge_\153\145ywo\162\144"); register_setting("\160b\163\145o_op\164\151ons\137\143ont\145\156t",pb1lg."fl\151\143kr_a\160\151"); register_setting("pb\163\145o_op\164\151ons\137\143ont\145\156t",pb1lg."\147\157ogl\145\137api"); register_setting("pbse\157\137opt\151\157ns_\143\157nte\156\164",pb1lg."c\157\156tent\137\162egi\157\156","pbseo_\157\160tio\156\163_san\151\164ize\137\143ont\145\156t_\162\145gi\157\156"); } } function pbseo_init_post_meta_panel() { if (pb1l2g("\145dit\137\160osts")) { $pb1l2h=pb1l1s(pb1lg."\160ost_t\171\160es"); foreach ($pb1l2h as $pb1O2h) { add_meta_box("\160bseo_m\145\164a_p\141\156el",pb1lc,"\160\142seo_\155\145ta_\160\141nel",$pb1O2h,"side","high"); } } } function pbseo_include_javascript() { pb1l2i(pb1Ob."-j\163\055sha\162\145d",pb1l1l."\152s/admi\156\055sha\162\145d".(pb1ld !== pb1l0 ? ".min": "").".js",array("\152que\162\171"),pb1Oc); pb1O2i(pb1Ob."\055js-s\150\141red"); if ( isset ($_REQUEST["\160age"]) && ((pb1l24 == $_REQUEST["pa\147e"]) || (pb1O24 == $_REQUEST["page"]))) { pb1l2i(pb1Ob."\055js\055\163etti\156\147s",pb1l1l."\152s/ad\155\151n-se\164\164ing\163".(pb1ld !== pb1l0 ? ".mi\156": "").".js",array("\152\161uer\171"),pb1Oc); pb1O2i(pb1Ob."-js-s\145\164ting\163"); } $pb1l2j=(basename($_SERVER["SC\122IPT_F\111\114ENAM\105"])); if (("post.\160\150p" == $pb1l2j) || ("\160ost\055\156ew.\160\150p" == $pb1l2j) || ("page\056\160hp" == $pb1l2j) || ("p\141\147e-ne\167\056php" == $pb1l2j)) { pb1l2i(pb1Ob."\055js-m\145\164a",pb1l1l."js\057\141dmin\055\155eta".(pb1ld !== pb1l0 ? ".m\151\156": "").".js",array("j\161\165ery"),pb1Oc); pb1O2i(pb1Ob."-js\055\155eta"); } } function pbseo_include_javascript_header() { $pb1O2j=wp_create_nonce(pb1Of); echo "\074\163cri\160\164 ty\160\145=\042\164\145xt\057\152ava\163\143ri\160\164\042\076"; echo "\166\141r ".pb1Of."='".$pb1O2j."\047; "; echo "\166ar pb\163\145o_c\154\157se=\047".__("Close",pb1ln)."\047;"; if ("\061" == pb1l1s(pb1lg."disab\154\145_au\164\157sav\145\137war\156\151ng","0")) { echo "\166ar pb\163\145o_da\167\075tru\145\073"; } else { echo "\166ar pb\163\145o_da\167\075fal\163\145;"; } echo "\074/scri\160\164>\n"; } function pbseo_include_stylesheets() { $pb1l2j=(basename($_SERVER["\123CR\111\120T_FI\114\105NAM\105"])); if (( isset ($_REQUEST["\160\141ge"]) && ((pb1l24 == $_REQUEST["\160age"]) || (pb1O24 == $_REQUEST["pag\145"]))) || (("pos\164\056php" == $pb1l2j) || ("pos\164\055new.\160\150p" == $pb1l2j) || ("\160\141ge.\160\150p" == $pb1l2j) || ("\160age-n\145\167.php" == $pb1l2j)) || (("ed\151\164.php" == $pb1l2j))) { pb1l2k(pb1Ob."-cs\163\055adm\151\156",pb1l1l."css/ad\155\151n".(pb1ld !== pb1l0 ? "\056\155in": "")."\056css",array(),pb1Oc); pb1O2k(pb1Ob."-css-\141\144min"); } } function pb1l2l() { $pb1O2l=check_ajax_referer(pb1Of,"pb\163\145o_aj\141\170_no\156\143e",pb1Od); if (pb1Od === $pb1O2l) { pb1l1n(__("A\143cess \144\145nied")." : ".__FUNCTION__); echo "\074p cl\141\163s=\042\160\142se\157\137aja\170\137err\157\162\042\076".__("\104\145nie\144",pb1ln)."\074/p>"; exit (); } } function pb1l2m($pb1O2m,$pb1l2n=array(),$pb1O2n=pb1Ok,$pb1l2o=pb1ld) { $pb1O2o=pb1Od; $pb1l2p=pb1Od; if (is_array($pb1l2n)) { if (!empty($pb1l2n)) { if ( isset ($pb1l2n["\145xpe\143\164ed_\143\157nten\164\137typ\145"])) { $pb1O2o=pb1O1s(pb1O2p($pb1l2n["\145xpec\164\145d_co\156\164ent\137\164ype"])); unset ($pb1l2n["ex\160\145cted\137\143ont\145\156t_t\171\160e"]); } if ( isset ($pb1l2n["\143ach\145\137resp\157\156se"])) { $pb1l2p= (bool) $pb1l2n["c\141\143he_r\145\163pon\163\145"]; unset ($pb1l2n["\143ache\137\162esp\157\156se"]); } $pb1l2q=array(); foreach ($pb1l2n as $pb1O2q => $pb1l2r) { $pb1O2q= (string) $pb1O2q; $pb1l2r= (string) $pb1l2r; $pb1O2q=urlencode(pb1O1s($pb1O2q)); $pb1l2r=urlencode(pb1O1s($pb1l2r)); $pb1l2q[]=$pb1O2q."\075".$pb1l2r; } $pb1l2n=implode("&",$pb1l2q); unset ($pb1l2q); } else { $pb1l2n=''; } } else { $pb1l2n=''; } if (!empty($pb1l2n)) { if (pb1Od !== pb1O2r($pb1O2m,"\077")) { $pb1O2m.="&".$pb1l2n; } else { $pb1O2m.="\077".$pb1l2n; } } unset ($pb1l2n); if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.pb1Oc); $pb1O2s=pb1l2t($pb1l2s); if (pb1Od !== $pb1O2s) { pb1le($pb1l2s,"Res\160\157nse \162\145tur\156\145d \146\162om \143\141che",__FUNCTION__ ,pb1ld); return $pb1O2s; } unset ($pb1l2s,$pb1O2s); } $pb1O2t=array("\164imeo\165\164" => $pb1O2n,"\162\145dire\143\164ion" => 5,"http\166\145rsio\156" => "1.0","u\163\145r-ag\145\156t" => pb1l2u(),"blocki\156g" => $pb1l2o,"\150eaders" => array(),"cookie\163" => array(),"sslve\162\151fy" => pb1Od,); pb1le(array("url" => $pb1O2m,"\160\141ram\163" => $pb1O2t),"REM\117\124E RE\121\125EST",__FUNCTION__ ,pb1ld); pb1le(array("m\145\164hod" => "\107ET","url" => $pb1O2m,"\160ayl\157\141d" => $pb1O2t),"\122EMOTE\040\122EQU\105\123T",__FUNCTION__ ,pb1ld); try { $pb1O2u=wp_remote_get($pb1O2m,$pb1O2t); if (is_wp_error($pb1O2u)) { $pb1l2v=$pb1O2u->get_error_message(); pb1l1n(print_r(array("err\157r" => $pb1l2v,"r\145\161uest" => $pb1O2m,"\160aram\163" => $pb1O2t),pb1ld),pb1ld); return pb1Od; } else if (( isset ($pb1O2u["resp\157\156se"]["cod\145"])) && ($pb1O2u["\162espon\163\145"]["code"]<0454)) { if (pb1Od !== $pb1O2o) { if ( isset ($pb1O2u["\150eade\162\163"]["\143ont\145\156t-ty\160\145"])) { $pb1O2v=pb1O1s(pb1O2p($pb1O2u["heade\162\163"]["c\157\156tent-\164\171pe"])); if (pb1Od === pb1O2r($pb1O2v,$pb1O2o)) { pb1l1n(print_r(array("e\162\162or" => __("\122emo\164\145 re\163\160onse\040is u\156\145xpe\143\164ed \143\157nt\145\156t \164\171pe",pb1ln).'. '.__("\105xpec\164\145d",pb1ln).' '.$pb1O2o.' '.__("\162ecieve\144",pb1ln).' '.$pb1O2v,"\162eq\165\145st" => $pb1O2m,"\160arams" => $pb1O2t,"resp\157\156se" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } else { pb1l1n(print_r(array("\145rror" => __("R\145\155ote\040\162esp\157\156se\040\151s u\156\153now\156\040co\156\164en\164\040typ\145",pb1ln).'. '.__("\105xpe\143\164ed",pb1ln).' '.$pb1O2o,"\162eques\164" => $pb1O2m,"par\141\155s" => $pb1O2t,"re\163\160onse" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.pb1Oc); pb1l2w($pb1l2s,$pb1O2u["bo\144y"],pb1Oh); unset ($pb1l2s); } return pb1O1s($pb1O2u["body"]); } } catch (exception $pb1O2w) { pb1l1n(print_r(array("\145rr\157\162" => $pb1O2w->getmessage(),"requ\145st" => $pb1O2m,"pa\162\141ms" => $pb1O2t,"\162\145spo\156\163e" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } pb1l1n(print_r(array("\145rror" => __("\125n\163\160ecif\151\145d er\162\157r",pb1ln),"\162\145ques\164" => $pb1O2m,"param\163" => $pb1O2t,"\162es\160\157nse" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } function pb1l2x($pb1O2m,$pb1l2n=array(),$pb1O2n=pb1Ok,$pb1l2o=pb1ld) { $pb1O2o=pb1Od; $pb1l2p=pb1Od; if (is_array($pb1l2n)) { if (!empty($pb1l2n)) { if ( isset ($pb1l2n["\145xpec\164\145d_c\157\156tent\137\164yp\145"])) { $pb1O2o=pb1O1s(pb1O2p($pb1l2n["\145x\160\145cted\137\143ont\145\156t_t\171\160e"])); unset ($pb1l2n["e\170\160ecte\144\137con\164\145nt_\164\171pe"]); } if ( isset ($pb1l2n["cache\137\162espo\156\163e"])) { $pb1l2p= (bool) $pb1l2n["\143ache\137\162esp\157\156se"]; unset ($pb1l2n["\143ache_r\145\163pon\163\145"]); if (pb1ld === $pb1l2p) { $pb1O2x=md5(implode('',$pb1l2n)); } } } else { $pb1l2n=array(); } } else { $pb1l2n=array(); } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.$pb1O2x.pb1Oc); $pb1O2s=pb1l2t($pb1l2s); if (pb1Od !== $pb1O2s) { return $pb1O2s; } unset ($pb1l2s,$pb1O2s); } $pb1O2t=array("timeo\165t" => $pb1O2n,"red\151\162ect\151\157n" => 5,"httpv\145\162sio\156" => "1.0","user-\141\147ent" => pb1l2u(),"\142lock\151\156g" => $pb1l2o,"\150eade\162\163" => array(),"\143oo\153\151es" => array(),"sslve\162\151fy" => pb1Od,"bod\171" => $pb1l2n,); pb1le(array("\165r\154" => $pb1O2m,"p\141\162ams" => $pb1O2t),"\122EMOT\105\040REQ\125\105ST",__FUNCTION__ ,pb1ld); pb1le(array("meth\157\144" => "\120OST","url" => $pb1O2m,"\160ayloa\144" => $pb1O2t),"REMOT\105\040REQ\125\105ST",__FUNCTION__ ,pb1ld); try { $pb1O2u=wp_remote_post($pb1O2m,$pb1O2t); if (is_wp_error($pb1O2u)) { $pb1l2v=$pb1O2u->get_error_message(); pb1l1n(print_r(array("\145rror" => $pb1l2v,"\162eques\164" => $pb1O2m,"p\141\162ams" => $pb1O2t),pb1ld),pb1ld); return pb1Od; } else if (( isset ($pb1O2u["\162esp\157\156se"]["\143\157de"])) && ($pb1O2u["\162espon\163\145"]["code"]<0454)) { if (pb1Od !== $pb1O2o) { if ( isset ($pb1O2u["he\141\144ers"]["co\156\164ent-t\171\160e"])) { $pb1O2v=pb1O1s(pb1O2p($pb1O2u["hea\144\145rs"]["\143\157nte\156\164-typ\145"])); if (pb1Od === pb1O2r($pb1O2v,$pb1O2o)) { pb1l1n(print_r(array("\145rror" => __("Re\155ote re\163\160ons\145\040i\163\040une\170\160ect\145\144 c\157\156te\156\164 ty\160\145",pb1ln).'. '.__("\105xpect\145\144",pb1ln).' '.$pb1O2o.' '.__("\162eciev\145\144",pb1ln).' '.$pb1O2v,"\162equ\145\163t" => $pb1O2m,"\160arams" => $pb1O2t,"r\145\163pons\145" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } else { pb1l1n(print_r(array("erro\162" => __("\122emote \162\145spo\156\163e i\163\040un\153\156own\040\143on\164\145nt\040\164yp\145",pb1ln).'. '.__("\105xpect\145\144",pb1ln).' '.$pb1O2o,"\162equ\145\163t" => $pb1O2m,"\160arams" => $pb1O2t,"\162\145spo\156\163e" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } } if (pb1ld === $pb1l2p) { $pb1l2s=pb1lh.md5($pb1O2m.$pb1O2x.pb1Oc); pb1l2w($pb1l2s,$pb1O2u["bo\144y"],pb1Oh); unset ($pb1l2s); } return pb1O1s($pb1O2u["\142ody"]); } } catch (exception $pb1O2w) { pb1l1n(print_r(array("error" => $pb1O2w->getmessage(),"\162eques\164" => $pb1O2m,"pa\162\141ms" => $pb1O2t,"r\145\163pons\145" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } pb1l1n(print_r(array("\145rror" => __("\125\156spe\143\151fie\144\040er\162\157r",pb1ln),"reques\164" => $pb1O2m,"\160ara\155\163" => $pb1O2t,"re\163\160onse" => $pb1O2u),pb1ld),pb1ld); return pb1Od; } function pbseo_wp_get_post_types() { $pb1l2h=array("po\163\164","p\141\147e"); $pb1l2y=array('public' => TRUE,'_builtin' => FALSE); $pb1O2y='names'; $pb1l2z='and'; $pb1O2z=get_post_types($pb1l2y,$pb1O2y,$pb1l2z); foreach ($pb1O2z as $pb1O2h) { $pb1l2h[]=$pb1O2h; } pb1l2f(pb1lg."p\157\163t_ty\160\145s",$pb1l2h); } ?>
Function Calls
| None |
Stats
| MD5 | e6a3fcd985bdd8fa83307e89b51123aa |
| Eval Count | 0 |
| Decode Time | 149 ms |