Changeset 2653781
- Timestamp:
- 01/06/2022 09:23:25 PM (4 years ago)
- Location:
- transact
- Files:
-
- 3 edited
- 12 copied
-
tags/5.6.1 (copied) (copied from transact/trunk)
-
tags/5.6.1/admin/controllers/transact-admin-settings-menu.php (copied) (copied from transact/trunk/admin/controllers/transact-admin-settings-menu.php)
-
tags/5.6.1/admin/controllers/transact-shortcode.php (copied) (copied from transact/trunk/admin/controllers/transact-shortcode.php)
-
tags/5.6.1/frontend/assets/style.css (copied) (copied from transact/trunk/frontend/assets/style.css)
-
tags/5.6.1/frontend/assets/transact_post.js (copied) (copied from transact/trunk/frontend/assets/transact_post.js)
-
tags/5.6.1/frontend/controllers/account_meta.php (copied) (copied from transact/trunk/frontend/controllers/account_meta.php)
-
tags/5.6.1/frontend/controllers/transact-api.php (copied) (copied from transact/trunk/frontend/controllers/transact-api.php)
-
tags/5.6.1/frontend/controllers/transact-handle-buttons-shortcode.php (copied) (copied from transact/trunk/frontend/controllers/transact-handle-buttons-shortcode.php)
-
tags/5.6.1/frontend/controllers/transact-handle-buttons.php (copied) (copied from transact/trunk/frontend/controllers/transact-handle-buttons.php)
-
tags/5.6.1/frontend/controllers/transact-single-post.php (copied) (copied from transact/trunk/frontend/controllers/transact-single-post.php) (3 diffs)
-
tags/5.6.1/readme.txt (copied) (copied from transact/trunk/readme.txt) (1 diff)
-
tags/5.6.1/transact-plugin.php (copied) (copied from transact/trunk/transact-plugin.php) (1 diff)
-
trunk/frontend/controllers/transact-single-post.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/transact-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
transact/tags/5.6.1/frontend/controllers/transact-single-post.php
r2592925 r2653781 373 373 } else { 374 374 if($cur_user->ID !== $wp_userid) { 375 add_filter ( 'auth_cookie_expiration', function (int $length): int { 376 return 60 * 60 * 24 * 15; 377 }); 375 add_filter ( 'auth_cookie_expiration', array( $this, 'get_cookie_expire_callback' )); 378 376 379 377 wp_clear_auth_cookie(); … … 684 682 } 685 683 684 public function get_cookie_expire_callback($length) { 685 // 15 days 686 return 60 * 60 * 24 * 15; 687 } 688 686 689 public function init_search_crawler() { 687 690 … … 691 694 692 695 $wp_userid = $accountMeta->get_or_create_auto_user($username, '', 'Crawler Bot'); 693 add_filter ( 'auth_cookie_expiration', function (int $length): int { 694 return 60 * 60 * 24 * 15; 695 }); 696 add_filter ( 'auth_cookie_expiration', array( $this, 'get_cookie_expire_callback' )); 696 697 697 698 wp_clear_auth_cookie(); -
transact/tags/5.6.1/readme.txt
r2592925 r2653781 6 6 Requires PHP: 5.6 7 7 Tested up to: 5.8 8 Stable tag: 5.6. 08 Stable tag: 5.6.1 9 9 License: APACHE-2.0 10 10 License URI: https://www.apache.org/licenses/LICENSE-2.0 -
transact/tags/5.6.1/transact-plugin.php
r2592925 r2653781 3 3 * Plugin Name: transact.io 4 4 * Description: Integrates transact.io services into WP 5 * Version: 5.6. 05 * Version: 5.6.1 6 6 * Author: transact.io 7 7 * Author URI: https://transact.io 8 8 * Plugin URI: https://wordpress.org/plugins/transact/ 9 9 */ 10 define('TRANSACT_VERSION', '5.6. 0'); // Cache busting10 define('TRANSACT_VERSION', '5.6.1'); // Cache busting 11 11 12 12 /** -
transact/trunk/frontend/controllers/transact-single-post.php
r2592925 r2653781 373 373 } else { 374 374 if($cur_user->ID !== $wp_userid) { 375 add_filter ( 'auth_cookie_expiration', function (int $length): int { 376 return 60 * 60 * 24 * 15; 377 }); 375 add_filter ( 'auth_cookie_expiration', array( $this, 'get_cookie_expire_callback' )); 378 376 379 377 wp_clear_auth_cookie(); … … 684 682 } 685 683 684 public function get_cookie_expire_callback($length) { 685 // 15 days 686 return 60 * 60 * 24 * 15; 687 } 688 686 689 public function init_search_crawler() { 687 690 … … 691 694 692 695 $wp_userid = $accountMeta->get_or_create_auto_user($username, '', 'Crawler Bot'); 693 add_filter ( 'auth_cookie_expiration', function (int $length): int { 694 return 60 * 60 * 24 * 15; 695 }); 696 add_filter ( 'auth_cookie_expiration', array( $this, 'get_cookie_expire_callback' )); 696 697 697 698 wp_clear_auth_cookie(); -
transact/trunk/readme.txt
r2592925 r2653781 6 6 Requires PHP: 5.6 7 7 Tested up to: 5.8 8 Stable tag: 5.6. 08 Stable tag: 5.6.1 9 9 License: APACHE-2.0 10 10 License URI: https://www.apache.org/licenses/LICENSE-2.0 -
transact/trunk/transact-plugin.php
r2592925 r2653781 3 3 * Plugin Name: transact.io 4 4 * Description: Integrates transact.io services into WP 5 * Version: 5.6. 05 * Version: 5.6.1 6 6 * Author: transact.io 7 7 * Author URI: https://transact.io 8 8 * Plugin URI: https://wordpress.org/plugins/transact/ 9 9 */ 10 define('TRANSACT_VERSION', '5.6. 0'); // Cache busting10 define('TRANSACT_VERSION', '5.6.1'); // Cache busting 11 11 12 12 /**
Note: See TracChangeset
for help on using the changeset viewer.