Plugin modifies the_content but stalls out if the_content is too long
I’m working on a plugin for my site that modifies some of the post content using a function called “linkify_text” and the hook add_filter(‘the_content’,’linkify_text’);
It runs on my site just fine except when the_content of a post or page is extremely long, in which case it either throws up a 500 Internal Server Error (if WP-Cache is enabled) or just serves a page with no code after <div class=”entry”>.
I am going crazy trying to figure out why this is happening. Is there some sort of limit to how much can be processed by a plugin? Am I maybe running into a php server limitation? What is going on here?
- The topic ‘Plugin modifies the_content but stalls out if the_content is too long’ is closed to new replies.