Forums
(@michalrusina)
6 years, 9 months ago
i thing the fix could look like this (line 733):
$where = preg_replace( '/(\b(?:' . $wpdb->posts . '\.)?post_author\s*=\s*(' . get_current_user_id() . ') )/', $current_user_query . ' ', $where, -1 );
added spaces in regexp an replace string.