When assigning a new default theme using install_default_theme() you still cannot assign blocks correctly as you might expect, all because the $theme_key global variable is not updated.

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new556 bytes

Patch added which assigns the variable when install_default_theme() is executed. Have tested it locally.

James Andres’s picture

Status: Needs review » Reviewed & tested by the community
James Andres’s picture

Status: Reviewed & tested by the community » Fixed

This patch has just saved my bacon again. Committing!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.