Skip to content

Version 1.7.2

Compare
Choose a tag to compare
@thefrosty thefrosty released this 11 Nov 15:54
44483c4

Changed

  • The addOnCondition has a breaking change adding a new parameter after the callback, allowing an array
    of args to be passed to the callback. If empty call_user_function is used, else call_user_func_array is used.

Updated

  • addOnCondition is also using the new classImplementsWpHooks condition function before adding the hook to avoid
    possible errors when passing in the class string.
  • Bash formatting cleanup on bin/ directory shell linters.