Make WordPress Core

Changeset 64734

Timestamp:
10/26/2026 05:54:15 PM (12 days ago)
Author:
lancewillett
Message:

Tests: Cover AJAX bookmark deletion.

Add tests for wp_ajax_delete_link() covering successful deletion, invalid nonces, insufficient permissions, and idempotent success for a missing bookmark. Verify that invalid nonce requests leave the bookmark intact.

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

Props pbearne, mindctrl.
See #65252.

File:
1 added

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