Permalink
Browse files

bump version to distribute new description code and twitter-cards-php…

… type=photo description optional
  • Loading branch information...
1 parent b36ac3d commit 76d9c3afe8002072f0357b9f10022cdf52b46b33 @niallkennedy committed Nov 17, 2012
Showing with 24 additions and 12 deletions.
  1. +22 −10 readme.txt
  2. +2 −2 twitter-cards.php
View
@@ -3,7 +3,7 @@ Contributors: niallkennedy
Tags: twitter, twitter cards, semantic markup
Requires at least: 3.3
Tested up to: 3.4
-Stable tag: 1.0.2
+Stable tag: 1.0.3
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -15,29 +15,41 @@ Generate inline content previews on Twitter.com and Twitter clients by including
All cards are a Twitter Card summary by default. Tap into the `twitter_card_properties` filter to reference the Twitter accounts of your site or author.
+== Filters ==
+
+* `twitter_cards_properties` - act on an array of properties before they are output to the page
+* `twitter_cards_htmlxml` - override the default treatment of `html` with `xml`. XML will self-close the meta void element ( "<element />" vs. "<element>" )
+
== Frequently Asked Questions ==
= You forgot to include a trailing slash on meta elements =
The plugin outputs HTML-style void elements without a trailing slash by default. Add XML-style trailing slashes by returning a value of `xml` on the `twitter_cards_htmlxml` filter.
-== Changelog ==
+== Upgrade Notice ==
-= 1.0.2 =
+= 1.0.3 =
+Simplify description generator. Allow no description for photo cards.
+= 1.0.2 =
Change attribute from value to content to match current Twitter documentation.
= 1.0.1 =
+Improved auto-generated description.
-* Improve automatic excerpt generator and scrubber
-
-= 1.0 =
-* Initial release
+== Changelog ==
-== Upgrade Notice ==
+= 1.0.3 =
+* Simplify the description generator. Based on the Open Graph protocol description generator in the Facebook plugin.
+* Update bundled version of Twitter Cards PHP, fixing description property treated as a required property for photo card type.
= 1.0.2 =
-Change attribute from value to content to match current Twitter documentation.
+
+* Change attribute from value to content to match current Twitter documentation.
= 1.0.1 =
-Improved auto-generated description.
+
+* Improve automatic excerpt generator and scrubber
+
+= 1.0 =
+* Initial release
View
@@ -5,15 +5,15 @@
* Description: Add Twitter Cards markup to individual posts.
* Author: Niall Kennedy
* Author URI: http://www.niallkennedy.com/
- * Version: 1.0.2
+ * Version: 1.0.3
*/
if ( ! class_exists( 'Twitter_Cards' ) ):
/**
* Add Twitter Card markup to document <head>
*
* @since 1.0
- * @version 1.0.2
+ * @version 1.0.3
*/
class Twitter_Cards {
/**

0 comments on commit 76d9c3a

Please sign in to comment.