Completed
Push — staging ( d364b5...fd0046 )
by Evan
20:07 queued 12:03
created
admin/partials/dashboard-widgets/class.list-activity-widget.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@  discard block
 block discarded – undo
2 2
 	/*
3 3
 	* Our ajax is processed inside of class.ajax.php
4 4
 	*/
5
-	class YIKES_Inc_Easy_MailChimp_Dashboard_Widgets
6
-	{
5
+	class YIKES_Inc_Easy_MailChimp_Dashboard_Widgets {
7 6
 
8 7
 		// Construction
9 8
 		public function __construct() {
@@ -16,7 +15,8 @@  discard block
 block discarded – undo
16 15
 
17 16
 		// enqueue our JS file on the main dashboard page
18 17
 		function enqueue_dashboard_widget_script( $hook ) {
19
-			if( 'index.php' == $hook ) { // default 'dashboard' page
18
+			if( 'index.php' == $hook ) {
19
+// default 'dashboard' page
20 20
 				wp_register_script( 'yikes-easy-mc-dashboard-widget-script' , YIKES_MC_URL . 'admin/js/min/yikes-inc-easy-mailchimp-dashboard-widget.min.js' , array( 'jquery' ) , 'all' , false );
21 21
 				$data_array = array(
22 22
 					'ajax_url' => esc_url_raw( admin_url( 'admin-ajax.php' ) ),
Please login to merge, or discard this patch.