Plugin Directory

Changeset 394728


Ignore:
Timestamp:
06/08/2011 07:34:07 PM (15 years ago)
Author:
dbaker
Message:

Fixed width/height bug, fixed array_shift bug

Location:
wiredrive-player/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wiredrive-player/trunk/README.TXT

    r376037 r394728  
    44Tags: wiredrive, mrss, video, html5
    55Requires at least: 3.0.0
    6 Tested up to: 3.1.1
    7 Stable tag: 2.1.1
     6Tested up to: 3.2
     7Stable tag: 2.1.2
    88
    99This plug-in allows you to embed Wiredrive video reels and image galleries into your WordPress-powered website.
  • wiredrive-player/trunk/player.php

    r376037 r394728  
    55Description: This plug-in allows you to embed Wiredrive video reels and image galleries into your WordPress-powered website.
    66Author: Wiredrive, dbaker, Daniel Bondurant
    7 Version: 2.1.1
     7Version: 2.1.2
    88Author URI: http://www.wiredrive.com/
    99*/
  • wiredrive-player/trunk/templates/thumb_loop.php

    r375765 r394728  
    3434                    >
    3535                   
    36                     <?php
    37 //                        var_dump(); die;
    38                     ?>
    39                    
    4036                    <div class="hover-credits">
    4137                        <span class="wd-title"><?php echo htmlentities($item['title']) ?></span><br />
    42                         <span class="wd-credit"><?php echo array_shift($item['credits']) ?></span>
     38                        <span class="wd-credit">
     39                            <?php
     40                                if( !empty($item['credits']) ) {
     41                                    echo array_shift($item['credits']);
     42                                }
     43                            ?>
     44                        </span>
     45
    4346                    </div>
    4447                </a>
  • wiredrive-player/trunk/wiredrive.php

    r373053 r394728  
    131131         */
    132132        extract(shortcode_atts(array(
    133                     'height'            => $options['wdp_height'] . 'px',
    134                     'width'             => $options['wdp_width'] . 'px',
     133                    'height'            => $options['height'] . 'px',
     134                    'width'             => $options['width'] . 'px',
    135135                    'hidethumbs'        => 'off',
    136136                    'autoslideshow'     => 'off',
     
    511511    private function renderPlayerStart($width, $height, $hidethumbs, $disablethumbs, $autoslideshow, $theme)
    512512    {
    513 
    514513        $this->template->setTpl('player_start.php')
    515514        ->set('height', $height)
Note: See TracChangeset for help on using the changeset viewer.