[wp-trac] [WordPress Trac] #47413: nested paragraphs in comment post errors
WordPress Trac
noreply at wordpress.org
Sat Oct 5 15:37:11 UTC 2019
#47413: nested paragraphs in comment post errors
--------------------------+-----------------------------
Reporter: tnbnicer | Owner: jeremyfelt
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Comments | Version: 4.5
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by tnbnicer):
A "complex" error message is valid:
{{{<h1>You need a higher level of permission.</h1><p>Sorry, you are not
allowed to manage terms in this taxonomy.</p>}}}
while:
{{{<p><h1>You need a higher level of permission.</h1><p>Sorry, you are not
allowed to manage terms in this taxonomy.</p></p>}}}
is not.
@davidbaumwald. I only occasionally look at WP code, so speaking a lay
person, I wonder whether leaving it for {{{Future Release}}} is sensible.
There is nested html code. Still in 5.2.3. Removing the extra
{{{<p></p>}}} tags from ‘wp-comments-post.php’ corrects the nested html.
The changes proposed in [45909] are neither ruled out in future nor
required now to fix the problem, but incorrect tags ought to be removed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47413#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list