Plugin Directory

Changeset 777429


Ignore:
Timestamp:
09/23/2013 06:05:08 PM (13 years ago)
Author:
tickerator
Message:

Fixed couple annoying bugs

Location:
bugerator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bugerator/trunk/bugerator.php

    r772944 r777429  
    55  Plugin URI: http://www.tickerator.org/bugerator
    66  Description: A bug tracking / issue tracking plugin
    7   Version: 1.1.3
     7  Version: 1.1.4
    88  Author: David Whipple
    99  Author URI: http://www.tickerator.org
     
    3333// version info
    3434global $bugerator_version;
    35 $bugerator_version = "1.1.3";
     35$bugerator_version = "1.1.4";
    3636
    3737
     
    199199        $choice_menu = false;
    200200    // if there is only 1 then choose it
    201     if ($bugerator_project_count == 1)
     201    if ($bugerator_project_count == 1 )
    202202        $project = $wpdb->get_var("SELECT id FROM $bugerator_project_table WHERE hidden = 0");
    203203    $bugerator_project_id = $project;
     
    40344034
    40354035        $results = $wpdb->get_results($sql);
    4036 
    40374036        $output = "";
    40384037        // show the navigation only when necessary
     
    58655864                update_option("bugerator_statuses", "New,Open,Assigned,In Progress,Testing,Duplicate,Need Info,Resolved,Closed," .
    58665865                    "Abandoned,Completed");
    5867                 update_option("bugerator_status_sort", "0,1,2,3,4,6,5,7,8,9,10", '', 'no');
    5868                 update_option("bugerator_statuses_inuse", "0,1,2,3,4,5,6,7,8,9,10", '', 'no');
    5869             }
     5866                update_option("bugerator_status_sort", "0,1,2,3,4,6,5,7,8,9,10");
     5867                update_option("bugerator_statuses_inuse", "0,1,2,3,4,5,6,7,8,9,10");
     5868            }
     5869           
     5870           
    58705871           
    58715872
     
    59025903                copy("$path/bugerator-default.css", "$path/bugerator.css");
    59035904
    5904 
     5905            // weird bug that killed the status sort
     5906            $status_names = get_option('bugerator_statuses');
     5907            $status_sort = get_option('bugerator_status_sort');
     5908            $statuses_inuse = get_option('bugerator_statuses_inuse');
     5909            if(substr_count($status_names,",") != substr_count($status_sort,",") or
     5910                    substr_count($status_names,",") != substr_count($status_sort,",")) {
     5911                $status_sort = "0";
     5912                $statuses_inuse = "0";
     5913                for($x=1;$x<(substr_count($status_names,",")+1);$x++) {
     5914                    $status_sort .= ",".$x;
     5915                    $statuses_inuse .= ",".$x;
     5916                }
     5917                echo $status_sort;
     5918                echo $statuses_inuse;
     5919            }
     5920            update_option("bugerator_status_sort", $status_sort);
     5921            update_option("bugerator_statuses_inuse", $statuses_inuse);
     5922           
     5923            // get rid of comma on the front
     5924            $project_display = get_option("bugerator_project_display");
     5925            if(substr($project_display,0,1) == ",") {
     5926                $project_display = substr($project_display,1);
     5927                update_option("bugerator_project_display",$project_display);
     5928            }
     5929           
     5930
     5931           
     5932           
    59055933            update_option('bugerator_version', $bugerator_version);
    59065934        }
  • bugerator/trunk/readme.txt

    r772854 r777429  
    55Requires at least: 3.4.1
    66Tested up to: 3.6
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6868== Changelog ==
    6969
     70= 1.1.4 =
     71
     72* Fixed spelling & small bugs
     73* Added ability to reverse option corruption
     74
    7075= 1.1.3 =
    7176
     
    153158== Upgrade Notice ==
    154159
     160= 1.1.4 =
     161
     162Backup bugerator.css file before updating if you customized it.  Couple more new install bugs that needed to be fixed.
     163
    155164= 1.1.3 =
    156165
Note: See TracChangeset for help on using the changeset viewer.