Fixes shortcode template tags ignored (bug introduced in 2.7.0).