mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Coding Standards: Fix all WordPress.DB.PreparedSQLPlaceholders issues.
See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45603 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -106,7 +106,9 @@ function export_wp( $args = array() ) {
|
||||
} else {
|
||||
$post_types = get_post_types( array( 'can_export' => true ) );
|
||||
$esses = array_fill( 0, count( $post_types ), '%s' );
|
||||
$where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types );
|
||||
|
||||
// phpcs:ignore WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
|
||||
$where = $wpdb->prepare( "{$wpdb->posts}.post_type IN (" . implode( ',', $esses ) . ')', $post_types );
|
||||
}
|
||||
|
||||
if ( $args['status'] && ( 'post' == $args['content'] || 'page' == $args['content'] ) ) {
|
||||
|
||||
Reference in New Issue
Block a user