-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PHPUnit test for wp_ob_end_flush_all function #5829
base: trunk
Are you sure you want to change the base?
Conversation
This commit introduces a new PHPUnit test for the wp_ob_end_flush_all function. The function test is implemented in a new class, Tests_Functions_wpObEndFlushAll, and it will verify the correct behavior of wp_ob_end_flush_all by asserting the flushing of output buffering.
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pbearne for the PR. Left some feedback for consideration.
Co-authored-by: Mukesh Panchal <[email protected]>
Co-authored-by: Mukesh Panchal <[email protected]>
Co-authored-by: Mukesh Panchal <[email protected]>
This commit introduces a new PHPUnit test for the wp_ob_end_flush_all function. The function test is implemented in a new class, Tests_Functions_wpObEndFlushAll, and it will verify the correct behavior of wp_ob_end_flush_all by asserting the flushing of output buffering.
Trac ticket: https://core.trac.wordpress.org/ticket/60177