facebook/wordpress — pull request #330 by niallkennedy (2012-11-30 01:36:22+00:00)
Title: allow prefixed OGP properties

Add a function to convert full IRI Open Graph protocol properties to a prefixed equivalent based on Open Graph protocol global prefixes and namespaces as well as the app-specific namespace if defined.

Trigger the conversion by evaluating a bool passed through a filter; this configuration allows publishers to override full IRI defaults if they have defined prefix mappings in a parent element or just prefer not to use the full IRI definition.

Mention the new filters in the readme.

Existing third-party functions acting on full IRI Open Graph protocol data are maintained. If another plugin or theme adds or replaces Facebook plugin values for Open Graph protocol properties the full IRI mapping is maintained through the separate conversion before output. It's a trade-off between consistency in values passed to the filter and a speed decrease to compare and convert all the property strings we just set.