WordPress.org

Plugin Directory

Changeset 381949


Ignore:
Timestamp:
05/07/11 00:53:16 (3 years ago)
Author:
MartyThornley
Message:

Fixed small glitch preventing albums from displaying in shortcodes

Location:
photographer-connections/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • photographer-connections/trunk/modules/smugmug.php

    r381551 r381949  
    362362        if ( is_object( $smug ) ) { 
    363363            try { 
    364                 $albums = $smug->albums_get( 'Response=Heavy' ); 
     364                $albums = $smug->albums_get(); 
    365365            }    
    366366            catch( Exception $e ) { 
     
    559559        $html_final = '<ul class="smugmug-gallery-outer-wrapper">'; 
    560560        $html_final .= '<li class="smugmug-gallery-loader"></li>'; 
    561      
     561         
     562        $albums = blogsite_connect_get_smugmug_albums(); 
     563         
    562564        if ( $album_name == '' && is_array( $albums ) && !empty ( $albums ) ) { 
    563565            foreach ($albums as $album) { 
     
    575577            } 
    576578        } else { 
    577             $albums = blogsite_connect_get_smugmug_albums(); 
    578579            if ( is_array( $albums ) && !empty ( $albums ) ) { 
    579580                foreach ($albums as $album) { 
  • photographer-connections/trunk/photographer-connections.php

    r381551 r381949  
    55Description: Connect to photography sites: SmugMug, Pictage, ShootQ. 
    66Author: Marty Thornley 
    7 Version: 1.3 
     7Version: 1.3.1 
    88Author URI: http://martythornley.com/ 
    99*/ 
  • photographer-connections/trunk/readme.txt

    r381551 r381949  
    151151== Changelog == 
    152152 
     153= 1.3.1 = 
     154 
     155fixed glitch in smugmug album display in shortcodes 
     156 
    153157= 1.3 = 
    154158 
Note: See TracChangeset for help on using the changeset viewer.