@@ -465,7 +465,8 @@ |
||
465 | 465 | } |
466 | 466 | |
467 | 467 | private function is_license_revoked() { |
468 | - if ( empty( $this->license ) || empty( $this->plugin_slug ) || isset( $_POST['license'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
468 | + if ( empty( $this->license ) || empty( $this->plugin_slug ) || isset( $_POST['license'] ) ) { |
|
469 | +// phpcs:ignore WordPress.Security.NonceVerification.Missing |
|
469 | 470 | return; |
470 | 471 | } |
471 | 472 |
@@ -40,8 +40,8 @@ |
||
40 | 40 | */ |
41 | 41 | public function get_video( $type = 'welcome' ) { |
42 | 42 | $videos = $this->get_api_info(); |
43 | - if ( isset( $videos[ $type ] ) ) { |
|
44 | - return $videos[ $type ]; |
|
43 | + if ( isset( $videos[$type] ) ) { |
|
44 | + return $videos[$type]; |
|
45 | 45 | } |
46 | 46 | return array(); |
47 | 47 | } |