PSR-4ify the theme upgrader subclasses.
This commit is contained in:
parent
416ab09653
commit
f871c96070
|
@ -9,6 +9,9 @@
|
|||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
use Automattic\WooCommerce\Admin\WC_Admin_Theme_Upgrader;
|
||||
use Automattic\WooCommerce\Admin\WC_Admin_Theme_Upgrader_Skin;
|
||||
|
||||
/**
|
||||
* Themes controller.
|
||||
*
|
||||
|
|
|
@ -5,12 +5,14 @@
|
|||
* @package WooCommerce Admin/Classes
|
||||
*/
|
||||
|
||||
namespace Automattic\WooCommerce\Admin;
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* WC_Admin_Theme_Upgrader Class.
|
||||
*/
|
||||
class WC_Admin_Theme_Upgrader extends Theme_Upgrader {
|
||||
class WC_Admin_Theme_Upgrader extends \Theme_Upgrader {
|
||||
/**
|
||||
* Install a theme package.
|
||||
*
|
|
@ -5,12 +5,14 @@
|
|||
* @package WooCommerce Admin/Classes
|
||||
*/
|
||||
|
||||
namespace Automattic\WooCommerce\Admin;
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
/**
|
||||
* WC_Admin_Theme_Upgrader_Skin Class.
|
||||
*/
|
||||
class WC_Admin_Theme_Upgrader_Skin extends Theme_Upgrader_Skin {
|
||||
class WC_Admin_Theme_Upgrader_Skin extends \Theme_Upgrader_Skin {
|
||||
/**
|
||||
* Hide the skin header display.
|
||||
*/
|
Loading…
Reference in New Issue