Thread Starter
gish
(@gish)
It seems like the problem only occurs when deselecting all terms, not only some.
Thread Starter
gish
(@gish)
According to GitHub, a username need to meet the following rules:
“Username may only contain alphanumeric characters or dashes and cannot begin with a dash”
I believe /[0-9|a-z][0-9|a-z|–]+/ might do the trick. It’s not tested though.
Plugin Contributor
gish
(@gish)
My mistake! The name of the functions are as follow:
WGBitlyHelper::the_short_link( $post_id = null )
WGBitlyHelper::get_short_link( $post_id = null )