[wp-trac] Re: [WordPress Trac] #10248: force_balance_tags breaks
<!--more-->
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 23 20:00:26 GMT 2009
#10248: force_balance_tags breaks <!--more-->
-------------------------------------+--------------------------------------
Reporter: McShelby | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.8.1 | Component: Template
Version: 2.8 | Severity: normal
Keywords: close balance tags more |
-------------------------------------+--------------------------------------
Comment(by McShelby):
Having a case like your example is a "bug" in the post markup. I agree
that the common user is glad if it is fixed by auto balancing the tags.
If the user choose not to balance tags, then he expects that WP will not
balance tags in any way at all.
Besides that, ticket 9765 breaks my Exec-PHP plugin if the user writes PHP
code before the <!--more-->. In this case force_balance_tags tries to
"balance" the PHP code resulting in breaking the code leading to PHP parse
errors.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10248#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list