- readme update;

- small warning fix;
This commit is contained in:
nikitozzzzzzz
2018-05-02 16:26:38 +03:00
parent 9c316633e4
commit f5e134e2c4
2 changed files with 10 additions and 6 deletions
+9 -6
View File
@@ -1675,6 +1675,9 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
$form_key = str_replace( 'role_select', 'role', $key );
$field_id = $form_key;
break;
default:
$field_id = '';
break;
}
/**
@@ -2119,16 +2122,17 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
// add the contents of the buffer to the output variable
$output .= ob_get_clean();
} else $output .= '<textarea ' . $disabled . ' style="height: ' . $height . ';" class="' . $this->get_class( $key, $data ) . '" name="' . $field_name . '" id="' . $field_id . '" placeholder="' . $placeholder . '">' . $field_value . '</textarea>';
} else {
$output .= '<textarea ' . $disabled . ' style="height: ' . $height . ';" class="' . $this->get_class( $key, $data ) . '" name="' . $field_name . '" id="' . $field_id . '" placeholder="' . $placeholder . '">' . $field_value . '</textarea>';
}
$output .= '
</div>';
$output .= '</div>';
if (!empty( $disabled )) {
if ( ! empty( $disabled ) ) {
$output .= $this->disabled_hidden_field( $field_name, $field_value );
}
if ($this->is_error( $key )) {
if ( $this->is_error( $key ) ) {
$output .= $this->field_error( $this->show_error( $key ) );
}
@@ -2145,7 +2149,6 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
$output .= '<div class="um-field-area">';
// $output .= '<div class="um-rating um-raty" id="' . $field_id . '" data-key="' . $key . '" data-number="' . $data['number'] . '" data-score="' . $field_value . '"></div>';
$output .= '<div class="um-rating um-raty" id="' . $key . '" data-key="' . $key . '" data-number="' . $data['number'] . '" data-score="' . $this->field_value( $key, $default, $data ) . '"></div>';
$output .= '</div>';
+1
View File
@@ -136,6 +136,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
* Bugfixes:
- Fixed and optimized user avatars
- Fixed Profile Menu on some installs
- Fixed fields IDs duplicates
= 2.0.12: April 30, 2018 =