Plugin Directory


Opened 5 years ago

Closed 5 years ago

#1619 closed enhancement (fixed)

Open Graph protocol author pages: use profile not author type

Reported by: niallkennedy Owned by: tmoorewp
Priority: low Severity: normal
Plugin: jetpack Keywords: opengraphprotocol


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)

functions.opengraph.diff (2.1 KB) - added by niallkennedy 5 years ago.
use type=profile for author pages

Download all attachments as: .zip

Change History (3)

@niallkennedy5 years ago

use type=profile for author pages

comment:1 @jeherve5 years ago

  • Owner changed from mdawaffe to tmoorewp

comment:2 @tmoorewp5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In 692345:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.