Changeset 3199192
- Timestamp:
- 11/29/2024 03:07:19 AM (16 months ago)
- Location:
- codebard-help-desk/trunk
- Files:
-
- 4 edited
-
index.php (modified) (2 diffs)
-
plugin/includes/default_internal_vars.php (modified) (1 diff)
-
plugin/plugin.php (modified) (6 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
codebard-help-desk/trunk/index.php
r2901981 r3199192 4 4 Plugin URI: https://codebard.com/codebard-help-desk-for-wordpress/ 5 5 Description: Extremely easy to use, unlimited Help Desk system that just works. Unlimited Tickets, Unlimited Agents, Unlimited Users, Unlimited Departments. Works out of the box and easily extensible. 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: CodeBard 8 8 License: GPLv2 … … 520 520 521 521 add_action( 'wp_ajax_'.$this->internal['prefix'].'dismiss_admin_notice', array( &$this, 'dismiss_admin_notice' ),10,1 ); 522 523 add_filter( 'pre_set_site_transient_update_plugins', array(&$this, 'check_for_update' ) ); 524 525 522 526 523 if($this->internal['requested_action']!='') 527 524 { -
codebard-help-desk/trunk/plugin/includes/default_internal_vars.php
r2901981 r3199192 11 11 'plugin_id' => 'codebard-help-desk', 12 12 'prefix' => 'cb_p3_', 13 'version' => '1.1. 1',13 'version' => '1.1.2', 14 14 'plugin_name' => 'CodeBard Help Desk', 15 15 -
codebard-help-desk/trunk/plugin/plugin.php
r2643561 r3199192 35 35 public function admin_init_p() 36 36 { 37 38 // Updates are important - Add update nag if update exist39 add_filter( 'pre_set_site_transient_update_plugins', array(&$this, 'check_for_update' ),99 );40 37 41 38 // Do setup wizard if it was not done … … 257 254 258 255 $post=get_post($request[$this->internal['prefix'].'ticket_id']); 256 257 if ( !isset( $_REQUEST[$this->internal['prefix'] . 'ticket_status_toggle_nonce'] ) OR !wp_verify_nonce( sanitize_key( $_REQUEST[$this->internal['prefix'] . 'ticket_status_toggle_nonce'] ), 'cb_help_desk_ticket_status_toggle_nonce' ) ) { 258 return; 259 } 259 260 260 261 $user_id = get_current_user_id(); … … 4698 4699 $ticket_url = get_permalink($ticket_id); 4699 4700 4701 $ticket_status_toggle_nonce = wp_create_nonce( 'cb_help_desk_ticket_status_toggle_nonce' ); 4702 4700 4703 if($this->get_ticket_status($ticket_id)=='open') 4701 4704 { … … 4708 4711 $this->internal['prefix'].'ticket_id' => $ticket_id, 4709 4712 $this->internal['prefix'].'action' => 'close_ticket', 4713 $this->internal['prefix'].'ticket_status_toggle_nonce' => $ticket_status_toggle_nonce, 4710 4714 ), 4711 4715 $ticket_url ); 4716 4712 4717 } 4713 4718 … … 4722 4727 $this->internal['prefix'].'ticket_id' => $ticket_id, 4723 4728 $this->internal['prefix'].'action' => 'reopen_ticket', 4729 $this->internal['prefix'].'ticket_status_toggle_nonce' => $ticket_status_toggle_nonce, 4724 4730 ), 4725 4731 $ticket_url ); … … 4749 4755 4750 4756 } 4751 public function check_for_update($checked_data)4752 {4753 global $wp_version, $plugin_version, $plugin_base;4754 4755 if ( empty( $checked_data->checked ) ) {4756 return $checked_data;4757 }4758 4759 if( isset( $checked_data->response[$this->internal['plugin_id'].'/index.php'] ) AND version_compare( $this->internal['version'], $checked_data->response[$this->internal['plugin_id'].'/index.php']->new_version, '<' ))4760 {4761 4762 }4763 return $checked_data;4764 4765 }4766 4757 public function upgrade_p($v1,$v2) 4767 4758 { -
codebard-help-desk/trunk/readme.txt
r3051243 r3199192 7 7 License: GPLv2 8 8 Requires at least: 4.0 9 Tested up to: 6. 210 Stable Tag: 1.1. 19 Tested up to: 6.7.1 10 Stable Tag: 1.1.2 11 11 12 12 Multi Language Professional Support Ticket System with Unlimited Users, Unlimited Tickets, Unlimited Departments, Agents and many features … … 61 61 == Upgrade Notice == 62 62 63 = 1.1.2 = 64 65 * Added a nonce to ticket close/reopen button for more security 66 63 67 = 1.1.1 = 64 68 … … 161 165 == Changelog == 162 166 167 = 1.1.2 = 168 169 * Added a nonce to ticket close/reopen button for more security 170 163 171 = 1.1.1 = 164 172
Note: See TracChangeset
for help on using the changeset viewer.