@philippevienne on WordPress.org, @Philippe Vienne on Slack
Created ticket #47901 on Core Trac:Admin menu variable is not always considered as global