Changeset 3006840
- Timestamp:
- 12/07/2023 02:18:52 PM (2 years ago)
- Location:
- printapp/trunk
- Files:
-
- 2 edited
-
printapp.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
printapp/trunk/printapp.php
r2957798 r3006840 4 4 * Plugin URI: https://print.app 5 5 * 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.26 * Version: 1.3.0 7 7 * Requires at least: 3.8 8 8 * Requires PHP: 5.2.4 … … 247 247 248 248 $results = $wpdb->get_results($sql); 249 if (count($results))249 if (count($results)) 250 250 $_projects[$product_id] = $results[0]->value; 251 251 … … 259 259 260 260 // 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); 263 265 264 266 $userData = ""; -
printapp/trunk/readme.txt
r2957798 r3006840 4 4 Requires at least: 3.8 5 5 Tested up to: 6.3 6 Stable tag: 1. 2.26 Stable tag: 1.3.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 102 102 == Changelog == 103 103 104 = 1.3.0 = 105 Updated plugin to automatically load the language file with design info 104 106 = 1.2.1 = 105 107 Minor tag update
Note: See TracChangeset
for help on using the changeset viewer.