<commit_before><?php

	$args = array(
		'show_option_all'    => '',
		'orderby'            => 'name',
		'order'              => 'ASC',
		'style'              => 'none',
		'show_count'         => 0,
		'hide_empty'         => 1,
		'use_desc_for_title' => 1,
		'child_of'           => ($term != false && property_exists($term, 'term_id') ? $term->term_id : 0),
		'feed'               => '',
		'feed_type'          => '',
		'feed_image'         => '',
		'exclude'            => '',
		'exclude_tree'       => '',
		'include'            => '',
		'hierarchical'       => 1,
		'title_li'           => '',
		'show_option_none'   => false,
		'number'             => 3,
		'echo'               => 1,
		'depth'              => 0,
		'current_category'   => 0,
		'pad_counts'         => 0,
		'taxonomy'           => 'category',
		'walker'             => null
	);

	$imgError = "this.onerror=null;this.src='".get_template_directory_uri()."/images/home-noimage.png';";
	
?>

<div class="home-cat-post-box" onclick="window.location='<?php the_permalink() ?>';return false;">
	<span class="home-cat-post-cat" ><?php wp_list_categories($args); ?></span>
	<span class="home-cat-post-title" ><h2><?php echo the_title();?></h2></span>
	<span class="home-cat-post-thumbnail" ><?php echo the_post_thumbnail('post-thumbnail', array('onerror' => $imgError));?></span>
	<span class="home-cat-post-content" ><?php echo the_excerpt();?></span>
</div><commit_msg>fix terms list<commit_after><?php

	$post_terms = wp_get_object_terms( get_the_ID(), 'category', array( 'fields' => 'ids' ) );
	
	$term_ids = implode(',', $post_terms);
	
	$args = array(
		'show_option_all'    => '',
		'orderby'            => 'name',
		'order'              => 'ASC',
		'style'              => 'none',
		'show_count'         => 0,
		'hide_empty'         => 1,
		'use_desc_for_title' => 1,
		'child_of'           => ($term != false && property_exists($term, 'term_id') ? $term->term_id : 0),
		'feed'               => '',
		'feed_type'          => '',
		'feed_image'         => '',
		'exclude'            => '',
		'exclude_tree'       => '',
		'include'            => $term_ids,
		'hierarchical'       => 1,
		'title_li'           => '',
		'show_option_none'   => false,
		'number'             => 3,
		'echo'               => 1,
		'depth'              => 0,
		'current_category'   => 0,
		'pad_counts'         => 0,
		'taxonomy'           => 'category',
		'walker'             => null
	);

	$imgError = "this.onerror=null;this.src='".get_template_directory_uri()."/images/home-noimage.png';";
	
?>

<div class="home-cat-post-box" onclick="window.location='<?php the_permalink() ?>';return false;">
	<span class="home-cat-post-cat" ><?php wp_list_categories($args); ?></span>
	<span class="home-cat-post-title" ><h2><?php echo the_title();?></h2></span>
	<span class="home-cat-post-thumbnail" ><?php echo the_post_thumbnail('post-thumbnail', array('onerror' => $imgError));?></span>
	<span class="home-cat-post-content" ><?php echo the_excerpt();?></span>
</div>
{'fraction_non_alphanumeric': 0.2160904255319149, 'fraction_numerical': 0.007978723404255319, 'mean_word_length': 2.44279176201373, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 92, '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': '2855505', 'n_tokens_mistral': 1153, 'n_tokens_neox': 1069, 'n_words': 170}