Plugin Directory

Changeset 3006840


Ignore:
Timestamp:
12/07/2023 02:18:52 PM (2 years ago)
Author:
printapp
Message:

version 1.3.0

Location:
printapp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • printapp/trunk/printapp.php

    r2957798 r3006840  
    44 * Plugin URI:          https://print.app
    55 * Description:         Empower your customers to personalize products like Business Cards, Photo Prints, T-Shirts, Mugs, Banners, Canvases, etc. on your store before purchase
    6  * Version:             1.2.2
     6 * Version:             1.3.0
    77 * Requires at least:   3.8
    88 * Requires PHP:        5.2.4
     
    247247       
    248248        $results = $wpdb->get_results($sql);
    249         if(count($results))
     249        if (count($results))
    250250            $_projects[$product_id] = $results[0]->value;
    251251       
     
    259259
    260260        // LOAD SCRIPTS
    261         $run_url = print_app_RUN_BASE_URL . '/' . $pda_domain_key . '/' . $post->ID . '/wp';
    262         wp_enqueue_script('print_app_class', $run_url);
     261        $lang_code = substr(get_bloginfo('language'), 0, 2);
     262        if (!$lang_code) $lang_code = 'en';
     263        $run_url = print_app_RUN_BASE_URL . '/' . $pda_domain_key . '/' . $post->ID . '/wp?lang=' . $lang_code;
     264        wp_enqueue_script('print_app_class', $run_url, '', '', true);
    263265       
    264266        $userData = "";     
  • printapp/trunk/readme.txt

    r2957798 r3006840  
    44Requires at least: 3.8
    55Tested up to: 6.3
    6 Stable tag: 1.2.2
     6Stable tag: 1.3.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    102102== Changelog ==
    103103
     104= 1.3.0 =
     105Updated plugin to automatically load the language file with design info
    104106= 1.2.1 =
    105107Minor tag update
Note: See TracChangeset for help on using the changeset viewer.