Revert the notice to save settings when banned capabilities are modified

This commit is contained in:
Champ Camba
2023-07-07 19:29:45 +08:00
parent 03c2080356
commit c7dd1a80f3
+4 -1
View File
@@ -29,7 +29,10 @@ jQuery(document).on("ready", function(){
UM_Secure.ajax('');
});
scan_capabilities.on("change", function(){
scan_button_elem.after( ' <small style="color: red;">' + wp.i18n.__( 'You can start the scan now but you must save the settings to apply the selected capabilities after the scan is complete.', 'ultimate-member' ) + '</small>' );
scan_capabilities.off("change");
})
},
ajax: function( last_capability ) {
let checkedCaps = [];