9 lines
458 B
PHP
9 lines
458 B
PHP
<?php
|
|
// Isolated PHP check: no WordPress boot, no Polylang, no persistent state.
|
|
define('ABSPATH',__DIR__);
|
|
function get_option($key){return 'nl_NL';}
|
|
function apply_filters($name,$value){return $value;}
|
|
require dirname(__DIR__).'/includes/language.php';
|
|
if(hgcf_languages()!==['nl'=>'Nederlands']||hgcf_default_language()!=='nl')throw new RuntimeException('Single site language failed');
|
|
echo "PASS no language plugin uses only WordPress site language\n";
|