Changeset 2403754
- Timestamp:
- 10/21/2020 06:12:32 AM (5 years ago)
- Location:
- robera/trunk
- Files:
-
- 4 edited
-
core/recommender-admin.php (modified) (2 diffs)
-
core/recommender-plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
recommender.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
robera/trunk/core/recommender-admin.php
r2402000 r2403754 48 48 return current_user_can('edit_others_posts'); 49 49 }; 50 $allowAll = function () { return true; }; 51 50 52 register_rest_route(RECOMMENDER_PLUGIN_PREFIX . '/v1', '/settings', array( 51 53 'methods' => 'POST', … … 56 58 register_rest_route(RECOMMENDER_PLUGIN_PREFIX . '/v1', '/progress', array( 57 59 'methods' => 'GET', 58 'callback' => array($this, 'progressPercent') 60 'callback' => array($this, 'progressPercent'), 61 'permission_callback' => $allowAll 59 62 )); 60 63 } -
robera/trunk/core/recommender-plugin.php
r2402000 r2403754 84 84 public function restApis() 85 85 { 86 $allowAll = function () { return true; }; 87 86 88 register_rest_route(RECOMMENDER_PLUGIN_PREFIX . '/v1', '/sync', array( 87 89 'methods' => 'GET', 88 'callback' => array($this, 'syncData') 90 'callback' => array($this, 'syncData'), 91 'permission_callback' => $allowAll 89 92 )); 90 93 } -
robera/trunk/readme.txt
r2402000 r2403754 4 4 License: GPLv2 or later 5 5 License URI: https://www.gnu.org/licenses/gpl-2.0.html 6 Stable tag: 1.0.1 66 Stable tag: 1.0.17 7 7 Tested up to: 5.4.2 8 8 -
robera/trunk/recommender.php
r2402000 r2403754 12 12 * Description: This Plugins help you interact with your WooCommerce users smarter by recommend products and related-products to them according to their preferences. 13 13 * Text Domain: robera-recommender 14 * Version: 1.0.1 614 * Version: 1.0.17 15 15 */ 16 16
Note: See TracChangeset
for help on using the changeset viewer.