[wp-trac] [WordPress Trac] #32335: Update convert_chars()
WordPress Trac
noreply at wordpress.org
Tue Jun 23 14:53:37 UTC 2015
#32335: Update convert_chars()
------------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.3
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by boonebgorges):
* status: closed => reopened
* resolution: fixed =>
Comment:
[32896] broke a couple of unit tests. [attachment:32335.2.patch] suggests
some fixes:
* Eliminate the tests for `<br />` and `<hr />` conversion, and
`title`/`category` stripping.
* For the character-conversion tests, test the new
`convert_invalid_entries()` instead of `convert_chars()`, and rename the
file accordingly.
These changes make the tests pass again. azaozz, could you have a look to
make sure that these changes to the tests accurately reflect the changes
in expected behavior?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32335#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list