Changeset 772854
- Timestamp:
- 09/15/2013 06:55:42 PM (13 years ago)
- Location:
- bugerator/trunk
- Files:
-
- 2 edited
-
bugerator.php (modified) (8 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bugerator/trunk/bugerator.php
r772451 r772854 5 5 Plugin URI: http://www.tickerator.org/bugerator 6 6 Description: A bug tracking / issue tracking plugin 7 Version: 1.1. 27 Version: 1.1.3 8 8 Author: David Whipple 9 9 Author URI: http://www.tickerator.org … … 31 31 * Globals and other fun set up stuff to be run every time 32 32 */ 33 // version info 34 global $bugerator_version; 35 $bugerator_version = "1.1.3"; 36 37 33 38 // Define our table globally so I won't have redundant code 34 39 global $wpdb; … … 52 57 $bugerator_visits_table = $wpdb->prefix . "bugerator_visits"; 53 58 54 // version info55 global $bugerator_version;56 $bugerator_version = "1.1.0";57 59 58 60 // add menu option - this is in the admin menu … … 537 539 // the new project sort/hide 538 540 $bugerator_project_display = get_option("bugerator_project_display"); 541 if(false == $bugerator_project_display) { 542 echo "You have no projects."; 543 die(); 544 } 539 545 540 546 $sql = "SELECT * FROM $bugerator_project_table ORDER BY FIELD(id,$bugerator_project_display)"; … … 545 551 $output = ""; 546 552 547 // the new project sort/hide 548 $bugerator_project_display = get_option("bugerator_project_display"); 553 549 554 // create an array for the sort 550 555 $project_sort = explode(",", $bugerator_project_display); … … 4689 4694 $success_msg = "Project succesfully added"; 4690 4695 $bugerator_project_display = get_option("bugerator_project_display"); 4691 $bugerator_project_display .= "," . $wpdb->insert_id; 4696 if(false == $bugerator_project_display) { 4697 $bugerator_project_display = $wpdb->insert_id; 4698 } else { 4699 $bugerator_project_display .= "," . $wpdb->insert_id; 4700 } 4692 4701 update_option("bugerator_project_display", $bugerator_project_display); 4693 4702 } else … … 5706 5715 static function my_get_page_link() { 5707 5716 $page = get_permalink(); 5708 if(false === $page) 5709 $page=$_REQUEST['post_id']; 5717 if(false === $page) { 5718 if(isset($_REQUEST['post_id'])) { 5719 $page=$_REQUEST['post_id']; 5720 } else { 5721 return false; 5722 } 5723 } 5710 5724 if( false === strpos($page,"?")) 5711 5725 $page .= "?"; … … 5967 5981 delete_option('bugerator_options'); 5968 5982 delete_option('bugerator_types'); 5983 delete_option('bugerator_project_display'); 5984 delete_option('bugerator_status_sort'); 5985 delete_option('bugerator_subscribers_all_email'); 5986 5969 5987 foreach ($css as $option => $value) 5970 5988 delete_option($option); -
bugerator/trunk/readme.txt
r772451 r772854 5 5 Requires at least: 3.4.1 6 6 Tested up to: 3.6 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 1.1.3 = 71 72 * Fixed css disappearing bug 73 * Fixed first project sort bug 74 70 75 = 1.1.2 = 71 76 … … 148 153 == Upgrade Notice == 149 154 155 = 1.1.3 = 156 157 Couple large bugs that especially affected new installs. WARNING - this will override bugerator.css so back it up if you made changes. If you can't see your brand new project from the last version do this in order: 1) UPGRADE, 2) UNINSTALL, 3) REINSTALL. Then it will solve the problems. Sorry the old project will be gone (which you couldn't see) but new projects will work. 158 150 159 = 1.1.2 = 151 160
Note: See TracChangeset
for help on using the changeset viewer.