Plugin Directory

Changeset 2379385


Ignore:
Timestamp:
09/11/2020 10:54:22 AM (5 years ago)
Author:
platformlycom
Message:

fixed notice: register_rest_route was called incorrectly.

Location:
platformly-for-woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • platformly-for-woocommerce/trunk/includes/class-platformly-woocommerce-rest-api.php

    r2336028 r2379385  
    3939            'methods' => 'GET',
    4040            'callback' => array($this, 'order_count'),
     41            'permission_callback' => '__return_true'
    4142        ));
    4243    }
     
    4546            'methods' => 'GET',
    4647            'callback' => array($this, 'orders'),
     48            'permission_callback' => '__return_true'
    4749        ));
    4850    }
     
    5052        register_rest_route(static::$namespace, '/abandoned_carts', array(
    5153            'methods' => 'GET',
    52             'callback' => array($this, 'get_abandoned_carts')
     54            'callback' => array($this, 'get_abandoned_carts'),
     55            'permission_callback' => '__return_true'
    5356        ));
    5457    }
     
    5760            'methods' => 'GET',
    5861            'callback' => array($this, 'customers'),
     62            'permission_callback' => '__return_true'
    5963        ));
    6064    }
     
    6367            'methods' => 'GET',
    6468            'callback' => array($this, 'completed_sync'),
     69            'permission_callback' => '__return_true'
    6570        ));
    6671    }
  • platformly-for-woocommerce/trunk/platformly-for-woocommerce.php

    r2336507 r2379385  
    44 * Plugin Name: Platform.ly for WooCommerce
    55 * Description: Easily connect WooCommerce to your Platformly CRM, set up abandoned cart campaigns and access detailed customer reporting: lifetime value and more...
    6  * Version: 1.1.1
     6 * Version: 1.1.2
    77 * Author: Platform.ly
    88 * Author URI: https://www.platform.ly/
    99 *
    1010 * WC requires at least: 3.5.0
    11  * WC tested up to: 4.2.2
     11 * WC tested up to: 4.5.1
    1212 *
    1313 * License: GPL-2.0+
     
    2525     * @var string
    2626     */
    27     public $version = '1.1.1';
     27    public $version = '1.1.2';
    2828
    2929    /**
  • platformly-for-woocommerce/trunk/readme.txt

    r2336507 r2379385  
    44Tags: CRM, ecommerce, event tracking, abandoned cart, cart abandonment, sales reporting, platform.ly, platformly
    55Requires at least: 4.9.13
    6 Tested up to: 5.3.2
     6Tested up to: 5.5.1
    77Stable tag: trunk
    88Requires PHP: 5.6
     
    126126* Minor fix
    127127
     128= 1.1.2 =
     129* Minor fix
     130
    128131== Upgrade Notice ==
    129132
     
    136139= 1.1.1 =
    137140* Minor fix
     141
     142= 1.1.2 =
     143* Minor fix
Note: See TracChangeset for help on using the changeset viewer.