[wp-trac] [WordPress Trac] #32257: Patch: add support for multi-line textarea sanitization
WordPress Trac
noreply at wordpress.org
Sun Oct 23 17:34:22 UTC 2016
#32257: Patch: add support for multi-line textarea sanitization
--------------------------------------+------------------------
Reporter: ottok | Owner: chriscct7
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 4.7
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------
Comment (by ottok):
@chriscct7 I have now rebased the patch to apply cleanly on the latest
development trunk of today. I created the patch with `svn diff` as
documented at https://make.wordpress.org/core/handbook/tutorials/working-
with-patches/ to make sure the format is OK to you. (After many years on
git my brain bleeds every time I need to use svn, but I really want to
make sure it is easy for you to apply this patch :))
I also re-tested that the test suite still passes:
{{{
$ phpunit tests/phpunit/tests/formatting/SanitizeTextField.php
Installing...
Running as single site... To run multisite, use -c
tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-
http.
PHPUnit 5.6.1 by Sebastian Bergmann and contributors.
. 1 / 1
(100%)
Time: 3.02 seconds, Memory: 20.00MB
OK (1 test, 26 assertions)
}}}
Thanks to having a Travis-CI available in WordPress nowadays, I also
activated it and the result is visible here (all passing): https://travis-
ci.org/ottok/WordPress-develop/builds/169934794
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32257#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list