Plugin Directory

Changeset 1247953


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

version 1.1.0 moved the filter to not modify the home page

Location:
deweys-open-graph-helper
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • deweys-open-graph-helper/trunk/README.txt

    r1231573 r1247953  
    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-open-graph-helper/trunk/class-wad_open_graph.php

    r1231573 r1247953  
    2525   * @var     string
    2626   */
    27   protected $version = '1.0.1';
     27  protected $version = '1.1.0';
    2828
    2929  /**
     
    137137          $tags['image'] = $thumbnail[0];
    138138        }
     139
     140        // filter post tags
     141        $tags = apply_filters( "og_tags" , $tags );
     142        $tags = apply_filters( "{$post->post_type}_og_tags" , $tags );
    139143      }
    140144    } else if ( is_front_page() ) {
     
    146150    }
    147151
    148     // filter post tags
    149     $tags = apply_filters( "og_tags" , $tags );
    150     $tags = apply_filters( "{$post->post_type}_og_tags" , $tags );
    151 
    152152    //Loop through the tags and generate the open graph tags
    153153    foreach ( $tags as $key => $value ) {
  • deweys-open-graph-helper/trunk/wad_open_graph.php

    r1231573 r1247953  
    1111 * Plugin URI:  http://www.whatadewitt.ca
    1212 * Description: Simplifies the use of Open Graph.
    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.