allow shortcode to accept unpaired attributes
|Reported by:||hailin||Owned by:||hailin|
Current shortcode doesn't allow format such as:
[shortcode ryan loc=vt s=poet] which contains unpaired attr
there are many cases where some attrs don't have names - so with current shortcode req, we can not use it, and it creates other issues: in wp_trim_excerpt we strip_shortcodes, but we left out some because not all shortcodes can be added in the first place, causing issues in tag, or excepts.
I propose to assign default numeric index to unpaired attributes.