Plugin Directory

Changeset 1231572


Ignore:
Timestamp:
08/27/2015 12:02:52 AM (11 years ago)
Author:
whatadewitt
Message:

version 1.0.1 to remove php notice

Location:
deweys-twitter-card-helper
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • deweys-twitter-card-helper/trunk/README.txt

    r1143320 r1231572  
    44Requires at least: 3.5.1
    55Tested up to: 4.0
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3939== Changelog ==
    4040
     41= 1.0.1 =
     42* Moved array declaration to fix error notice
     43
    4144= 1.0 =
    4245* Initial "open" release
  • deweys-twitter-card-helper/trunk/class-wad_twitter_cards.php

    r1143320 r1231572  
    2525   * @var     string
    2626   */
    27   protected $version = '1.0.0';
     27  protected $version = '1.0.1';
    2828
    2929  /**
     
    109109  public function generate_twitter_card() {
    110110    global $post;
     111    $tags = array();
     112
    111113    if ( is_singular() ) {
    112114      if (post_type_supports( $post->post_type, 'twitter_cards' ) ) {
    113115
    114116        //Define defaults
    115         $tags = array();
    116117        $tags['twitter:card'] = 'summary';
    117118        $tags['twitter:site'] = '@undefined'; // YO! This should definitely be updated with the twitter_cards filter
  • deweys-twitter-card-helper/trunk/wad_twitter_cards.php

    r1143320 r1231572  
    1111 * Plugin URI:  http://www.whatadewitt.ca
    1212 * Description: Simplifies the use of Twitter Cards in WP
    13  * Version:     1.0.0
     13 * Version:     1.0.1
    1414 * Author:      Luke DeWitt
    1515 * Author URI:  http://www.whatadewitt.ca
Note: See TracChangeset for help on using the changeset viewer.