WordPress basepage_render shouldn't remove the 'the_content' filter
On a WordPress CiviCRM site using the Avada theme, removing the 'the_content' filter in basepage_render() in here causes a problem: https://github.com/civicrm/civicrm-wordpress/blob/master/includes/civicrm.basepage.php
basepage_render() is called from wp_trim_excerpt() first and then is called again somewhere to get the content to display the page. If the filter removes itself then the page content isn't replaced with the CiviCRM output.
When displaying /civicrm pages the holding page content is erroneously shown: "Do not delete this page. Page content is generated by CiviCRM."
So this commit needs reversing, which looks like it has only recently been included in 5.39.0: https://github.com/civicrm/civicrm-wordpress/commit/16137ebf4038e901fb4981d7de2c328d96411fe9