<commit_before><?php
/**
 * The [isotope] shortcode of the plugin.
 *
 * @link       https://github.com/leandrogoncalves/wp-masonry-grid
 * @since      1.0.0
 *
 * @package    WP_Masonry_Grid
 * @subpackage WP_Masonry_Grid/public
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * WP_Masonry_Grid Shortcode Class
 *
 * @package WP_Masonry_Grid_Shortcode
 * @author  <NAME> <<EMAIL>>
 *
 * @since 1.0.0
 */
class WP_Masonry_Grid_Shortcode {

	/**
	 * Add shortcode
	 *
	 * @since    1.0.0
	 */
	public function __construct() {

		// Register shortcode
		add_shortcode( 'wpmg', array( $this, 'wpmg_isotope' ) );

	}

	/**
	 * Isotope output
	 *
	 * Retrieves a media files and settings to display a video.
	 *
	 * @since    1.0.0
	 *
	 * @param    array $atts Shortcode attributes
	 */
	public function wpmg_isotope( $atts ) {

        extract( shortcode_atts( array(
            'id'        => '',
            'class'     => '',
            'type'      => 'post',
            'items'     => 4,
            'order'     => '',
            'order_by'  => 'menu_order',
            'tax'       => '',
            'term'      => '',
        ), $atts) );

        if( null == $id ) {
	       $id = 'wpmg' . md5( date( 'jnYgis' ) );
	    }

        if( null == $term ) {<commit_msg>fix shortcode name<commit_after><?php
/**
 * The [isotope] shortcode of the plugin.
 *
 * @link       https://github.com/leandrogoncalves/wp-masonry-grid
 * @since      1.0.0
 *
 * @package    WP_Masonry_Grid
 * @subpackage WP_Masonry_Grid/public
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * WP_Masonry_Grid Shortcode Class
 *
 * @package WP_Masonry_Grid_Shortcode
 * @author  <NAME> <<EMAIL>>
 *
 * @since 1.0.0
 */
class WP_Masonry_Grid_Shortcode {

	/**
	 * Add shortcode
	 *
	 * @since    1.0.0
	 */
	public function __construct() {

		// Register shortcode
		add_shortcode( 'wpmg', array( $this, 'wpmg_shortcode' ) );

	}

	/**
	 * Isotope output
	 *
	 * Retrieves a media files and settings to display a video.
	 *
	 * @since    1.0.0
	 *
	 * @param    array $atts Shortcode attributes
	 */
	public function wpmg_shortcode( $atts ) {

        extract( shortcode_atts( array(
            'id'        => '',
            'class'     => '',
            'type'      => 'post',
            'items'     => 4,
            'order'     => '',
            'order_by'  => 'menu_order',
            'tax'       => '',
            'term'      => '',
        ), $atts) );

        if( null == $id ) {
	       $id = 'wpmg' . md5( date( 'jnYgis' ) );
	    }

        if( null == $term ) {
{'fraction_non_alphanumeric': 0.15966704502459325, 'fraction_numerical': 0.010594021944759743, 'mean_word_length': 1.846071044133477, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 25, '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': '4537208', 'n_tokens_mistral': 988, 'n_tokens_neox': 933, 'n_words': 204}