Skip to content

Commit

Permalink
Fixed - Fatal error when assigning data to a template view
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronware committed May 15, 2020
1 parent 05d7a1b commit b636be6
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 11 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog #

## 1.1.4 ##

* Fixed - Fatal error when assigning data to a template view

## 1.1.3 ##

* Fixed - Icon font specificity
* Fixed - Icon font specificity

## 1.1.2 ##

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Add dismissible and non-dismissible notices throughout your website.

## Description ##


Add dismissible and non-dismissible notices throughout your website.

* Customize the colors and icons used by your Courier Notices
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "linchpin/courier",
"description": "Courier Notification for WordPress",
"homepage": "https://github.com/linchpin/courier",
"version": "1.1.3",
"version": "1.1.4",
"authors": [
{
"name": "Linchpin",
Expand Down
6 changes: 3 additions & 3 deletions courier.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Courier
* Plugin URI: https://wordpress.org/plugins/courier
* Description: A way to display, manage, and control front end notifications for your WordPress install.
* Version: 1.1.3
* Version: 1.1.4
* Author: Linchpin
* Author URI: https://linchpin.com
* Text Domain: courier
Expand All @@ -22,11 +22,11 @@
*/

if ( ! defined( 'COURIER_VERSION' ) ) {
define( 'COURIER_VERSION', '1.1.3' );
define( 'COURIER_VERSION', '1.1.4' );
}

if ( ! defined( 'COURIER_RELEASE_DATE' ) ) {
define( 'COURIER_RELEASE_DATE', '05/11/2020' );
define( 'COURIER_RELEASE_DATE', '05/15/2020' );
}

// Define the main plugin file to make it easy to reference in subdirectories.
Expand Down
2 changes: 1 addition & 1 deletion js/courier-admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/courier.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "courier-notices",
"version": "1.1.3",
"version": "1.1.4",
"description": "A way to display, manage, and control front end notifications for users, globally or individually, in the header,footer, by shortcode or by page.",
"main": "gulpfile.babel.js",
"scripts": {
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ Contributors: linchpin_agency, aware, ncallen, maxinacube, desrosj, fischfood
Tags: linchpin, front end, notices, notifications, alerts, dismissible, gdpr
Requires at least: 5.0
Tested up to: 5.3.2
Stable tag: 1.1.3
Stable tag: 1.1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add dismissible and non-dismissible notices throughout your website.

== Description ==


Add dismissible and non-dismissible notices throughout your website.

* Customize the colors and icons used by your Courier Notices
Expand All @@ -35,6 +36,10 @@ e.g.

== Changelog ==

= 1.1.4 =

* Fixed - Fatal error when assigning data to a template view

= 1.1.3 =

* Fixed - Icon font specificity
Expand Down
4 changes: 2 additions & 2 deletions src/Helper/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ function courier_display_notices( $args = array() ) {
return;
}

$courier_notices->assign( 'notices', $notices );
$courier_notices_view->assign( 'notices', $notices );

$output = $courier_notices->get_text_view( 'notices' );
$output = $courier_notices_view->get_text_view( 'notices' );
}

$output = apply_filters( 'courier_notices', $output );
Expand Down

0 comments on commit b636be6

Please sign in to comment.