Use get_queried_object(); to retrieve author data in archive.php. This removes the need for the_post() and rewind_posts(). props @kovshenin fixes #36
The ->data object (used previously) stores the author data, but the WP_User class has the __get magic method that grants access to that data, so using get_queried_object() without ->data is correct, and compatible with 3.2, which does not use magic methods. Also url-escapes get_author_posts_url.
Improving on the naming convention of our classes with consistency adjustments. Also creates a better hierarchy (matched pairs) for them.
We can get all the information we need about the author by using get_queried_object within is_author.
…und template part, no-results.php; Closes #1187 git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30
…duce template bloat git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8835 d957f892-c61d-0410-b221-f235e6eecf30
… tag archive, we can safely combine those templates without overcomplicating things.