Completed
Push — master ( 760553...dce43d )
by J.D.
03:49
created
src/classes/entity/stored/array.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	public function get_storage_info() {
32 32
 		return array(
33 33
 			'type' => 'array',
34
-			'info' => array( 'type' => 'method' ),
34
+			'info' => array('type' => 'method'),
35 35
 		);
36 36
 	}
37 37
 }
Please login to merge, or discard this patch.
src/classes/entity/parenti.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	 *
26 26
 	 * @return WordPoints_EntityishI|false The child, or false if not found.
27 27
 	 */
28
-	public function get_child( $child_slug );
28
+	public function get_child($child_slug);
29 29
 }
30 30
 
31 31
 // EOF
Please login to merge, or discard this patch.
src/classes/entity/restrictioni.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	 *                              entity slug followed by the slugs leading to the
23 23
 	 *                              descendant in question, if not the entity itself.
24 24
 	 */
25
-	public function __construct( $entity_id, array $hierarchy );
25
+	public function __construct($entity_id, array $hierarchy);
26 26
 
27 27
 	/**
28 28
 	 * Check whether the rule applies to this particular entity.
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	 *
43 43
 	 * @return bool Whether this particular user is restricted.
44 44
 	 */
45
-	public function user_can( $user_id );
45
+	public function user_can($user_id);
46 46
 }
47 47
 
48 48
 // EOF
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
 	 * @param string[]   $hierarchy The hierarchy of this entity, consisting of the
22 22
 	 *                              entity slug followed by the slugs leading to the
23 23
 	 *                              descendant in question, if not the entity itself.
24
+	 * @return void
24 25
 	 */
25 26
 	public function __construct( $entity_id, array $hierarchy );
26 27
 
Please login to merge, or discard this patch.
src/classes/entityishi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 *
61 61
 	 * @return bool Whether the value was set successfully.
62 62
 	 */
63
-	public function set_the_value( $value );
63
+	public function set_the_value($value);
64 64
 }
65 65
 
66 66
 // EOF
Please login to merge, or discard this patch.
src/classes/app/registry.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@  discard block
 block discarded – undo
28 28
 	/**
29 29
 	 * @since 2.1.0
30 30
 	 */
