Fix gettext template hook
This commit is contained in:
@@ -65,9 +65,6 @@ function sportspress_theme_check_notice() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sportspress_gettext( $translated_text, $untranslated_text, $domain ) {
|
function sportspress_gettext( $translated_text, $untranslated_text, $domain ) {
|
||||||
if ( $domain != 'sportspress' )
|
|
||||||
return $translated_text;
|
|
||||||
|
|
||||||
global $typenow;
|
global $typenow;
|
||||||
|
|
||||||
if ( is_admin() ):
|
if ( is_admin() ):
|
||||||
|
|||||||
Reference in New Issue
Block a user