- intermediate results with sanitizing form handlers;

This commit is contained in:
Nikita Sinelnikov
2021-06-29 02:51:54 +03:00
parent 23d1b982a4
commit 07e664be80
63 changed files with 4337 additions and 2812 deletions
+3 -2
View File
@@ -100,8 +100,9 @@ if ( ! class_exists( 'um\core\Options' ) ) {
* @param $option_id
*/
function remove( $option_id ) {
if ( ! empty( $this->options[ $option_id ] ) )
if ( ! empty( $this->options[ $option_id ] ) ) {
unset( $this->options[ $option_id ] );
}
update_option( 'um_options', $this->options );
}
@@ -157,4 +158,4 @@ if ( ! class_exists( 'um\core\Options' ) ) {
}
}
}
}