[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
core
/
page-assets
/
data-managers
/
font-icon-svg
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 base.php
443 B
SET
[ EDIT ]
|
[ DEL ]
📄 e-icons.php
1,033 B
SET
[ EDIT ]
|
[ DEL ]
📄 font-awesome.php
1,296 B
SET
[ EDIT ]
|
[ DEL ]
📄 manager.php
1,076 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: font-awesome.php
<?php namespace Elementor\Core\Page_Assets\Data_Managers\Font_Icon_Svg; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Font Awesome Icon Svg. * * @since 3.4.0 */ class Font_Awesome extends Base { const LIBRARY_CURRENT_VERSION = '5.15.3'; protected function get_config( $icon ) { preg_match( '/fa(.*) fa-/', $icon['value'], $icon_name_matches ); $icon_name = str_replace( $icon_name_matches[0], '', $icon['value'] ); $icon_key = str_replace( ' fa-', '-', $icon['value'] ); $icon_file_name = str_replace( 'fa-', '', $icon['library'] ); return [ 'key' => $icon_key, 'version' => self::LIBRARY_CURRENT_VERSION, 'file_path' => ELEMENTOR_ASSETS_PATH . 'lib/font-awesome/json/' . $icon_file_name . '.json', 'data' => [ 'icon_data' => [ 'name' => $icon_name, 'library' => $icon['library'], ], ], ]; } protected function get_asset_content() { $icon_data = $this->get_config_data( 'icon_data' ); $file_data = json_decode( $this->get_file_data( 'content', $icon_data['library'] ), true ); $icon_name = $icon_data['name']; $svg_data = $file_data['icons'][ $icon_name ]; return [ 'width' => $svg_data[0], 'height' => $svg_data[1], 'path' => $svg_data[4], 'key' => $this->get_key(), ]; } }