Everybody new to WordPress quickly learns that WordPress is written with a capital P. This is a major pet peeve for the WordPress community (just write WordPress with a lowercase P in any WP forum/slack channel and count the seconds until somebody corrects you ). This obsession ended up with the addition of a new function to the WordPress core code (the capitalP dang it function, initially contributed by Matt Mullenweg, the WordPress co-founder itself) that automatically checks your post content and autocorrects any misspelling of the word WordPress. While, at the time, this enforcement generated some controversy, we are now all very used to it and mostly believe that helps us to avoid silly mistakes when talking about WP.
As part of our research line on the influence of bots in software development, we thought we could create a simple bot to bring the same functionality to your WordPress-related code. That is, our CapitalP bot checks your WordPress code (e.g. as part of a new theme or plugin) does not misspell the word WordPress either. WordPress with a capital P everywhere!.
You can easily install the CapitalP bot in any of your GitHub repositories. Once installed, the bot will automatically
Source: https://managewp.org/articles/17532/capitalpbot-github-bot-to-ensure-your-code-does-not-misspell-wordpress
source https://williechiu40.wordpress.com/2018/06/19/capitalpbot-github-bot-to-ensure-your-code-does-not-misspell-wordpress/
No comments:
Post a Comment