Changeset 1632011
- Timestamp:
- 04/07/2017 12:42:25 PM (9 years ago)
- Location:
- feedcomet-woo-integration
- Files:
-
- 5 edited
- 2 copied
-
tags/1.0.2 (copied) (copied from feedcomet-woo-integration/trunk)
-
tags/1.0.2/feedcomet-api-client.php (modified) (5 diffs)
-
tags/1.0.2/feedcomet-woocommerce-plugin.php (modified) (1 diff)
-
tags/1.0.2/readme.txt (copied) (copied from feedcomet-woo-integration/trunk/readme.txt) (1 diff)
-
trunk/feedcomet-api-client.php (modified) (5 diffs)
-
trunk/feedcomet-woocommerce-plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
feedcomet-woo-integration/tags/1.0.2/feedcomet-api-client.php
r1627460 r1632011 10 10 { 11 11 const BASE_DOMAIN = 'https://feedcomet.com/'; 12 const API_SOURCE_URL = self::BASE_DOMAIN .'api/products/v1/sources/register';13 const API_PRODUCT_URL = self::BASE_DOMAIN .'api/products/v1/products/';14 const API_TOKEN_VALID = self::BASE_DOMAIN .'api/users/v1/users/token/valid';12 const API_SOURCE_URL = 'api/products/v1/sources/register'; 13 const API_PRODUCT_URL = 'api/products/v1/products/'; 14 const API_TOKEN_VALID = 'api/users/v1/users/token/valid'; 15 15 const OPTION_SOURCE = 'feedcomet_source'; 16 16 const OPTION_TOKEN = 'feedcomet_token'; … … 47 47 if (!$source_id) { 48 48 $response = wp_remote_get( 49 self::BASE_DOMAIN . 49 50 self::API_SOURCE_URL 50 51 . '?eic=' . $this->get_plugin_id() … … 80 81 81 82 $response = wp_remote_get( 83 self::BASE_DOMAIN . 82 84 self::API_TOKEN_VALID, 83 85 array( … … 120 122 { 121 123 wp_remote_request( 124 self::BASE_DOMAIN . 122 125 self::API_PRODUCT_URL . $this->source_id . '/' . $id, 123 126 array( … … 184 187 185 188 $response = wp_remote_post( 189 self::BASE_DOMAIN . 186 190 self::API_PRODUCT_URL . $this->source_id . '/', 187 191 array( -
feedcomet-woo-integration/tags/1.0.2/feedcomet-woocommerce-plugin.php
r1627460 r1632011 4 4 Plugin URI: http://feedcomet.com/ 5 5 Description: feedcomet integration plugin for WooCommerce 6 Version: 1.0. 06 Version: 1.0.2 7 7 Author: feedcomet 8 8 Author URI: http://feedcomet.com/ -
feedcomet-woo-integration/tags/1.0.2/readme.txt
r1631951 r1632011 4 4 Requires at least: 4.7 5 5 Tested up to: 4.7.3 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
feedcomet-woo-integration/trunk/feedcomet-api-client.php
r1627460 r1632011 10 10 { 11 11 const BASE_DOMAIN = 'https://feedcomet.com/'; 12 const API_SOURCE_URL = self::BASE_DOMAIN .'api/products/v1/sources/register';13 const API_PRODUCT_URL = self::BASE_DOMAIN .'api/products/v1/products/';14 const API_TOKEN_VALID = self::BASE_DOMAIN .'api/users/v1/users/token/valid';12 const API_SOURCE_URL = 'api/products/v1/sources/register'; 13 const API_PRODUCT_URL = 'api/products/v1/products/'; 14 const API_TOKEN_VALID = 'api/users/v1/users/token/valid'; 15 15 const OPTION_SOURCE = 'feedcomet_source'; 16 16 const OPTION_TOKEN = 'feedcomet_token'; … … 47 47 if (!$source_id) { 48 48 $response = wp_remote_get( 49 self::BASE_DOMAIN . 49 50 self::API_SOURCE_URL 50 51 . '?eic=' . $this->get_plugin_id() … … 80 81 81 82 $response = wp_remote_get( 83 self::BASE_DOMAIN . 82 84 self::API_TOKEN_VALID, 83 85 array( … … 120 122 { 121 123 wp_remote_request( 124 self::BASE_DOMAIN . 122 125 self::API_PRODUCT_URL . $this->source_id . '/' . $id, 123 126 array( … … 184 187 185 188 $response = wp_remote_post( 189 self::BASE_DOMAIN . 186 190 self::API_PRODUCT_URL . $this->source_id . '/', 187 191 array( -
feedcomet-woo-integration/trunk/feedcomet-woocommerce-plugin.php
r1627460 r1632011 4 4 Plugin URI: http://feedcomet.com/ 5 5 Description: feedcomet integration plugin for WooCommerce 6 Version: 1.0. 06 Version: 1.0.2 7 7 Author: feedcomet 8 8 Author URI: http://feedcomet.com/ -
feedcomet-woo-integration/trunk/readme.txt
r1631951 r1632011 4 4 Requires at least: 4.7 5 5 Tested up to: 4.7.3 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.