On the node edit screen, only current theme regions are available. So in my case I use rubik as backend theme, also for node editting, which causes $theme_key to be 'rubik'.
around line 150 in .admin.inc:
$custom_theme = isset($theme) ? $theme : variable_get('theme_default', 'garland');
init_theme();
$block_regions = system_region_list($theme_key) + array(BLOCK_REGION_NONE => '<'. t('none') .'>');
I'm not sure init_theme(); works as expected.
theme_default is retrieved correctly as the active 'frontend' theme, that's allright.
But after init_theme, $theme_key is still 'rubik'.
Comments
Comment #1
gloaguen commentedI experienced the same bug when using a different administration theme then the front-end. I have created a patch for this. Now you can use a different administration theme and front-end theme. This works perfect now !
Comment #2
askibinski commentedPatch works. Thanks!
Comment #3
gloaguen commentedThis is now fixed in version 6.x-1.1