Proposed fix for the excerpt returning as a blank string if a shortcode appears in the first line of the post content.

This fix uses a native Wordpress API function to get the regexp for all shortcodes registered in the Wordpress instance and removes them using `preg_replace`.