Builder/Release Notes/4.0.11

From IThemes Codex
Revision as of 18:38, December 7, 2012 by Gaarai (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Version: 4.0.11

Released: 2012-12-07

Release Type: Feature Enhancement, Bug Fix


Description:

This release adds a new theme support named `builder-disable-stylesheet-cache`. This theme support can be used to disable the process that caches the generate stylesheet for a Layout. By disabling the cached stylesheet, the entire stylesheet will instead by added directly to the page content in a `style` tag. Since this adds to the size of the page and adds a small amount of additional processing overhead (due to needing to regenerate the stylesheet on each page load), it is only recommended that this theme support is added to sites that have a significant issues using the caching feature (such as the site breaks without disabling the cache).

To make use of this new theme support, simply add the following to your child theme's `functions.php` file after the `<?php` line:

add_theme_support( 'builder-disable-stylesheet-cache' );

A small bug fix is also included in this release. It removes a possible notice that could be displayed on some sites in the event that the generated stylesheet file cannot be saved.

Files Updated:

  • lib/builder-core/
  • lib/layout-engine/
Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox