- fixed editable option for fields;

This commit is contained in:
nikitozzzzzzz
2017-09-19 14:35:49 +03:00
parent b91ad10cfa
commit 7fe908a5ca
@@ -1916,6 +1916,7 @@ if ( ! class_exists( 'Admin_Metabox' ) ) {
<div class="um-admin-tri">
<p><label for="_editable">Can user edit this field? <?php UM()->tooltip( __( 'This option allows you to set whether or not the user can edit the information in this field.', 'ultimate-member' ) ); ?></label>
<input type="hidden" name="_editable" id="_editable_hidden" value="0" />
<input type="checkbox" name="_editable" id="_editable" value="1" <?php checked( null === $this->edit_mode_value || $this->edit_mode_value ) ?> />
</p>