Plugin Directory

Changeset 2481335


Ignore:
Timestamp:
02/25/2021 10:25:32 AM (5 years ago)
Author:
peterfabian1000
Message:

Tagging version 1.1.23

Location:
woocommerce-accommodation-bookings
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-accommodation-bookings/tags/1.1.23/changelog.txt

    r2407312 r2481335  
    11*** Changelog ***
     2
     3= 1.1.23 - 2021-02-25 =
     4* Fix - Dev - Fix: Add casts to float before applying the 'abs' function to potentially empty strings for compatibility with PHP8.
     5* Tweak - WC 5.0 compatibility.
    26
    37= 1.1.22 - 2020-10-27 =
  • woocommerce-accommodation-bookings/tags/1.1.23/includes/admin/class-wc-accommodation-booking-admin-panels.php

    r2390281 r2481335  
    270270        // Rates
    271271        $pricing = array();
    272         $original_base_cost = abs( get_post_meta( $post_id, '_wc_booking_base_cost', true ) );
     272        $original_base_cost = abs( (float) get_post_meta( $post_id, '_wc_booking_base_cost', true ) );
    273273
    274274        $row_size     = isset( $_POST[ 'wc_accommodation_booking_pricing_type' ] ) ? sizeof( $_POST[ 'wc_accommodation_booking_pricing_type' ] ) : 0;
     
    276276            $pricing[ $i ]['base_cost'] = $pricing[ $i ]['cost'] = 0;
    277277            $pricing[ $i ]['type']          = wc_clean( $_POST[ 'wc_accommodation_booking_pricing_type' ][ $i ] );
    278             $new_cost = abs( wc_clean( $_POST[ 'wc_accommodation_booking_pricing_block_cost' ][ $i ] ) );
     278            $new_cost = abs( (float) wc_clean( $_POST[ 'wc_accommodation_booking_pricing_block_cost' ][ $i ] ) );
    279279            $pricing[ $i ]['base_modifier'] = $pricing[$i]['modifier'] = $new_cost > $original_base_cost ? 'plus' : 'minus';
    280280            $pricing[ $i ]['cost'] = abs( $new_cost - $original_base_cost );
  • woocommerce-accommodation-bookings/tags/1.1.23/languages/woocommerce-accommodation-bookings.pot

    r2407312 r2481335  
    1 # Copyright (C) 2020 WooCommerce
     1# Copyright (C) 2021 WooCommerce
    22# This file is distributed under the GNU General Public License v3.0.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Accommodation Bookings 1.1.22\n"
     5"Project-Id-Version: WooCommerce Accommodation Bookings 1.1.23\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-accommodation-bookings\n"
    8 "POT-Creation-Date: 2020-10-27 07:06:10+00:00\n"
     8"POT-Creation-Date: 2021-02-25 10:25:03+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
     12"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <[email protected]>\n"
  • woocommerce-accommodation-bookings/tags/1.1.23/readme.txt

    r2407312 r2481335  
    44Requires at least: 4.1
    55Tested up to: 5.5
    6 Stable tag: 1.1.22
     6Stable tag: 1.1.23
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3737== Changelog ==
    3838
     39= 1.1.23 - 2021-02-25 =
     40* Fix - Dev - Fix: Add casts to float before applying the 'abs' function to potentially empty strings for compatibility with PHP8.
     41* Tweak - WC 5.0 compatibility.
     42
    3943= 1.1.22 - 2020-10-27 =
    4044* Tweak - WC 4.6 compatibility.
  • woocommerce-accommodation-bookings/tags/1.1.23/woocommerce-accommodation-bookings.php

    r2407312 r2481335  
    44 * Plugin URI: https://woocommerce.com/products/woocommerce-accommodation-bookings/
    55 * Description: An accommodations add-on for the WooCommerce Bookings extension.
    6  * Version: 1.1.22
     6 * Version: 1.1.23
    77 * Author: WooCommerce
    88 * Author URI: https://woocommerce.com
    99 * Text Domain: woocommerce-accommodation-bookings
    1010 * Domain Path: /languages
    11  * WC tested up to: 4.6
     11 * WC tested up to: 5.0
    1212 * WC requires at least: 2.6
    1313 *
    14  * Copyright: © 2020 WooCommerce
     14 * Copyright: © 2021 WooCommerce
    1515 * License: GNU General Public License v3.0
    1616 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2121}
    2222
    23 define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.22' ); // WRCS: DEFINED_VERSION.
     23define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.23' ); // WRCS: DEFINED_VERSION.
    2424
    2525require_once( 'includes/class-wc-accommodation-bookings-plugin.php' );
  • woocommerce-accommodation-bookings/trunk/changelog.txt

    r2407312 r2481335  
    11*** Changelog ***
     2
     3= 1.1.23 - 2021-02-25 =
     4* Fix - Dev - Fix: Add casts to float before applying the 'abs' function to potentially empty strings for compatibility with PHP8.
     5* Tweak - WC 5.0 compatibility.
    26
    37= 1.1.22 - 2020-10-27 =
  • woocommerce-accommodation-bookings/trunk/includes/admin/class-wc-accommodation-booking-admin-panels.php

    r2390281 r2481335  
    270270        // Rates
    271271        $pricing = array();
    272         $original_base_cost = abs( get_post_meta( $post_id, '_wc_booking_base_cost', true ) );
     272        $original_base_cost = abs( (float) get_post_meta( $post_id, '_wc_booking_base_cost', true ) );
    273273
    274274        $row_size     = isset( $_POST[ 'wc_accommodation_booking_pricing_type' ] ) ? sizeof( $_POST[ 'wc_accommodation_booking_pricing_type' ] ) : 0;
     
    276276            $pricing[ $i ]['base_cost'] = $pricing[ $i ]['cost'] = 0;
    277277            $pricing[ $i ]['type']          = wc_clean( $_POST[ 'wc_accommodation_booking_pricing_type' ][ $i ] );
    278             $new_cost = abs( wc_clean( $_POST[ 'wc_accommodation_booking_pricing_block_cost' ][ $i ] ) );
     278            $new_cost = abs( (float) wc_clean( $_POST[ 'wc_accommodation_booking_pricing_block_cost' ][ $i ] ) );
    279279            $pricing[ $i ]['base_modifier'] = $pricing[$i]['modifier'] = $new_cost > $original_base_cost ? 'plus' : 'minus';
    280280            $pricing[ $i ]['cost'] = abs( $new_cost - $original_base_cost );
  • woocommerce-accommodation-bookings/trunk/languages/woocommerce-accommodation-bookings.pot

    r2407312 r2481335  
    1 # Copyright (C) 2020 WooCommerce
     1# Copyright (C) 2021 WooCommerce
    22# This file is distributed under the GNU General Public License v3.0.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Accommodation Bookings 1.1.22\n"
     5"Project-Id-Version: WooCommerce Accommodation Bookings 1.1.23\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-accommodation-bookings\n"
    8 "POT-Creation-Date: 2020-10-27 07:06:10+00:00\n"
     8"POT-Creation-Date: 2021-02-25 10:25:03+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
     12"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <[email protected]>\n"
  • woocommerce-accommodation-bookings/trunk/readme.txt

    r2407312 r2481335  
    44Requires at least: 4.1
    55Tested up to: 5.5
    6 Stable tag: 1.1.22
     6Stable tag: 1.1.23
    77License: GNU General Public License v3.0
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3737== Changelog ==
    3838
     39= 1.1.23 - 2021-02-25 =
     40* Fix - Dev - Fix: Add casts to float before applying the 'abs' function to potentially empty strings for compatibility with PHP8.
     41* Tweak - WC 5.0 compatibility.
     42
    3943= 1.1.22 - 2020-10-27 =
    4044* Tweak - WC 4.6 compatibility.
  • woocommerce-accommodation-bookings/trunk/woocommerce-accommodation-bookings.php

    r2407312 r2481335  
    44 * Plugin URI: https://woocommerce.com/products/woocommerce-accommodation-bookings/
    55 * Description: An accommodations add-on for the WooCommerce Bookings extension.
    6  * Version: 1.1.22
     6 * Version: 1.1.23
    77 * Author: WooCommerce
    88 * Author URI: https://woocommerce.com
    99 * Text Domain: woocommerce-accommodation-bookings
    1010 * Domain Path: /languages
    11  * WC tested up to: 4.6
     11 * WC tested up to: 5.0
    1212 * WC requires at least: 2.6
    1313 *
    14  * Copyright: © 2020 WooCommerce
     14 * Copyright: © 2021 WooCommerce
    1515 * License: GNU General Public License v3.0
    1616 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2121}
    2222
    23 define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.22' ); // WRCS: DEFINED_VERSION.
     23define( 'WC_ACCOMMODATION_BOOKINGS_VERSION', '1.1.23' ); // WRCS: DEFINED_VERSION.
    2424
    2525require_once( 'includes/class-wc-accommodation-bookings-plugin.php' );
Note: See TracChangeset for help on using the changeset viewer.