Skip to content

Commit

Permalink
Release/1.0.2 (#19)
Browse files Browse the repository at this point in the history
* Fix bug in action controller

* bump version numbers
  • Loading branch information
LanceJernigan authored Nov 26, 2019
1 parent 24812bd commit 7c5cca5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions classes/Controllers/Client/Enqueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ private function get_actions($fields)
{
$actions = [
[
'label' => array_key_exists('more_link', $fields) && $fields['more_link'] !== '' ? $fields['more_link']['title'] : 'More',
'label' => array_key_exists('title', $fields['more_link']) && $fields['more_link']['title'] !== '' ? $fields['more_link']['title'] : 'More',
'action' => 'more',
'url' => array_key_exists('url', $fields) && $fields['more_link'] !== '' ? $fields['more_link']['url'] : '#',
'target' => array_key_exists('target', $fields) && $fields['more_link'] !== '' ? $fields['more_link']['target'] : '_blank',
'url' => array_key_exists('url', $fields['more_link']) && $fields['more_link']['url'] !== '' ? $fields['more_link']['url'] : '#',
'target' => array_key_exists('target', $fields['more_link']) && $fields['more_link']['target'] !== '' ? $fields['more_link']['target'] : '_blank',
],
[
'label' => array_key_exists('decline_label', $fields) && $fields['decline_label'] !== '' ? $fields['decline_label'] : 'Decline',
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "pyxl/poppy",
"description": "WordPress plugin for creating popups",
"type": "wordpress-plugin",
"version": "1.0.1"
"version": "1.0.2"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "git",
"url": "git://github.com/thinkpyxl/poppy.git"
},
"version": "1.0.1",
"version": "1.0.2",
"license": "GPL-3.0-or-later",
"watch": {
"proxy": "https://test.test",
Expand Down
2 changes: 1 addition & 1 deletion poppy.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Poppy
* Description: A WordPress popup plugin
* Version: 1.0.1
* Version: 1.0.2
* Author: Pyxl Inc.
* Author URI: https://pyxl.com
* License: GPLv3+
Expand Down

0 comments on commit 7c5cca5

Please sign in to comment.