Open Graph protocol author pages: use profile not author type
|Reported by:||niallkennedy||Owned by:||tmoorewp|
Use Open Graph protocol type=profile for author pages, replacing type=author. Add user first and last name if provided.
There have been multiple versions of Open Graph protocol over the years. An older version supported author, hotel, city, and many other types. The current version of Open Graph protocol includes a few global types with additional types declared in custom mappings via RDFa Core 1.1. The default type for any given page is "website;" if a better match is not available an indexer might treat the page as a generic webpage.
The "profile" Open Graph protocol global type is a good match for author. This patch also adds first and last name from WordPress user data.
Also changed space indents in jetpack.php discovered while testing my change.