Make WordPress Core

Changeset 64974

Timestamp:
10/28/2026 10:35:41 PM (6 days ago)
Author:
lancewillett
Message:

Tests: Cover MIME query clauses and widget ID parsing.

Add focused checks for MIME type matching, character filtering, wildcard restrictions, and table aliases in wp_post_mime_type_where().

Verify hyphenated and underscored widget ID bases, integer widget numbers, and the absence of a number for legacy IDs in wp_parse_widget_id().

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/14710, ​https://github.com/WordPress/wordpress-develop/pull/14780

Props ekamran.
See #65819.

Location:
trunk/tests/phpunit/tests
Files:
2 added

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