<commit_before><?php
/**
 * Remove `index.php` from permalinks when using Nginx
 *
 * If `index.php` is showing up as a level within your permalinks when running
 * WordPress on Nginx, it can be removed by hooking into 'got_rewrite' and
 * explicitly forcing WordPress to believe that rewrite is available.
 *
 */

function nginx_got_rewrite( $rewrite_available ) {
    return true;
}
add_filter( 'got_rewrite', 'nginx_got_rewrite', 999 );<commit_msg>Swapping out unnecessary function for __return_true<commit_after><?php
/**
 * Remove `index.php` from permalinks when using Nginx
 *
 * If `index.php` is showing up as a level within your permalinks when running
 * WordPress on Nginx, it can be removed by hooking into 'got_rewrite' and
 * explicitly forcing WordPress to believe that rewrite is available.
 *
 */
add_filter( 'got_rewrite', '__return_true', 999 );
{'fraction_non_alphanumeric': 0.08786127167630058, 'fraction_numerical': 0.006936416184971098, 'mean_word_length': 4.735099337748345, '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': '414358', 'n_tokens_mistral': 265, 'n_tokens_neox': 253, 'n_words': 102}