Sure, we discovered the issue due to another process that was linked to a shortcode related to a Login function, which generated two emails, don’t get me started on why that’s bad.
While that plugin dev wouldn’t admit the function was tied to the shortcode and thereby the_content(). We were able to confirm it, by hooking into the_content() filter and creating a simple log file for every time it runs.
We wouldn’t have suspected your plugin, since it was not Enabled on Pages (/wp-admin/options-general.php?page=table-of-contents). But we know it definitely does process the_content() to generate the ToC. So, it became one of our suspects. I searched all of our plugins directory to see if any use output buffering with the_content(), and your’s does (/wp-content/plugins/easy-table-of-contents/includes/class.widget-toc.php line 121).
Neither Enable Support on Pages nor the Widget itself were being loaded onto Pages, so it made no sense why it would cause it, but we were still getting the_content() triggered twice, so we Deactivated the plugin and the duplication stopped.
-
This reply was modified 2 years, 8 months ago by tenacityio.
-
This reply was modified 2 years, 8 months ago by tenacityio.