mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:01:32 +08:00
* Update `wp-cli/wp-cli-tests` * Remove invalid config * Fix all auto-fixable issues * Need to make sure these are always floats --------- Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
12 lines
271 B
PHP
12 lines
271 B
PHP
<?php
|
|
|
|
if ( ! class_exists( 'WP_CLI' ) ) {
|
|
return;
|
|
}
|
|
|
|
$wpcli_profile_autoloader = __DIR__ . '/vendor/autoload.php';
|
|
if ( file_exists( $wpcli_profile_autoloader ) ) {
|
|
require_once $wpcli_profile_autoloader;
|
|
}
|
|
|
|
WP_CLI::add_command( 'profile', 'WP_CLI\Profile\Command' );
|