FortAwesome / wordpress-fontawesome

Font Awesome Official WordPress Plugin
Other
57 stars 19 forks source link

Avoid HTML output when detecting unregistered clients in config controller #44

Closed mlwilkerson closed 5 years ago

mlwilkerson commented 5 years ago

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.