PluginProbe
ShiftController Employee Shift Scheduling / 4.9.71
ShiftController Employee Shift Scheduling v4.9.71
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 | hc3/_wordpress/abstract/plugin.php +1 -8 trunk4.9.71 View file →
@@ -1,10 +1,7 @@
1 1 <?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
2 -if (!defined('HC3_VERSION')) {
3 - define( 'HC3_VERSION', 103 );
4 -}
2 +define( 'HC3_VERSION', 103 );
5 3
6 -if (!class_exists('HC3_Abstract_Plugin')) {
7 4 abstract class HC3_Abstract_Plugin
8 5 {
9 6 public static $instance;
10 7
@@ -364,11 +361,8 @@
364 361
365 362 $request->setRealSlug( $slug );
366 363
367 364 $slug = $requestMethod . ':' . $slug;
368 - if( 'get:myschedule/dates' == $slug ){
369 - $slug = 'post:myschedule/dates';
370 - }
371 365
372 366 // first acl
373 367 $acl = $root->make('HC3_Acl');
374 368 if( ! $acl->check($slug, $requestParams) ){
@@ -722,9 +716,8 @@
722 716 public function root()
723 717 {
724 718 return $this->dic;
725 719 }
726 -}
727 720 }
728 721
729 722 if( ! function_exists('_print_r') ){
730 723 function _print_r( $thing )