mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 22:23:37 +09:00
Fx text domain slug for wp.org translation compatibility
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user