AAM caches admin menu and this data is used to return list of menu items through AJAX calls. WordPress core does not populate global vars like $menu and $submenu when AJAX call is processed. However, there are plugins that falsely initialize these global var which misleads AAM.
Adjusting AAM functionality to ignore cache re-init during AJAX or API calls.
AAM caches admin menu and this data is used to return list of menu items through AJAX calls. WordPress core does not populate global vars like
$menuand$submenuwhen AJAX call is processed. However, there are plugins that falsely initialize these global var which misleads AAM.Adjusting AAM functionality to ignore cache re-init during AJAX or API calls.