| @@ -276,9 +276,9 @@ | ||
| 276 | 276 | */ |
| 277 | 277 | public function track_tour_created_event( $new_status, $old_status, $post ) { |
| 278 | 278 | global $wpvr_telemetry; |
| 279 | 279 | |
| 280 | - if ( ! is_object( $wpvr_telemetry ) || ! $post instanceof WP_Post ) { | |
| 280 | + if ( ! is_object( $wpvr_telemetry ) || ! $post instanceof \WP_Post ) { | |
| 281 | 281 | return; |
| 282 | 282 | } |
| 283 | 283 | |
| 284 | 284 | if ( 'wpvr_item' !== $post->post_type || ! $this->is_first_publish_transition( $new_status, $old_status ) ) { |
| @@ -515,7 +515,4 @@ | ||
| 515 | 515 | ); |
| 516 | 516 | } |
| 517 | 517 | |
| 518 | 518 | } |
| 519 | - | |
| 520 | - | |
| 521 | -new WPVRLinnoTelemetry(); | |