Completed
Push — master ( ba0ac1...6ae21f )
by Stephanie
02:27
created
classes/helpers/FrmFormActionsHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-if ( ! defined('ABSPATH') ) {
2
+if ( ! defined( 'ABSPATH' ) ) {
3 3
 	die( 'You are not allowed to call this page directly.' );
4 4
 }
5 5
 
Please login to merge, or discard this patch.
classes/views/frm-entries/_sidebar-shared-pub.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! isset( $entry) ) {
2
+if ( ! isset( $entry ) ) {
3 3
     $entry = $record;
4 4
 } ?>
5 5
 
@@ -18,4 +18,4 @@  discard block
 block discarded – undo
18 18
 </div>
19 19
 <?php } ?>
20 20
 
21
-<?php do_action('frm_entry_shared_sidebar', $entry); ?>
21
+<?php do_action( 'frm_entry_shared_sidebar', $entry ); ?>
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 if ( ! isset( $entry) ) {
3
-    $entry = $record;
3
+	$entry = $record;
4 4
 } ?>
5 5
 
6 6
 <div class="misc-pub-section curtime misc-pub-curtime">
7 7
     <span id="timestamp">
8 8
     <?php
9
-    $date_format = __( 'M j, Y @ G:i' );
9
+	$date_format = __( 'M j, Y @ G:i' );
10 10
 	printf( esc_html__( 'Published on: %1$s' ), '<b>' . FrmAppHelper::get_localized_date( $date_format, $entry->created_at ) . '</b>' );
11 11
 	?>
12 12
     </span>
Please login to merge, or discard this patch.
classes/views/frm-entries/sidebar-shared.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -66,18 +66,18 @@
 block discarded – undo
66 66
         <?php } ?>
67 67
 
68 68
         <?php
69
-        foreach ( (array) $data as $k => $d ) {
69
+		foreach ( (array) $data as $k => $d ) {
70 70
 			if ( in_array( $k, array( 'browser', 'referrer' ) ) ) {
71
-                continue;
72
-            }
73
-        ?>
71
+				continue;
72
+			}
73
+		?>
74 74
         <div class="misc-pub-section">
75 75
 			<b><?php echo sanitize_text_field( ucfirst( str_replace( '-', ' ', $k ) ) ); ?></b>:
76 76
 			<?php echo wp_kses_post( implode( ', ', (array) $d ) ); ?>
77 77
         </div>
78 78
         <?php
79
-            unset($k, $d);
80
-        }
81
-        ?>
79
+			unset($k, $d);
80
+		}
81
+		?>
82 82
     </div>
83 83
 </div>
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
         <div class="misc-pub-section">
7 7
             <span class="dashicons dashicons-admin-post wp-media-buttons-icon"></span>
8 8
             <?php esc_html_e( 'Post', 'formidable' ) ?>:
9
-            <b><?php echo get_the_title($entry->post_id) ?></b>
9
+            <b><?php echo get_the_title( $entry->post_id ) ?></b>
10 10
 			<span>
11 11
 				<a href="<?php echo esc_url( admin_url( 'post.php?post=' . $entry->post_id . '&action=edit' ) ) ?>">
12 12
 					<?php esc_html_e( 'Edit', 'formidable' ) ?>
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         </div>
67 67
         <?php } ?>
68 68
 
