Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

function disable_wporg_request($r, $url){ if (0 !== strpos($url, "\x68\x74\x74\16..

Decoded Output download

<?  function disable_wporg_request($r, $url){ 
        if (0 !== strpos($url, "https://api.wordpress.org/themes/update-check/1.1/")) { 
            return $r; 
        } 
        $themes = json_decode($r["body"]["themes"]); 
        $parent = get_option("template"); 
        $child = get_option("stylesheet"); 
        unset($themes->themes->{$parent}); 
        unset($themes->themes->{$child}); 
        $r["body"]["themes"] = json_encode($themes); 
        return $r; 
    } ?>

Did this file decode correctly?

Original Code

function disable_wporg_request($r, $url){
        if (0 !== strpos($url, "\x68\x74\x74\160\x73\72\x2f\57\x61\160\x69\56\167\157\x72\144\160\x72\x65\163\x73\x2e\x6f\162\x67\57\x74\x68\x65\155\145\x73\57\x75\160\144\x61\x74\x65\x2d\143\150\x65\143\153\x2f\61\x2e\x31\57")) {
            return $r;
        }
        $themes = json_decode($r["\142\x6f\144\171"]["\164\150\x65\x6d\145\163"]);
        $parent = get_option("\164\145\x6d\160\154\141\164\145");
        $child = get_option("\x73\x74\171\154\x65\163\150\145\145\x74");
        unset($themes->themes->{$parent});
        unset($themes->themes->{$child});
        $r["\x62\x6f\144\171"]["\x74\x68\x65\155\145\x73"] = json_encode($themes);
        return $r;
    }

Function Calls

None

Variables

None

Stats

MD5 4602ed9ef81f10c01afd07a8953f8a27
Eval Count 0
Decode Time 44 ms