Completed
Push — develop ( a41371...a3f86d )
by Aristeides
02:14
created
core/class-kirki-l10n.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 	 * Returns an array of paths where translation files may be located.
94 94
 	 *
95 95
 	 * @access protected
96
-	 * @return array
96
+	 * @return string[]
97 97
 	 */
98 98
 	protected function get_paths() {
99 99
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,8 @@
 block discarded – undo
115 115
 	function override_load_textdomain( $override, $domain, $mofile ) {
116 116
 
117 117
 		global $l10n;
118
-		if ( isset( $l10n[ $this->get_theme_textdomain() ] ) ) {
119
-			$l10n['kirki'] = $l10n[ $this->get_theme_textdomain() ];
118
+		if ( isset( $l10n[$this->get_theme_textdomain()] ) ) {
119
+			$l10n['kirki'] = $l10n[$this->get_theme_textdomain()];
120 120
 		}
121 121
 
122 122
 		// Check if the domain is "kirki".
Please login to merge, or discard this patch.