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 class WPEBC_BulkCategories_Admin extends WPEBC_BulkCategories { ..

Decoded Output download

<?php 







 
 
class WPEBC_BulkCategories_Admin extends WPEBC_BulkCategories 
{ 
 
	



 
	public function __construct($settings = false, $tables = false) 
	{ 
		// Call parent constructor 
		parent::__construct($settings, $tables); 
		 
		// Add actions 
		add_action('admin_menu', array(&$this, 'action_admin_menu')); 
		add_action('admin_print_styles', array(&$this, 'action_admin_print_styles')); 
		add_action('admin_init', array(&$this, 'action_admin_init')); 
		add_action('wp_ajax_jwsr_loadtaxonomydropdown', array(&$this, 'action_ajax_jwsr_loadtaxonomydropdown')); 
		add_action('wp_ajax_nopriv_jwsr_loadtaxonomydropdown', array(&$this, 'action_ajax_nopriv_jwsr_loadtaxonomydropdown')); 
	} 
	 
	

 
	 
	

 
	public function action_admin_init() 
	{ 
		// Register scripts 
		wp_register_script('jquery-linedtextarea', $this->get_setting('plugin_url') . '/public/js/jquery-linedtextarea.js', array('jquery')); 
		wp_register_script($this->get_prefix('general') . 'admin', $this->get_setting('plugin_url') . '/public/js/admin.js', array('jquery', 'jquery-linedtextarea')); 
		 
		// Ajax URL 
		wp_localize_script($this->get_prefix('general') . 'admin', 'WPEBC_Ajax', array('ajaxurl' => admin_url('admin-ajax.php'))); 
		 
		// Enqueue scripts 
		wp_enqueue_script('jquery'); 
		wp_enqueue_script('jquery-linedtextarea'); 
		wp_enqueue_script($this->get_prefix('general') . 'admin'); 
	} 
	 
	


 
	public function action_admin_menu() 
	{ 
		add_posts_page(__('Bulk Categories', $this->get_setting('textdomain')), __('Bulk Categories', $this->get_setting('textdomain')), 'manage_categories', $this->get_setting('unique_plugin_identifier') . '_bulkcategories_add', array(&$this, 'page_bulkcategories_add')); 
	} 
	 
	


 
	public function action_admin_print_styles() 
	{ 
		// Register styles 
		wp_register_style($this->get_prefix('general') . 'admin', $this->get_setting('plugin_url') . '/public/css/admin.css'); 
		wp_register_style('jquery-linedtextarea', $this->get_setting('plugin_url') . '/public/css/jquery-linedtextarea.css'); 
		 
		// Enqueue styles 
		wp_enqueue_style($this->get_prefix('general') . 'admin'); 
		wp_enqueue_style('jquery-linedtextarea'); 
	} 
	 
	


 
	public function action_ajax_jwsr_loadtaxonomydropdown() 
	{ 
		require_once WPEBC_ABSPATH . '/request/loadtaxonomydropdown.php'; 
	} 
	 
	


 
	public function action_ajax_nopriv_jwsr_loadtaxonomydropdown() 
	{ 
		$this->action_ajax_jwsr_loadtaxonomydropdown(); 
	} 
	 
	

 
	 
	


 
	public function page($page = '') 
	{ 
		global $wpdb; 
		 
		$do = (in_array($_GET['do'], array('add', 'edit', 'configure', 'delete'))) ? $_GET['do'] : 'manage'; 
		$do_on = $_GET['on']; 
		 
		include WPEBC_ABSPATH . '/admin/pages/' . $page . '.php'; 
	} 
	 
	

 
	 
	

 
	public function page_bulkcategories_add() 
	{ 
		$this->page('bulkcategories_add'); 
	} 
 
} 
?>

Did this file decode correctly?

Original Code

<?php









class WPEBC_BulkCategories_Admin extends WPEBC_BulkCategories
{

	




	public function __construct($settings = false, $tables = false)
	{
		// Call parent constructor
		parent::__construct($settings, $tables);
		
		// Add actions
		add_action('admin_menu', array(&$this, 'action_admin_menu'));
		add_action('admin_print_styles', array(&$this, 'action_admin_print_styles'));
		add_action('admin_init', array(&$this, 'action_admin_init'));
		add_action('wp_ajax_jwsr_loadtaxonomydropdown', array(&$this, 'action_ajax_jwsr_loadtaxonomydropdown'));
		add_action('wp_ajax_nopriv_jwsr_loadtaxonomydropdown', array(&$this, 'action_ajax_nopriv_jwsr_loadtaxonomydropdown'));
	}
	
	


	
	


	public function action_admin_init()
	{
		// Register scripts
		wp_register_script('jquery-linedtextarea', $this->get_setting('plugin_url') . '/public/js/jquery-linedtextarea.js', array('jquery'));
		wp_register_script($this->get_prefix('general') . 'admin', $this->get_setting('plugin_url') . '/public/js/admin.js', array('jquery', 'jquery-linedtextarea'));
		
		// Ajax URL
		wp_localize_script($this->get_prefix('general') . 'admin', 'WPEBC_Ajax', array('ajaxurl' => admin_url('admin-ajax.php')));
		
		// Enqueue scripts
		wp_enqueue_script('jquery');
		wp_enqueue_script('jquery-linedtextarea');
		wp_enqueue_script($this->get_prefix('general') . 'admin');
	}
	
	



	public function action_admin_menu()
	{
		add_posts_page(__('Bulk Categories', $this->get_setting('textdomain')), __('Bulk Categories', $this->get_setting('textdomain')), 'manage_categories', $this->get_setting('unique_plugin_identifier') . '_bulkcategories_add', array(&$this, 'page_bulkcategories_add'));
	}
	
	



	public function action_admin_print_styles()
	{
		// Register styles
		wp_register_style($this->get_prefix('general') . 'admin', $this->get_setting('plugin_url') . '/public/css/admin.css');
		wp_register_style('jquery-linedtextarea', $this->get_setting('plugin_url') . '/public/css/jquery-linedtextarea.css');
		
		// Enqueue styles
		wp_enqueue_style($this->get_prefix('general') . 'admin');
		wp_enqueue_style('jquery-linedtextarea');
	}
	
	



	public function action_ajax_jwsr_loadtaxonomydropdown()
	{
		require_once WPEBC_ABSPATH . '/request/loadtaxonomydropdown.php';
	}
	
	



	public function action_ajax_nopriv_jwsr_loadtaxonomydropdown()
	{
		$this->action_ajax_jwsr_loadtaxonomydropdown();
	}
	
	


	
	



	public function page($page = '')
	{
		global $wpdb;
		
		$do = (in_array($_GET['do'], array('add', 'edit', 'configure', 'delete'))) ? $_GET['do'] : 'manage';
		$do_on = $_GET['on'];
		
		include WPEBC_ABSPATH . '/admin/pages/' . $page . '.php';
	}
	
	


	
	


	public function page_bulkcategories_add()
	{
		$this->page('bulkcategories_add');
	}

}
?>

Function Calls

None

Variables

None

Stats

MD5 622f70211b2773b6a5b4bb8601c2e9af
Eval Count 0
Decode Time 86 ms