You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the install step simply sentence-case capitalising the slug that's being installed.
The 'proper' way here would be to make a theme_information / plugin_information API call to fetch the details.
That would correct the examples provided, but for plugins like Jetpack would result in Downloading Jetpack – WP Security, Backup, Speed, & Growth due to the description-in-title. This would be a better outcome though.
The existing code doesn't make an API call, and instead downloads directly, IMHO in an attempt for better performance, as the extra API call would add extra steps/latency into the startup procedure.
Given that WordPress plugin slugs are very rarely the same as the plugin name (A good example of this is Yoast SEO, with the historical, wordpress-seo slug) I tend to agree that something does need to change here.
When a Playground instance is spinning up, theme and plugin names displayed may have inconsistent or incorrect capitalization. for example:
"Woocommerce" should be "WooCommerce"
"Wordpress importer" should be "WordPress Importer"
The text was updated successfully, but these errors were encountered: