Opened 6 months ago
Closed 7 weeks ago
#1619 closed enhancement (fixed)
Open Graph protocol author pages: use profile not author type
| Reported by: | niallkennedy | Owned by: | tmoorewp |
|---|---|---|---|
| Priority: | low | Component: | jetpack |
| Severity: | normal | Keywords: | opengraphprotocol |
| Cc: |
Description
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.
Attachments (1)
Change History (3)
Changed 6 months ago by niallkennedy
comment:1 Changed 7 weeks ago by jeherve
- Owner changed from mdawaffe to tmoorewp
comment:2 Changed 7 weeks ago by tmoorewp
- Resolution set to fixed
- Status changed from new to closed
In 692345:

use type=profile for author pages