| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: Advanced Custom Fields |
| 4 | 4 | Plugin URI: http://plugins.elliotcondon.com/advanced-custom-fields/ |
| 5 | 5 | Description: Customise your edit pages with an assortment of field types: Wysiwyg, Repeater, text, textarea, image, file, select, checkbox post type, page link and more! Hide unwanted metaboxes and assign to any edit page! |
| 6 | -Version: 3.0.3 | |
| 6 | +Version: 3.0.4 | |
| 7 | 7 | Author: Elliot Condon |
| 8 | 8 | Author URI: http://www.elliotcondon.com/ |
| 9 | 9 | License: GPL |
| 10 | 10 | Copyright: Elliot Condon |
| @@ -44,9 +44,9 @@ | ||
| 44 | 44 | $this->path = dirname(__FILE__).''; |
| 45 | 45 | $this->dir = plugins_url('',__FILE__); |
| 46 | 46 | $this->siteurl = get_bloginfo('url'); |
| 47 | 47 | $this->wpadminurl = admin_url(); |
| 48 | - $this->version = '3.0.3'; | |
| 48 | + $this->version = '3.0.4'; | |
| 49 | 49 | $this->upgrade_version = '3.0.0'; // this is the latest version which requires an upgrade |
| 50 | 50 | |
| 51 | 51 | |
| 52 | 52 | // set text domain |
| @@ -1519,8 +1519,9 @@ | ||
| 1519 | 1519 | if($taxonomies) |
| 1520 | 1520 | { |
| 1521 | 1521 | foreach($taxonomies as $taxonomy) |
| 1522 | 1522 | { |
| 1523 | + if(!is_taxonomy_hierarchical($taxonomy)) continue; | |
| 1523 | 1524 | $terms = get_terms($taxonomy, array('hide_empty' => false)); |
| 1524 | 1525 | if($terms) |
| 1525 | 1526 | { |
| 1526 | 1527 | foreach($terms as $term) |