Open grahamharper opened 8 years ago
Thanks for picking this up - we've already stopped using this in Pro, and the next major S&F Free update will have this fix :)
Any update for a fix on this. Or can you share how you solved this using Sage @grahamharper
Using the
get_header
action is too late to call check_posts as some themes such as Sage call do_action('get_header') after output has already started resulting in an error whenwp_redirect()
is called bycheck_posts()
. Could you use thewp
action? Seems to work for me.