Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.75 KB

File metadata and controls

51 lines (38 loc) · 1.75 KB

Change Log for WordPress Plugin Template Loader

Nothing yet.

[2.0.0] - Targeted for 2018-09-30 (TBD)

  • Converted class and method naming to camelCase.
  • Reformatted code to conform to PSR-2 standard.
  • Added PSR-4 autoloading.
  • Added constructor to class to allow easy customization of filter prefix, theme and plugin template directories.
  • Updated editorconfig file to match PSR-2 standard.
  • Update documentation.

1.3.0 - 2017-03-24

  • Add prefixed get_template_part filter.
  • Add a template cache to store previously located template paths.
  • Add a custom data variable name cache, so unset_template_data() can remove all custom references.
  • Update set_template_data() and unset_template_data() to become fluent methods.
  • Remove array type hint from set_template_data() argument.
  • Update documentation.

1.2.0 - 2016-03-26

  • Support adding custom template data.
  • Add check around class definition if class exists.
  • Added composer.json.
  • Fix code standards.
  • Improve README.
  • Move example meal planner class into README.

1.1.0 - 2014-03-08

  • Fix bug so that the more specific template is preferred.
  • Cache template path in a local variable.
  • Change access to locate_template() method to public.
  • Add $plugin_template_directory property.
  • Initialise $templates variable.
  • Add check if class exists in example code.
  • Improve README

1.0.0 - 2013-12-09

  • Initial release.