Changeset 2109313
- Timestamp:
- 06/20/2019 08:30:28 AM (7 years ago)
- Location:
- storespot
- Files:
-
- 6 edited
- 1 copied
-
tags/1.1.3 (copied) (copied from storespot/trunk)
-
tags/1.1.3/includes/class-storespot.php (modified) (3 diffs)
-
tags/1.1.3/readme.txt (modified) (2 diffs)
-
tags/1.1.3/storespot.php (modified) (2 diffs)
-
trunk/includes/class-storespot.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/storespot.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
storespot/tags/1.1.3/includes/class-storespot.php
r2067784 r2109313 44 44 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-storespot-loader.php'; 45 45 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-messages.php'; 46 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-api.php';47 46 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-storespot-events.php'; 48 47 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-storespot-facebook-pixel.php'; … … 51 50 ! class_exists( 'StoreSpot_Loader' ) || 52 51 ! class_exists( 'StoreSpot_Messages' ) || 53 ! class_exists( 'StoreSpot_API' ) ||54 52 ! class_exists( 'StoreSpot_Events' ) || 55 53 ! class_exists( 'StoreSpot_Facebook_Pixel' ) … … 86 84 87 85 private function define_api_hooks() { 88 $api = new StoreSpot_API(); 89 $this->loader->add_action( 'rest_api_init', $api, 'storespot_api_route'); 86 add_action( 'rest_api_init', function() { 87 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-api.php'; 88 if ( class_exists( 'StoreSpot_API' ) ) { 89 $api = new StoreSpot_API(); 90 $api->storespot_api_route(); 91 } 92 }); 90 93 } 91 94 -
storespot/tags/1.1.3/readme.txt
r2067784 r2109313 5 5 Tested up to: 5.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 49 49 50 50 == Changelog == 51 = 1.1.3 = 52 * Update: rest api controller 53 51 54 = 1.1.2 = 52 55 * Update: cart event values per product -
storespot/tags/1.1.3/storespot.php
r2067784 r2109313 4 4 * Plugin URI: https://storespot.io/ 5 5 * Description: Stop leaving money on the table. Automate your retargeting ads with StoreSpot. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: StoreSpot 8 8 **/ … … 11 11 if ( ! defined( 'WPINC' ) ) { die; } 12 12 13 define( 'STORESPOT_VERSION', '1.1. 2' );13 define( 'STORESPOT_VERSION', '1.1.3' ); 14 14 15 15 function activate_storespot() { -
storespot/trunk/includes/class-storespot.php
r2067784 r2109313 44 44 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-storespot-loader.php'; 45 45 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-messages.php'; 46 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-api.php';47 46 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-storespot-events.php'; 48 47 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-storespot-facebook-pixel.php'; … … 51 50 ! class_exists( 'StoreSpot_Loader' ) || 52 51 ! class_exists( 'StoreSpot_Messages' ) || 53 ! class_exists( 'StoreSpot_API' ) ||54 52 ! class_exists( 'StoreSpot_Events' ) || 55 53 ! class_exists( 'StoreSpot_Facebook_Pixel' ) … … 86 84 87 85 private function define_api_hooks() { 88 $api = new StoreSpot_API(); 89 $this->loader->add_action( 'rest_api_init', $api, 'storespot_api_route'); 86 add_action( 'rest_api_init', function() { 87 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-storespot-api.php'; 88 if ( class_exists( 'StoreSpot_API' ) ) { 89 $api = new StoreSpot_API(); 90 $api->storespot_api_route(); 91 } 92 }); 90 93 } 91 94 -
storespot/trunk/readme.txt
r2067784 r2109313 5 5 Tested up to: 5.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 49 49 50 50 == Changelog == 51 = 1.1.3 = 52 * Update: rest api controller 53 51 54 = 1.1.2 = 52 55 * Update: cart event values per product -
storespot/trunk/storespot.php
r2067784 r2109313 4 4 * Plugin URI: https://storespot.io/ 5 5 * Description: Stop leaving money on the table. Automate your retargeting ads with StoreSpot. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: StoreSpot 8 8 **/ … … 11 11 if ( ! defined( 'WPINC' ) ) { die; } 12 12 13 define( 'STORESPOT_VERSION', '1.1. 2' );13 define( 'STORESPOT_VERSION', '1.1.3' ); 14 14 15 15 function activate_storespot() {
Note: See TracChangeset
for help on using the changeset viewer.