Scott Taylor
37a0c36d38
The joys of wptexturize()
:
...
* Revert parts of [28773] and [28727] and [29748].
* Do not crash PHP. Make the shortcode quantifier possessive to avoid backtracks.
* Reduce backtracking in long HTML comments by 100x.
* Do not ignore unclosed HTML comments.
* Do not break unregistered shortcodes, e.g. `[hello attr="value"]`.
* Do not break HTML in shortcode attributes, e.g. `[hello attr="<"]`.
* Do not match for shortcodes when there is extra whitespace, e.g. `[ hello ]`.
* Add unit tests to show #12690 was not fully resolved.
* Tested PHP 5.2.4, 5.2.13, 5.4.32, and 5.5.8.
Adds/modifies unit tests.
Props miqrogroove.
See #29557 .
Built from https://develop.svn.wordpress.org/trunk@29781
git-svn-id: http://core.svn.wordpress.org/trunk@29553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-29 04:07:15 +00:00
..
2014-02-27 02:33:14 +00:00
2014-09-27 11:10:16 +00:00
2014-08-17 15:01:16 +00:00
2014-09-11 19:07:17 +00:00
2014-03-27 22:41:14 +00:00
2014-09-29 03:45:16 +00:00
2014-08-13 03:56:17 +00:00
2013-09-11 04:02:10 +00:00
2013-05-25 22:10:53 +00:00
2014-05-13 04:40:16 +00:00
2014-09-07 08:32:19 +00:00
2013-12-24 18:57:12 +00:00
2014-06-29 22:34:14 +00:00
2014-07-11 22:59:16 +00:00
2014-09-29 03:12:17 +00:00
2014-08-09 19:30:17 +00:00
2014-09-02 04:48:17 +00:00
2014-08-27 01:32:18 +00:00
2014-08-12 23:48:16 +00:00
2014-06-05 16:25:14 +00:00
2014-05-19 05:27:15 +00:00
2014-09-02 02:06:17 +00:00
2014-08-13 03:56:17 +00:00
2013-07-08 16:55:34 +00:00
2014-09-12 22:54:16 +00:00
2013-12-24 18:57:12 +00:00
2014-03-03 20:25:14 +00:00
2014-08-13 03:56:17 +00:00
2014-03-03 20:25:14 +00:00
2013-07-08 17:17:46 +00:00
2014-05-06 18:29:15 +00:00
2014-08-09 19:30:17 +00:00
2014-09-09 06:29:15 +00:00
2014-08-14 04:43:16 +00:00
2014-08-25 23:05:15 +00:00
2014-08-15 19:36:16 +00:00
2014-08-15 19:49:15 +00:00
2014-08-14 04:43:16 +00:00
2014-09-27 11:10:16 +00:00
2014-09-04 15:23:16 +00:00
2014-08-09 19:30:17 +00:00
2014-05-19 05:51:15 +00:00
2014-08-01 18:43:16 +00:00
2014-06-28 03:50:15 +00:00
2014-06-28 03:50:15 +00:00
2014-06-05 04:52:16 +00:00
2014-08-13 03:56:17 +00:00
2014-09-11 13:56:15 +00:00
2014-08-09 19:30:17 +00:00
2014-07-20 00:34:15 +00:00
2014-06-29 22:23:15 +00:00
2014-05-19 06:17:14 +00:00
2014-07-24 22:25:16 +00:00
2014-09-23 18:49:17 +00:00
2014-08-06 05:26:16 +00:00
2014-09-11 14:02:15 +00:00
2014-08-13 03:56:17 +00:00
2014-07-09 18:07:16 +00:00
2014-03-09 15:23:15 +00:00
2014-08-01 17:05:16 +00:00
2014-06-10 00:30:15 +00:00
2014-07-07 10:18:15 +00:00
2014-07-07 10:18:15 +00:00
2014-07-07 10:18:15 +00:00
2014-07-07 10:18:15 +00:00
2014-07-07 10:18:15 +00:00
2013-10-25 02:29:52 +00:00
2014-08-12 01:09:17 +00:00
2014-09-29 04:07:15 +00:00
2014-09-23 02:50:19 +00:00
2014-09-02 19:35:16 +00:00
2013-10-27 17:59:09 +00:00
2014-09-29 04:03:16 +00:00
2014-07-18 22:01:15 +00:00
2014-09-12 05:51:17 +00:00
2014-08-26 19:59:16 +00:00
2014-09-24 21:30:19 +00:00
2014-08-25 17:40:16 +00:00
2013-11-13 14:01:09 +00:00
2014-09-29 03:45:16 +00:00
2014-09-29 00:14:18 +00:00
2014-08-27 20:23:16 +00:00
2014-09-02 07:30:16 +00:00
2014-07-19 23:14:15 +00:00
2014-09-02 07:30:16 +00:00
2014-03-25 17:22:15 +00:00
2013-05-20 20:20:22 +00:00
2014-09-07 10:11:17 +00:00
2014-06-10 00:44:15 +00:00
2014-06-30 23:50:15 +00:00
2014-07-24 22:25:16 +00:00
2014-09-07 10:04:16 +00:00
2014-08-13 02:47:16 +00:00
2014-03-03 02:34:27 +00:00
2014-09-20 17:28:18 +00:00
2014-09-02 06:50:15 +00:00
2013-11-24 13:45:10 +00:00
2014-08-07 05:53:15 +00:00
2014-03-26 18:43:14 +00:00
2014-09-21 08:55:18 +00:00
2014-09-23 03:52:15 +00:00
2014-07-03 19:28:14 +00:00
2014-05-19 17:41:13 +00:00
2013-09-25 00:18:11 +00:00
2014-08-13 03:56:17 +00:00
2014-09-26 20:54:18 +00:00
2014-09-20 17:28:18 +00:00
2014-09-29 04:07:15 +00:00
2014-08-20 17:04:18 +00:00
2013-10-30 14:39:10 +00:00
2014-07-09 18:07:16 +00:00
2014-07-23 05:11:16 +00:00
2014-07-18 20:49:17 +00:00
2014-09-13 22:24:17 +00:00
2014-01-10 18:15:13 +00:00
2014-09-05 19:41:16 +00:00
2014-07-23 17:21:18 +00:00
2013-12-11 19:49:11 +00:00
2014-09-02 04:56:15 +00:00
2014-08-13 03:56:17 +00:00