Skip to content

Commit

Permalink
2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
qstudio committed Dec 14, 2020
1 parent d599e55 commit 39d3ae9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.0.4 ###

* Update: Removed extra DI from top level plugin file passing $plugin to sub classes
* Update: php_function default usage is now to return data to templates - this can be cancelled using [null] flag

### 2.0.3 ###

* Update: License terms GPL2+ to match WordPress
Expand Down
1 change: 1 addition & 0 deletions library/core/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class config {

private

// loaded config ##
$has_config = false,
$delete_config = true,
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class plugin {
public static

// current tag ##
$_version = '2.0.3'
$_version = '2.0.4'

;

Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
**Tags:** Simple, logic-less, semantic, markup, language
**Requires at least:** 5.0
**Tested up to:** 5.6
**Stable tag:** 2.0.3
**Stable tag:** 2.0.4
**License:** GPL-2.0+

Willow ~ A logic-less template engine built for WordPress.
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: Simple, logic-less, semantic markup language
Requires at least: 5.0
Tested up to: 5.6
Requires PHP: 7.0
Stable tag: 2.0.3
Stable tag: 2.0.4
License: GPL-2.0+

Willow ~ A logic-less template engine built for WordPress.
Expand Down
6 changes: 3 additions & 3 deletions willow.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Plugin Name: Willow
* Plugin URI: https://qstudio.us/docs/willow/
* Description: Willow is a Logic-less Template Engine built for WordPress
* Version: 2.0.3
* Version: 2.0.4
* Author: Q Studio
* Author URI: https://qstudio.us
* License: GPL-2.0+
Expand Down Expand Up @@ -66,7 +66,7 @@
\add_action( 'plugins_loaded', function() use( $plugin ){

// kick off config and store object ##
$config = new willow\core\config( $plugin );
$config = new willow\core\config();
$config->hooks();
$plugin->set( 'config', $config );

Expand All @@ -86,6 +86,6 @@
if( ! \is_admin() ){

// build output buffer ##
\add_action( 'plugins_loaded', [ new willow\buffer\output( $plugin ), 'hooks' ], 1 );
\add_action( 'plugins_loaded', [ new willow\buffer\output(), 'hooks' ], 1 );

}

0 comments on commit 39d3ae9

Please sign in to comment.