restored deprecated loop_to_posts, which will go away soon anyway #262