Changeset 3208714
- Timestamp:
- 12/16/2024 05:03:42 PM (16 months ago)
- Location:
- printapp
- Files:
-
- 10 edited
- 1 copied
-
tags/2.1.1 (copied) (copied from printapp/trunk)
-
tags/2.1.1/README.md (modified) (1 diff)
-
tags/2.1.1/functions/general/customization.php (modified) (1 diff)
-
tags/2.1.1/functions/general/init_hooks.php (modified) (1 diff)
-
tags/2.1.1/printapp.php (modified) (2 diffs)
-
tags/2.1.1/readme.txt (modified) (2 diffs)
-
trunk/README.md (modified) (1 diff)
-
trunk/functions/general/customization.php (modified) (1 diff)
-
trunk/functions/general/init_hooks.php (modified) (1 diff)
-
trunk/printapp.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
printapp/tags/2.1.1/README.md
r3205331 r3208714 1 1 # Print.App 2 2 3 ## Version 2.1. 0plugin3 ## Version 2.1.1 plugin 4 4 PrintApp is a platform that allows your customers to personalize their Print orders on any web store. 5 5 It provides customers, an easy to use WYSIWYG (What you see is what you get) "Do It Yourself" interface for creating artworks for Print. -
printapp/tags/2.1.1/functions/general/customization.php
r3205331 r3208714 2 2 3 3 namespace printapp\functions\general; 4 5 function set_cookie() { 6 if (!isset($_COOKIE[PRINT_APP_CUSTOMIZATION_KEY])) { 7 $token = bin2hex(random_bytes(16)); 8 setcookie(PRINT_APP_CUSTOMIZATION_KEY, $token, time() + PRINT_APP_CUSTOMIZATION_DURATION, '/'); 9 } 10 } 4 11 5 12 function get_user_token() { -
printapp/tags/2.1.1/functions/general/init_hooks.php
r3195438 r3208714 45 45 46 46 } 47 48 add_action('init', 'printapp\\functions\\general\\set_cookie'); 47 49 48 50 // save project for both authenticated and guest users -
printapp/tags/2.1.1/printapp.php
r3205331 r3208714 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: 2.1. 06 * Version: 2.1.1 7 7 * Requires at least: 3.8 8 8 * Requires PHP: 5.2.4 … … 46 46 * @var string 47 47 */ 48 public $version = '2.1. 0';48 public $version = '2.1.1'; 49 49 50 50 /** -
printapp/tags/2.1.1/readme.txt
r3205331 r3208714 4 4 Requires at least: 3.8 5 5 Tested up to: 6.6 6 Stable tag: 2.1. 06 Stable tag: 2.1.1 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 = 2.1.1 = 105 Initialized the cookie before any header is set on the app 106 104 107 = 2.1.0 = 105 108 Switched from using Sessions to using Wordpress Transients for saving customization details. -
printapp/trunk/README.md
r3205331 r3208714 1 1 # Print.App 2 2 3 ## Version 2.1. 0plugin3 ## Version 2.1.1 plugin 4 4 PrintApp is a platform that allows your customers to personalize their Print orders on any web store. 5 5 It provides customers, an easy to use WYSIWYG (What you see is what you get) "Do It Yourself" interface for creating artworks for Print. -
printapp/trunk/functions/general/customization.php
r3205331 r3208714 2 2 3 3 namespace printapp\functions\general; 4 5 function set_cookie() { 6 if (!isset($_COOKIE[PRINT_APP_CUSTOMIZATION_KEY])) { 7 $token = bin2hex(random_bytes(16)); 8 setcookie(PRINT_APP_CUSTOMIZATION_KEY, $token, time() + PRINT_APP_CUSTOMIZATION_DURATION, '/'); 9 } 10 } 4 11 5 12 function get_user_token() { -
printapp/trunk/functions/general/init_hooks.php
r3195438 r3208714 45 45 46 46 } 47 48 add_action('init', 'printapp\\functions\\general\\set_cookie'); 47 49 48 50 // save project for both authenticated and guest users -
printapp/trunk/printapp.php
r3205331 r3208714 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: 2.1. 06 * Version: 2.1.1 7 7 * Requires at least: 3.8 8 8 * Requires PHP: 5.2.4 … … 46 46 * @var string 47 47 */ 48 public $version = '2.1. 0';48 public $version = '2.1.1'; 49 49 50 50 /** -
printapp/trunk/readme.txt
r3205331 r3208714 4 4 Requires at least: 3.8 5 5 Tested up to: 6.6 6 Stable tag: 2.1. 06 Stable tag: 2.1.1 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 = 2.1.1 = 105 Initialized the cookie before any header is set on the app 106 104 107 = 2.1.0 = 105 108 Switched from using Sessions to using Wordpress Transients for saving customization details.
Note: See TracChangeset
for help on using the changeset viewer.