Plugin Directory

Changeset 3004985


Ignore:
Timestamp:
12/04/2023 08:41:13 AM (2 years ago)
Author:
soft8soft
Message:

New version 4.5.1

Location:
verge3d/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • verge3d/trunk/app.php

    r2883285 r3004985  
    616616    $upload_app_dir = $upload_dir.$app_id;
    617617
    618     //if (is_dir($upload_app_dir))
    619     //    v3d_rmdir($upload_app_dir);
    620 
    621618    if (!is_dir($upload_app_dir))
    622619        mkdir($upload_app_dir, 0777, true);
     
    631628            $fullpath = implode("/", $fullpath);
    632629
     630            // prevent harmful file types to be uploaded to the server
     631            $ext = strtolower(pathinfo($fullpath, PATHINFO_EXTENSION));
     632            $denied = ['php', 'phps', 'phar', 'exe', 'js'];
     633            if (in_array($ext, $denied)) {
     634                wp_die('error');
     635            }
     636
    633637            $path = dirname($fullpath);
    634638
  • verge3d/trunk/order.php

    r2883285 r3004985  
    356356    $output = '';
    357357
     358    $command = escapeshellcmd($command);
     359
    358360    if (function_exists('system')) {
    359361        ob_start();
     
    450452
    451453            $success = file_put_contents($pdf_html, $pdf_html_text);
    452             //copy($pdf_html, '/var/www/wordpress/pdf.html');
    453454
    454455            if ($success) {
  • verge3d/trunk/readme.txt

    r2995028 r3004985  
    33Tags: verge3d,3d,webgl,3dweb,ecommerce
    44Requires at least: 5.0
    5 Tested up to: 6.0.1
     5Tested up to: 6.4.1
    66Requires PHP: 7.0
    7 Stable tag: 4.5.0
     7Stable tag: 4.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6868
    6969== Changelog ==
     70
     71= 4.5.1 =
     72* Fix order page layout in latest WordPress versions.
     73* Security fixes.
    7074
    7175= 4.4 =
  • verge3d/trunk/verge3d.php

    r2995028 r3004985  
    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.5.0
     6Version: 4.5.1
    77Author: Soft8Soft LLC
    88Author URI: https://www.soft8soft.com
     
    13291329
    13301330function v3d_init_custom_styles() {
    1331     wp_enqueue_style('v3d_main', plugin_dir_url( __FILE__ ) . 'css/main.css');
     1331    wp_enqueue_style('v3d_main_style', plugin_dir_url( __FILE__ ) . 'css/main.css');
    13321332}
    13331333add_action('wp_enqueue_scripts', 'v3d_init_custom_styles');
    13341334
    13351335function v3d_init_custom_styles_admin() {
    1336     wp_enqueue_style('v3d_admin', plugin_dir_url( __FILE__ ) . 'css/admin.css');
     1336    wp_enqueue_style('v3d_admin_style', plugin_dir_url( __FILE__ ) . 'css/admin.css');
    13371337}
    13381338add_action('admin_enqueue_scripts', 'v3d_init_custom_styles_admin');
    13391339
    13401340function v3d_init_custom_scripts_admin($page) {
    1341     wp_enqueue_script('v3d_admin', plugin_dir_url( __FILE__ ) . 'js/admin.js');
     1341    wp_enqueue_script('v3d_admin_script', plugin_dir_url( __FILE__ ) . 'js/admin.js');
    13421342}
    13431343add_action('admin_enqueue_scripts', 'v3d_init_custom_scripts_admin');
Note: See TracChangeset for help on using the changeset viewer.