WordPress.org

Plugin Directory

Changeset 1555534


Ignore:
Timestamp:
12/15/16 16:01:38 (12 months ago)
Author:
misulicus
Message:

Updated stable tag and WordPress compatibility

Location:
wp-e-commerce-fixed-rate-shipping/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-e-commerce-fixed-rate-shipping/trunk/readme.txt

    r1383527 r1555534  
    1 === wpsc-simple-shipping === 
    2 Contributors: misulicus, mufasa 
    3 Tags: e-commerce, wp-e-commerce, shipping, shipping module, wpsc-simple-shipping 
     1=== WP eCommerce Simple Shipping (wpsc-simple-shipping) === 
     2Contributors: misulicus 
     3Tags: e-commerce, wp-e-commerce, shipping, shipping module, wpsc-simple-shipping, wp ecommerce 
    44Requires at least: 3.5 
    5 Tested up to: 4.5 
    6 Stable tag: 1.2.0 
     5Tested up to: 4.7 
     6Stable tag: 1.2.1 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    1414Enables free input for fixed rate shipping options, like: 
    1515 
    16 *   pickup - $0 
    17 *   regular - $5 
    18 *   overnight - $10 
     16*   Pickup - $0 
     17*   Regular - $5 
     18*   Overnight - $10 
    1919*   etc.. 
    2020 
     
    3232== Changelog == 
    3333 
     34= 1.2.1 = 
     35* Tested against the latest WP eCommerce and WordPress version. 
     36 
    3437= 1.2.0 = 
    3538* Tested against the latest WP eCommerce and WordPress versions. 
  • wp-e-commerce-fixed-rate-shipping/trunk/wpsc-fixed-rate-shipping.php

    r1383527 r1555534  
    44Plugin URI: https://wpecommerce.org 
    55Description: Enables free input for fixed rate shipping options, like "Pickup - $0, Regular - $5, Overnight - $10" 
    6 Version: 1.2.0 
     6Version: 1.2.1 
    77Author: WP eCommerce 
    88Author URI: https://wpecommerce.org 
    9 License: GPL2 
     9License: GPLv2 or later 
     10License URI: https://www.gnu.org/licenses/gpl-2.0.html 
    1011*/ 
    1112 
    12 /*  Copyright 2013  Instinct ent. 
    13  
    14     This program is free software; you can redistribute it and/or modify 
    15     it under the terms of the GNU General Public License, version 2, as  
    16     published by the Free Software Foundation. 
    17  
    18     This program is distributed in the hope that it will be useful, 
    19     but WITHOUT ANY WARRANTY; without even the implied warranty of 
    20     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    21     GNU General Public License for more details. 
    22  
    23     You should have received a copy of the GNU General Public License 
    24     along with this program; if not, write to the Free Software 
    25     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
    26 */ 
    27  
    28  
    2913class wpsc_fixedrate { 
    3014 
     
    3620     * @return boolean Always returns true. 
    3721     */ 
    38     function wpsc_fixedrate() { 
     22    function __construct() { 
    3923        $this->internal_name = "fixedrate"; 
    4024        $this->name= __( "Fixed Rate", 'wpsc' ); 
     
    7256                <td <?php echo $class; ?>> 
    7357                    <div class="cell-wrapper"> 
    74                         <input type="text" name="wpsc_shipping_fixedrate_layer[]" value="<?php echo esc_attr( $key ); ?>" size="4" /> 
     58                        <input type="text" name="wpsc_shipping_fixedrate_layer[]" value="<?php echo esc_attr( $key ); ?>" size="15" /> 
    7559                    </div> 
    7660                </td> 
     
    164148     */ 
    165149    function getQuote() { 
    166  
    167150        global $wpdb, $wpsc_cart; 
     151 
    168152        if ( wpsc_get_customer_meta( 'nzshpcart' ) ) { 
    169153            $shopping_cart = wpsc_get_customer_meta( 'nzshpcart' ); 
    170154        } 
     155         
    171156        if ( is_object( $wpsc_cart ) ) { 
    172157            $price = $wpsc_cart->calculate_subtotal( true ); 
     
    175160        $layers = get_option( 'fixedrate_layers' ); 
    176161 
    177         if ($layers != '') { 
     162        if ( $layers != '' ) { 
    178163 
    179164            // At some point we should probably remove this as the sorting should be 
     
    182167            krsort( $layers ); 
    183168            return $layers; 
    184  
    185              
    186169        } 
    187170    } 
     
    194177     */ 
    195178    function get_item_shipping( &$cart_item ) { 
    196  
    197179        global $wpdb, $wpsc_cart; 
    198180 
Note: See TracChangeset for help on using the changeset viewer.