WordPress.org

Plugin Directory

Changeset 578107


Ignore:
Timestamp:
07/27/12 14:22:12 (21 months ago)
Author:
Omicron7
Message:

ACF Taxonomy Field 1.3.1 Release

Location:
advanced-custom-fields-taxonomy-field-add-on/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • advanced-custom-fields-taxonomy-field-add-on/trunk/readme.txt

    r577744 r578107  
    22Contributors: Omicron7 
    33Tags: acf, acf add-on, taxonomy, custom field, taxonomy field 
    4 Requires at least: 3.0 
     4Requires at least: 3.2 
    55Tested up to: 3.4.1 
    6 Stable tag: 1.3 
     6Stable tag: 1.3.1 
    77 
    88Adds a Taxonomy Field to Advanced Custom Fields. Select one or more taxonomy terms and assign them to the post. 
     
    5757== Changelog == 
    5858 
     59= 1.3.1 = 
     60* Fixed undefined class constant FIELD_NAME issue. Props dmeehan1968 
     61 
    5962= 1.3 = 
    6063* Fixed issue where ACF value was incorrect when setting terms on a post. Props dmeehan1968 
  • advanced-custom-fields-taxonomy-field-add-on/trunk/taxonomy-field.php

    r577744 r578107  
    66* Author:      Brian Zoetewey 
    77* Author URI:  https://github.com/GCX 
    8 * Version:     1.3 
     8* Version:     1.3.1 
    99* Text Domain: acf-taxonomy-field 
    1010* Domain Path: /languages/ 
     
    4949 *  
    5050 * @author Brian Zoetewey <brian.zoetewey@ccci.org> 
    51  * @version 1.3 
     51 * @version 1.3.1 
    5252 */ 
    5353class ACF_Taxonomy_Field extends acf_Field { 
     
    487487    var $tree_type = 'category'; 
    488488    var $db_fields = array ( 'parent' => 'parent', 'id' => 'term_id' ); 
     489    private $field; 
    489490 
    490491    function __construct( $field ) { 
     
    511512            $name = 'post_category'; 
    512513        else 
    513             $name = $this->field[ self::FIELD_NAME ]; 
     514            $name = $this->field[ ACF_Taxonomy_Field::FIELD_NAME ]; 
    514515 
    515516        $class = in_array( $category->term_id, $popular_cats ) ? ' class="popular-category"' : ''; 
Note: See TracChangeset for help on using the changeset viewer.