mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
phpcs
This commit is contained in:
parent
e1016f40c1
commit
6cb7adc8b4
|
@ -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 '<tr>';
|
||||
echo ' <td><a href="' . esc_url( $pledge->guid ) . '">' . esc_html( $pledge->post_title ) . '</a></td>';
|
||||
|
@ -152,7 +152,6 @@ function render_company_report_page() {
|
|||
|
||||
/**
|
||||
* CSV export runner, grabs data lazily from a transient.
|
||||
* @param $data array.
|
||||
*/
|
||||
function export_csv() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue