Performance improvements for registering block variations with callbacks

Background In WordPress 5.8, the API for registering block variations was introduced, bringing new capabilities to developers. However, it soon became evident that generating these variations had a non-trivial performance cost, particularly when used for template-part and navigation-link in WordPress 5.9 and post-terms in WordPress 6.1. The core of this issue was that these variations … Continue reading Performance improvements for registering block variations with callbacks