Support » Plugins » Arguments to the_posts filter

  • Can anyone shed any light on this?

    As far as I can tell, the the_posts filter receives as its argument an array containing the posts returned for display by the query. My WordPress plugin, Comment Timeout, uses this filter to close comments on old posts.

    However I have had a small number of users reporting an error message that indicates that something other than an array is being passed to this filter.

    Under what circumstances is this likely to happen, if any? Should I suspect an incompatibility with another misbehaving plugin or am I overlooking something?

  • The topic ‘Arguments to the_posts filter’ is closed to new replies.