Merge tag 'v2.6.2' into develop
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 3 Oct 2016 19:37:12 +0000 (15:37 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 3 Oct 2016 19:37:12 +0000 (15:37 -0400)
Version 2.6.2

1  2 
models/admin/pages/shortcode.php

@@@ -144,9 -144,8 +144,9 @@@ class GlmMembersAdmin_pages_shortcod
  
          $listAttr   = $this->config['addOns']['glm-member-db']['shortcodes']['glm-members-list']['attributes'];
          $detailAttr = $this->config['addOns']['glm-member-db']['shortcodes']['glm-member-detail']['attributes'];
 +        $featuredAttr = $this->config['addOns']['glm-member-db']['shortcodes']['glm-member-featured']['attributes'];
          $glmcat     = new GlmDataCategories( $this->wpdb, $this->config );
-         $categories = $glmcat->getListSortedParentChild();
+         $categories = $glmcat->getList('', 'T.name');
  
          // get the each addOn slugs to pass to the config array later
          $addOns = $this->config['addOns'];