<commit_before><?php
/**
 * Actions and filters
 *
 * @author Javis <<EMAIL>>
 * @license MIT
 * @since 1.0
 * @version 1.0
 */


/**
 * head custom code
 *
 * @since 1.0
 */
function head_custom_code() {
	if( lo_opt('header_js') != '' ) {
		echo '<script>'.lo_opt('header_js').'</script>';
	}
	if( lo_opt('custom_style') != '' ) {
		echo '<style>'.lo_opt('custom_style').'</style>';
	}
}
add_action( 'wp_head', 'head_custom_code' );

/**
 * footer custom code
 *
 * @since 1.0
 */
function footer_custom_code() {
	if( lo_opt('footer_js') != '' ) {
		echo '<script>'.lo_opt('footer_js').'</script>';
	}
	if( lo_opt('tongji_js') != '' ) {
		echo '<script>'.lo_opt('tongji_js').'</script>';
	}
}
add_action( 'wp_footer', 'footer_custom_code' );

/**
 * footer copyright
 *
 * @since 1.0
 *
 */
function footer_copyright() {
	echo '<div class="copyright"><p>Proudly powered by <a href="https://wordpress.org/" target="_blank">WordPress</a> · Theme by <a href="http://lostg.com" target="_blank">Javis</a></p></div>';
}

add_action( 'footer_copyright', 'footer_copyright' );
<commit_msg>fix bugs<commit_after><?php
/**
 * Actions and filters
 *
 * @author Javis <<EMAIL>>
 * @license MIT
 * @since 1.0
 * @version 1.0
 */


/**
 * head custom code
 *
 * @since 1.0
 */
function head_custom_code() {
	if( lo_opt('header_js') != '' ) {
		echo '<script>'.lo_opt('header_js').'</script>';
	}
	if( lo_opt('custom_style') != '' ) {
		echo '<style>'.lo_opt('custom_style').'</style>';
	}
}
add_action( 'wp_head', 'head_custom_code' );

/**
 * footer custom code
 *
 * @since 1.0
 */
function footer_custom_code() {
	if( lo_opt('footer_js') != '' ) {
		echo '<script>'.lo_opt('footer_js').'</script>';
	}
	if( lo_opt('tongji_js') != '' ) {
		echo '<script>'.lo_opt('tongji_js').'</script>';
	}
}
add_action( 'wp_footer', 'footer_custom_code' );

/**
 * footer copyright
 *
 * @since 1.0
 *
 */
function footer_copyright() {
	echo '<div class="copyright"><p>Proudly powered by <a href="https://wordpress.org/" target="_blank">WordPress</a> · Theme by <a href="https://lostg.com" target="_blank">Javis</a></p></div>';
}

add_action( 'footer_copyright', 'footer_copyright' );

{'fraction_non_alphanumeric': 0.23425925925925925, 'fraction_numerical': 0.009259259259259259, 'mean_word_length': 4.296568627450981, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 39, 'https://': 3, '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': '3998494', 'n_tokens_mistral': 856, 'n_tokens_neox': 823, 'n_words': 145}