Open dd32 opened 4 months ago
Replaces a TODO in the code with replacing attributes with an escaped variant.
This isn't the cleanest way to achieve the result, but it is the smallest possible code change.
It might look like href should have esc_url( __( .. ) ) but that complicates it with minimal benefit.
href
esc_url( __( .. ) )
Draft as I don't have time to follow up on it completely right now. Feel free to take over.
yarn build:patterns
Replaces a TODO in the code with replacing attributes with an escaped variant.
This isn't the cleanest way to achieve the result, but it is the smallest possible code change.
It might look like
href
should haveesc_url( __( .. ) )
but that complicates it with minimal benefit.Draft as I don't have time to follow up on it completely right now. Feel free to take over.
How to test the changes in this Pull Request:
yarn build:patterns