Fix description when submit.
This commit is contained in:
@@ -110,6 +110,12 @@ class Opalestate_Property_MetaBox_Submission {
|
||||
'type' => 'wysiwyg',
|
||||
'default' => ! empty( $post ) ? $post->post_content : '',
|
||||
'before_row' => '<hr>',
|
||||
'options' => [
|
||||
'media_buttons' => false,
|
||||
'dfw' => true,
|
||||
'tinymce' => true,
|
||||
'quicktags' => true,
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => $prefix . 'price',
|
||||
|
||||
@@ -547,14 +547,14 @@ class OpalEstate_Submission {
|
||||
] );
|
||||
}
|
||||
} else {
|
||||
return opalestate_output_msg_json( fales,
|
||||
return opalestate_output_msg_json( false,
|
||||
__( 'Currently, your account was blocked, please keep contact admin to resolve this!.', 'opalestate-pro' ),
|
||||
[ 'heading' => esc_html__( 'Submission Information', 'opalestate-pro' ) ]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return opalestate_output_msg_json( fales,
|
||||
return opalestate_output_msg_json( false,
|
||||
__( 'Sorry! Your submitted datcould not save a at this time', 'opalestate-pro' ),
|
||||
[ 'heading' => esc_html__( 'Submission Information', 'opalestate-pro' ) ]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user