http_response_code and nginx
-
Hi,
I report that the plugin has a bug related to the http_response_code function.
In my case I use nginx as web server, and it seems that the function used http_response_code() is not working properly (I get always a 200 response code).
Replacing that call with header(“Status:”. apply_filters( ‘yith_maintenance_http_status’, $http_status ) ); everything works normally.
Thanks, Simone.
- The topic ‘http_response_code and nginx’ is closed to new replies.