Plugin Directory

Changeset 1466578


Ignore:
Timestamp:
08/03/2016 12:19:22 AM (10 years ago)
Author:
elevio
Message:

correctly get non standard cats with post data

Location:
elevio/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • elevio/trunk/elevio.php

    r1465612 r1466578  
    66Author: Elevio
    77Author URI: https://elev.io
    8 Version: 3.5.3
     8Version: 3.5.4
    99*/
    1010
  • elevio/trunk/plugin_files/models/post.php

    r1465612 r1466578  
    6666    global $json_api;
    6767      $this->categories = array();
    68       if ($wp_categories = get_the_category($this->id)) {
     68      if ($wp_categories = get_the_terms($this->id, $args['taxonomy'])) {
    6969        foreach ($wp_categories as $wp_category) {
    7070          $category = new Elevio_Sync_Category($wp_category);
  • elevio/trunk/readme.txt

    r1465612 r1466578  
    22Contributors: Elevio
    33Tags: zendesk, desk.com, uservoice, zopim, olark, snapengage, livechat, knowledge base, live chat, support, intercom, statuspage, freshdesk, intercom
    4 Stable tag: 3.5.3
     4Stable tag: 3.5.4
    55Requires at least: 2.8
    66Tested up to: 4.4.2
Note: See TracChangeset for help on using the changeset viewer.