Plugin Directory

Changeset 570985

Timestamp:
07/12/2012 12:56:22 AM (12 years ago)
Author:
johnciacia
Message:

fixing variable typo

Location:
picasso/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • picasso/trunk/picasso.php

    r499488 r570985  
    44Plugin URI: http://www.johnciacia.com/picasso/
    55Description: Extend the WordPress gallery be adding support of albums.
    6 Version: 1.1.2
     6Version: 1.1.
    77Author: John Ciacia
    88Author URI: http://www.johnciacia.com
     
    4444
    4545    // Allow plugins/themes to override the default gallery template.
    46     $output = apply_filters('post_album', '', $attr);
    47     if ( $output != '' )
     46    $output = apply_filters();
     47    if( $output != '' )
    4848        return $output;
    4949
    5050    // We're trusting author input, so let's at least make sure it looks like a valid orderby statement
    51     if ( isset( $attr['orderby'] ) ) {
    52         $attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
    53         if ( !$attr['orderby'] )
    54             unset( $attr['orderby'] );
     51    if['orderby'] ) ) {
     52        $att['orderby'] );
     53        if ( !$att['orderby'] )
     54            unset( $att['orderby'] );
    5555    }
    5656
    57     extract(shortcode_atts(array(
     57    extract(shortcode_atts(array(
    5858        'order'      => 'ASC',
    5959        'orderby'    => 'menu_order ID',
     
    6666        'include'    => '',
    6767        'exclude'    => ''
    68     ), $attr));
     68    ), $att));
    6969
    7070
     
    7575
    7676    $defaults = array(
    77         'post_parent'   => $id,
    78         'post_type'     => 'page',
    79         'numberposts'   => -1,
    80         'post_status'   => 'publish',
     77    'post_parent'   => $id,
     78    'post_type'     => 'page',
     79    'numberposts'   => -1,
     80    'post_status'   => 'publish',
    8181        'order'         => $order,
    8282        'oderby'        => $orderby
  • picasso/trunk/readme.txt

    r499488 r570985  
    33Tags: album, gallery
    44Requires at least: 2.9
    5 Tested up to: 3.3.1
    6 Stable tag: 1.1.2
     5Tested up to: 3..1
     6Stable tag: 1.1.
    77
    88This plugin allows users to create albums (gallery containers).
Note: See TracChangeset for help on using the changeset viewer.