churchthemes / church-theme-framework

A library of code useful for developing church WordPress themes that use the Church Content plugin.
https://churchthemes.com/guides/developer/framework/
GNU General Public License v2.0
31 stars 13 forks source link

Fix issue with the_content() returning blank #1

Closed shellbot closed 10 years ago

shellbot commented 10 years ago

Found a bug where the_content() and the_excerpt() would display nothing at all, even inside The Loop, if the theme didn't support 'ctfw-non-content-shortcodes'. This fix works for me with no issues, but I'm not overly familiar with the framework yet so if there's a reason this won't work correctly, feel free to mock me.

stevengliebe commented 10 years ago

You're right, something should always be returned for the the_content filter.

Thank you for this. I'll merge it in and make a release.