You should put
ini_set(“memory_limit”,”16M”);
into the top of whatever file reported that problem. If it’s plugin.php, then add it there. If it is cache.php, then add it there. Adding it just to index.php won’t do. Add it to the specific file reporting the error problem.
But, if you upgrade to WordPress 2.5, your problem may go away, as I have found.
Somehow I get the feeling that it is undocumented but add_filter does not work with the_tags. It’s just strange that nothing in my function executes — I am sure due to WP not allowing the call.
I suppose I’ll just have to modify the DB directly.
Jason
O.K. I’ve figured it out. There’re only a handful of pages I need to do that for. So, what I did was to add in a token <!–newtitle–> to the title of those pages. Then I filter ‘the_title’ only when the <!–newtitle–> exists.