bobbingwide / oik-bob-bing-wide

More lazy smart shortcodes
https://www.oik-plugins.com/oik-plugins/oik-bob-bing-wide-more-lazy-smart-shortcodes/
GNU General Public License v2.0
2 stars 0 forks source link

Auto-correct the github shortcode type parameter #3

Closed bobbingwide closed 8 years ago

bobbingwide commented 8 years ago

When creating [github] shortcodes I can't remember whether or not the link should be issue #3 or issues #3.

Proposed solution

Perform some basic sanitation & auto-correcting of the type parameter so that both of the following will work

[github bobbingwide oik-bob-bing-wide Issue 3]
[github bobbingwide oik-bob-bing-wide issues 3]

Maybe even lower case everything.