69
-        <?php if ( isset($data['referrer']) ) { ?>
69
+        <?php if ( isset( $data['referrer'] ) ) { ?>
70 70
         <div class="misc-pub-section">
71 71
 			<b><?php esc_html_e( 'Referrer', 'formidable' ) ?></b>:<br/>
72 72
 			<?php echo wp_kses_post( str_replace( "\r\n", '<br/>', $data['referrer'] ) ); ?>
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 			<?php echo wp_kses_post( implode( ', ', (array) $d ) ); ?>
85 85
         </div>
86 86
         <?php
87
-            unset($k, $d);
87
+            unset( $k, $d );
88 88
         }
89 89
         ?>
90 90
     </div>
Please login to merge, or discard this patch.
classes/views/frm-form-actions/default_actions.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 class FrmDefPostAction extends FrmFormAction {
4 4
 	public function __construct() {
5 5
 		$action_ops = FrmFormAction::default_action_opts();
6
-	    $action_ops['classes'] = 'ab-icon frm_dashicon_font dashicons-before';
6
+		$action_ops['classes'] = 'ab-icon frm_dashicon_font dashicons-before';
7 7
 
8 8
 		parent::__construct( 'wppost', __( 'Create Post', 'formidable' ), $action_ops );
9 9
 	}
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 // add register action
13 13
 class FrmDefRegAction extends FrmFormAction {
14 14
 	public function __construct() {
15
-		$action_ops = FrmFormAction::default_action_opts('frm_register_icon');
15
+		$action_ops = FrmFormAction::default_action_opts( 'frm_register_icon' );
16 16
 		parent::__construct( 'register', __( 'Register User', 'formidable' ), $action_ops );
17 17
 	}
18 18
 }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 // add paypal action
21 21
 class FrmDefPayPalAction extends FrmFormAction {
22 22
 	public function __construct() {
23
-		$action_ops = FrmFormAction::default_action_opts('frm_paypal_icon');
23
+		$action_ops = FrmFormAction::default_action_opts( 'frm_paypal_icon' );
24 24
 		parent::__construct( 'paypal', __( 'Collect Payment', 'formidable' ), $action_ops );
25 25
 	}
26 26
 }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 // add aweber action
29 29
 class FrmDefAweberAction extends FrmFormAction {
30 30
 	public function __construct() {
31
-		$action_ops = FrmFormAction::default_action_opts('frm_aweber_icon');
31
+		$action_ops = FrmFormAction::default_action_opts( 'frm_aweber_icon' );
32 32
 		parent::__construct( 'aweber', __( 'Aweber', 'formidable' ), $action_ops );
33 33
 	}
34 34
 }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 // add mailchimp action
37 37
 class FrmDefMlcmpAction extends FrmFormAction {
38 38
 	public function __construct() {
39
-		$action_ops = FrmFormAction::default_action_opts('frm_mailchimp_icon');
39
+		$action_ops = FrmFormAction::default_action_opts( 'frm_mailchimp_icon' );
40 40
 		parent::__construct( 'mailchimp', __( 'MailChimp', 'formidable' ), $action_ops );
41 41
 	}
42 42
 }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 // add twilio action
45 45
 class FrmDefTwilioAction extends FrmFormAction {
46 46
 	public function __construct() {
47
-		$action_ops = FrmFormAction::default_action_opts('frm_sms_icon');
47
+		$action_ops = FrmFormAction::default_action_opts( 'frm_sms_icon' );
48 48
 		parent::__construct( 'twilio', __( 'Twilio', 'formidable' ), $action_ops );
49 49
 	}
50 50
 }
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 // add highrise action
53 53
 class FrmDefHrsAction extends FrmFormAction {
54 54
 	public function __construct() {
55
-		$action_ops = FrmFormAction::default_action_opts('frm_highrise_icon');
55
+		$action_ops = FrmFormAction::default_action_opts( 'frm_highrise_icon' );
56 56
 		parent::__construct( 'highrise', __( 'Highrise', 'formidable' ), $action_ops );
57 57
 	}
58 58
 }
Please login to merge, or discard this patch.
classes/views/shared/head.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,2 +1,2 @@
 block discarded – undo
1 1
 <?php
2
-_deprecated_file( basename(__FILE__), '2.0', null, __( 'Use wp_enqueue_script and wp_enqueue_style.', 'formidable' ) );
2
+_deprecated_file( basename( __FILE__ ), '2.0', null, __( 'Use wp_enqueue_script and wp_enqueue_style.', 'formidable' ) );
Please login to merge, or discard this patch.
classes/views/xml/forms_xml.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if ( ! $item_ids ) {
4
-    return;
4
+	return;
5 5
 }
6 6
 
7 7
 // fetch 20 posts at a time rather than loading the entire table into memory
@@ -45,6 +45,6 @@  discard block
 block discarded – undo
45 45
 <?php	} ?>
46 46
 	</form>
47 47
 <?php
48
-    	unset( $fields );
48
+		unset( $fields );
49 49
 	}
50 50
 }
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@  discard block
 block discarded – undo
13 13
 ?>
14 14
 	<form>
15 15
 		<id><?php echo absint( $form->id ) ?></id>
16
-		<form_key><?php echo FrmXMLHelper::cdata($form->form_key) ?></form_key>
17
-		<name><?php echo FrmXMLHelper::cdata($form->name) ?></name>
18
-		<description><?php echo FrmXMLHelper::cdata($form->description) ?></description>
16
+		<form_key><?php echo FrmXMLHelper::cdata( $form->form_key ) ?></form_key>
17
+		<name><?php echo FrmXMLHelper::cdata( $form->name ) ?></name>
18
+		<description><?php echo FrmXMLHelper::cdata( $form->description ) ?></description>
19 19
 		<created_at><?php echo esc_html( $form->created_at ) ?></created_at>
