This change makes it less susceptible to allowing HTML template
content emitted by other modules who have hooks running on the
wp_head action.
By convention, HTML content should never be emitted from
wp_enqueue_scripts hooks. Even if some module does, we still have
the output buffering capture to block it from being included
in the controller's response.
This change makes it less susceptible to allowing HTML template content emitted by other modules who have hooks running on the wp_head action.
By convention, HTML content should never be emitted from wp_enqueue_scripts hooks. Even if some module does, we still have the output buffering capture to block it from being included in the controller's response.