mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Revert [25446] now that wp_blogs
.archived
is no longer an ENUM field. see #14511.
Built from https://develop.svn.wordpress.org/trunk@25590 git-svn-id: http://core.svn.wordpress.org/trunk@25507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
774260c539
commit
3db7b4a7a3
@ -2042,7 +2042,7 @@ function wp_get_sites( $args = array() ) {
|
||||
$query .= $wpdb->prepare( "AND public = %d ", $args['public'] );
|
||||
|
||||
if ( isset( $args['archived'] ) )
|
||||
$query .= $wpdb->prepare( "AND archived = %s ", (int) $args['archived'] ); // ENUM field
|
||||
$query .= $wpdb->prepare( "AND archived = %d ", $args['archived'] );
|
||||
|
||||
if ( isset( $args['mature'] ) )
|
||||
$query .= $wpdb->prepare( "AND mature = %d ", $args['mature'] );
|
||||
|
Loading…
Reference in New Issue
Block a user