github ThemeFuse/Unyson v1.2.3

latest releases: v2.7.31, v2.7.30, v2.7.29...
9 years ago
  • Fix for action that is not called after the v1.2.1 release

In v1.2.1 we added the possibility to use the framework as a plugin. To accomplish that, we moved the framework initialization to the after_setup_theme action to prevent undefined constant TEMPLATEPATH errors because the theme is not yet loaded when the plugin is initialized.
But in framework-customizations/theme/hooks.php there is an add_action( 'after_setup_theme', '_action_theme_setup' ); that is not executed anymore. Now we changed that line to add_action( 'fw_init', '_action_theme_setup' );. But the users that downloaded the framework before v1.2.3 have that code in the theme. In this release we added a piece of code that executes that function if it exists.

Don't miss a new Unyson release

NewReleases is sending notifications on new releases.