Changeset 1952575
- Timestamp:
- 10/06/2018 12:38:00 PM (7 years ago)
- Location:
- custom-design-product/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
custom-print.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-design-product/trunk/README.txt
r1582763 r1952575 7 7 Author URI: https://profiles.wordpress.org/ahmadasjad 8 8 Requires at least: 4.6 9 Tested up to: 4. 710 Stable tag: 1. 39 Tested up to: 4.8.9 10 Stable tag: 1.4 11 11 License: GPLv2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
custom-design-product/trunk/custom-print.php
r1582932 r1952575 14 14 15 15 function wcdp_register_session() { 16 if (!session_id()) { 16 if(version_compare(PHP_VERSION, '5.4.0', '>=') && session_status() === PHP_SESSION_NONE){ 17 session_start(); 18 }elseif (version_compare(PHP_VERSION, '5.4.0', '<') && !session_id()) { 17 19 session_start(); 18 20 } 19 21 } 20 22 21 //add_action('init', 'wcdp_register_session');23 add_action('init', 'wcdp_register_session'); 22 24 23 25 require_once dirname(__FILE__) . '/meta_box.php';
Note: See TracChangeset
for help on using the changeset viewer.