Plugin Directory

Changeset 994142


Ignore:
Timestamp:
09/21/2014 09:12:56 AM (12 years ago)
Author:
Shellbot
Message:

Shortcode compatibility fix

Location:
easy-image-display/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • easy-image-display/trunk/sb-easy-image-display.php

    r961977 r994142  
    44Plugin URI: http://shellbotics.com/wordpress-plugins/easy-image-display/
    55Description: An easy way to display random or latest images on your site.
    6 Version: 1.2.0
     6Version: 1.2.1
    77Author: Shellbot
    88Author URI: http://shellbotics.com
     
    4141        /* Shortcodes --------------------------------------------------------------- */
    4242
    43         add_shortcode( 'gallery', array( $this, 'custom_gallery_shortcode' ) );
     43        add_shortcode( 'sb_gallery', array( $this, 'custom_gallery_shortcode' ) );
    4444        add_shortcode( 'sb_easy_image', array( $this, 'sb_image_shortcode' ) );
    4545       
     
    243243                $ids .= $attachment->ID . ', ';
    244244            }
    245             return do_shortcode( '[gallery columns="' . $args['columns'] . '" ids="' . $ids . '" size="' . strtolower( $args['size'] ) . '" link="' . strtolower( $args['link'] ) . '" url="' . strtolower( $args['url'] ) . '"]' );
     245            return do_shortcode( '[sb_gallery columns="' . $args['columns'] . '" ids="' . $ids . '" size="' . strtolower( $args['size'] ) . '" link="' . strtolower( $args['link'] ) . '" url="' . strtolower( $args['url'] ) . '"]' );
    246246
    247247        } else {
     
    326326
    327327    function custom_gallery_shortcode( $attr ) {
     328
    328329        global $post, $wp_locale;
    329330
  • easy-image-display/trunk/sb-easy-image-widget.php

    r961977 r994142  
    22/**
    33 * Widget Name: Easy Image Display
    4  * Version: 1.2.0
     4 * Version: 1.2.1
    55 */
    66
Note: See TracChangeset for help on using the changeset viewer.