Hard to say for sure without asking the developer.
In any case, it's an incompatible extension that was added to Bash only in 2009 (after being implemented earlier in zsh, ksh93 and yash). It's also one that can have surprising results if triggered accidentally. Perhaps even dangerous ones, e.g. if a script does something like
rm -- "$dir"/*$pattern*/* # or
rm -- "$dir"/*"$string"*/*
without making sure `$pattern` is non-empty. _Yes_ , both do trigger `globstar` in Bash (when enabled).
The same caveat applies to most other shells that have `**`: `zsh`, `ksh93 -o globstar`, `tcsh` (after `set globstar`) and `yash -o extended-glob`. Not `fish`, though: it has `**` with somewhat different semantics, but it doesn't trigger it with something inbetween the two asterisks.
See e.g. Stéphane's answer in The result of ls * , ls ** and ls *** for the history and the differences between the implementations in various shells.