Make WordPress Core

Opened 6 years ago

Last modified 4 years ago

#20770 closed defect (bug)

Introduce AJAX response message — at Initial Version

Reported by: alexvorn2 Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.4
Component: Widgets Keywords: has-patch needs-refresh
Focuses: Cc:


when clicking on Save button of a widget, a error should appear if the user is logged out.

So after clicking the button the wpspin animated images disappears and nothing happens. This can be a problem if the current user think he is logged in and he is not, the settings just will not be saved.

Sometimes the server is not working.

Need to adjust the javascript code and php: in php we can use die function : die('1') or die('success');

in javascript something like this: $.post(ajaxurl, data, function(response){

if (response === 'success') {} else { alert('Fail to save'); }



Change History (1)

6 years ago

Replace widget controls with "You are logged out!" message

Note: See TracTickets for help on using tickets.