Completed
Push — staging ( 7f569b...cd52d3 )
by
unknown
04:28
created
admin/partials/helpers/init.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@  discard block
 block discarded – undo
7 7
 	class Yikes_Inc_Easy_Mailchimp_Extender_Helper {
8 8
 	
9 9
 			/**
10
-			*	Helper functions to help out with extensions (still fleshing out)
11
-			*	@since 6.0
12
-			*	@ Parameters (array of data)
13
-			*		-	Section ID - id of the section, should be a slug style text ie: 'custom-section'
14
-			*		-	Link Text - Visible text for this link ie: 'Custom Section'
15
-			*		-	Dashicon - class of the icon you would like to use for this link
16
-			**/
10
+			 *	Helper functions to help out with extensions (still fleshing out)
11
+			 *	@since 6.0
12
+			 *	@ Parameters (array of data)
13
+			 *		-	Section ID - id of the section, should be a slug style text ie: 'custom-section'
14
+			 *		-	Link Text - Visible text for this link ie: 'Custom Section'
15
+			 *		-	Dashicon - class of the icon you would like to use for this link
16
+			 **/
17 17
 			public static function add_edit_form_section_link( $link_array=array() ) {
18 18
 				if( !empty( $link_array ) ) {
19 19
 					$link_data = wp_parse_args( array() , $link_array );
@@ -36,17 +36,17 @@  discard block
 block discarded – undo
36 36
 			}
37 37
 			
38 38
 			/**
39
-			*	Helper functions to help out with extensions (still fleshing out)
40
-			*	@since 6.0
41
-			*	@ Parameters:
42
-			*		-	Section ID - id of the section, should be a slug style text ie: 'custom-section'
43
-			*		-	Class - class file to call function from?
44
-			*		-	Main Callback - call back for main section
45
-			*		-	Main Section Title - main section title
46
-			*		-	Sidebar Callback - callback for the sidebar section
47
-			*		-	Sidebar Title - title of the sidebar section
48
-			*		-	Class - class to reference funtions out of (optiona, if left blank functions should be defined in functions.php (or outside of a class))
49
-			**/
39
+			 *	Helper functions to help out with extensions (still fleshing out)
40
+			 *	@since 6.0
41
+			 *	@ Parameters:
42
+			 *		-	Section ID - id of the section, should be a slug style text ie: 'custom-section'
43
+			 *		-	Class - class file to call function from?
44
+			 *		-	Main Callback - call back for main section
45
+			 *		-	Main Section Title - main section title
46
+			 *		-	Sidebar Callback - callback for the sidebar section
47
+			 *		-	Sidebar Title - title of the sidebar section
48
+			 *		-	Class - class to reference funtions out of (optiona, if left blank functions should be defined in functions.php (or outside of a class))
49
+			 **/
50 50
 			public static function add_edit_form_section( $section_array=array() ) {
51 51
 				if( !empty( $section_array ) ) {
52 52
 					$section_data = wp_parse_args( array() , $section_array );
@@ -59,11 +59,11 @@  discard block
 block discarded – undo
59 59
 			}
60 60
 			
61 61
 			/**
62
-			*	Check if the custom section is single or two columns (with sidebar)
63
-			*	@since 6.0
64
-			*	@Parameters:
65
-			*		-	Section Data - the array of data associated with the custom field you've set up
66
-			*/
62
+			 *	Check if the custom section is single or two columns (with sidebar)
63
+			 *	@since 6.0
64
+			 *	@Parameters:
65
+			 *		-	Section Data - the array of data associated with the custom field you've set up
66
+			 */
67 67
 			public static function is_custom_section_two_column( $custom_section_data ) {
68 68
 				// print_r( $custom_section_data );
69 69
 				$value = ( isset( $custom_section_data['sidebar_title'] ) && isset( $custom_section_data['sidebar_fields'] ) && !empty( $custom_section_data['sidebar_fields'] ) ) ?  true : false;
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.registration_form-checkbox.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
 	}
25 25
 	
26 26
 	/**
27
-	* Outputs a checkbox
28
-	*/
27
+	 * Outputs a checkbox
28
+	 */
29 29
 	public function output_checkbox() {
30 30
 		echo $this->yikes_get_checkbox();
31 31
 	}
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 * @param int $user_id
37 37
 	 *
38 38
 	 * @return bool|string
39
-	*/
39
+	 */
40 40
 	public function subscribe_from_registration( $user_id ) {
41 41
 		// was sign-up checkbox checked?
42 42
 		if ( $this->was_checkbox_checked( $this->type ) === false ) {
Please login to merge, or discard this patch.
admin/partials/view-list.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -302,9 +302,9 @@
 block discarded – undo
302 302
 									?></ul><?php
303 303
 								}
304 304
 								/**
305
-								*	Custom action hook for our add-ons to hook into
306
-								*	@since 6.0.3.8
307
-								*/
305
+								 *	Custom action hook for our add-ons to hook into
306
+								 *	@since 6.0.3.8
307
+								 */
308 308
 								do_action( 'yikes-mailchimp-list-form-fields-metabox' );
309 309
 							?>
310 310
 
Please login to merge, or discard this patch.
admin/partials/ajax/class.ajax.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,8 +118,8 @@
 block discarded – undo
118 118
 		}
119 119
 
120 120
 		/**
121
-		* Save changes to a field's label
122
-		*/ 
121
+		 * Save changes to a field's label
122
+		 */ 
123 123
 		public function save_field_label_edits() {
124 124
 
125 125
 			// Capture our $_POST variables
Please login to merge, or discard this patch.
includes/api/class-yikes-inc-easy-mailchimp-api-lists.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -179,19 +179,19 @@
 block discarded – undo
179 179
 	}
180 180
 
181 181
 	/**
182
-	* Update a merge field for a particular list
183
-	*
184
-	* @author Kevin Utz
185
-	*
186
-	* @since 6.3.3
187
-	*
188
-	* @param string | $list_id			| The ID of the MailChimp list
189
-	* @param string | $field_id			| The ID of the merge field
190
-	* @param array  | $field_data		| An array of field data constituting the body of our API request
191
-	* @param bool	| $clear_transient	| Flag whether we should delete the transients associated with this list
192
-	*
193
-	* @return array | WP_Error
194
-	*/
182
+	 * Update a merge field for a particular list
183
+	 *
184
+	 * @author Kevin Utz
185
+	 *
186
+	 * @since 6.3.3
187
+	 *
188
+	 * @param string | $list_id			| The ID of the MailChimp list
189
+	 * @param string | $field_id			| The ID of the merge field
190
+	 * @param array  | $field_data		| An array of field data constituting the body of our API request
191
+	 * @param bool	| $clear_transient	| Flag whether we should delete the transients associated with this list
192
+	 *
193
+	 * @return array | WP_Error
194
+	 */
195 195
 	public function update_merge_field( $list_id, $field_id, $field_data, $clear_transient = true ) {
196 196
 		$path	= "{$this->base_path}/{$list_id}/merge-fields/{$field_id}";
197 197
 		$field	= $this->patch_to_api( $path, $field_data );
Please login to merge, or discard this patch.
class.easy_digital_downloads_checkout_form-checkbox.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
 		
28 28
 		
29 29
 		/**
30
-		* Outputs a checkbox
31
-		*/
30
+		 * Outputs a checkbox
31
+		 */
32 32
 		public function output_checkbox() {
33 33
 			if ( $this->is_user_already_subscribed( $this->type ) ) {
34 34
 				return;
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.contact_form_7-checkbox.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@  discard block
 block discarded – undo
30 30
 	}
31 31
 	
32 32
 	/**
33
-	* Registers the CF7 shortcode
33
+	 * Registers the CF7 shortcode
34 34
 	 *
35
-	* @return boolean
36
-	*/
35
+	 * @return boolean
36
+	 */
37 37
 	public function init() {
38 38
 		if( ! function_exists( 'wpcf7_add_form_tag' ) ) {
39 39
 			return false;
@@ -43,21 +43,21 @@  discard block
 block discarded – undo
43 43
 	}
44 44
 	
45 45
 	/**
46
-	* Alter Contact Form 7 data.
47
-	*
48
-	* Adds yikes_mailchimp_checkbox to post data so users can use `yikes_mailchimp_checkbox` in their email templates
49
-	*
50
-	* @param array $data
51
-	* @return array
52
-	*/
46
+	 * Alter Contact Form 7 data.
47
+	 *
48
+	 * Adds yikes_mailchimp_checkbox to post data so users can use `yikes_mailchimp_checkbox` in their email templates
49
+	 *
50
+	 * @param array $data
51
+	 * @return array
52
+	 */
53 53
 	public function alter_cf7_data( $data = array() ) {
54 54
 		$data['yikes_mailchimp_checkbox'] = $this->was_checkbox_checked( $this->type ) ? __( 'Yes', 'yikes-inc-easy-mailchimp-extender' ) : __( 'No', 'yikes-inc-easy-mailchimp-extender' );
55 55
 		return $data;
56 56
 	}
57 57
 	
58 58
 	/**
59
-	* Subscribe from Contact Form 7 Forms
60
-	*/
59
+	 * Subscribe from Contact Form 7 Forms
60
+	 */
61 61
 	public function new_cf7_subscription( $contact_form ) {
62 62
 		// was sign-up checkbox checked?
63 63
 		if ( $this->was_checkbox_checked( $this->type ) === false ) {
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.bbpress_forms-checkbox.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@
 block discarded – undo
27 27
 		}
28 28
 
29 29
 		/**
30
-		* Outputs a checkbox
31
-		*/
30
+		 * Outputs a checkbox
31
+		 */
32 32
 		public function output_checkbox() {
33 33
 			// if the user is already subscribed, abort and don't render the checkbox
34 34
 			if ( $this->is_user_already_subscribed( $this->type ) ) {
Please login to merge, or discard this patch.
public/classes/checkbox-integrations/class.buddypress_form-checkbox.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 		}
19 19
 		
20 20
 		/**
21
-		* Outputs a checkbox, if user is not already subscribed
22
-		*/
21
+		 * Outputs a checkbox, if user is not already subscribed
22
+		 */
23 23
 		public function output_checkbox() {
24 24
 			if ( $this->is_user_already_subscribed( $this->type ) ) {
25 25
 				return;
Please login to merge, or discard this patch.