| @@ -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.78 | |
| 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', 4978 ); | |
| 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', '<' ) ) { |
| @@ -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 | } |