Nested blockquotes unallowed Re: [wp-hackers] Re: WP issues

Jamie Holly hovercrafter at
Thu May 31 20:56:12 GMT 2007

> -----Original Message-----
> From: wp-hackers-bounces at [mailto:wp-hackers-
> bounces at] On Behalf Of Lloyd Budd
> Sent: Thursday, May 31, 2007 4:03 PM
> To: wp-hackers at
> Subject: Nested blockquotes unallowed Re: [wp-hackers] Re: WP issues
> On 5/31/07, Geoffrey Sneddon <foolistbar at> wrote:
> >
> > On 31 May 2007, at 19:55, Geoffrey Sneddon wrote:
> >
> > > b) <blockquote> elements cannot be nested within one another
> > > [TICKET1170]. This is marked as closed, although I just recreated
> > > it on both 2.2 and 2.3. This bug has been opened for over _TWO
> >
> > . and the ticket has been closed _AGAIN_. Just because you can't
> > reproduce a bug doesn't mean it doesn't exist. I've just recreated it
> > again. It most certainly exists here.
> Would you please respond with how to reproduce it then?
> [TICKET1170]:
Thanks! I was just getting ready to search for that ticket. It still exists
in 2.2. Basically if you have a post that contains nested quotes it will
remove the nesting once it runs through balanceTags. For example this:

Hey Now


Running through balanceTags changes to this:

<p>Hey Now</p>

I manually applied the patch attached to the ticket to 2.2 and it did fix

The problem occurs when saving a post with "WordPress should correct
invalidly nested XHTML automatically" checked. Since the content goes
through the balanceTags filter on content_save_pre it only applies at
save/publish time. 

Jamie Holly

More information about the wp-hackers mailing list