This is what’s causing the issue (from wp-includes/class-wp-theme.php):
public function load_textdomain() {
if ( isset( $this->textdomain_loaded ) )
return $this->textdomain_loaded;
$textdomain = $this->get('TextDomain');
if ( ! $textdomain ) {
$this->textdomain_loaded = false;
return false;
}
if ( is_textdomain_loaded( $textdomain ) ) {
$this->textdomain_loaded = true;
return true;
}
$path = $this->get_stylesheet_directory();
if ( $domainpath = $this->get('DomainPath') ) <------ THIS!
$path .= $domainpath;
else
$path .= '/languages'; <------ IT TAKES THIS DEFAULT VALUE!
$this->textdomain_loaded = load_theme_textdomain( $textdomain, $path );
return $this->textdomain_loaded;
}
Which is called by this function (in that same file):
public function display( $header, $markup = true, $translate = true ) {
$value = $this->get( $header );
if ( false === $value ) {
return false;
}
if ( $translate && ( empty( $value ) || ! $this->load_textdomain() ) )
$translate = false;
if ( $translate )
$value = $this->translate_header( $header, $value ); <-- THIS
if ( $markup )
$value = $this->markup_header( $header, $value, $translate );
return $value;
}
Where $header == ‘AutorURI’ and $value = ‘https://presscustomizr.com/’
Which is called by the class construct in …/themes/customizr/inc/init.php
if ( ! class_exists( 'TC___' ) ) :
class TC___ {
//Access any method or var of the class with classname::$instance -> var or method():
static $instance;
public $tc_core;
public $is_customizing;
public static $theme_name;
public static $tc_option_group;
function __construct () {
self::$instance =& $this;
/* GETS INFORMATIONS FROM STYLE.CSS */
// get themedata version wp 3.4+
if( function_exists( 'wp_get_theme' ) ) {
//get WP_Theme object of customizr
$tc_theme = wp_get_theme();
//Get infos from parent theme if using a child theme
$tc_theme = $tc_theme -> parent() ? $tc_theme -> parent() : $tc_theme;
$tc_base_data['prefix'] = $tc_base_data['title'] = $tc_theme -> name;
$tc_base_data['version'] = $tc_theme -> version;
$tc_base_data['authoruri'] = $tc_theme -> {'Author URI'}; <--- THIS!
}
So,
1. The Customizr class construct assigns the theme’s Autor URI, among other values.
2. The WordPress Theme class decides that the Autor URI needs translation.
3. Since the Customizr translation domain is not loaded yet, the WordPress theme class decides to load it on its own, assigning default values.
4. The translation file is not found, so the customizr domain is not loaded.