[wp-trac] [WordPress Trac] #20278: Fix for TestPostFiltering::test_post_content_unbalanced_* tests
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 21 23:11:38 UTC 2012
#20278: Fix for TestPostFiltering::test_post_content_unbalanced_* tests
--------------------------+------------------------------
Reporter: devesine | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by devesine):
This could be done in force_balance_tags instead, but my first thought is
that force_balance_tags is a lower-level function; since it ignores
options (use_balanceTags) and has no option to not balance (truism), it
should ignore other WordPress-specific conceits like quicktags. Among
other things, there's no expectation that it's always being used for
content that should respect those quicktags (it's also used on the
comment_text filter and in get_the_content() ''after'' the more and
nextpage quicktags have been handled).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20278#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list