Added a colorful new image and fixed the Open Graph attribute.
authorjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2016 20:58:12 +0000 (20:58 +0000)
committerjond@apple.com <jond@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2016 20:58:12 +0000 (20:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=159359

Reviewed by Timothy Hatcher.

The Open Graph image tag should use the property attribute not
the itemprop attribute.

* wp-content/plugins/social-meta.php:
* wp-content/themes/webkit/images/ogimage.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/ChangeLog
Websites/webkit.org/wp-content/plugins/social-meta.php
Websites/webkit.org/wp-content/themes/webkit/images/ogimage.png

index d6761ec..15e5338 100644 (file)
@@ -1,3 +1,16 @@
+2016-07-01  Jon Davis  <jond@apple.com>
+
+        Added a colorful new image and fixed the Open Graph attribute.
+        https://bugs.webkit.org/show_bug.cgi?id=159359
+
+        Reviewed by Timothy Hatcher.
+        
+        The Open Graph image tag should use the property attribute not
+        the itemprop attribute.
+
+        * wp-content/plugins/social-meta.php:
+        * wp-content/themes/webkit/images/ogimage.png:
+
 2016-06-30  Dean Jackson  <dino@apple.com>
 
         Tab pointed out a typo that made the overdamped case fail.
index 692762e..f13e233 100644 (file)
@@ -82,7 +82,7 @@ add_action('wp_head', function() {
     <meta property="og:type" content="<?php echo esc_attr($type); ?>">
     <meta property="og:url" content="<?php the_permalink(); ?>">
 <?php if ($image_url): ?>
-    <meta itemprop="og:image" content="<?php echo esc_url($image_url); ?>">
+    <meta property="og:image" content="<?php echo esc_url($image_url); ?>">
 <?php endif; ?>
 <?php if ($description): ?>
     <meta property="og:description" content="<?php echo esc_attr($description); ?>">
index 6cee20c..9a967f2 100644 (file)
Binary files a/Websites/webkit.org/wp-content/themes/webkit/images/ogimage.png and b/Websites/webkit.org/wp-content/themes/webkit/images/ogimage.png differ