The sub-theme settings inheritance bug in Drupal core #761608: Missing theme settings values because list_themes() has inconsistent theme object data is going to be fixed soon and when testing the patch, I realized that some undefined index errors were occurring when removing default settings from a sub-theme's .info file. This was due to Fusion utilizing $theme_data[$theme_name]->info['settings'] to generate a set of grid options. The attached patch causes Fusion to iterate through all settings in $theme_data['fusion_core']->info['settings'] and replace any missing variables in $theme_data[$theme_name]->info['settings'] with the value from Fusion core.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Poieo’s picture

Attached patch includes the original plus the removal of settings from the starter themes and inclusion in core.

Poieo’s picture

Revised. Forgot some settings.

  • Commit 58963d6 on 7.x-2.x by Poieo:
    Issue #1421938 by sheena_d, Poieo: Remove grid settings from starter...
Poieo’s picture

Status: Needs review » Closed (fixed)

Commited.