Thesis 2.2 Changelog

Release date: January 5, 2016

Thesis Core

  • All-new Thesis Admin Home screen serves as an extensible portal to Thesis functionality
  • New thesis_admin_home hook can be used to add content to the Thesis Admin Home
  • Partial interface refresh featuring new fonts, button styles, and a THESIS logo that looks sharp on any device
  • Skin Editor now includes an Editor CSS tab for adding WordPress Post Editor CSS
  • New hook system allows for easier hook sniffing and event tracking
  • Thesis Admin Skin and Site Menus are now easily filterable
  • Thesis portion of the WordPress Dashboard menu is easily filterable now, too
  • Thesis Skin and Site menus now accept a description parameter that is output on the Thesis Admin Home
  • Redesigned Manage Skins page
  • Available updates are now displayed prominently throughout the Thesis Admin
  • All Box options pages accessible through the Skin Content page now include a prominent link back to the Skin Content page
  • Thesis API: Added HTML attribute option to the html_options() method
  • Thesis API: new is_template() method can be used to determine which template is currently rendering on the front end
  • Thesis API: new get_css_variables() method acquires CSS Variables anywhere (and not just on pages where the Skin CSS controller is running)
  • Thesis API: new url_relative() and url_current() methods keep all URL references relevant to the current domain, even if the saved URL includes a different domain
  • In the Skin Editor, Boxes now have a Display ID field (on the Admin tab) that can be used to declare a Display Options reference and/or a hook name
  • Fully-integrated Yoast SEO Plugin compatibility
  • Updated CodeMirror for better syntax recognition in Thesis CSS Editors
  • CSS Variable references can now be dragged/dropped into the CSS in the Skin Editor
  • Sitewide emoji support can now be disabled by using: add_filter('thesis_emoji', '__return_false');
  • Updated all CDN script references to their latest versions
  • Fixed logout warning on Skin Editor and Custom CSS pages
  • Tidied up design issues on Terms pages in the WordPress Dashboard
  • Fixed character counters on category/tag/taxonomy editing pages as well as on post meta in the WP Post Editor
  • Fixed translation issue with certain strings in the Thesis API
  • Improved the Schema API and added new supported types
  • Updated Google Analytics to use the new asynchronous implementation
  • Optimized Thesis screenshot to make the software package even smaller
  • Removed media attribute from stylesheet declarations
  • Reorganized core Boxes and improved the way they are incorporated into the runtime Box list
  • Fixed comment compatibility issue with WordPress 4.4
  • Improved Skin .zip file creation
  • Improved formatting and clarity of update and delete screens
  • Updated included license file
  • Colors, CSS, Fonts, and Typography components in the Thesis API. These have all been updated and are now part of the Skin API.
  • CSS Packages are officially deprecated but can be retained for legacy designs via a new filter, thesis_use_packages
  • Removed Thesis Subscriptions Widget
  • Removed unused /lib/core/upgrade.php file

Skin API

  • Dynamic WYSIWYG now supported in the WP Post Editor via new Editor CSS, which can be added to any Skin in the Skin Editor
  • Editor CSS is now part of basic Skin data, so it can be backed up and restored in the Skin Data Manager.
  • Massively enhanced Skin API components, including:
    • Color β€” advanced color methods for use in your Skin’s css_variables() method
    • CSS Tools β€” CSS output helpers for use in your Skin’s css_variables() method
    • Fonts β€” primary fonts controller used by Skins
    • Typography β€” advanced typography and spacing methods for use in your Skin’s css_variables() method
    • Google Fonts (optional) β€” automatically incorporate Google Fonts into your Skin
    • Header Image (optional) β€” easily add a Header Image to your Skin
    • Logo (optional) β€” easily add a Logo to your Skin
  • Added display_elements() method to the Skin API for easier Display Options
    • Declaring an $elements property is no longer necessary
    • Simply have display_elements() return your old $elements array, and your Display Options will work automatically!
    • No need to include methods to show/hide your Skin’s elements
  • Skins no longer need to declare a meta_viewport() method; filter thesis_meta_viewport can be used to override the default meta viewport output
  • Changed $filters property to $functionality and added these optional parameters:
    • fonts_google β€” set to true to add Google Fonts to your Skin
    • header_image β€” set to true to add Header Image functionality to your Skin
    • logo β€” set to true to add Logo functionality to your Skin
    • editor_grt β€” set to true to add the grt class to the WordPress Post Editor
    • legacy_image_support β€” set to false to remove Thesis Post Image and Thesis Post Thumbnail Boxes
    • launcher_position β€” set to right to move the Template launcher to the bottom right portion of the screen
    • meta_viewport β€” set to your desired <meta viewport> declaration
  • Added the following items to the Thesis CSS Reset:
    • -webkit-text-size-adjust: 100% for seamless iOS scaling
    • input[type="submit"] and button resets for consistent cross-browser rendering
  • Font list in Design Options dropdown selectors is now 100% alphabetized
  • Expanded the default Google Fonts list to all current fonts containing 400, 400 italic, and 700 weights
  • Universal array filter for Google Fonts: thesis_google_fonts
  • Added .jpg support for Skin screenshots
  • Skin properties are now set to public for universal access
  • Updated clearfix method employed by the Skin CSS controller
  • ColorScale functionality is partially deprecated (meaning it is under review and may be changed or removed in the future), but for Skins still using it, restore defaults now applies to all colors and not just those that get modified by the ColorScale

Box API

  • Any Boxes whose Display Options are turned off will not run their preload() or post_meta() methods, enhancing overall performance and speed
  • Admin page hook system for Boxes with class-based options, where $class is the Box class name:
    • admin_hook_before_$class β€” before the opening <form> tag
    • admin_hook_top_$class β€” just inside the opening <form> tag
    • admin_hook_bottom_$class β€” just before the closing </form> tag
    • admin_hook_after_$class β€” just after the closing </form> tag
  • Added a description parameter to Box $filters; description text will appear on the Thesis Admin Home if the Box is included in the Site Menu

Form/Options API

  • Option type group now accepts a description parameter that will display above grouped options
  • Added an optional required parameter to input and textarea option types
  • Improved add_media field type

Boxes

  • HTML Body and HTML Container Boxes now support an HTML attributes option for increased flexibility
  • Author Description Box now includes an option to display the author’s name
  • Author Description Box now includes option to select avatar image size
  • WP Nav Menu Box now has minified JS output for enhanced performance
  • Fixed the way the WP Nav Menu Box uses the thesis_footer_scripts array filter; now other functionality can use this filter, too