Plugin Directory

Changeset 1667580


Ignore:
Timestamp:
05/31/2017 10:05:52 AM (9 years ago)
Author:
judgej
Message:

Fix for issue #22 (WC 3.0)

Location:
wc-api-custom-meta/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wc-api-custom-meta/trunk/readme.txt

    r1358630 r1667580  
    44Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B4STZL8F5WHK6
    55Requires at least: 4.0.0
    6 Tested up to: 4.4.2
    7 Stable tag: 0.7.0
     6Tested up to: 4.7.5
     7Stable tag: 0.7.1
    88License: GPL2
    99License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
     
    2525from mid-2015, until the V2 API is eventually removed. It may work with the V3
    2626API, but that has not been tested.
     27
     28== Changelog ==
     29
     30= 0.7.1 =
     31* Fix for issue https://github.com/judgej/wc-api-custom-meta/issues/22
  • wc-api-custom-meta/trunk/wc-api-custom-meta.php

    r1358630 r1667580  
    44Plugin URI:  hhttps://github.com/judgej/wc-api-custom-meta
    55Description: Allows access to custom meta fields on products through the API.
    6 Version:     0.7.0
     6Version:     0.7.1
    77Author:      Jason Judge
    88Author URI:  http://academe.co.uk https://github.com/buxit
     
    107107
    108108        if (current_user_can('manage_woocommerce')) {
    109             $product_id = $product->id;
     109            $product_id = $product->get_id();
    110110
    111111            $all_meta = get_post_meta($product_id);
Note: See TracChangeset for help on using the changeset viewer.