Make WordPress Core

Opened 11 months ago

Last modified 11 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:

Description


Change History (1)

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


11 months ago
#1

  • 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.