Fixes: RSS-feed returns bbcode

Fixes #225
- RSS-feed returns bbcode if add_action()
This commit is contained in:
Frank Hochmuth 2024-01-20 03:47:27 +01:00 committed by GitHub
commit 733a2bb7ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,8 +53,9 @@ function plugin_bbcode_startup() {
add_filter('comment_text', 'plugin_bbcode_comment', 1); add_filter('comment_text', 'plugin_bbcode_comment', 1);
} }
} }
// plugin_bbcode_startup(); plugin_bbcode_startup();
add_action('wp_head', 'plugin_bbcode_startup'); // Fraenkiman: RSS-feed returns bbcode if add_action(), see #225
//add_action('wp_head', 'plugin_bbcode_startup');
/** /**
* Adds the plugin's CSS and JS to the HTML head. * Adds the plugin's CSS and JS to the HTML head.