WordPress.org

Plugin Directory

Changeset 475845


Ignore:
Timestamp:
12/15/11 12:09:02 (2 years ago)
Author:
woothemes
Message:

1.3.2.1 - minor update with small ordering fix

Location:
woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce/trunk/readme.txt

    r472887 r475845  
    55Requires at least: 3.1 
    66Tested up to: 3.3 
    7 Stable tag: 1.3.2 
     7Stable tag: 1.3.2.1 
    88 
    99An e-commerce toolkit that helps you sell anything. Beautifully. 
     
    8282 
    8383== Changelog == 
     84 
     85= 1.3.2.1 - 15/12/2011 =  
     86* Category/Ordering fix 
     87* HTTPS download URL fix 
    8488 
    8589= 1.3.2 - 09/12/2011 =  
  • woocommerce/trunk/woocommerce.php

    r472887 r475845  
    44Plugin URI: http://www.woothemes.com/woocommerce/ 
    55Description: An eCommerce plugin for wordpress. 
    6 Version: 1.3.2 
     6Version: 1.3.2.1 
    77Author: WooThemes 
    88Author URI: http://woothemes.com 
     
    1616 * Constants 
    1717 **/  
    18 define("WOOCOMMERCE_VERSION", "1.3.2"); 
     18define("WOOCOMMERCE_VERSION", "1.3.2.1"); 
    1919if (!defined('WOOCOMMERCE_TEMPLATE_URL')) define('WOOCOMMERCE_TEMPLATE_URL', 'woocommerce/');    
    2020 
     
    3030 * Admin init + activation hooks 
    3131 **/ 
    32 if (is_admin() && !defined('DOING_AJAX') ) : 
     32if ( is_admin() ) : 
    3333 
    3434    require_once( 'admin/admin-init.php' ); 
  • woocommerce/trunk/woocommerce_actions.php

    r472505 r475845  
    570570            endif; 
    571571             
     572            // Get URLS with https 
     573            $site_url = site_url(); 
     574            $network_url = network_admin_url(); 
     575            if (is_ssl()) : 
     576                $site_url = str_replace('https:', 'http:', $site_url); 
     577                $network_url = str_replace('https:', 'http:', $network_url); 
     578            endif; 
     579             
    572580            if (!is_multisite()) :   
    573                 $file_path = str_replace(trailingslashit(site_url()), ABSPATH, $file_path); 
     581                $file_path = str_replace(trailingslashit($site_url), ABSPATH, $file_path); 
    574582            else : 
    575583                $upload_dir = wp_upload_dir(); 
    576584                 
    577585                // Try to replace network url 
    578                 $file_path = str_replace(trailingslashit(network_admin_url()), ABSPATH, $file_path); 
     586                $file_path = str_replace(trailingslashit($network_url), ABSPATH, $file_path); 
    579587                 
    580588                // Now try to replace upload URL 
Note: See TracChangeset for help on using the changeset viewer.