diff --git a/plugins/wporg-5ftf/includes/reports.php b/plugins/wporg-5ftf/includes/reports.php index ca5a308..973d143 100644 --- a/plugins/wporg-5ftf/includes/reports.php +++ b/plugins/wporg-5ftf/includes/reports.php @@ -58,7 +58,7 @@ function render_company_report_page() { $status = sanitize_title( $_GET['status'] ); - if ( ! in_array( $status, array( 'draft','5ftf-deactivated','publish' ) ) ) { + if ( ! in_array( $status, array( 'draft', '5ftf-deactivated', 'publish' ) ) ) { $status = 'all'; } @@ -126,7 +126,7 @@ function render_company_report_page() { $wporg_profiles = wp_list_pluck( $users, 'post_title' ); $usernames = implode( ', ', $wporg_profiles ); - $teams = implode( ', ', str_replace( ' Team', '', $team[ 'teams' ] ) ); + $teams = implode( ', ', str_replace( ' Team', '', $team['teams'] ) ); echo ''; echo ' ' . esc_html( $pledge->post_title ) . ''; @@ -152,7 +152,6 @@ function render_company_report_page() { /** * CSV export runner, grabs data lazily from a transient. - * @param $data array. */ function export_csv() {