Skip to content

Commit c59317c

Browse files
committed
Appease phpcs
1 parent 1d360ce commit c59317c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/php/class-module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function users_select_form( $selected = null, $args = null ) {
480480

481481
<?php if( !empty($users) ) : ?>
482482
<ul class="<?php echo esc_attr( $list_class ) ?>">
483-
<?php foreach( $users as $user ) :
483+
<?php foreach( $users as $user ) :
484484
$checked = ( in_array($user->ID, $selected) ) ? 'checked="checked"' : '';
485485
// Add a class to checkbox of current user so we know not to add them in notified list during notifiedMessage() js function
486486
$current_user_class = ( get_current_user_id() == $user->ID ) ? 'class="post_following_list-current_user" ' : '';

modules/custom-status/custom-status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ public function fix_preview_link_part_three( $preview_link, $query_args ) {
15181518
}
15191519
}
15201520
}
1521-
return remove_query_arg( [ 'preview_nonce' ], $preview_link );
1521+
return remove_query_arg( array( 'preview_nonce' ), $preview_link );
15221522
}
15231523

15241524
/**

0 commit comments

Comments
 (0)