Verified Commit ad0d88f5 authored by Andrei Mondoc's avatar Andrei Mondoc Committed by Kevin Cristiano

always return $result!

Signed-off-by: Kevin Cristiano's avatarKevin Cristiano <kcristiano@kcristiano.com>
parent 42dc135c
......@@ -177,7 +177,7 @@ class Plugin {
*/
public function maybe_reset_wp_timezone( $result, $server, $request ) {
if ( $request->get_route() != '/civicrm/v3/rest' ) return;
if ( $request->get_route() != '/civicrm/v3/rest' ) return $result;
$timezones = apply_filters( 'civi_wp_rest/plugin/timezones', null );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment