Skip to content

v2.0.7

Choose a tag to compare

@cjg89 cjg89 released this 29 Jan 14:31
· 20 commits to master since this release

Enhancements

  • Added late enqueuing of JS assets, and moved all scripts to the document footer. ucf_post_list_search_script() has been modified to return empty contents and add inline initialization of typeaheads via wp_add_inline_script() instead of returning a <script> tag directly.
  • Renamed Typeahead and Handlebars script handles for consistency with other plugins
  • Added constants for static CSS/JS URL paths
  • Removed redundant has_filter() checks when displaying post list layouts
  • Added absolute dirs for required files in main plugin file
  • Removed ID attr on .ucf-post-search-form wrapper elem, as it's not necessary
  • Upgraded packages
  • Added plugin version cache-busting to plugin CSS and JS (excluding CDN'd assets)

Bug fixes

  • Updated UCF_Post_List_Config::format_option_num_or_null() to actually cast non-null values to int instead of trying to force addition on a potentially non-numeric value