From 999f9204fed7c45acd022267c9f42fa8863f33ed Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 16 Apr 2015 11:22:45 +0200 Subject: [PATCH] Fix for enabling theme-my-login translations --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 1fca34c..9e29279 100644 --- a/functions.php +++ b/functions.php @@ -47,7 +47,8 @@ function openmamba_download_link($milestone, $medium, $currarch, $ext, $mlword, $ret = ''; if ("$currreleasetag" != "") { $ret .= ""; - $ret .= "
"; + $ret .= "
"; $ret .= "openmamba $displaymilestone $medium "; $ret .= __('for','responsive')." $currarch ($mlword) 
"; $ret .= ""; @@ -224,3 +225,5 @@ function set_number_tags($args) { $args = array('number' => 10, 'largest' => 20); return $args; } + +load_plugin_textdomain('theme-my-login' , get_site_url() . 'wp-content/plugins/theme-my-login/languages/');