<commit_before><?php
/**
 * Common functions.
 */

// -- WP Hooks
// Add hooks to handle actions in WordPress
add_action( 'init', 'openid_textdomain' ); // load textdomain

// include internal stylesheet
add_action( 'wp', 'openid_style');

// parse request
add_action('parse_request', 'openid_parse_request');<commit_msg>only load openid.css if consumer enabled<commit_after><?php
/**
 * Common functions.
 */

// -- WP Hooks
// Add hooks to handle actions in WordPress
add_action( 'init', 'openid_textdomain' ); // load textdomain

// include internal stylesheet
if (OPENID_ENABLE_CONSUMER) {
    add_action( 'wp', 'openid_style');
}

// parse request
add_action('parse_request', 'openid_parse_request');
{'fraction_non_alphanumeric': 0.14326241134751774, 'fraction_numerical': 0.0, 'mean_word_length': 4.559055118110236, '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': '3766364', 'n_tokens_mistral': 220, 'n_tokens_neox': 220, 'n_words': 60}