<commit_before><?php
namespace MustUsePlugin;

abstract class App extends Site implements SingletonInterface, ImagesInterface, GridInterface, TilesInterface, PaginationInterface, PostQueriesInterface {
	use SingletonTrait;
	use PostsTrait;
	use PostTypesTrait;
	use PaginationTrait;
	use PostQueriesTrait;
	use ImagesTrait;
	use GridTrait;
	use TilesTrait;

	private function __construct() {
		add_action('wp', array($this, 'themeInit'));
		add_action('admin_init', array($this, 'adminInit'));
		$this->checkAdminBarStatus();
		$this->siteInit();
	}

	public function adminInit() {
		add_filter('acf/fields/relationship/query', function($options, $field, $the_post) {
			$options['post_status'] = 'publish';
			return $options;
		}, 10, 3);
		$this->siteSettings();
	}

}<commit_msg>themeInit on init and themeSetup on wp<commit_after><?php
namespace MustUsePlugin;

abstract class App extends Site implements SingletonInterface, ImagesInterface, GridInterface, TilesInterface, PaginationInterface, PostQueriesInterface {
	use SingletonTrait;
	use PostsTrait;
	use PostTypesTrait;
	use PaginationTrait;
	use PostQueriesTrait;
	use ImagesTrait;
	use GridTrait;
	use TilesTrait;

	private function __construct() {
		add_action('init', [$this, 'themeInit']);
		add_action('wp', [$this, 'themeSetup']);
		add_action('admin_init', array($this, 'adminInit'));
		$this->checkAdminBarStatus();
		$this->siteInit();
	}

	public function adminInit() {
		add_filter('acf/fields/relationship/query', function($options, $field, $the_post) {
			$options['post_status'] = 'publish';
			return $options;
		}, 10, 3);
		$this->siteSettings();
	}

}
{'fraction_non_alphanumeric': 0.13243408951563457, 'fraction_numerical': 0.003678724708767627, 'mean_word_length': 6.285714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4981113', 'n_tokens_mistral': 560, 'n_tokens_neox': 517, 'n_words': 121}