Skip to content

Commit

Permalink
Merge pull request #4 from ConvertKit/issue3
Browse files Browse the repository at this point in the history
Removed short tags from admin class.
  • Loading branch information
growdev authored Sep 7, 2016
2 parents 64d38ae + b137416 commit f0460bf
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 7 deletions.
4 changes: 2 additions & 2 deletions admin/class-convertkit-pmp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,11 @@ public function display_options_convertkit_mapping( $args ) {
name="<?php echo $this->plugin_name; ?>-options[<?php echo $option_name ?>]"><?php
if ( empty( $tag ) ) {
?>
<option value=""><?php echo __( 'Select a tag', 'convertkit-pmp' ); ?></option><?
<option value=""><?php echo __( 'Select a tag', 'convertkit-pmp' ); ?></option><?php
}
foreach ( $args['tags'] as $value => $text ) {
?>
<option value="<?php echo $value; ?>" <?php selected( $tag, $value ); ?>><?php echo $text; ?></option><?
<option value="<?php echo $value; ?>" <?php selected( $tag, $value ); ?>><?php echo $text; ?></option><?php
}
?></select><?php
}
Expand Down
2 changes: 1 addition & 1 deletion convertkit-pmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: ConvertKit Paid Memberships Pro Integration
* Plugin URI: http://www.convertkit.com
* Description: This plugin integrates ConvertKit with Paid Memberships Pro.
* Version: 1.0.1
* Version: 1.0.2
* Author: Daniel Espinoza
* Author URI: https://growdevelopment.com
* License: GPL-2.0+
Expand Down
2 changes: 1 addition & 1 deletion includes/class-convertkit-pmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ConvertKit_PMP {
public function __construct() {

$this->plugin_name = 'convertkit-pmp';
$this->version = '1.0.1';
$this->version = '1.0.2';

$this->load_dependencies();
$this->set_locale();
Expand Down
234 changes: 234 additions & 0 deletions includes/log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
[24-08-2016 15:07:31] Request url: https://api.convertkit.com/v3/tags/20107/subscribe?name=+&[email protected]&api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:07:31] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => POST
[timeout] => 30
)

[24-08-2016 15:10:41] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:10:41] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 15:20:40] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:20:40] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 15:31:03] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:31:03] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 15:42:21] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:42:21] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 15:50:49] Request url: https://api.convertkit.com/v3/tags/20107/subscribe?name=+&[email protected]&api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:50:49] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => POST
[timeout] => 30
)

[24-08-2016 15:52:46] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 15:52:46] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 16:02:20] Request url: https://api.convertkit.com/v3/tags/20107/subscribe?name=+&[email protected]&api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 16:02:20] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => POST
[timeout] => 30
)

[24-08-2016 16:02:23] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 16:02:23] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 16:12:46] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 16:12:46] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[24-08-2016 16:22:49] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[24-08-2016 16:22:49] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[06-09-2016 18:24:58] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[06-09-2016 18:24:58] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[06-09-2016 18:36:23] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[06-09-2016 18:36:23] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[06-09-2016 18:47:04] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[06-09-2016 18:47:04] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[06-09-2016 18:58:04] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[06-09-2016 18:58:04] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[06-09-2016 20:26:39] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[06-09-2016 20:26:39] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[07-09-2016 02:56:18] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[07-09-2016 02:56:18] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

[07-09-2016 03:08:28] Request url: https://api.convertkit.com/v3/tags?api_key=ERJye1W7eFgwGoIOKSf_Rg
[07-09-2016 03:08:28] Request args: Array
(
[body] =>
[headers] => Array
(
[Accept] => application/json
)

[method] => GET
[timeout] => 30
)

9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: nathanbarry, growdev
Donate link: http://convertkit.com/
Tags: convertkit, email, marketing, pmpro, pmp, paid memberships pro
Requires at least: 3.0.1
Tested up to: 4.5.3
Stable tag: 1.0.1
Tested up to: 4.6.0
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -37,7 +37,10 @@ Yes, for it to work you must first have an account on ConvertKit.com

== Changelog ==

- 1.0.1 =
= 1.0.2 =
* Fixed PHP shorttag that was causing PHP parse error.

= 1.0.1 =
* Fixed PHP shorttag that was causing PHP parse error.

= 1.0 =
Expand Down

0 comments on commit f0460bf

Please sign in to comment.