Skip to content

Releases: Brain-WP/Hierarchy

v2.3.0

15 Sep 13:47
Compare
Choose a tag to compare

Changed

  • Hierarchy branches array is now an associative array to easier filtering
  • Updated README

Added

  • EmbedBranch, for templates of a is_embed() query
  • Filter brain.hierarchy.branches to customize the whole branches array
  • Core filter (WP 4.7+) {$type}_template_hierarchy to filter specific branch template candidates
  • Hierachy class constructor to accept flags, along with FILTERABLE and NOT_FILTERABLE class constants to be used as flags

Fixed

  • Front page branch "type" is changed to frontpage (it was front_page) for core compatibility. It is used as dynamic part in hooks {$type}_template and {$type}_template_hierarchy
  • Single branch was not in pair with core. Now it is, including upcoming changes in WP 4.7
  • Edge case core compatibily issue in PageBranch
  • Code style issues

v2.2.1

14 Sep 13:43
Compare
Choose a tag to compare

Changed

Nothing

Added

Nothing

Fixed

  • QueryTemplate now correctly fallbacks to main query if no custom query is provided and default filters are applied. (see #12). Props @kraftner.

v2.2.0

27 Apr 19:15
Compare
Choose a tag to compare

Changed

  • FoldersTemplateFinder and SubfolderTemplateFinder now support more file extensions (see #2. prop @schlessera)

Added

  • Aggregate loaders (see #1, prop @schlessera ): AggregateTemplateLoaderInterface, CascadeAggregateTemplateLoader and ExtensionMapTemplateLoader
  • FileExtensionPredicate (mainly helper for ExtensionMapTemplateLoader)

Fixed

nothing

v2.1.0

17 Apr 21:09
Compare
Choose a tag to compare

Changed

  • Removed comments_popup branch because deprecated in WP 4.5

Added

Nothing

Fixed

Nothing

v2.0.0

11 Mar 15:22
Compare
Choose a tag to compare

Changed

  • Renamed GM namespace to Brain

Added

Nothing

Fixed

Nothing

v1.2.0

06 Mar 19:41
Compare
Choose a tag to compare

First release not present in the old package, nothing really new, just README changes and other cosmetics.