php - Is it safe to add ob_start(); in WordPress' wp-config? -
this question has answer here:
- what's use of ob_start() in php? 8 answers
a developer hired told me in order plugin work.
is safe?
this function turn output buffering on. while output buffering active no output sent script (other headers), instead output stored in internal buffer.
the contents of internal buffer may copied string variable using ob_get_contents(). output stored in internal buffer, use ob_end_flush(). alternatively, ob_end_clean() silently discard buffer contents.
http://php.net/manual/en/function.ob-start.php
yes, "safe". won't compromise data or anything, , if (at worst) need revert back, have remove line, no problems whatsoever.
Comments
Post a Comment