Completed
Push — develop ( 4cac14...999092 )
by J.D.
01:49
created
src/components/points/includes/members.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 		bp_core_new_subnav_item(
36 36
 			array(
37 37
 				'slug'            => $slug,
38
-				'name'            => $points_type['name'],
38
+				'name'            => $points_type[ 'name' ],
39 39
 				'screen_function' => 'wordpoints_bp_points_members_profile_screen',
40 40
 				'parent_url'      => bp_displayed_user_domain() . 'points/',
41 41
 				'parent_slug'     => 'points',
Please login to merge, or discard this patch.
src/classes/hook/action/group/invite/user.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 		);
27 27
 
28 28
 		if ( isset( $map[ $arg_slug ] ) ) {
29
-			return $this->args[0][ $map[ $arg_slug ] ];
29
+			return $this->args[ 0 ][ $map[ $arg_slug ] ];
30 30
 		}
31 31
 
32 32
 		return parent::get_arg_value( $arg_slug );
Please login to merge, or discard this patch.
src/classes/hook/action/avatar/delete.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 	 */
29 29
 	public function __construct( $slug, array $action_args, array $args = array() ) {
30 30
 
31
-		if ( isset( $args['bp_avatar_object_type'] ) ) {
32
-			$this->bp_avatar_object_type = $args['bp_avatar_object_type'];
31
+		if ( isset( $args[ 'bp_avatar_object_type' ] ) ) {
32
+			$this->bp_avatar_object_type = $args[ 'bp_avatar_object_type' ];
33 33
 		}
34 34
 
35 35
 		parent::__construct( $slug, $action_args, $args );
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 */
41 41
 	public function should_fire() {
42 42
 
43
-		if ( $this->bp_avatar_object_type !== $this->args[0]['object'] ) {
43
+		if ( $this->bp_avatar_object_type !== $this->args[ 0 ][ 'object' ] ) {
44 44
 			return false;
45 45
 		}
46 46
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 		}
62 62
 
63 63
 		if ( $arg_slug === $expected_arg_slug ) {
64
-			return $this->args[0]['item_id'];
64
+			return $this->args[ 0 ][ 'item_id' ];
65 65
 		}
66 66
 
67 67
 		return parent::get_arg_value( $arg_slug );
Please login to merge, or discard this patch.
src/classes/hook/action/activity/type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
 	 */
29 29
 	public function __construct( $slug, array $action_args, array $args = array() ) {
30 30
 
31
-		if ( isset( $args['activity_type'] ) ) {
32
-			$this->activity_type = $args['activity_type'];
31
+		if ( isset( $args[ 'activity_type' ] ) ) {
32
+			$this->activity_type = $args[ 'activity_type' ];
33 33
 		}
34 34
 
35 35
 		parent::__construct( $slug, $action_args, $args );
Please login to merge, or discard this patch.