Fx text domain slug for wp.org translation compatibility

This commit is contained in:
Champ Camba
2017-06-06 22:37:55 +08:00
parent dfdf9901be
commit 18dd37fe70
100 changed files with 1792 additions and 1792 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ class UM_Shortcodes {
$this->loop = '';
add_shortcode('ultimatemember', array(&$this, 'ultimatemember'), 1);
add_shortcode('ultimatemember', array(&$this, 'ultimatemember' ), 1);
add_shortcode('um_loggedin', array(&$this, 'um_loggedin'));
add_shortcode('um_loggedout', array(&$this, 'um_loggedout'));
@@ -202,7 +202,7 @@ class UM_Shortcodes {
ob_start();
$defaults = array(
'lock_text' => __('This content has been restricted to logged in users only. Please <a href="{login_referrer}">login</a> to view this content.', 'ultimatemember'),
'lock_text' => __('This content has been restricted to logged in users only. Please <a href="{login_referrer}">login</a> to view this content.', 'ultimate-member'),
'show_lock' => 'yes',
);
@@ -411,7 +411,7 @@ class UM_Shortcodes {
function get_templates($excluded = null) {
if ($excluded) {
$array[$excluded] = __('Default Template', 'ultimatemember');
$array[$excluded] = __('Default Template', 'ultimate-member');
}
$paths[] = glob(um_path . 'templates/' . '*.php');