Revised get_gallery_shortcode