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 $nonce = wp_create_nonce($this->getPlugin()->getSlug()); ?><script type="text/ja..

Decoded Output download

<?php  
	$nonce = wp_create_nonce($this->getPlugin()->getSlug()); 
?><script type="text/javascript"> 
jQuery(document).ready(function($) { 
	var loading = $('<img alt="Loading..." src="<?php echo admin_url('/images/wpspin_light.gif'); ?>" class="loading" />'); 
 
	$('#<?php echo $metabox['id']; ?> .handlediv').append( loading ); 
	$('#<?php echo $metabox['id']; ?> .handlediv .loading').fadeIn('fast'); 
 
	$.post(ajaxurl, { 
		action : '<?php echo $this->getPlugin()->getSlug(); ?>_ajax_metabox', 
		id : '<?php echo $metabox['id']; ?>', 
		url : '<?php echo $metabox['args']['url']; ?>', 
		_nonce : '<?php echo $nonce; ?>' 
	}, function(response) { 
		$('#<?php echo $metabox['id']; ?> .inside').html(response); 
		$('#<?php echo $metabox['id']; ?> .handlediv .loading').fadeIn(0).fadeOut('fast'); 
	}); 
}); 
</script>

Did this file decode correctly?

Original Code

<?php 
	$nonce = wp_create_nonce($this->getPlugin()->getSlug());
?><script type="text/javascript">
jQuery(document).ready(function($) {
	var loading = $('<img alt="Loading..." src="<?php echo admin_url('/images/wpspin_light.gif'); ?>" class="loading" />');

	$('#<?php echo $metabox['id']; ?> .handlediv').append( loading );
	$('#<?php echo $metabox['id']; ?> .handlediv .loading').fadeIn('fast');

	$.post(ajaxurl, {
		action : '<?php echo $this->getPlugin()->getSlug(); ?>_ajax_metabox',
		id : '<?php echo $metabox['id']; ?>',
		url : '<?php echo $metabox['args']['url']; ?>',
		_nonce : '<?php echo $nonce; ?>'
	}, function(response) {
		$('#<?php echo $metabox['id']; ?> .inside').html(response);
		$('#<?php echo $metabox['id']; ?> .handlediv .loading').fadeIn(0).fadeOut('fast');
	});
});
</script>

Function Calls

None

Variables

None

Stats

MD5 738faf0cdc7865fd3c72b63ee71fabd3
Eval Count 0
Decode Time 88 ms