-some fixes

This commit is contained in:
Yurii Nalivaiko
2018-11-13 14:54:19 +02:00
parent 97b712a4d2
commit 04b0df6ef8
4 changed files with 11 additions and 6 deletions
-2
View File
@@ -1292,8 +1292,6 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
$all = UM()->fields()->array_sort_by_column( $all, 'title');
$all = array( 0 => '') + $all;
return $all;
}
-1
View File
@@ -10,7 +10,6 @@
* @return string
*/
function um_edit_label_all_fields( $label, $data ) {
$asterisk = UM()->options()->get( 'form_asterisk' );
if ( $asterisk && isset( $data['required'] ) && $data['required'] == 1 )
$label = $label . '<span class="um-req" title="'.__('Required','ultimate-member').'">*</span>';