<commit_before><?php
/**
 * CSS files are queued from the ../css folder and are loaded using wp_enqueue_style.  The css/bootstrap.css
 * file is skipped, as the value from get_theme_mod("trajano_bootstrap_css") is used to to get the CSS file used
 * for Bootstrap.  The Font Awesome and style.css are the last to enqueue.
 */
wp_enqueue_style("bootstrap", get_template_directory_uri() . "/" . get_theme_mod("trajano_bootstrap_css"));

$cssDir = opendir(get_template_directory() . "/css");
while ($path = readdir($cssDir)) {
  if ($path != "bootstrap.css" && twp_ends_with($path, ".css")) {
    wp_enqueue_style($path, get_template_directory_uri() . "/css/" . $path);
  }
}

wp_enqueue_style("fontawesome", get_template_directory_uri() . "/fontawesome/css/font-awesome.css");
wp_enqueue_style("trajano", get_template_directory_uri() . "/style.css");<commit_msg>Prevent CSS files from being loaded on admin<commit_after><?php
/**
 * CSS files are queued from the ../css folder and are loaded using wp_enqueue_style.  The css/bootstrap.css
 * file is skipped, as the value from get_theme_mod("trajano_bootstrap_css") is used to to get the CSS file used
 * for Bootstrap.  The Font Awesome and style.css are the last to enqueue.
 *
 * The CSS files are only loaded when the admin pages are not being shown.  Otherwise Bootstrap styles will take
 * over.
 */
if (!is_admin()) {
  wp_enqueue_style("bootstrap", get_template_directory_uri() . "/" . get_theme_mod("trajano_bootstrap_css"));

  $cssDir = opendir(get_template_directory() . "/css");
  while ($path = readdir($cssDir)) {
    if ($path != "bootstrap.css" && twp_ends_with($path, ".css")) {
      wp_enqueue_style($path, get_template_directory_uri() . "/css/" . $path);
    }
  }

  wp_enqueue_style("fontawesome", get_template_directory_uri() . "/fontawesome/css/font-awesome.css");
  wp_enqueue_style("trajano", get_template_directory_uri() . "/style.css");
}
{'fraction_non_alphanumeric': 0.13785900783289817, 'fraction_numerical': 0.0, 'mean_word_length': 4.788519637462236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3986648', 'n_tokens_mistral': 631, 'n_tokens_neox': 619, 'n_words': 166}