fix petitions shortcode

Fixes the non-appearance of any Petitions in the shortcode modal dialog. Probably needs applying to 4.4 as well, if that's still supported.