Plugin Directory

Changeset 982337


Ignore:
Timestamp:
09/05/2014 08:21:33 PM (12 years ago)
Author:
numixtech
Message:

Adding version 1.0.2

Location:
numix-post-slider/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • numix-post-slider/trunk/admin/class-numix-post-slider-admin.php

    r937171 r982337  
    260260        if ( $_POST['action'] == 'numix_slider_display_taxonomies' ) {
    261261            $taxonomies = get_object_taxonomies( array( 'post_type' => $_POST['post_type'] ), 'objects' );
    262             $out = '';
    263262
    264263            $id = intval( $_POST['id'] );
     
    278277
    279278                        $taxonomy_name  = $taxonomy->name;
    280                         $out .= "<optgroup id=\"{$taxonomy_name}\" label=\"{$taxonomy->labels->name}\"> \n";
     279                        $out = "<optgroup id=\"{$taxonomy_name}\" label=\"{$taxonomy->labels->name}\"> \n";
    281280                        $selected_value = array();
    282281                        if ( isset( $selected_array[$taxonomy_name] ) ) {
     
    293292                        }
    294293                        $out .= '</optgroup>';
     294                        echo $out;
    295295                    }
    296296                }
    297297            }
    298             echo $out;
    299298        }
    300299        die();
  • numix-post-slider/trunk/numix-post-slider.php

    r937171 r982337  
    1414 * Plugin URI:        http://www.numixtech.com
    1515 * Description:       Variable width and infinite post slider carousel for posts
    16  * Version:           1.0.1
     16 * Version:           1.0.2
    1717 * Author:            Numix Technologies
    1818 * Author URI:        http://numixtech.com
  • numix-post-slider/trunk/public/class-numix-post-slider.php

    r937171 r982337  
    2727     * @var     string
    2828     */
    29     const VERSION = '1.0.1';
     29    const VERSION = '1.0.2';
    3030
    3131    /**
     
    326326    public function enqueue_scripts() {
    327327
    328         wp_register_script( $this->plugin_slug . '-easing-script', plugins_url( 'assets/js/jquery.easing.1.3.js', __FILE__ ), array( 'jquery' ), self::VERSION );
    329         wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( 'assets/js/jquery.numix-slider.min.js', __FILE__ ), array( $this->plugin_slug . '-easing-script', 'jquery' ), self::VERSION );
     328        wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( 'assets/js/jquery.numix-slider.min.js', __FILE__ ), array( 'jquery', 'jquery-effects-core' ), self::VERSION );
    330329    }
    331330
     
    511510                        $image->resize( $new_width, $new_height, false );
    512511                        $new_image = $image->save( $new_file_path );
    513                         $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'url' ) ), $new_image['path'] );
     512                        $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'wpurl' ) ), $new_image['path'] );
    514513                    }
    515514                } else {
    516                     $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'url' ) ), $new_file_path );
     515                    $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'wpurl' ) ), $new_file_path );
    517516                }
    518517            }
     
    547546                    $image->resize( $thumb_width, $thumb_height, $crop );
    548547                    $new_image = $image->save( $new_file_path );
    549                     $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'url' ) ), $new_image['path'] );
     548                    $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'wpurl' ) ), $new_image['path'] );
    550549                }
    551550            } else {
    552                 $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'url' ) ), $new_file_path );
     551                $image_url = str_replace( ABSPATH, trailingslashit( get_bloginfo( 'wpurl' ) ), $new_file_path );
    553552            }
    554553        }
  • numix-post-slider/trunk/readme.txt

    r971337 r982337  
    22Contributors: numixtech, asalamwp, gauravpadia
    33Homepage: http://numixtech.com/
    4 Tags: variable width carousel, carousel, slider, featured, gallery, slideshow, infinite slider, logo slider, post slider, auto play, center slider, jquery, javascript
     4Tags: variable width carousel, carousel, slider, featured, gallery, slideshow, infinite slider, logo slider, post slider, auto play, center slider, jquery, javascript, banner rotator, best carousel slider, best post slider, best responsive slider, best slideshow, best slideshow plugin, carousel slider, featured thumbnail, image, image slider, image slideshow, images, logo scroller, news slider, Post, posts, recent post slider, responsive carousel, responsive carousel slider, responsive slider, responsive slideshow, showcase, sidebar slideshow, thumbnail, thumbnail slider, ticker, wordpress slideshow
    55Requires at least: 3.6
    66Tested up to: 3.9.1
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6868== Changelog ==
    6969
     70= 1.0.2 =
     71Wordpress 4.0 Compatibility
     72Removed jquery.easing.1.3.js instead usnig jquery-effects-core included in wordpress core
     73Other Minor bug Fixes
     74
    7075= 1.0.1 =
    7176* Added display post title option in slider
Note: See TracChangeset for help on using the changeset viewer.