Skip to content

Commit 91aaeec

Browse files
authored
Merge pull request #216 from wp-cli/rename-scaffold-method
Rename scaffold method to get rid of underscore prefix
2 parents b5ff524 + 989b82a commit 91aaeec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Scaffold_Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function post_type( $args, $assoc_args ) {
8282
'post_type_extended.mustache',
8383
);
8484

85-
$this->_scaffold( $args[0], $assoc_args, $defaults, '/post-types/', $templates );
85+
$this->scaffold( $args[0], $assoc_args, $defaults, '/post-types/', $templates );
8686
}
8787

8888
/**
@@ -139,10 +139,10 @@ public function taxonomy( $args, $assoc_args ) {
139139
'taxonomy_extended.mustache',
140140
);
141141

142-
$this->_scaffold( $args[0], $assoc_args, $defaults, '/taxonomies/', $templates );
142+
$this->scaffold( $args[0], $assoc_args, $defaults, '/taxonomies/', $templates );
143143
}
144144

145-
private function _scaffold( $slug, $assoc_args, $defaults, $subdir, $templates ) {
145+
private function scaffold( $slug, $assoc_args, $defaults, $subdir, $templates ) {
146146
$wp_filesystem = $this->init_wp_filesystem();
147147

148148
$control_defaults = array(

0 commit comments

Comments
 (0)