WordPress.org

Plugin Directory

Changeset 452917


Ignore:
Timestamp:
10/19/11 12:50:28 (6 years ago)
Author:
fkbff
Message:

Version 0.6

Location:
image-xml-sitemap-generator
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • image-xml-sitemap-generator/trunk/readme.txt

    r448784 r452917  
    44Requires at least: 2.9.2 
    55Tested up to: 3.2.1 
    6 Stable tag: 0.5 
     6Stable tag: 0.6 
    77 
    88Plugin to generate Image Sitemaps in XML-Format for your WordPress blog.  
     
    2626== Changelog == 
    2727 
     28= 0.6 = 
     29Bugfix (tnx to @tipblog.de) 
     30 
    2831= 0.5 = 
    2932Code clean and optimise 
  • image-xml-sitemap-generator/trunk/xml-sitemap.php

    r448784 r452917  
    55Description: Plugin zum erzeugen von Image Sitemaps im XML-Format für dein WordPress Blog. 
    66Author: Frank Butenhoff 
    7 Version: 0.5 
     7Version: 0.6 
    88Author URI: http://www.butenhoff.net/ 
    99License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     
    149149        $this->xml .= $this->TAB."<image:image>".$this->BR; 
    150150        $this->xml .= $this->TAB.$this->TAB."<image:loc>{$src}</image:loc>".$this->BR; 
    151         $this->xml .= $alt!=''?$this->TAB.$this->TAB."<image:caption>{$alt}</image:caption>".$this->BR:''; 
    152         $this->xml .= $title!=''?$this->TAB.$this->TAB."<image:title>{$title}</image:title>".$this->BR:''; 
     151        $this->xml .= $alt!=''?$this->TAB.$this->TAB."<image:caption>" . htmlspecialchars ( $alt, ENT_COMPAT ) . "</image:caption>".$this->BR:''; 
     152        $this->xml .= $title!=''?$this->TAB.$this->TAB."<image:title>" . htmlspecialchars ( $title, ENT_COMPAT ) . "</image:title>".$this->BR:''; 
    153153        $this->xml .= $this->TAB."</image:image>".$this->BR; 
    154154        $temp = $src; 
Note: See TracChangeset for help on using the changeset viewer.