HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux sa-dev.otherchirps.net 5.15.0-139-generic #149-Ubuntu SMP Fri Apr 11 22:06:13 UTC 2025 x86_64
User: www-data (33)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wp-content/plugins/editorplus/extensions/icon-inserter/index.php
<?php


function edpl_emitStyle() {
	 $font_path = plugins_url( 'fonts', __FILE__ );

	$css = "
    @font-face {
      font-family: 'eplus-icon';
      src: url('$font_path/eplus-icon.eot?xs1351');
      src: url('$font_path/eplus-icon.eot?xs1351#iefix')
          format('embedded-opentype'),
        url('$font_path/eplus-icon.ttf?xs1351') format('truetype'),
        url('$font_path/eplus-icon.woff?xs1351') format('woff'),
        url('$font_path/eplus-icon.svg?xs1351#eplus-icon') format('svg');
      font-weight: normal;
      font-style: normal;
      font-display: block;
    }";

	add_filter(
		'editor_plus_plugin_css',
		function ( $plugin_css ) use ( $css ) {
			$plugin_css .= $css;

			return $plugin_css;
		}
	);
}


$opt = get_option( 'editor_plus_extensions_icon_inserter__enable', true );

$is_extension_enabled = $opt === '1' || $opt === true ? true : false;

if ( $is_extension_enabled ) {
	edpl_emitStyle();
}