Make WordPress Core


Ignore:
Timestamp:
07/05/2019 05:42:57 AM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix all WordPress.DB.PreparedSQLPlaceholders issues.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/export.php

    r45583 r45603  
    107107        $post_types = get_post_types( array( 'can_export' => true ) );
    108108        $esses      = array_fill( 0, count( $post_types ), '%s' );
    109         $where      = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types );
     109
     110        // phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
     111        $where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types );
    110112    }
    111113
Note: See TracChangeset for help on using the changeset viewer.