File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -844,10 +844,10 @@ function wp_should_output_buffer_template_for_enhancement(): bool {
844844 * Filters whether the template should be output-buffered for enhancement.
845845 *
846846 * By default, an output buffer is only started if a {@see 'wp_template_enhancement_output_buffer'} filter has been
847- * added or if a plugin has added a {@see 'wp_send_late_headers'} action. For this default to apply, a filter must
848- * be added by the time the template is included at the {@see 'wp_before_include_template'} action. This allows
849- * template responses to be streamed as much as possible when no template enhancements are registered to apply .
850- * This filter allows a site to opt in to adding such template enhancement filters during the rendering of the
847+ * added or if a plugin has added a {@see 'wp_send_late_headers'} action. For this default to apply, either of the
848+ * hooks must be added by the time the template is included at the {@see 'wp_before_include_template'} action. This
849+ * allows template responses to be streamed unless the there is code which depends on an output buffer being opened .
850+ * This filter allows a site to opt in to adding such template enhancement filters later during the rendering of the
851851 * template.
852852 *
853853 * @since 6.9.0
You can’t perform that action at this time.
0 commit comments