WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[Plugin: WP e-Commerce] [w3c] [bug] wpsc_print_category_image, wpsc_display_category_loop (1 post)

  1. lelebart
    Member
    Posted 2 years ago #

    sanitize title and alt values on image category output!

    \wp-content\plugins\wp-e-commerce\wpsc-includes\category.functions.php

    change line 328 into $category_image_html = "<img src='".WPSC_CATEGORY_URL."$category_image' alt='".wp_specialchars($category_row->name)."' title='".wp_specialchars($category_row->name)."' style='width: {$width}px; height: {$height}px;' class='wpsc_category_image' />";

    http://wordpress.org/extend/plugins/wp-e-commerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic