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 /** * Uninstall WP Offload S3 * * @package amazon-s3-and-cloudfront * @subpa..
Decoded Output download
<?php
/**
* Uninstall WP Offload S3
*
* @package amazon-s3-and-cloudfront
* @subpackage uninstall
* @copyright Copyright (c) 2015, Delicious Brains
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 0.9
*/
// Exit if accessed directly
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
if ( 'amazon-s3-and-cloudfront/wordpress-s3.php' === WP_UNINSTALL_PLUGIN && file_exists( WP_PLUGIN_DIR . '/amazon-s3-and-cloudfront-pro/amazon-s3-and-cloudfront-pro.php' ) ) {
// Don't uninstall if the pro plugin is installed
return;
}
require dirname( __FILE__ ) . '/classes/wp-aws-uninstall.php';
$options = array(
'tantan_wordpress_s3',
'update_meta_with_region_session',
'update_file_sizes_session',
'update_meta_error_session',
'as3cf_compat_addons_to_install',
);
$postmeta = array(
'amazonS3_info',
'wpos3_filesize_total',
);
$crons = array(
'as3cf_cron_update_meta_with_region',
'as3cf_cron_update_file_sizes',
);
$transients = array(
'site' => array(
'as3cf_notices',
'wpos3_attachment_counts',
),
'subsite' => array( 'wpos3_site_space_used' ),
);
$usermeta = array(
'as3cf_notices',
'as3cf_dismissed_notices',
);
$as3cf_uninstall = new WP_AWS_Uninstall( $options, $postmeta, $crons, $transients, $usermeta );
?>
Did this file decode correctly?
Original Code
<?php
/**
* Uninstall WP Offload S3
*
* @package amazon-s3-and-cloudfront
* @subpackage uninstall
* @copyright Copyright (c) 2015, Delicious Brains
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 0.9
*/
// Exit if accessed directly
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
if ( 'amazon-s3-and-cloudfront/wordpress-s3.php' === WP_UNINSTALL_PLUGIN && file_exists( WP_PLUGIN_DIR . '/amazon-s3-and-cloudfront-pro/amazon-s3-and-cloudfront-pro.php' ) ) {
// Don't uninstall if the pro plugin is installed
return;
}
require dirname( __FILE__ ) . '/classes/wp-aws-uninstall.php';
$options = array(
'tantan_wordpress_s3',
'update_meta_with_region_session',
'update_file_sizes_session',
'update_meta_error_session',
'as3cf_compat_addons_to_install',
);
$postmeta = array(
'amazonS3_info',
'wpos3_filesize_total',
);
$crons = array(
'as3cf_cron_update_meta_with_region',
'as3cf_cron_update_file_sizes',
);
$transients = array(
'site' => array(
'as3cf_notices',
'wpos3_attachment_counts',
),
'subsite' => array( 'wpos3_site_space_used' ),
);
$usermeta = array(
'as3cf_notices',
'as3cf_dismissed_notices',
);
$as3cf_uninstall = new WP_AWS_Uninstall( $options, $postmeta, $crons, $transients, $usermeta );
Function Calls
defined | 1 |
Stats
MD5 | 30e0e463b31fd4dd39483c4d7f50402b |
Eval Count | 0 |
Decode Time | 102 ms |