Skip to content

Wonderflux v1.2

Compare
Choose a tag to compare
@Jonnyauk Jonnyauk released this 13 Sep 23:42
· 438 commits to master since this release

57 commits since last release - some very cool new helper functionality and more snagging!

Please ensure that you read through the commits relevant to this release BEFORE you update Wonderflux! Highlights in this release include:
General
  • Fully tested and compatible upto WordPress v4.0x (with backwards compatibility to WordPress v3.3x)
  • Fully tested and compatible upto BuddyPress v2.0.1 (with backwards compatibility to BuddyPress v1.8)
Cool new stuff
  • Very cool new helper functions (see below) - can now easily see all hooks in layout and included template files/parts!
  • Improved image handling CSS (supports responsive resizing)
  • Improved output - now with more filters and improved browser detection
New functions
  • wfx_show_hooks() + 2 filters 'wflux_debug_show_hooks_css' and 'wflux_debug_show_hooks_css' - displays available Wonderflux hooks in layout - set constant WF_DEBUG to true to enable (requires user to be logged in and capability of manage_options).
  • wfx_admin_bar_files_info() adds theme files in use to admin bar (under Wonderflux menu), with file source label (i.e. Wonderflux/child theme). Shows core template file and files included with get_template_part() and wfx_get_template_part() in current view. Set constant WF_DEBUG to true to enable (requires user to be logged in and capability of manage_options).
New filters

wflux_body_class_browser - 84b9746
wflux_body_class_layout - 84b9746
wflux_language_attributes - 2375a85

Various bug fixes
  • Fixed text domains throughout and updated .pot file
  • Corrected some escaping issues
  • Improved documentation
NOTE ON UPGRADE
  • IMPORTANT - header.php update - Remove wfx_display_body_tag() and replace with body_class() - see 41207e2 - if you have a header.php file in your child theme.
  • IMPORTANT - header.php update - Use language_attributes() properly - see f3e7934 - if you have a header.php file in your child theme.