Fix PHPCS violations in includes/admin/plugin-updates/class-wc-updates-screen-updates.php

This commit is contained in:
Rodrigo Primo 2018-03-06 10:34:18 -03:00
parent 7cd28774b1
commit 85e01565e0
1 changed files with 5 additions and 3 deletions

View File

@ -2,11 +2,10 @@
/**
* Manages WooCommerce plugin updating on the Updates screen.
*
* @author Automattic
* @category Admin
* @package WooCommerce/Admin
* @version 3.2.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
@ -15,6 +14,9 @@ if ( ! class_exists( 'WC_Plugin_Updates' ) ) {
include_once dirname( __FILE__ ) . '/class-wc-plugin-updates.php';
}
/**
* Class WC_Updates_Screen_Updates
*/
class WC_Updates_Screen_Updates extends WC_Plugin_Updates {
/**
@ -39,7 +41,7 @@ class WC_Updates_Screen_Updates extends WC_Plugin_Updates {
$this->major_untested_plugins = $this->get_untested_plugins( $this->new_version, 'major' );
if ( ! empty( $this->major_untested_plugins ) ) {
echo $this->get_extensions_modal_warning();
echo $this->get_extensions_modal_warning(); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
$this->update_screen_modal_js();
}
}