<commit_before><?php
/**
 * Plugin Name:  Combined Query
 * Description:  This plugin allows you to combine multiple WP_Query() queries, into a single one.
 * Plugin URI:   https://github.com/birgire/wp-combined-queries
 * Author:       birgire
 * GitHub Plugin URI: https://github.com/birgire/wp-combined-queries.git
 * Author URI:   https://github.com/birgire
 * License:      MIT
 * Version:      1.0.0
 */

namespace Birgir\CombinedQuery;


/**
 * Autoload
 */

\add_action( 'plugins_loaded', function()
{
    if ( file_exists( __DIR__ . '/vendor/autoload.php' ) )
    {
        require __DIR__ . '/vendor/autoload.php';
    }
} );


/**
 * Init
 */
\add_action( 'init', function()
{
    if( class_exists( __NAMESPACE__ . '\\Main' ) )
    {
     	$o = new Main;
        $o->init( new Generator( new EmptyQuery ), $GLOBALS['wpdb'] );
    }

} );

<commit_msg>Version 1.0.1<commit_after><?php
/**
 * Plugin Name:  Combined Query
 * Description:  This plugin allows you to combine multiple WP_Query() queries, into a single one.
 * Plugin URI:   https://github.com/birgire/wp-combined-queries
 * Author:       birgire
 * GitHub Plugin URI: https://github.com/birgire/wp-combined-queries.git
 * Author URI:   https://github.com/birgire
 * License:      MIT
 * Version:      1.0.1
 */

namespace Birgir\CombinedQuery;


/**
 * Autoload
 */

\add_action( 'plugins_loaded', function()
{
    if ( file_exists( __DIR__ . '/vendor/autoload.php' ) )
    {
        require __DIR__ . '/vendor/autoload.php';
    }
} );


/**
 * Init
 */
\add_action( 'init', function()
{
    if( class_exists( __NAMESPACE__ . '\\Main' ) )
    {
     	$o = new Main;
        $o->init( new Generator( new EmptyQuery ), $GLOBALS['wpdb'] );
    }

} );


{'fraction_non_alphanumeric': 0.16009280742459397, 'fraction_numerical': 0.005220417633410673, 'mean_word_length': 2.6546610169491527, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '5479092', 'n_tokens_mistral': 631, 'n_tokens_neox': 618, 'n_words': 131}