<commit_before><?php wp_template(__FILE__, true);

////////////////////////////////////////////////////////////
// login.php - Login Customizations


add_action('login_enqueue_scripts', function() {
    wp_register_style('style', get_template_directory_uri().'/style.css');
    wp_register_style('roboto-font', 'https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic');
    wp_enqueue_style('style');
    wp_enqueue_style('roboto-font');
});

add_filter('login_headerurl', function() { return home_url(); });

add_filter('login_headertitle', function() { return get_bloginfo('description'); });

add_filter('login_redirect', function( $redirect_to, $request, $user ) {
    if ( isset( $user->roles ) && is_array( $user->roles ) ) {
        if( in_array('administrator', $user->roles)) { return admin_url(); }
    }
    return $redirect_to;
}, 10, 3);

?><commit_msg>Removes redundant calls.<commit_after><?php wp_template(__FILE__, true);

////////////////////////////////////////////////////////////
// login.php - Login Customizations


add_action('login_enqueue_scripts', function() {
    wp_enqueue_style('style', get_template_directory_uri().'/style.css');
    wp_enqueue_style('roboto-font', 'https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic');
});

add_filter('login_headerurl', function() { return home_url(); });

add_filter('login_headertitle', function() { return get_bloginfo('description'); });

add_filter('login_redirect', function( $redirect_to, $request, $user ) {
    if ( isset( $user->roles ) && is_array( $user->roles ) ) {
        if( in_array('administrator', $user->roles)) { return admin_url(); }
    }
    return $redirect_to;
}, 10, 3);

?>
{'fraction_non_alphanumeric': 0.23701109165207238, 'fraction_numerical': 0.017513134851138354, 'mean_word_length': 3.8011204481792715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '2928044', 'n_tokens_mistral': 559, 'n_tokens_neox': 530, 'n_words': 82}