Make WordPress Core

Changeset 64627

Timestamp:
10/20/2026 06:38:15 PM (3 weeks ago)
Author:
lancewillett
Message:

Tests: Cover plugin lifecycle hook registration.

Add coverage for register_activation_hook(), register_deactivation_hook(), and register_uninstall_hook(). Verify hook names, callback arguments, uninstall callback validation, and option persistence.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/14523

Props huzaifaalmesbah, mukesh27.
See #65819.

Location:
trunk/tests/phpunit/tests/functions
Files:
3 added

Note: See TracChangeset for help on using the changeset viewer.