mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- hotfixes;
This commit is contained in:
@@ -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;
|
||||
}";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user