OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b9be1
)
add back WP_CLI::out(), just to prevent fatal errors
author
scribu
<mail@scribu.net>
Fri, 24 May 2013 13:29:23 +0000
(16:29 +0300)
committer
scribu
<mail@scribu.net>
Fri, 24 May 2013 13:29:23 +0000
(16:29 +0300)
php/class-wp-cli.php
patch
|
blob
|
history
diff --git
a/php/class-wp-cli.php
b/php/class-wp-cli.php
index
0cc024c
..
d30f56a
100644
(file)
--- a/
php/class-wp-cli.php
+++ b/
php/class-wp-cli.php
@@
-266,6
+266,11
@@
class WP_CLI {
}
// back-compat
+ static function out( $str ) {
+ echo $str;
+ }
+
+ // back-compat
static function addCommand( $name, $class ) {
trigger_error( sprintf( 'wp %s: %s is deprecated. use WP_CLI::add_command() instead.',
$name, __FUNCTION__ ), E_USER_WARNING );