fix wp_query reference in author.php