From 43b23994a9b97ce47020b80cd3dec35bc1cb1704 Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 5 Dec 2016 12:15:24 -0500 Subject: [PATCH] - Updates function arguments --- lib/Newsletter/Shortcodes/Categories/Link.php | 4 ++-- lib/Newsletter/Shortcodes/Categories/Newsletter.php | 4 ++-- lib/Newsletter/Shortcodes/Categories/Subscriber.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Newsletter/Shortcodes/Categories/Link.php b/lib/Newsletter/Shortcodes/Categories/Link.php index e63f4f1ed2..977a85a403 100644 --- a/lib/Newsletter/Shortcodes/Categories/Link.php +++ b/lib/Newsletter/Shortcodes/Categories/Link.php @@ -8,10 +8,10 @@ use MailPoet\Subscription\Url as SubscriptionUrl; class Link { static function process($action, - $default_value = false, + $default_value, $newsletter, $subscriber, - $queue = false + $queue ) { switch($action) { case 'subscription_unsubscribe': diff --git a/lib/Newsletter/Shortcodes/Categories/Newsletter.php b/lib/Newsletter/Shortcodes/Categories/Newsletter.php index 785ca33c94..2eb3254f6a 100644 --- a/lib/Newsletter/Shortcodes/Categories/Newsletter.php +++ b/lib/Newsletter/Shortcodes/Categories/Newsletter.php @@ -8,10 +8,10 @@ require_once(ABSPATH . "wp-includes/pluggable.php"); class Newsletter { static function process($action, - $default_value = false, + $default_value, $newsletter, $subscriber, - $queue = false, + $queue, $content ) { switch($action) { diff --git a/lib/Newsletter/Shortcodes/Categories/Subscriber.php b/lib/Newsletter/Shortcodes/Categories/Subscriber.php index 40a7a7027c..16513eb6d8 100644 --- a/lib/Newsletter/Shortcodes/Categories/Subscriber.php +++ b/lib/Newsletter/Shortcodes/Categories/Subscriber.php @@ -11,7 +11,7 @@ class Subscriber { static function process( $action, $default_value, - $newsletter = false, + $newsletter, $subscriber ) { if($subscriber !== false && !is_object($subscriber)) return false;