- hotfixes;

This commit is contained in:
nikitozzzzzzz
2018-11-18 23:15:06 +02:00
parent 819d5333db
commit d935f46e1c
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ print ".um-$form_id.um {
}";
}
if ( isset( $align ) && in_array( $align, ['left', 'right'] ) ) {
if ( isset( $align ) && in_array( $align, array( 'left', 'right' ) ) ) {
print ".um-$form_id.um {
margin-$align: 0px !important;
}";
-4
View File
@@ -241,8 +241,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
* Remove file by AJAX
*/
function ajax_remove_file() {
UM()->check_frontend_ajax_nonce();
/**
* @var $src
*/
@@ -257,8 +255,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
* Resize image AJAX handler
*/
function ajax_resize_image() {
UM()->check_frontend_ajax_nonce();
/**
* @var $key
* @var $src