Plugin Directory

Changeset 501268


Ignore:
Timestamp:
02/06/2012 08:45:24 PM (14 years ago)
Author:
OneManOneLaptop
Message:
 
Location:
diy/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • diy/trunk/diy.php

    r500696 r501268  
    13721372                               
    13731373                                // Set the current value of the field
    1374                                 if (is_array($group_values)) {
     1374                                if (isset($group_values[$counter][$field_name])) {
    13751375                                        $field['value'] = $group_values[$counter][$field_name];
    13761376                                } else {
     
    20262026                    // retrieve the option
    20272027                    $result = get_post_meta($post_id,$group,true);
    2028 
     2028                    if ($result == "") {return "";}
    20292029                    // if the value has been saved/set
    2030                     if ((bool) $result[$instance][$field]) {
     2030                    if (isset($result[$instance][$field])) {
    20312031                        return $result[$instance][$field];
    20322032                    } else {
  • diy/trunk/readme.txt

    r500698 r501268  
    33Tags: framework,plugin,custom post types,jquery
    44Requires at least: 3.2.1
    5 Version: 0.0.2
     5Version: 0.0.3
    66Tested up to: 3.2.1
    7 Stable Tag: 0.0.2
     7Stable Tag: 0.0.3
    88
    99Define an extensible framework for building other plugins.
     
    3636== Changelog ==
    3737
     38= 0.0.3 =
     39* More fixes
     40
    3841= 0.0.2 =
    3942* General Cleanup
Note: See TracChangeset for help on using the changeset viewer.