Ticket #33449: wp-user-query.patch
File wp-user-query.patch, 517 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/user.php
659 659 $qv['blog_id'] = $blog_id = 0; // Prevent extra meta query 660 660 } 661 661 662 if ( $qv['has_published_posts']&& $blog_id ) {662 if ( isset( $qv['has_published_posts'] ) && $blog_id ) { 663 663 if ( true === $qv['has_published_posts'] ) { 664 664 $post_types = get_post_types( array( 'public' => true ) ); 665 665 } else {