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 WP_Customize_Themes_Section extends WP_Customize_Section { public $type = "\1..

Decoded Output download

<?php
 class WP_Customize_Themes_Section extends WP_Customize_Section { public $type = "themes"; public $action = ''; public $filter_type = "local"; public function json() { $exported = parent::json(); $exported["action"] = $this->action; $exported["filter_type"] = $this->filter_type; return $exported; } protected function render_template() { ?>
		<li id="accordion-section-{{ data.id }}" class="theme-section">
			<button type="button" class="customize-themes-section-title themes-section-{{ data.id }}">{{ data.title }}</button>
			<?php  if (current_user_can("install_themes") || is_multisite()) { ?>
			<?php  } ?>
			<div class="customize-themes-section themes-section-{{ data.id }} control-section-content themes-php">
				<div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php  esc_attr_e("Theme Details"); ?>
"></div>
				<div class="theme-browser rendered">
					<div class="customize-preview-header themes-filter-bar">
						<?php  $this->filter_bar_content_template(); ?>
					</div>
					<?php  $this->filter_drawer_content_template(); ?>
					<div class="error unexpected-error" style="display: none; ">
						<p>
							<?php  printf(__("An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="%s">support forums</a>."), __("https://wordpress.org/support/forums/")); ?>
						</p>
					</div>
					<ul class="themes">
					</ul>
					<p class="no-themes"><?php  _e("No themes found. Try a different search."); ?>
</p>
					<p class="no-themes-local">
						<?php  printf(__("No themes found. Try a different search, or %s."), sprintf("<button type="button" class="button-link search-dotorg-themes">%s</button>", __("Search WordPress.org themes"))); ?>
					</p>
					<p class="spinner"></p>
				</div>
			</div>
		</li>
		<?php  } protected function filter_bar_content_template() { ?>
		<button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php  _e("Go to theme sources"); ?>
</button>
		<# if ( 'wporg' === data.action ) { #>
			<div class="search-form">
				<label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text">
					<?php  _e("Search themes&hellip;"); ?>
				</label>
				<input type="search" id="wp-filter-search-input-{{ data.id }}" placeholder="<?php  esc_attr_e("Search themes&hellip;"); ?>
" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search">
				<div class="search-icon" aria-hidden="true"></div>
				<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
					<?php  _e("The search results will be updated as you type."); ?>
				</span>
			</div>
			<button type="button" class="button feature-filter-toggle">
				<span class="filter-count-0"><?php  _e("Filter themes"); ?>
</span><span class="filter-count-filters">
					<?php  printf(__("Filter themes (%s)"), "<span class="theme-filter-count">0</span>"); ?>
				</span>
			</button>
		<# } else { #>
			<div class="themes-filter-container">
				<label for="{{ data.id }}-themes-filter" class="screen-reader-text">
					<?php  _e("Search themes&hellip;"); ?>
				</label>
				<input type="search" id="{{ data.id }}-themes-filter" placeholder="<?php  esc_attr_e("Search themes&hellip;"); ?>
" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" />
				<div class="search-icon" aria-hidden="true"></div>
				<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
					<?php  _e("The search results will be updated as you type."); ?>
				</span>
			</div>
		<# } #>
		<div class="filter-themes-count">
			<span class="themes-displayed">
				<?php  printf(__("%s themes"), "<span class="theme-count">0</span>"); ?>
			</span>
		</div>
		<?php  } protected function filter_drawer_content_template() { $feature_list = get_theme_feature_list(false); ?>
		<# if ( 'wporg' === data.action ) { #>
			<div class="filter-drawer filter-details">
				<?php  foreach ($feature_list as $feature_name => $features) { ?>
					<fieldset class="filter-group">
						<legend><?php  echo esc_html($feature_name); ?>
</legend>
						<div class="filter-group-feature">
							<?php  foreach ($features as $feature => $feature_name) { ?>
								<input type="checkbox" id="filter-id-<?php  echo esc_attr($feature); ?>
" value="<?php  echo esc_attr($feature); ?>
" />
								<label for="filter-id-<?php  echo esc_attr($feature); ?>
"><?php  echo esc_html($feature_name); ?>
</label>
							<?php  } ?>
						</div>
					</fieldset>
				<?php  } ?>
			</div>
		<# } #>
		<?php  } } ?>

Did this file decode correctly?

Original Code

<?php
 class WP_Customize_Themes_Section extends WP_Customize_Section { public $type = "\164\150\x65\x6d\145\163"; public $action = ''; public $filter_type = "\154\x6f\x63\x61\154"; public function json() { $exported = parent::json(); $exported["\141\x63\x74\151\x6f\x6e"] = $this->action; $exported["\146\151\x6c\164\x65\x72\x5f\x74\171\160\145"] = $this->filter_type; return $exported; } protected function render_template() { ?>
		<li id="accordion-section-{{ data.id }}" class="theme-section">
			<button type="button" class="customize-themes-section-title themes-section-{{ data.id }}">{{ data.title }}</button>
			<?php  if (current_user_can("\x69\x6e\x73\x74\141\154\x6c\137\164\150\145\x6d\145\163") || is_multisite()) { ?>
			<?php  } ?>
			<div class="customize-themes-section themes-section-{{ data.id }} control-section-content themes-php">
				<div class="theme-overlay" tabindex="0" role="dialog" aria-label="<?php  esc_attr_e("\x54\x68\145\155\145\x20\104\x65\x74\x61\x69\x6c\163"); ?>
"></div>
				<div class="theme-browser rendered">
					<div class="customize-preview-header themes-filter-bar">
						<?php  $this->filter_bar_content_template(); ?>
					</div>
					<?php  $this->filter_drawer_content_template(); ?>
					<div class="error unexpected-error" style="display: none; ">
						<p>
							<?php  printf(__("\101\x6e\x20\x75\x6e\145\170\160\x65\143\164\145\x64\40\x65\162\x72\x6f\162\40\157\x63\143\x75\162\162\x65\144\56\x20\x53\x6f\x6d\145\164\x68\151\x6e\x67\x20\x6d\141\171\40\x62\x65\x20\x77\x72\157\x6e\147\x20\167\151\164\x68\40\127\x6f\x72\x64\120\162\x65\163\163\x2e\x6f\162\x67\40\x6f\x72\40\164\x68\x69\163\40\x73\x65\x72\166\145\x72\46\x23\70\62\61\67\x3b\163\40\x63\x6f\x6e\146\x69\x67\x75\162\141\x74\151\157\156\x2e\40\x49\x66\x20\x79\157\x75\40\x63\x6f\x6e\164\151\x6e\x75\145\40\x74\x6f\x20\150\x61\x76\x65\40\160\x72\x6f\x62\154\x65\x6d\x73\x2c\40\160\154\145\141\163\145\x20\x74\x72\171\x20\164\x68\x65\x20\74\x61\x20\x68\162\x65\146\75\42\x25\x73\x22\76\163\x75\160\160\x6f\x72\x74\x20\x66\157\162\165\155\163\x3c\x2f\141\x3e\x2e"), __("\x68\164\164\160\x73\72\x2f\x2f\x77\157\x72\144\160\162\145\163\163\x2e\157\x72\x67\x2f\x73\x75\x70\160\157\x72\x74\57\x66\157\162\x75\155\163\57")); ?>
						</p>
					</div>
					<ul class="themes">
					</ul>
					<p class="no-themes"><?php  _e("\116\157\40\x74\150\145\155\x65\163\x20\x66\x6f\165\156\144\56\x20\124\162\x79\40\141\x20\x64\x69\x66\x66\x65\x72\145\x6e\x74\x20\x73\145\x61\162\143\150\56"); ?>
</p>
					<p class="no-themes-local">
						<?php  printf(__("\116\x6f\40\x74\x68\x65\155\x65\x73\40\x66\157\165\156\144\56\x20\x54\162\x79\40\141\x20\144\x69\146\x66\145\162\x65\156\x74\x20\163\145\x61\x72\143\x68\54\40\157\x72\40\x25\x73\x2e"), sprintf("\74\142\165\164\x74\x6f\156\40\x74\x79\x70\x65\x3d\x22\142\165\164\164\x6f\156\x22\x20\143\154\141\x73\163\75\x22\x62\165\x74\164\157\156\x2d\x6c\151\156\x6b\x20\163\145\x61\x72\143\150\x2d\x64\x6f\164\157\162\147\x2d\x74\x68\x65\155\x65\x73\42\x3e\45\163\74\57\142\165\x74\x74\x6f\x6e\x3e", __("\123\x65\141\162\143\x68\40\127\157\162\144\x50\162\x65\x73\x73\56\x6f\x72\x67\40\164\150\145\155\145\x73"))); ?>
					</p>
					<p class="spinner"></p>
				</div>
			</div>
		</li>
		<?php  } protected function filter_bar_content_template() { ?>
		<button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php  _e("\107\x6f\x20\164\x6f\x20\x74\x68\145\x6d\x65\x20\163\x6f\165\x72\143\x65\x73"); ?>
</button>
		<# if ( 'wporg' === data.action ) { #>
			<div class="search-form">
				<label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text">
					<?php  _e("\x53\x65\141\x72\x63\x68\40\x74\x68\x65\155\145\163\x26\x68\x65\154\154\x69\x70\73"); ?>
				</label>
				<input type="search" id="wp-filter-search-input-{{ data.id }}" placeholder="<?php  esc_attr_e("\123\x65\x61\x72\x63\x68\x20\164\150\145\155\145\163\46\x68\x65\x6c\154\151\160\x3b"); ?>
" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search">
				<div class="search-icon" aria-hidden="true"></div>
				<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
					<?php  _e("\x54\x68\x65\40\163\x65\141\162\143\150\40\x72\x65\x73\x75\154\164\163\x20\167\x69\x6c\x6c\x20\x62\145\x20\165\x70\144\x61\164\145\144\x20\141\x73\x20\171\x6f\x75\x20\164\x79\x70\x65\x2e"); ?>
				</span>
			</div>
			<button type="button" class="button feature-filter-toggle">
				<span class="filter-count-0"><?php  _e("\x46\151\154\164\x65\162\40\164\x68\145\x6d\x65\x73"); ?>
</span><span class="filter-count-filters">
					<?php  printf(__("\106\151\154\164\x65\x72\x20\x74\150\145\x6d\145\x73\x20\x28\45\163\51"), "\74\x73\160\141\156\40\x63\154\x61\163\163\75\42\x74\x68\145\x6d\145\x2d\x66\x69\x6c\164\x65\x72\55\143\x6f\x75\156\x74\x22\x3e\60\74\57\x73\160\141\156\76"); ?>
				</span>
			</button>
		<# } else { #>
			<div class="themes-filter-container">
				<label for="{{ data.id }}-themes-filter" class="screen-reader-text">
					<?php  _e("\123\145\141\162\143\150\40\x74\150\x65\x6d\145\x73\46\x68\x65\154\154\151\x70\73"); ?>
				</label>
				<input type="search" id="{{ data.id }}-themes-filter" placeholder="<?php  esc_attr_e("\123\145\141\x72\143\150\40\164\150\x65\155\x65\163\x26\150\145\x6c\x6c\x69\160\73"); ?>
" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" />
				<div class="search-icon" aria-hidden="true"></div>
				<span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
					<?php  _e("\124\150\145\40\x73\x65\141\162\x63\150\x20\x72\x65\163\x75\x6c\x74\163\x20\x77\151\154\x6c\x20\x62\x65\40\165\x70\144\141\164\145\x64\x20\141\163\40\x79\x6f\x75\x20\x74\x79\x70\x65\x2e"); ?>
				</span>
			</div>
		<# } #>
		<div class="filter-themes-count">
			<span class="themes-displayed">
				<?php  printf(__("\45\x73\40\x74\150\x65\x6d\145\163"), "\74\x73\160\x61\156\40\x63\x6c\x61\x73\x73\x3d\x22\164\x68\145\x6d\145\55\x63\157\165\156\164\42\x3e\x30\x3c\x2f\x73\x70\141\156\76"); ?>
			</span>
		</div>
		<?php  } protected function filter_drawer_content_template() { $feature_list = get_theme_feature_list(false); ?>
		<# if ( 'wporg' === data.action ) { #>
			<div class="filter-drawer filter-details">
				<?php  foreach ($feature_list as $feature_name => $features) { ?>
					<fieldset class="filter-group">
						<legend><?php  echo esc_html($feature_name); ?>
</legend>
						<div class="filter-group-feature">
							<?php  foreach ($features as $feature => $feature_name) { ?>
								<input type="checkbox" id="filter-id-<?php  echo esc_attr($feature); ?>
" value="<?php  echo esc_attr($feature); ?>
" />
								<label for="filter-id-<?php  echo esc_attr($feature); ?>
"><?php  echo esc_html($feature_name); ?>
</label>
							<?php  } ?>
						</div>
					</fieldset>
				<?php  } ?>
			</div>
		<# } #>
		<?php  } }

Function Calls

None

Variables

None

Stats

MD5 0ec345a464aaffcaf4048f084ae1e05e
Eval Count 0
Decode Time 101 ms