Skip to content

Commit

Permalink
Appease phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
WPprodigy committed Jan 21, 2020
1 parent 1d360ce commit c59317c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/php/class-module.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function users_select_form( $selected = null, $args = null ) {

<?php if( !empty($users) ) : ?>
<ul class="<?php echo esc_attr( $list_class ) ?>">
<?php foreach( $users as $user ) :
<?php foreach( $users as $user ) :
$checked = ( in_array($user->ID, $selected) ) ? 'checked="checked"' : '';
// Add a class to checkbox of current user so we know not to add them in notified list during notifiedMessage() js function
$current_user_class = ( get_current_user_id() == $user->ID ) ? 'class="post_following_list-current_user" ' : '';
Expand Down
2 changes: 1 addition & 1 deletion modules/custom-status/custom-status.php
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ public function fix_preview_link_part_three( $preview_link, $query_args ) {
}
}
}
return remove_query_arg( [ 'preview_nonce' ], $preview_link );
return remove_query_arg( array( 'preview_nonce' ), $preview_link );
}

/**
Expand Down

0 comments on commit c59317c

Please sign in to comment.