Changes between Initial Version and Version 1 of Ticket #19855, comment 7
- Timestamp:
- 03/02/2012 09:56:26 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19855, comment 7
initial v1 9 9 10 10 To make that possible can split post_content in chunks each containing only one <pre> tag, then replace `\n` with a placeholder using greedy regex and put post_content back together. 11 12 Did some performance testing and in all cases the patched wpautop() is quite faster. That's not a big improvement as relatively very small number of posts have <pre> tags in the content, but still speeds things up a little.