<commit_before><?php

/**
 * Theme Includes
 */

$theme_includes = array(
  '/lib/theme_setup.php',      // Theme setup
  '/lib/activation.php',       // Theme activation
  '/lib/cleanup.php',          // Cleanup
  '/lib/assets.php',           // Assets
  '/lib/comments.php',         // Comments
  '/lib/widgets.php',          // Widget areas
  '/lib/custom.php',           // Custom scripts
  '/lib/woops_setup.php',      // Woops
  '/lib/menu_setup.php',       // Menu Setup
  '/lib/pages_setup.php',      // Pages Setup
);

foreach($theme_includes as $file){
  if(!$filepath = locate_template($file)) {
    trigger_error("Error locating `$file` for inclusion!", E_USER_ERROR);
  }

  require_once $filepath;
}
unset($file, $filepath);<commit_msg>disabling wp emoji<commit_after><?php

/**
 * Theme Includes
 */

$theme_includes = array(
  '/lib/theme_setup.php',      // Theme setup
  '/lib/activation.php',       // Theme activation
  '/lib/cleanup.php',          // Cleanup
  '/lib/assets.php',           // Assets
  '/lib/comments.php',         // Comments
  '/lib/widgets.php',          // Widget areas
  '/lib/custom.php',           // Custom scripts
  '/lib/woops_setup.php',      // Woops
  '/lib/menu_setup.php',       // Menu Setup
  '/lib/pages_setup.php',      // Pages Setup
);

foreach($theme_includes as $file){
  if(!$filepath = locate_template($file)) {
    trigger_error("Error locating `$file` for inclusion!", E_USER_ERROR);
  }

  require_once $filepath;
}
unset($file, $filepath);

/**
 * Disable WP Emoji
 */
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
{'fraction_non_alphanumeric': 0.17099697885196374, 'fraction_numerical': 0.0006042296072507553, 'mean_word_length': 2.5010570824524314, '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': '3744558', 'n_tokens_mistral': 552, 'n_tokens_neox': 545, 'n_words': 103}