update ) || empty( $updateable_plugins['kkart/kkart.php']->update->new_version ) ) { return; } $this->new_version = kkart_clean( $updateable_plugins['kkart/kkart.php']->update->new_version ); $this->major_untested_plugins = $this->get_untested_plugins( $this->new_version, 'major' ); if ( ! empty( $this->major_untested_plugins ) ) { echo $this->get_extensions_modal_warning(); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped $this->update_screen_modal_js(); } } /** * JS for the modal window on the updates screen. */ protected function update_screen_modal_js() { ?> generic_modal_js(); } } new KKART_Updates_Screen_Updates();