Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#60179 new defect (bug)

PhpUnit test for wp_widgets_add_menu

Reported by: pbearne's profile pbearne Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:


Change History (1)

This ticket was mentioned in PR #5830 on WordPress/wordpress-develop by @pbearne.

7 months ago

  • Keywords has-patch has-unit-tests added

This commit introduces PHPUnit tests for the wp_widgets_add_menu function. The tests are implemented in a new file, wpWidgetsAddMenu.php, inside the tests/phpunit/tests/functions/ directory and cover different cases and scenarios to ensure proper functionality of the wp_widgets_add_menu function.

Note: See TracTickets for help on using tickets.