<commit_before><?php

class Documents
{
	function __construct()
	{
		$this->_customs = array(
			'url' => array
			(
					'slug' => 'document-url',
					'title' => __('URL', 'flacso'),
					'tip' => __('web site address', 'flacso'),
			),
			'country' => array (
					'slug' => 'document-country',
					'title' => __ ( 'Country', 'flacso' ),
					//'tip' => _n( 'country', 'country', 1, 'flacso' )
			),
			'reference' => array (
					'slug' => 'document-reference',
					'title' => __ ( 'Reference', 'flacso' ),
					//'tip' => __ ( '', 'flacso' ),
			) 
		);
		
		add_action('init', array($this, 'init'));
		//add_action('init', array($this, 'rewrite_rules'));
		//add_action('template_redirect', array($this, 'form'));
		//add_action('wp_ajax_resetpass', array($this, 'form'));
		//add_action('wp_ajax_nopriv_resetpass', array($this, 'form'));
		//add_filter('query_vars', array($this, 'print_variables'));
		//add_filter('archive_template', array($this, 'archiveTemplate'));
		//add_filter('single_template', array($this, 'singleTemplate'));
		add_action( 'save_post', array( $this, 'save' ) );
		//add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts') );
	}

	function init()
	{
		$this->Add_custom_Post();
		<commit_msg>add author to document<commit_after><?php

class Documents
{
	function __construct()
	{
		$this->_customs = array(
			'author' => array
			(
					'slug' => 'custom-author',
					'title' => __('Author', 'flacso'),
					'tip' => __('Document Author', 'flacso'),
			), 
			'url' => array
			(
					'slug' => 'document-url',
					'title' => __('URL', 'flacso'),
					'tip' => __('web site address', 'flacso'),
			),
			'country' => array (
					'slug' => 'document-country',
					'title' => __ ( 'Country', 'flacso' ),
					//'tip' => _n( 'country', 'country', 1, 'flacso' )
			),
			'reference' => array (
					'slug' => 'document-reference',
					'title' => __ ( 'Reference', 'flacso' ),
					//'tip' => __ ( '', 'flacso' ),
			)
		);
		
		add_action('init', array($this, 'init'));
		//add_action('init', array($this, 'rewrite_rules'));
		//add_action('template_redirect', array($this, 'form'));
		//add_action('wp_ajax_resetpass', array($this, 'form'));
		//add_action('wp_ajax_nopriv_resetpass', array($this, 'form'));
		//add_filter('query_vars', array($this, 'print_variables'));
		//add_filter('archive_template', array($this, 'archiveTemplate'));
		//add_filter('single_template', array($this, 'singleTemplate'));
		add_action( 'save_post', array( $this, 'save' ) );
		//add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts') );
	}

	function init()
	{
		$this->Add_custom_Post();
		
{'fraction_non_alphanumeric': 0.2292921686746988, 'fraction_numerical': 0.0007530120481927711, 'mean_word_length': 3.9386617100371746, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '4092356', 'n_tokens_mistral': 1101, 'n_tokens_neox': 947, 'n_words': 170}