OSDN Git Service

more renaming from _list() to list_()
authorscribu <mail@scribu.net>
Mon, 20 Jan 2014 23:05:57 +0000 (01:05 +0200)
committerscribu <mail@scribu.net>
Mon, 20 Jan 2014 23:05:57 +0000 (01:05 +0200)
php/commands/plugin.php
php/commands/site.php
php/commands/theme.php

index 18465c5..2b6ebef 100644 (file)
@@ -495,7 +495,7 @@ class Plugin_Command extends \WP_CLI\CommandWithUpgrade {
         *
         * @subcommand list
         */
-       function _list( $_, $assoc_args ) {
+       public function list_( $_, $assoc_args ) {
                parent::_list( $_, $assoc_args );
        }
 
index cbd5ef2..5d5637d 100644 (file)
@@ -352,7 +352,7 @@ class Site_Command extends \WP_CLI\CommandWithDBObject {
         *
         * @subcommand list
         */
-       function _list( $_, $assoc_args ) {
+       public function list_( $_, $assoc_args ) {
                if ( !is_multisite() ) {
                        WP_CLI::error( 'This is not a multisite install.' );
                }
index 4c8cddf..45df5ca 100644 (file)
@@ -513,7 +513,7 @@ class Theme_Command extends \WP_CLI\CommandWithUpgrade {
         *
         * @subcommand list
         */
-       function _list( $_, $assoc_args ) {
+       public function list_( $_, $assoc_args ) {
                parent::_list( $_, $assoc_args );
        }
 }