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 -7 4.9.854.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.85
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,9 +9,9 @@
9 9 * Text Domain: shiftcontroller
10 10 * Domain Path: /languages/
11 11 */
12 12
13 -define( 'SH4_VERSION', 4985 );
13 +define( 'SH4_VERSION', 4959 );
14 14
15 15 if (! defined('ABSPATH')) exit; // Exit if accessed directly
16 16
17 17 if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
@@ -200,9 +200,9 @@
200 200 // $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict' );
201 201 // if( $slug != 'myschedule' ){
202 202 // $processParams = array_merge( $processParams, array('calendar', 'employee', 'hideui') );
203 203 // }
204 - $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui', 't1', 't2' );
204 + $processParams = array( 'type', 'groupby', 'start', 'end', 'time', 'pickup', 'conflict', 'hideui' );
205 205 if( $slug != 'myschedule' ){
206 206 $processParams = array_merge( $processParams, array('calendar', 'employee') );
207 207 }
208 208 $arrayFor = array( 'calendar', 'employee', 'hideui' );
@@ -231,12 +231,8 @@
231 231 $v = array($v);
232 232 }
233 233 }
234 234 $request->initParam( $k, $v );
235 - }
236 -
237 - if( ('myschedule' == $route) && ('schedule' == $slug) ){
238 - $request->setSlug('myschedule');
239 235 }
240 236
241 237 return $route;
242 238 }