File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Roots/Acorn/Console/Commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ protected function aboutEnvironment()
4040 'Debug Mode ' => $ this ->laravel ->get ('config ' )->get ('app.debug ' ) ? '<fg=yellow;options=bold>ENABLED</> ' : 'OFF ' ,
4141 'Maintenance Mode ' => $ this ->laravel ->isDownForMaintenance () ? '<fg=yellow;options=bold>ENABLED</> ' : 'OFF ' ,
4242 'URL ' => Str::of (config ('app.url ' ))->replace (['http:// ' , 'https:// ' ], '' ),
43- 'Plugins ' => get_site_transient ('update_plugins ' ) && count (get_site_transient ('update_plugins ' )->response ) ? '<fg=yellow;options=bold>UPDATES AVAILABLE</> ' : '<fg=green;options=bold>UP TO DATE</> ' ,
44- 'Themes ' => get_site_transient ('update_themes ' ) && count (get_site_transient ('update_themes ' )->response ) ? '<fg=yellow;options=bold>UPDATES AVAILABLE</> ' : '<fg=green;options=bold>UP TO DATE</> ' ,
43+ 'Plugins ' => get_site_transient ('update_plugins ' ) && count (get_site_transient ('update_plugins ' )->response ?? [] ) ? '<fg=yellow;options=bold>UPDATES AVAILABLE</> ' : '<fg=green;options=bold>UP TO DATE</> ' ,
44+ 'Themes ' => get_site_transient ('update_themes ' ) && count (get_site_transient ('update_themes ' )->response ?? [] ) ? '<fg=yellow;options=bold>UPDATES AVAILABLE</> ' : '<fg=green;options=bold>UP TO DATE</> ' ,
4545 ]);
4646
4747 collect (static ::$ customDataResolvers )
You can’t perform that action at this time.
0 commit comments