Plugin Directory

Changeset 1247954


Ignore:
Timestamp:
09/17/2015 09:51:49 PM (11 years ago)
Author:
whatadewitt
Message:

version 1.1.0 moved filter to not modify homepage tags

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

Legend:

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

    r1231572 r1247954  
    3939== Changelog ==
    4040
     41= 1.1.0 =
     42* Removed the filter from being called on the homepage, as it was causing unwanted overwrites
     43
    4144= 1.0.1 =
    4245* Moved array declaration to fix error notice
  • deweys-twitter-card-helper/trunk/class-wad_twitter_cards.php

    r1231572 r1247954  
    2525   * @var     string
    2626   */
    27   protected $version = '1.0.1';
     27  protected $version = '1.1.0';
    2828
    2929  /**
     
    126126          $tags['twitter:image'] = $thumbnail[0];
    127127        }
     128
     129        $tags = apply_filters( 'twitter_cards', $tags );
     130        $tags = apply_filters( "{$post->post_type}_twitter_cards", $tags );
     131
    128132      }
    129133    } else if ( is_front_page() ) {
     
    135139    }
    136140
    137     $tags = apply_filters( 'twitter_cards', $tags );
    138     $tags = apply_filters( "{$post->post_type}_twitter_cards", $tags );
    139 
    140141    //filter post tags
    141142    foreach ( $tags as $key => $value ) {
  • deweys-twitter-card-helper/trunk/wad_twitter_cards.php

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