WordPress.org

Plugin Directory

jetpack

#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
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)

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

Download all attachments as: .zip

Change History (3)

niallkennedy17 months ago

use type=profile for author pages

comment:1 jeherve13 months ago

  • Owner changed from mdawaffe to tmoorewp

comment:2 tmoorewp13 months ago

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

In 692345:

Open Graph: Use the profile OG type instead of author. Add tags for first/last names. Props @niallkennedy.

See: http://plugins.trac.wordpress.org/ticket/1619

Fixes #1619

Note: See TracTickets for help on using tickets.