Skip to content

v1.0.4

Compare
Choose a tag to compare
@Log1x Log1x released this 12 Feb 05:42
· 148 commits to master since this release

Changelog

Features

  • Added 12+ new helper directives: @istrue, @isfalse, @isnull, @isnotnull, @instanceof, @typeof, @repeat, @style, @script, @js, @inline, @fa
  • Added 6 new WordPress directives: @author, @authorurl, @published, @modified, @wpautop, @wpautokp
  • Refactored @posts allowing it to accept post ID's, WP_Post instances, or an array with a combination of the two (#8)
  • Refactored source code DocBlocks and formatting of directives
  • Improved formatting and examples for documentation

Bug Fixes

  • Fix missing closing parenthesis in fields directive (#7)
  • Added missing parameters to allow passing an array key to @isfield, @issub, and @isoption

Breaking Change

  • @condition has been replaced with @istrue / @isfalse