Currently getting the following error on plugin activation:
"error: The plugin generated 371 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin." There is also a bug with some themes using the block editor not being able to save when this plugin is active.
Upon investigating, I noticed that I mistakenly deleted a piece of code on my last change/merge, causing the above problems. So, I'm correcting that, and tweaking style for TrustArc link when the global footer is disabled.
DETAILS
nu_global_elements.php - Added back add_action('wp_head', function() { code around links for global element's styles and scripts, which I inadvertently deleted on the last change/merge. Also tweaking styling of the TrustArc link when the global footer is disabled, to give a little padding above the link and make sure the link color is light grey. Also updated the plugin's link to the GitHub repository.
OVERVIEW
Currently getting the following error on plugin activation:
"error: The plugin generated 371 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin." There is also a bug with some themes using the block editor not being able to save when this plugin is active.
Upon investigating, I noticed that I mistakenly deleted a piece of code on my last change/merge, causing the above problems. So, I'm correcting that, and tweaking style for TrustArc link when the global footer is disabled.
DETAILS
nu_global_elements.php
- Added backadd_action('wp_head', function() {
code around links for global element's styles and scripts, which I inadvertently deleted on the last change/merge. Also tweaking styling of the TrustArc link when the global footer is disabled, to give a little padding above the link and make sure the link color is light grey. Also updated the plugin's link to the GitHub repository.I've tested these changes locally and they work.