From d0d69372c1aa41b605c44788ae1473dada5deb5b Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Tue, 13 Jun 2023 13:17:03 +0300 Subject: [PATCH] - added textdomain; - updated readme.txt --- includes/core/class-builtin.php | 27 +++++++++++++-------------- readme.txt | 1 + 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/includes/core/class-builtin.php b/includes/core/class-builtin.php index eb34c0aa..805b258a 100644 --- a/includes/core/class-builtin.php +++ b/includes/core/class-builtin.php @@ -1,12 +1,12 @@ array( '_title' => array( 'mode' => 'required', - 'error' => __('You must provide a title','ultimate-member') + 'error' => __( 'You must provide a title', 'ultimate-member' ), ), '_metakey' => array( 'mode' => 'unique', ), - ) + ), ), - 'spotify' => array( - 'name' => 'Spotify URL', - 'col1' => array('_title','_metakey','_help','_visibility'), - 'col2' => array('_label','_placeholder','_public','_roles','_validate','_custom_validate'), - 'col3' => array('_required','_editable','_icon'), + 'name' => __( 'Spotify URL', 'ultimate-member' ), + 'col1' => array('_title','_metakey','_help','_visibility'), + 'col2' => array('_label','_placeholder','_public','_roles','_validate','_custom_validate'), + 'col3' => array('_required','_editable','_icon'), 'validate' => array( - '_title' => array( - 'mode' => 'required', - 'error' => __('You must provide a title','ultimate-member') + '_title' => array( + 'mode' => 'required', + 'error' => __( 'You must provide a title', 'ultimate-member' ), ), '_metakey' => array( 'mode' => 'unique', ), - ) + ), ), /*'group' => array( diff --git a/readme.txt b/readme.txt index 5c7c2232..74fb74d9 100644 --- a/readme.txt +++ b/readme.txt @@ -172,6 +172,7 @@ No, you do not need to use our plugin’s login or registration pages and can us - Added: The "Order" and "Data type" settings for custom sorting fields based on metakey in Member Directory - Added: New hooks `um_profile_permalink`,`um_external_profile_url` - Added: Users dropdown field to Admin Forms class + - Added: Spotify URL field type - Added: New developer docs [here](http://ultimatemember.github.io/ultimatemember/). It will be upgraded from version to version * Bugfixes: