[wp-trac] [WordPress Trac] #56562: <br> Tag should be self closing on wp-mail.php file
WordPress Trac
noreply at wordpress.org
Wed Sep 14 06:07:53 UTC 2022
#56562: <br> Tag should be self closing on wp-mail.php file
------------------------------+-------------------------------
Reporter: rajanpanchal2028 | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Mail | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: coding-standards
------------------------------+-------------------------------
Comment (by rajanpanchal2028):
@SergeyBiryukov,
If <br /> is not valid way to close <br> tag you can use <br/> tag as
accordingly to WordPress coding standards <br/> is valid way to self-
closing tag with strip_tags() function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56562#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list