403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/mimradmin/.trash/wp-content.1/themes/wp-buka/includes/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/mimradmin/.trash/wp-content.1/themes/wp-buka/includes/comments.php
<?php

// Prevent Direct Access
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// ----- Begin

function buka_comment_layout_begin(){

	global $comment, $comment_depth;
?>

<div class="comment-box clearfix" id="comment-<?php comment_ID() ?>">

	<?php if(!$comment->comment_approved){ ?>
	<em><?php esc_html_e('Your comment awaits moderation.', 'wp-buka') ?></em>
	<?php } ?>

	<div class="author-thumb">
		<?php echo get_avatar( $comment, 80 ) ?>
	</div>

	<div class="comment-info">
	
		<span class="comment-date"><?php comment_date('j F Y - H:i') ?></span>
		
		<h6><?php comment_author() ?></h6>
		
		<?php comment_text() ?>

		<div class="reply">
			<?php
			comment_reply_link([
				'reply_text' => '<i class="fas fa-reply" aria-hidden="true"></i> '.esc_html__('Reply', 'wp-buka'),
				'depth' => $comment_depth,
				'max_depth' => get_option('thread_comments_depth')
			]);
			?>
		</div>
		
	</div>
	
<?php
}

// ----- End

function buka_comment_layout_end(){
	echo '</div>';
}

// ----- Move Fields

function buka_move_comment_field_to_bottom($fields) {
	$comment_field = $fields['comment'];
	$cookies_field = $fields['cookies'];
	unset( $fields['comment'] );
	unset( $fields['cookies'] );
	$fields['comment'] = $comment_field;
	$fields['cookies'] = $cookies_field;
	return $fields;
}

add_filter('comment_form_fields', 'buka_move_comment_field_to_bottom');

Youez - 2016 - github.com/yon3zu