Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#60391 new defect (bug)

links_add_base_url will encode all attribut in null passed in

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


Change History (1)

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

5 months ago

  • Keywords has-patch has-unit-tests added

The links_add_base_url function has been refactored to handle null attribute values without throwing errors. This change necessitated modifications within the test_links_add_base_url PHPUnit test, simplifying the test scenario to always include attribute values when calling the function.

Note: See TracTickets for help on using tickets.