Plugin Directory

Changeset 3474515


Ignore:
Timestamp:
03/04/2026 12:15:06 PM (6 days ago)
Author:
fuzzoid
Message:

array_multisort bugfix
Price debug mode bugfix
WordPress 6.9

Location:
3dprint-lite/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 3dprint-lite/trunk/3dprint-lite.php

    r3366322 r3474515  
    66Text Domain: 3dprint-lite
    77Plugin URI: http://www.wp3dprinting.com
    8 Version: 2.1.3.8
     8Version: 2.1.3.9
    99*/
    1010
     
    1313}
    1414
    15 define('P3DLITE_VERSION', '2.1.3.8');
     15define('P3DLITE_VERSION', '2.1.3.9');
    1616
    1717if ( !function_exists( 'get_home_path' ) ) {
  • 3dprint-lite/trunk/includes/3dprint-lite-functions.php

    r3366322 r3474515  
    12351235        $sort['sort_order'][$key] = $value['sort_order'];
    12361236    }
    1237     array_multisort($sort['sort_order'], SORT_ASC, $array);
     1237    if (isset($sort['sort_order'])) {
     1238        array_multisort($sort['sort_order'], SORT_ASC, $array);
     1239    }
    12381240    return $array;
    12391241}
  • 3dprint-lite/trunk/includes/js/3dprint-lite-frontend.js

    r3204051 r3474515  
    16301630
    16311631function p3dlitePriceDebug(msg, value) {
    1632     if (p3dlite.price_debug_mode=='on' && value.toFixed(p3dlite.price_num_decimals) > 0) {
     1632    if (p3dlite.price_debug_mode=='on' && value.toFixed(p3dlite.price_num_decimals) != 0) {
    16331633        console.log('PRICE DEBUG '+msg+' '+value.toFixed(p3dlite.price_num_decimals));
    16341634    }
     
    18801880    infill_pct = infill_pct || 0;
    18811881
    1882     //p3dlitePriceDebug(printing_cost,material_cost,coating_cost,infill_cost);
    18831882    var total=printing_cost+material_cost+coating_cost+infill_cost;
    18841883    p3dlitePriceDebug("printing_cost+material_cost+coating_cost+infill_cost = ", total);
  • 3dprint-lite/trunk/readme.txt

    r3366322 r3474515  
    33Tags: 3D, printing, 3dprinting, 3D printing, 3dprint
    44Requires at least: 3.5
    5 Tested up to: 6.8
    6 Stable tag: 2.1.3.8
     5Tested up to: 6.9
     6Stable tag: 2.1.3.9
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    110110== Changelog ==
    111111
     112= 2.1.3.9 =
     113array_multisort bugfix
     114Price debug mode bugfix
     115WordPress 6.9
     116
    112117= 2.1.3.8 =
    113118Locale fix
Note: See TracChangeset for help on using the changeset viewer.