PluginProbe
ShiftController Employee Shift Scheduling / 4.9.59
ShiftController Employee Shift Scheduling v4.9.59
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | shiftcontroller4.php +3 -10 4.9.954.9.59 View file →
@@ -2,9 +2,9 @@
2 2 /*
3 3 * Plugin Name: ShiftController
4 4 * Plugin URI: https://www.shiftcontroller.com/
5 5 * Description: Staff scheduling plugin
6 - * Version: 4.9.95
6 + * Version: 4.9.59
7 7 * Author: plainware.com
8 8 * Author URI: https://www.shiftcontroller.com/
9 9 * Text Domain: shiftcontroller
10 10 * Domain Path: /languages/
@@ -9,11 +9,9 @@
9 9 * Text Domain: shiftcontroller
10 10 * Domain Path: /languages/
11 11 */
12 12
13 -if (!defined('SH4_VERSION')) {
14 - define( 'SH4_VERSION', 4995 );
15 -}
13 +define( 'SH4_VERSION', 4959 );
16 14
17 15 if (! defined('ABSPATH')) exit; // Exit if accessed directly
18 16
19 17 if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
@@ -30,9 +28,8 @@
30 28 $conf = include( dirname(__FILE__) . '/config.php' );
31 29 }
32 30
33 31 $hc3path = defined('HC3_DEV_INSTALL') ? HC3_DEV_INSTALL : dirname(__FILE__) . '/hc3';
34 -$hc3path = dirname(__FILE__) . '/hc3';
35 32 include_once( $hc3path . '/_wordpress/abstract/plugin.php' );
36 33
37 34 class ShiftController4 extends HC3_Abstract_Plugin
38 35 {
@@ -203,9 +200,9 @@
203 200 // $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict' );
204 201 // if( $slug != 'myschedule' ){
205 202 // $processParams = array_merge( $processParams, array('calendar', 'employee', 'hideui') );
206 203 // }
207 - $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui', 't1', 't2' );
204 + $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui' );
208 205 if( $slug != 'myschedule' ){
209 206 $processParams = array_merge( $processParams, array('calendar', 'employee') );
210 207 }
211 208 $arrayFor = array( 'calendar', 'employee', 'hideui' );
@@ -234,12 +231,8 @@
234 231 $v = array($v);
235 232 }
236 233 }
237 234 $request->initParam( $k, $v );
238 - }
239 -
240 - if( ('myschedule' == $route) && ('schedule' == $slug) ){
241 - $request->setSlug('myschedule');
242 235 }
243 236
244 237 return $route;
245 238 }