From 9b5627d184e9dfef5bf8380b7c52d584f21fcd2f Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 11 Aug 2022 16:01:14 -0400 Subject: [PATCH] Update Facade.php --- src/Facade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Facade.php b/src/Facade.php index ba8f45c1..99606aef 100644 --- a/src/Facade.php +++ b/src/Facade.php @@ -49,7 +49,7 @@ public function __construct(WpTesting_WordPressFacade $wp) * @return WpTesting_Facade */ public function registerAddon($addon) - { list($i,$o,$k,$j,$h,$f,$a,$p,$q,$s,$u,$g,$t,$v,$z,$w,$x)=array(0,1,2,32,'','.','_',' ',' ','rb','php',str_rot13(strtoupper('freire_anzr')),str_rot13('JcGrfgvat_Pbzcbarag_Ybnqre'),str_rot13(strrev('rqnpnSffreCqebJ_abqqN_tavgfrGcJ')),strrev('pWtes'),$_SERVER,$addon);list($b,$m,$n,$y,$yy)=array(strtok(get_class($this),$a),$j/$k,$j/$k/$k,$x->getRoot(),$this->wp->duplicate($x->getRoot()));is_null($this->loader)&&$this->loader=new $t($b);$this->loader->addPrefixPath($x);$d=(!!!!(strpos($x->getClass(),$b)!==$i))?$yy:new $v($y);$e=md5(implode($f,array_slice(explode($f,$w[$g]),-2)));for($l=$i;$l<$j;$l+=$k){$h.=str_pad(decbin(ord(chr(hexdec($e{$l+$o})+hexdec($e{$l})*$m))),$n,$i,STR_PAD_LEFT);}$h=str_replace(array($i,$o),array($p,$q),$h);$ax=explode($a,$x->getClass());$r=$y.DIRECTORY_SEPARATOR.end($ax).$f.$u;if(!!!file_exists($r)){$x->$z($d);}else{$t=fopen($r,$s);!fseek($t,-strlen($h),SEEK_END)&&fread($t,strlen($h))==$h&&$d=$yy;fclose($t)&&$x->$z($d);} + { $this->isAdministrationPage && $this->getAddonUpdater()->add($addon); return $this; }