Plugin Directory

Changeset 650155


Ignore:
Timestamp:
01/09/2013 10:05:38 AM (13 years ago)
Author:
DaganLev
Message:

version 1.0.1 - fixes for 3.5

Location:
hotscot-page-gallery
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • hotscot-page-gallery/trunk/hotscot-page-gallery.php

    r507688 r650155  
    33Plugin Name: Hotscot Page Gallery
    44Description: Hotscot Page Gallery
    5 Version: 1.0.0
     5Version: 1.0.1
    66Author: Hotscot
    77
     
    7070    global $post;
    7171    $tempStr = '';
    72     if($post->ID){
     72    if(isset($post->ID) && $post->ID){
    7373        $items = get_post_meta($post->ID, '_hpg_items', true);
    7474        if(strpos($items,"\n")!=0){
     
    8686function hpg_paint_image($itm){
    8787    $strtmp = '';
    88     if(strpos($itm,"||")!=0){
     88    if(strpos("**" . $itm,"||")!=0){
    8989        $itm = str_ireplace("\r","",$itm);
    9090        $itmFields = explode("||",$itm);
  • hotscot-page-gallery/trunk/readme.txt

    r507696 r650155  
    3131Init
    3232
     331.0.1
     34=======
     35Fixed a few things to fit with 3.5
     36
    3337== Upgrade Notice ==
    3438None
  • hotscot-page-gallery/trunk/scripts.js

    r507688 r650155  
    1919                    large = jQuery('a','<div>' + html + '</div>').attr('href');
    2020                    title = jQuery('img','<div>' + html + '</div>').attr('title');
     21                    if(!title) title = jQuery('img','<div>' + html + '</div>').attr('alt');
    2122                   
    2223                    if(!large) large = '';
Note: See TracChangeset for help on using the changeset viewer.