Plugin Directory

Changeset 3300732


Ignore:
Timestamp:
05/26/2025 01:10:06 PM (9 months ago)
Author:
soft8soft
Message:

New version 4.9.5

Location:
verge3d/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • verge3d/trunk/readme.txt

    r3291662 r3300732  
    55Tested up to: 6.7.2
    66Requires PHP: 7.0
    7 Stable tag: 4.9.4
     7Stable tag: 4.9.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969== Changelog ==
    7070
     71= 4.9.5 =
     72* Forbid optaining info for private/password-protected WooCommerce products.
     73
    7174= 4.9.3 =
    7275* Fixed possible security issues.
  • verge3d/trunk/verge3d.php

    r3291662 r3300732  
    44Plugin URI: https://www.soft8soft.com/verge3d
    55Description: Verge3D is the most artist-friendly toolkit for creating interactive web-based experiences. It can be used to create product configurators, 3D presentations, online stores, e-learning apps, 3D portfolios, browser games and more.
    6 Version: 4.9.4
     6Version: 4.9.5
    77Author: Soft8Soft LLC
    88Author URI: https://www.soft8soft.com
  • verge3d/trunk/woo_product.php

    r2942948 r3300732  
    219219function v3d_get_product_info() {
    220220
    221     $product = wc_get_product($_REQUEST['product_id']);
     221    $product_id = $_REQUEST['product_id'];
     222    $product = wc_get_product($product_id);
    222223
    223224    $response = array();
    224225
    225     if (!empty($product)) {
     226    // forbid obtainting info for private / password-protected products
     227    if (!empty($product) && $product->is_visible() && !post_password_required($product_id)) {
    226228        $response['status'] = 'ok';
    227229
Note: See TracChangeset for help on using the changeset viewer.