File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ protected function status_single( $args ) {
198198 if ( $ this ->has_update ( $ file ) )
199199 $ version .= ' (%gUpdate available%n) ' ;
200200
201- echo WP_CLI ::colorize ( \WP_CLI \Utils \mustache_render ( ' plugin-status.mustache ' , array (
201+ echo WP_CLI ::colorize ( \WP_CLI \Utils \mustache_render ( dirname ( __DIR__ ) . ' /templates/ plugin-status.mustache ' , array (
202202 'slug ' => Utils \get_plugin_name ( $ file ),
203203 'status ' => $ status ,
204204 'version ' => $ version ,
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ protected function status_single( $args ) {
166166 if ( $ this ->has_update ( $ theme ->get_stylesheet () ) )
167167 $ version .= ' (%gUpdate available%n) ' ;
168168
169- echo WP_CLI ::colorize ( \WP_CLI \Utils \mustache_render ( ' theme-status.mustache ' , array (
169+ echo WP_CLI ::colorize ( \WP_CLI \Utils \mustache_render ( dirname ( __DIR__ ) . ' /templates/ theme-status.mustache ' , array (
170170 'slug ' => $ theme ->get_stylesheet (),
171171 'status ' => $ status ,
172172 'version ' => $ version ,
You can’t perform that action at this time.
0 commit comments