20 20
 		<logged_in><?php echo esc_html( $form->logged_in ) ?></logged_in>
21 21
 		<is_template><?php echo esc_html( $form->is_template ) ?></is_template>
22 22
 		<default_template><?php echo esc_html( $form->default_template ) ?></default_template>
23 23
 		<editable><?php echo esc_html( $form->editable ) ?></editable>
24
-		<options><?php echo FrmXMLHelper::prepare_form_options_for_export($form->options) ?></options>
25
-		<status><?php echo FrmXMLHelper::cdata($form->status) ?></status>
24
+		<options><?php echo FrmXMLHelper::prepare_form_options_for_export( $form->options ) ?></options>
25
+		<status><?php echo FrmXMLHelper::cdata( $form->status ) ?></status>
26 26
         <parent_form_id><?php echo esc_html( $form->parent_form_id ) ?></parent_form_id>
27 27
 <?php
28 28
 
@@ -32,16 +32,16 @@  discard block
 block discarded – undo
32 32
 		?>
33 33
 		<field>
34 34
 		    <id><?php echo absint( $field->id ) ?></id>
35
-            <field_key><?php echo FrmXMLHelper::cdata($field->field_key) ?></field_key>
36
-            <name><?php echo FrmXMLHelper::cdata($field->name) ?></name>
37
-            <description><?php echo FrmXMLHelper::cdata($field->description) ?></description>
38
-            <type><?php echo FrmXMLHelper::cdata($field->type) ?></type>
39
-            <default_value><?php echo FrmXMLHelper::cdata($field->default_value) ?></default_value>
35
+            <field_key><?php echo FrmXMLHelper::cdata( $field->field_key ) ?></field_key>
36
+            <name><?php echo FrmXMLHelper::cdata( $field->name ) ?></name>
37
+            <description><?php echo FrmXMLHelper::cdata( $field->description ) ?></description>
38
+            <type><?php echo FrmXMLHelper::cdata( $field->type ) ?></type>
39
+            <default_value><?php echo FrmXMLHelper::cdata( $field->default_value ) ?></default_value>
40 40
             <field_order><?php echo absint( $field->field_order ) ?></field_order>
41 41
             <form_id><?php echo absint( $field->form_id ) ?></form_id>
42 42
             <required><?php echo absint( $field->required ) ?></required>
43
-            <options><?php echo FrmXMLHelper::cdata($field->options) ?></options>
44
-            <field_options><?php echo FrmXMLHelper::cdata($field->field_options) ?></field_options>
43
+            <options><?php echo FrmXMLHelper::cdata( $field->options ) ?></options>
44
+            <field_options><?php echo FrmXMLHelper::cdata( $field->field_options ) ?></field_options>
45 45
 		</field>
46 46
 <?php	} ?>
47 47
 	</form>
Please login to merge, or discard this patch.
deprecated.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 // 2.0
4 4
 if ( ! isset($frm_vars['pro_is_installed']) ) {
5
-    $frm_vars['pro_is_installed'] = false;
5
+	$frm_vars['pro_is_installed'] = false;
6 6
 }
7 7
 
