PluginProbe
ShiftController Employee Shift Scheduling / 4.9.66
ShiftController Employee Shift Scheduling v4.9.66
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 +3 -7 4.9.774.9.66 View file →
@@ -361,11 +361,8 @@
361 361
362 362 $request->setRealSlug( $slug );
363 363
364 364 $slug = $requestMethod . ':' . $slug;
365 - if( 'get:myschedule/dates' == $slug ){
366 - $slug = 'post:myschedule/dates';
367 - }
368 365
369 366 // first acl
370 367 $acl = $root->make('HC3_Acl');
371 368 if( ! $acl->check($slug, $requestParams) ){
@@ -467,13 +464,12 @@
467 464 echo $out;
468 465 }
469 466 else {
470 467 if( ! headers_sent() ){
471 - if( defined('HC3_PROFILER') && HC3_PROFILER ){
468 + if( 0 && defined('HC3_PROFILER') && HC3_PROFILER ){
472 469 $html = "REDIRECT<br><a href=\"$to\">$to</a>";
473 - // echo $html;
474 - return $html;
475 - // exit;
470 + echo $html;
471 + exit;
476 472 }
477 473 else {
478 474 wp_redirect( $to );
479 475 }