Plugin Directory

Changeset 648050


Ignore:
Timestamp:
01/04/2013 10:16:46 PM (13 years ago)
Author:
ansimation
Message:

add_filter != apply_filters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tb-testimonials/trunk/tb-testimonials.php

    r648036 r648050  
    44*   Plugin URI: http://travisballard.com/wordpress/tb-testimonials/
    55*   Description: Testimonials managed by Custom Post Types. Supports a testimonial.php template file for single testimonial pages. Testimonial Shortcode to insert testimonials in any post. Scrolling Sidebar Widget
    6 *   Version: 1.6.4
     6*   Version: 1.6.3
    77*   Author: Travis Ballard
    88*   Author URI: http://www.travisballard.com
     
    9393        # shortcodes
    9494        add_action('wp_ajax_tbtestimonials-shortcode', array( &$this, 'shortcode_window' ) );
    95         add_shortcode( add_filter( 'tbtestimonials_shortcode', 'testimonial' ), array( &$this, 'shortcode' ) );
     95        $shortcode = apply_filters( 'tbtestimonials_shortcode', 'testimonial' );
     96        add_shortcode( $shortcode, array( &$this, 'shortcode' ) );
    9697
    9798        # image sizes
Note: See TracChangeset for help on using the changeset viewer.