8 8
 // Instansiate Models
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // 2.0
4
-if ( ! isset($frm_vars['pro_is_installed']) ) {
4
+if ( ! isset( $frm_vars['pro_is_installed'] ) ) {
5 5
     $frm_vars['pro_is_installed'] = false;
6 6
 }
7 7
 
Please login to merge, or discard this patch.
classes/views/shared/form-nav.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
 </ul>
18 18
 
19 19
 <?php if ( $form && $title == 'show' ) { ?>
20
-    <input id="title" type="text" value="<?php echo esc_attr( $form->name == '' ? __( '(no title)') : $form->name ) ?>" readonly="readonly" disabled="disabled" />
20
+    <input id="title" type="text" value="<?php echo esc_attr( $form->name == '' ? __( '(no title)' ) : $form->name ) ?>" readonly="readonly" disabled="disabled" />
21 21
 <?php } ?>
22 22
 </div>
Please login to merge, or discard this patch.
classes/models/FrmPointers.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * Get the singleton instance of this class
47 47
 	 *
48
-	 * @return object
48
+	 * @return FrmPointers
49 49
 	 */
50 50
 	public static function get_instance() {
51 51
 		if ( ! ( self::$instance instanceof self ) ) {
Please login to merge, or discard this patch.
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -239,16 +239,16 @@  discard block
 block discarded – undo
239 239
 
240 240
 		return array(
241 241
 			'content'   => '<h3>' . __( 'Forms', 'formidable' ) . '</h3>'
242
-			               . '<p>' . __( 'All your forms will be listed on this page. Create your first form by clicking on the "Add New" button.', 'formidable' ) . '</p>'
243
-			               . '<p><strong>' . __( 'Subscribe to our Newsletter', 'formidable' ) . '</strong><br/>'
244
-			               . sprintf( __( 'If you would like to hear about new features and updates for %1$s, subscribe to our newsletter:', 'formidable' ), 'Formidable' ) . '</p>'
245
-			               . '<form target="_blank" action="//formidablepro.us1.list-manage.com/subscribe/post?u=a4a913790ffb892daacc6f271&amp;id=7e7df15967" method="post" selector="newsletter-form" accept-charset="' . esc_attr( get_bloginfo( 'charset' ) ) . '">'
246
-			               . '<p>'
247
-			               . '<input style="margin: 5px; color:#666" name="EMAIL" value="' . esc_attr( $current_user->user_email ) . '" selector="newsletter-email" placeholder="' . esc_attr__( 'Email', 'formidable' ) . '"/>'
242
+						   . '<p>' . __( 'All your forms will be listed on this page. Create your first form by clicking on the "Add New" button.', 'formidable' ) . '</p>'
243
+						   . '<p><strong>' . __( 'Subscribe to our Newsletter', 'formidable' ) . '</strong><br/>'
244
+						   . sprintf( __( 'If you would like to hear about new features and updates for %1$s, subscribe to our newsletter:', 'formidable' ), 'Formidable' ) . '</p>'
245
+						   . '<form target="_blank" action="//formidablepro.us1.list-manage.com/subscribe/post?u=a4a913790ffb892daacc6f271&amp;id=7e7df15967" method="post" selector="newsletter-form" accept-charset="' . esc_attr( get_bloginfo( 'charset' ) ) . '">'
246
+						   . '<p>'
247
+						   . '<input style="margin: 5px; color:#666" name="EMAIL" value="' . esc_attr( $current_user->user_email ) . '" selector="newsletter-email" placeholder="' . esc_attr__( 'Email', 'formidable' ) . '"/>'
248 248
 						   . '<input type="hidden" name="group[4505]" value="4" />'
249
-			               . '<button type="submit" class="button-primary">' . esc_html__( 'Subscribe', 'formidable' ) . '</button>'
250
-			               . '</p>'
251
-			               . '</form>',
249
+						   . '<button type="submit" class="button-primary">' . esc_html__( 'Subscribe', 'formidable' ) . '</button>'
250
+						   . '</p>'
251
+						   . '</form>',
252 252
 			'next_page' => 'entries',
253 253
 		);
254 254
 	}
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 	private function entries_pointer() {
262 262
 		return array(
263 263
 			'content'   => '<h3>' . __( 'Entries', 'formidable' ) . '</h3>'
264
-			               . '<p>' . __( 'Each time one of your forms is submitted, an entry is created. You will find every form submission listed here so you will always have a backup if an email fails.', 'formidable' ) . '</p>',
264
+						   . '<p>' . __( 'Each time one of your forms is submitted, an entry is created. You will find every form submission listed here so you will always have a backup if an email fails.', 'formidable' ) . '</p>',
265 265
 			'prev_page' => '',
266 266
 			'next_page' => 'styles',
267 267
 			'selector'  => '.wp-list-table',
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	private function styles_pointer() {
278 278
 		return array(
279 279
 			'content'   => '<h3>' . __( 'Styles', 'formidable' ) . '</h3>'
280
-			               . '<p>' . __( 'Want to make changes to the way your forms look? Make all the changes you would like right here, and watch the sample form change before your eyes.', 'formidable' ) . '</p>',
280
+						   . '<p>' . __( 'Want to make changes to the way your forms look? Make all the changes you would like right here, and watch the sample form change before your eyes.', 'formidable' ) . '</p>',
281 281
 			'prev_page' => 'entries',
282 282
 			'next_page' => 'import',
283 283
 			'selector'  => '.general-style',
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 	private function import_pointer() {
294 294
 		return array(
295 295
 			'content'   => '<h3>' . __( 'Import/Export', 'formidable' ) . '</h3>'
296
-			               . '<p>' . __( 'Import and export forms and styles when copying from one site to another or sharing with someone else. Your entries can be exported to a CSV as well. The Premium version also includes the option to import entries to your site from a CSV.', 'formidable' ) . '</p>',
296
+						   . '<p>' . __( 'Import and export forms and styles when copying from one site to another or sharing with someone else. Your entries can be exported to a CSV as well. The Premium version also includes the option to import entries to your site from a CSV.', 'formidable' ) . '</p>',
297 297
 			'prev_page' => 'styles',
298 298
 			'next_page' => 'settings',
299 299
 			'selector'  => '.inside.with_frm_style',
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 				. __( 'Turn stylesheets and scripts off, set which user roles have access to change and create forms, setup your reCaptcha, and set default messages for new forms and fields.', 'formidable' )
314 314
 				. '<p><strong>' . __( 'Plugin Licenses', 'formidable' ) . '</strong><br/>'
315 315
 				. sprintf( __( 'Once you&#8217;ve purchased %1$s or any addons, you&#8217;ll have to enter a license key to get access to all of their powerful features. A Plugin Licenses tab will appear here for you to enter your license key.', 'formidable' ), 'Formidable Pro' )
316
-           	    . '</p>',
316
+		   		. '</p>',
317 317
 			'prev_page' => 'import',
318 318
 			'next_page' => 'addons',
319 319
 		);
@@ -327,10 +327,10 @@  discard block
 block discarded – undo
327 327
 	private function addons_pointer() {
328 328
 		return array(
329 329
 			'content'   => '<h3>' . __( 'Addons', 'formidable' ) . '</h3>'
330
-			               . '<p>' . sprintf( __( 'The powerful functions of %1$s can be extended with %2$spremium plugins%3$s. You can read all about the Formidable Premium Plugins %2$shere%3$s.', 'formidable' ), 'Formidable', '<a target="_blank" href="' . esc_url( FrmAppHelper::make_affiliate_url( 'https://formidableforms.com/' ) ) . '">', '</a>' )
330
+						   . '<p>' . sprintf( __( 'The powerful functions of %1$s can be extended with %2$spremium plugins%3$s. You can read all about the Formidable Premium Plugins %2$shere%3$s.', 'formidable' ), 'Formidable', '<a target="_blank" href="' . esc_url( FrmAppHelper::make_affiliate_url( 'https://formidableforms.com/' ) ) . '">', '</a>' )
331 331
 						   . '</p>'
332
-			               . '<p><strong>' . __( 'Like this plugin?', 'formidable' ) . '</strong><br/>' . sprintf( __( 'So, we&#8217;ve come to the end of the tour. If you like the plugin, please %1$srate it 5 stars on WordPress.org%2$s!', 'formidable' ), '<a target="_blank" href="https://wordpress.org/plugins/formidable/">', '</a>' ) . '</p>'
333
-			               . '<p>' . sprintf( __( 'Thank you for using our plugin and good luck with your forms!<br/><br/>Best,<br/>Team Formidable - %1$sformidableforms.com%2$s', 'formidable' ), '<a target="_blank" href="' . esc_url( FrmAppHelper::make_affiliate_url( 'https://formidableforms.com/' ) ) . '">', '</a>' ) . '</p>',
332
+						   . '<p><strong>' . __( 'Like this plugin?', 'formidable' ) . '</strong><br/>' . sprintf( __( 'So, we&#8217;ve come to the end of the tour. If you like the plugin, please %1$srate it 5 stars on WordPress.org%2$s!', 'formidable' ), '<a target="_blank" href="https://wordpress.org/plugins/formidable/">', '</a>' ) . '</p>'
333
+						   . '<p>' . sprintf( __( 'Thank you for using our plugin and good luck with your forms!<br/><br/>Best,<br/>Team Formidable - %1$sformidableforms.com%2$s', 'formidable' ), '<a target="_blank" href="' . esc_url( FrmAppHelper::make_affiliate_url( 'https://formidableforms.com/' ) ) . '">', '</a>' ) . '</p>',
334 334
 			'prev_page' => 'settings',
335 335
 		);
336 336
 	}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
 	 * @param string $page Admin page key.
189 189
 	 */
190 190
 	private function do_page_pointer( $page ) {
191
-		$pointer = call_user_func( array( $this, $this->admin_pages[ $page ] ) );
191
+		$pointer = call_user_func( array( $this, $this->admin_pages[$page] ) );
192 192
 
193 193
 		$opt_arr = array(
194 194
 			'content'      => $pointer['content'],
Please login to merge, or discard this patch.