<commit_before><?php
class ResponsiveChildThemeCustomPosts {

	/**
	 * [$instance description]
	 * @var [type]
	 */
	static $instance;

	public $ThemeOptions = NULL;

	/**
	 * [__construct description]
	 */
	public function __construct() {
		self::$instance = $this;
		$this->ThemeOptions = self::_get_theme_options();
		add_action('init', array($this, 'init'));
	}

	/**
	 * [init description]
	 * @return [type] [description]
	 */
	public function init() {

		register_post_type( 'link_post',
			array(
				'labels' => array(
					'name' => __( 'Quick Links', RESPONSIVE_CHILD_TEMPLATE_THEME_LANG_FILE ),
					'singular_name' => __( 'Quick Link', RESPONSIVE_CHILD_TEMPLATE_THEME_LANG_FILE )
				),
				'public' => TRUE,
				'has_archive' => TRUE,
				'menu_position' => 5,
				'supports' => array(
					'title',
					'editor',
					'trackbacks',
					'revisions',
					'custom-fields'
				),
				'register_meta_box_cb' => array($this, 'add_quick_links_metabox'),
				'taxonomies' => array(
					'category',
					'post_tag'
				),
			)
		);

		//Add Action
		add_action('add_meta_boxes', array($this, 'add_quick_links_metabox'));
		add_action('save_post', array($this, 'save_quick_links_metaboxes'), 1, 2); // save the custom fields

		//Add Filters
		add_filter( 'the_permalink_rss', array($this, 'quick_link_permalink_rss'));
		add_filter( 'the_content_feed', array($this, 'add_url_to_quick_link_post'));
		add_filter( 'pre_get_posts', array($this, 'get_all_post_types') );
		add_filter( 'request', array($this, 'get_feed_post_types' ) );
	}

	public function add_url_to_quick_link_post($content) {
		$postId = self::_return_post_id();
		$link = get_post_meta($postId, '_link', true);
		if(is_feed()) {<commit_msg>Removed trackbacks from Quick Links UI<commit_after><?php
class ResponsiveChildThemeCustomPosts {

	/**
	 * [$instance description]
	 * @var [type]
	 */
	static $instance;

	public $ThemeOptions = NULL;

	/**
	 * [__construct description]
	 */
	public function __construct() {
		self::$instance = $this;
		$this->ThemeOptions = self::_get_theme_options();
		add_action('init', array($this, 'init'));
	}

	/**
	 * [init description]
	 * @return [type] [description]
	 */
	public function init() {

		register_post_type( 'link_post',
			array(
				'labels' => array(
					'name' => __( 'Quick Links', RESPONSIVE_CHILD_TEMPLATE_THEME_LANG_FILE ),
					'singular_name' => __( 'Quick Link', RESPONSIVE_CHILD_TEMPLATE_THEME_LANG_FILE )
				),
				'public' => TRUE,
				'has_archive' => TRUE,
				'menu_position' => 5,
				'supports' => array(
					'title',
					'editor',
					'revisions',
					'custom-fields'
				),
				'register_meta_box_cb' => array($this, 'add_quick_links_metabox'),
				'taxonomies' => array(
					'category',
					'post_tag'
				),
			)
		);

		//Add Action
		add_action('add_meta_boxes', array($this, 'add_quick_links_metabox'));
		add_action('save_post', array($this, 'save_quick_links_metaboxes'), 1, 2); // save the custom fields

		//Add Filters
		add_filter( 'the_permalink_rss', array($this, 'quick_link_permalink_rss'));
		add_filter( 'the_content_feed', array($this, 'add_url_to_quick_link_post'));
		add_filter( 'pre_get_posts', array($this, 'get_all_post_types') );
		add_filter( 'request', array($this, 'get_feed_post_types' ) );
	}

	public function add_url_to_quick_link_post($content) {
		$postId = self::_return_post_id();
		$link = get_post_meta($postId, '_link', true);
		if(is_feed()) {
{'fraction_non_alphanumeric': 0.1625, 'fraction_numerical': 0.0017441860465116279, 'mean_word_length': 4.343167701863354, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '1781972', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1231, 'n_words': 218}