31
-	public function __construct( $slug ) {
31
+	public function __construct($slug) {
32 32
 
33 33
 		$this->registry = new WordPoints_Class_Registry();
34 34
 
35
-		parent::__construct( $slug );
35
+		parent::__construct($slug);
36 36
 	}
37 37
 
38 38
 	/**
39 39
 	 * @since 2.1.0
40 40
 	 */
41
-	public function get_all( array $args = array() ) {
42
-		return $this->registry->get_all( $args );
41
+	public function get_all(array $args = array()) {
42
+		return $this->registry->get_all($args);
43 43
 	}
44 44
 
45 45
 	/**
@@ -52,29 +52,29 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * @since 2.1.0
54 54
 	 */
55
-	public function get( $slug, array $args = array() ) {
56
-		return $this->registry->get( $slug, $args );
55
+	public function get($slug, array $args = array()) {
56
+		return $this->registry->get($slug, $args);
57 57
 	}
58 58
 
59 59
 	/**
60 60
 	 * @since 2.1.0
61 61
 	 */
62
-	public function register( $slug, $class, array $args = array() ) {
63
-		return $this->registry->register( $slug, $class, $args );
62
+	public function register($slug, $class, array $args = array()) {
63
+		return $this->registry->register($slug, $class, $args);
64 64
 	}
65 65
 
66 66
 	/**
67 67
 	 * @since 2.1.0
68 68
 	 */
69
-	public function deregister( $slug ) {
70
-		$this->registry->deregister( $slug );
69
+	public function deregister($slug) {
70
+		$this->registry->deregister($slug);
71 71
 	}
72 72
 
73 73
 	/**
74 74
 	 * @since 2.1.0
75 75
 	 */
76
-	public function is_registered( $slug ) {
77
-		return $this->registry->is_registered( $slug );
76
+	public function is_registered($slug) {
77
+		return $this->registry->is_registered($slug);
78 78
 	}
79 79
 }
80 80
 
Please login to merge, or discard this patch.
src/includes/filters.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -7,56 +7,56 @@
 block discarded – undo
7 7
  * @since 2.1.0
8 8
  */
9 9
 
10
-register_activation_hook( WORDPOINTS_DIR . 'wordpoints.php', 'wordpoints_activate' );
10
+register_activation_hook(WORDPOINTS_DIR . 'wordpoints.php', 'wordpoints_activate');
11 11
 
12
-add_action( 'plugins_loaded', 'wordpoints_register_installer' );
13
-add_action( 'plugins_loaded', 'wordpoints_breaking_update' );
14
-add_action( 'plugins_loaded', 'wordpoints_load_textdomain' );
15
-add_action( 'plugins_loaded', 'wordpoints_load_modules', 15 );
12
+add_action('plugins_loaded', 'wordpoints_register_installer');
13
+add_action('plugins_loaded', 'wordpoints_breaking_update');
14
+add_action('plugins_loaded', 'wordpoints_load_textdomain');
15
+add_action('plugins_loaded', 'wordpoints_load_modules', 15);
16 16
 
17
-add_filter( 'map_meta_cap', 'wordpoints_map_custom_meta_caps', 10, 3 );
17
+add_filter('map_meta_cap', 'wordpoints_map_custom_meta_caps', 10, 3);
18 18
 
19
-add_action( 'wordpoints_components_register', 'wordpoints_points_component_register' );
20
-add_action( 'wordpoints_components_register', 'wordpoints_ranks_component_register' );
19
+add_action('wordpoints_components_register', 'wordpoints_points_component_register');
20
+add_action('wordpoints_components_register', 'wordpoints_ranks_component_register');
21 21
 
22
-add_action( 'init', 'wordpoints_init_cache_groups', 5 );
22
+add_action('init', 'wordpoints_init_cache_groups', 5);
23 23
 
24
-add_action( 'wp_enqueue_scripts', 'wordpoints_register_scripts', 5 );
25
-add_action( 'admin_enqueue_scripts', 'wordpoints_register_scripts', 5 );
24
+add_action('wp_enqueue_scripts', 'wordpoints_register_scripts', 5);
25
+add_action('admin_enqueue_scripts', 'wordpoints_register_scripts', 5);
26 26
 
27
-add_action( 'wordpoints_modules_loaded', 'WordPoints_Installables::maybe_do_updates', 5 );
28
-add_action( 'admin_notices', 'WordPoints_Installables::admin_notices' );
29
-add_action( 'wpmu_new_blog', 'WordPoints_Installables::wpmu_new_blog' );
27
+add_action('wordpoints_modules_loaded', 'WordPoints_Installables::maybe_do_updates', 5);
28
+add_action('admin_notices', 'WordPoints_Installables::admin_notices');
29
+add_action('wpmu_new_blog', 'WordPoints_Installables::wpmu_new_blog');
30 30
 
31
-if ( isset( $_GET['wordpoints_module_check'], $_GET['check_module'] ) ) {
31
+if (isset($_GET['wordpoints_module_check'], $_GET['check_module'])) {
32 32
 
33
-	add_action( 'shutdown', 'wordpoints_maintenance_shutdown_print_rand_str' );
33
+	add_action('shutdown', 'wordpoints_maintenance_shutdown_print_rand_str');
34 34
 
35
-	if ( is_network_admin() ) {
35
+	if (is_network_admin()) {
36 36
 		$filter = 'pre_site_option_wordpoints_sitewide_active_modules';
37 37
 	} else {
38 38
 		$filter = 'pre_option_wordpoints_active_modules';
39 39
 	}
40 40
 
41
-	add_filter( $filter, 'wordpoints_maintenance_filter_modules' );
41
+	add_filter($filter, 'wordpoints_maintenance_filter_modules');
42 42
 }
43 43
 
44
-add_action( 'wordpoints_init_app-apps', 'wordpoints_apps_init' );
45
-add_action( 'wordpoints_init_app-entities', 'wordpoints_entities_app_init' );
46
-add_action( 'wordpoints_init_app-entities-restrictions', 'wordpoints_entities_restrictions_app_init' );
44
+add_action('wordpoints_init_app-apps', 'wordpoints_apps_init');
45
+add_action('wordpoints_init_app-entities', 'wordpoints_entities_app_init');
46
+add_action('wordpoints_init_app-entities-restrictions', 'wordpoints_entities_restrictions_app_init');
47 47
 
48
-add_action( 'wordpoints_init_app_registry-apps-entities', 'wordpoints_entities_init' );
49
-add_action( 'wordpoints_init_app_registry-entities-contexts', 'wordpoints_entity_contexts_init' );
50
-add_action( 'wordpoints_init_app_registry-entities-restrictions-know', 'wordpoints_entity_restrictions_know_init' );
51
-add_action( 'wordpoints_init_app_registry-entities-restrictions-view', 'wordpoints_entity_restrictions_view_init' );
48
+add_action('wordpoints_init_app_registry-apps-entities', 'wordpoints_entities_init');
49
+add_action('wordpoints_init_app_registry-entities-contexts', 'wordpoints_entity_contexts_init');
50
+add_action('wordpoints_init_app_registry-entities-restrictions-know', 'wordpoints_entity_restrictions_know_init');
51
+add_action('wordpoints_init_app_registry-entities-restrictions-view', 'wordpoints_entity_restrictions_view_init');
52 52
 
53
-add_action( 'wordpoints_init_app_registry-apps-data_types', 'wordpoints_data_types_init' );
53
+add_action('wordpoints_init_app_registry-apps-data_types', 'wordpoints_data_types_init');
54 54
 
55
-add_action( 'wordpoints_init_app_registry-hooks-extensions', 'wordpoints_hook_extensions_init' );
56
-add_action( 'wordpoints_init_app_registry-hooks-events', 'wordpoints_hook_events_init' );
57
-add_action( 'wordpoints_init_app_registry-hooks-actions', 'wordpoints_hook_actions_init' );
58
-add_action( 'wordpoints_init_app_registry-hooks-conditions', 'wordpoints_hook_conditions_init' );
55
+add_action('wordpoints_init_app_registry-hooks-extensions', 'wordpoints_hook_extensions_init');
56
+add_action('wordpoints_init_app_registry-hooks-events', 'wordpoints_hook_events_init');
57
+add_action('wordpoints_init_app_registry-hooks-actions', 'wordpoints_hook_actions_init');
58
+add_action('wordpoints_init_app_registry-hooks-conditions', 'wordpoints_hook_conditions_init');
59 59
 
60
-add_action( 'wordpoints_modules_loaded', 'wordpoints_init_hooks' );
60
+add_action('wordpoints_modules_loaded', 'wordpoints_init_hooks');
61 61
 
62 62
 // EOF
Please login to merge, or discard this patch.
src/includes/deprecated.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -22,15 +22,15 @@  discard block
 block discarded – undo
22 22
  *
23 23
  * @return bool Whether the table exists.
24 24
  */
25
-function wordpoints_db_table_exists( $table ) {
25
+function wordpoints_db_table_exists($table) {
26 26
 
27
-	_deprecated_function( __FUNCTION__, '1.7.0' );
27
+	_deprecated_function(__FUNCTION__, '1.7.0');
28 28
 
29 29
 	global $wpdb;
30 30
 
31
-	$_table = $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $wpdb->esc_like( $table ) ) ); // Cache pass, WPCS.
31
+	$_table = $wpdb->get_var($wpdb->prepare('SHOW TABLES LIKE %s', $wpdb->esc_like($table))); // Cache pass, WPCS.
32 32
 
33
-	return ( $_table === $table ) ? true : false;
33
+	return ($_table === $table) ? true : false;
34 34
 }
35 35
 
36 36
 /**
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
  */
42 42
 function wordpoints_update() {
43 43
 
44
-	_deprecated_function( __FUNCTION__, '2.0.0' );
44
+	_deprecated_function(__FUNCTION__, '2.0.0');
45 45
 
46 46
 	WordPoints_Installables::maybe_do_updates();
47 47
 }
@@ -53,16 +53,16 @@  discard block
 block discarded – undo
53 53
  *
54 54
  * @param int $blog_id The ID of the new site.
55 55
  */
56
-function wordpoints_add_custom_caps_to_new_sites( $blog_id ) {
56
+function wordpoints_add_custom_caps_to_new_sites($blog_id) {
57 57
 
58
-	_deprecated_function( __FUNCTION__, '2.0.0' );
58
+	_deprecated_function(__FUNCTION__, '2.0.0');
59 59
 
60
-	if ( ! is_wordpoints_network_active() ) {
60
+	if ( ! is_wordpoints_network_active()) {
61 61
 		return;
62 62
 	}
63 63
 
64
-	switch_to_blog( $blog_id );
65
-	wordpoints_add_custom_caps( wordpoints_get_custom_caps() );
64
+	switch_to_blog($blog_id);
65
+	wordpoints_add_custom_caps(wordpoints_get_custom_caps());
66 66
 	restore_current_blog();
67 67
 }
68 68
 
Please login to merge, or discard this patch.
src/includes/class-un-installer.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
 			'options' => array(
76 76
 				'wordpoints_sitewide_active_modules',
77 77
 				'wordpoints_network_install_skipped',
78
-		        'wordpoints_network_installed',
79
-		        'wordpoints_network_update_skipped',
78
+				'wordpoints_network_installed',
79
+				'wordpoints_network_update_skipped',
80 80
 				'wordpoints_breaking_deactivated_modules',
81 81
 			),
82 82
 		),
Please login to merge, or discard this patch.
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
23 23
 	 * @since 1.8.0
24 24
 	 */
25 25
 	protected $updates = array(
26
-		'1.3.0'  => array( 'single' => true, /*     -     */ /*      -      */ ),
26
+		'1.3.0'  => array('single' => true, /*     -     */ /*      -      */),
27 27
 		'1.5.0'  => array( /*      -      */ 'site' => true, /*      -      */ ),
28 28
 		'1.8.0'  => array( /*      -      */ 'site' => true, /*      -      */ ),
29
-		'1.10.3' => array( 'single' => true, /*     -     */ 'network' => true ),
30
-		'2.1.0-alpha-3'  => array( 'single' => true, /*     -     */ 'network' => true ),
31
-		'2.3.0-alpha-2'  => array( 'single' => true, /*     -     */ 'network' => true ),
29
+		'1.10.3' => array('single' => true, /*     -     */ 'network' => true),
30
+		'2.1.0-alpha-3'  => array('single' => true, /*     -     */ 'network' => true),
31
+		'2.3.0-alpha-2'  => array('single' => true, /*     -     */ 'network' => true),
32 32
 	);
33 33
 
34 34
 	/**
@@ -112,24 +112,24 @@  discard block
 block discarded – undo
112 112
 	/**
113 113
 	 * @since 1.8.0
114 114
 	 */
115
-	public function install( $network ) {
115
+	public function install($network) {
116 116
 
117
-		$filter_func = ( $network ) ? '__return_true' : '__return_false';
118
-		add_filter( 'is_wordpoints_network_active', $filter_func );
117
+		$filter_func = ($network) ? '__return_true' : '__return_false';
118
+		add_filter('is_wordpoints_network_active', $filter_func);
119 119
 
120 120
 		// Check if the plugin has been activated/installed before.
121
-		$installed = (bool) wordpoints_get_maybe_network_option( 'wordpoints_data' );
121
+		$installed = (bool) wordpoints_get_maybe_network_option('wordpoints_data');
122 122
 
123
-		parent::install( $network );
123
+		parent::install($network);
124 124
 
125 125
 		// Activate the Points component, if this is the first activation.
126
-		if ( false === $installed ) {
126
+		if (false === $installed) {
127 127
 			$wordpoints_components = WordPoints_Components::instance();
128 128
 			$wordpoints_components->load();
129
-			$wordpoints_components->activate( 'points' );
129
+			$wordpoints_components->activate('points');
130 130
 		}
131 131
 
132
-		remove_filter( 'is_wordpoints_network_active', $filter_func );
132
+		remove_filter('is_wordpoints_network_active', $filter_func);
133 133
 	}
134 134
 
135 135
 	/**
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
 
140 140
 		parent::before_update();
141 141
 
142
-		if ( $this->network_wide ) {
143
-			unset( $this->updates['1_8_0'] );
142
+		if ($this->network_wide) {
143
+			unset($this->updates['1_8_0']);
144 144
 		}
145 145
 	}
146 146
 
@@ -149,10 +149,10 @@  discard block
 block discarded – undo
149 149
 	 */
150 150
 	protected function install_network() {
151 151
 
152
-		$data = wordpoints_get_maybe_network_option( 'wordpoints_data' );
152
+		$data = wordpoints_get_maybe_network_option('wordpoints_data');
153 153
 
154 154
 		// Add plugin data.
155
-		if ( ! is_array( $data ) ) {
155
+		if ( ! is_array($data)) {
156 156
 
157 157
 			wordpoints_update_maybe_network_option(
158 158
 				'wordpoints_data',
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 			// corrupted somehow.
171 171
 			$data['version'] = WORDPOINTS_VERSION;
172 172
 
173
-			wordpoints_update_maybe_network_option( 'wordpoints_data', $data );
173
+			wordpoints_update_maybe_network_option('wordpoints_data', $data);
174 174
 		}
175 175
 
176 176
 		$this->install_db_schema();
@@ -220,11 +220,11 @@  discard block
 block discarded – undo
220 220
 	protected function uninstall_modules() {
221 221
 
222 222
 		wordpoints_deactivate_modules(
223
-			wordpoints_get_array_option( 'wordpoints_active_modules', 'site' )
223
+			wordpoints_get_array_option('wordpoints_active_modules', 'site')
224 224
 		);
225 225
 
226
-		foreach ( array_keys( wordpoints_get_modules() ) as $module ) {
227
-			wordpoints_uninstall_module( $module );
226
+		foreach (array_keys(wordpoints_get_modules()) as $module) {
227
+			wordpoints_uninstall_module($module);
228 228
 		}
229 229
 
230 230
 		$this->delete_modules_dir();
@@ -239,8 +239,8 @@  discard block
 block discarded – undo
239 239
 
240 240
 		global $wp_filesystem;
241 241
 
242
-		if ( $wp_filesystem instanceof WP_Filesystem_Base ) {
243
-			$wp_filesystem->delete( wordpoints_modules_dir(), true );
242
+		if ($wp_filesystem instanceof WP_Filesystem_Base) {
243
+			$wp_filesystem->delete(wordpoints_modules_dir(), true);
244 244
 		}
245 245
 	}
246 246
 
@@ -252,13 +252,13 @@  discard block
 block discarded – undo
252 252
 	protected function uninstall_components() {
253 253
 
254 254
 		/** This filter is documented in classes/components.php */
255
-		do_action( 'wordpoints_components_register' );
255
+		do_action('wordpoints_components_register');
256 256
 
257 257
 		$components = WordPoints_Components::instance();
258 258
 
259 259
 		// Uninstall the components.
260
-		foreach ( $components->get() as $component => $data ) {
261
-			WordPoints_Installables::uninstall( 'component', $component );
260
+		foreach ($components->get() as $component => $data) {
261
+			WordPoints_Installables::uninstall('component', $component);
262 262
 		}
263 263
 	}
264 264
 
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 	 * @since 1.8.0
269 269
 	 */
270 270
 	protected function update_single_to_1_3_0() {
271
-		wordpoints_add_custom_caps( $this->custom_caps );
271
+		wordpoints_add_custom_caps($this->custom_caps);
272 272
 	}
273 273
 
274 274
 	/**
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	 * @since 1.8.0
278 278
 	 */
279 279
 	protected function update_site_to_1_5_0() {
280
-		wordpoints_add_custom_caps( $this->custom_caps );
280
+		wordpoints_add_custom_caps($this->custom_caps);
281 281
 	}
282 282
 
283 283
 	/**
@@ -309,14 +309,14 @@  discard block
 block discarded – undo
309 309
 
310 310
 		$modules_dir = wordpoints_modules_dir();
311 311
 
312
-		if ( ! WP_Filesystem( false, $modules_dir ) ) {
312
+		if ( ! WP_Filesystem(false, $modules_dir)) {
313 313
 			return;
314 314
 		}
315 315
 
316 316
 		$index_file = $modules_dir . '/index.php';
317 317
 
318
-		if ( ! $wp_filesystem->exists( $index_file ) ) {
319
-			$wp_filesystem->put_contents( $index_file, '<?php // Gold is silent.' );
318
+		if ( ! $wp_filesystem->exists($index_file)) {
319
+			$wp_filesystem->put_contents($index_file, '<?php // Gold is silent.');
320 320
 		}
321 321
 	}
322 322
 
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 	 * @since 2.1.0
327 327
 	 */
328 328
 	protected function update_network_to_2_1_0_alpha_3() {
329
-		$this->map_shortcuts( 'schema' );
329
+		$this->map_shortcuts('schema');
330 330
 		$this->install_db_schema();
331 331
 	}
332 332
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
 	 * @since 2.1.0
337 337
 	 */
338 338
 	protected function update_single_to_2_1_0_alpha_3() {
339
-		$this->map_shortcuts( 'schema' );
339
+		$this->map_shortcuts('schema');
340 340
 		$this->install_db_schema();
341 341
 	}
342 342
 
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
 
350 350
 		// We don't need to update the table if the new schema has just been used to
351 351
 		// install it.
352
-		if ( version_compare( $this->get_db_version(), '2.1.0-alpha-3', '<' ) ) {
352
+		if (version_compare($this->get_db_version(), '2.1.0-alpha-3', '<')) {
353 353
 			return;
354 354
 		}
355 355
 
Please login to merge, or discard this patch.
src/includes/constants.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  *
23 23
  * @const WORDPOINTS_VERSION
24 24
  */
25
-define( 'WORDPOINTS_VERSION', '2.3.0-alpha-2' );
25
+define('WORDPOINTS_VERSION', '2.3.0-alpha-2');
26 26
 
27 27
 /**
28 28
  * The full path to the plugin's main directory.
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
  *
32 32
  * @const WORDPOINTS_DIR
33 33
  */
34
-define( 'WORDPOINTS_DIR', dirname( dirname( __FILE__ ) ) . '/' );
34
+define('WORDPOINTS_DIR', dirname(dirname(__FILE__)) . '/');
35 35
 
36 36
 /**
37 37
  * The full URL to the plugin's main directory.
@@ -40,6 +40,6 @@  discard block
 block discarded – undo
40 40
  *
41 41
  * @const WORDPOINTS_URL
42 42
  */
43
-define( 'WORDPOINTS_URL', plugins_url( '', WORDPOINTS_DIR . 'wordpoints.php' ) );
43
+define('WORDPOINTS_URL', plugins_url('', WORDPOINTS_DIR . 'wordpoints.php'));
44 44
 
45 45
 // EOF
Please login to merge, or discard this patch.