Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #9716, comment 12

Timestamp:
04/19/2012 01:02:27 AM (12 years ago)
Author:
HallMarc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9716, comment 12

    initial v1  
    22
    33Find:
     4
     5
    46        $newcontent = stripslashes($_POST['newcontent']);
     7
     8
    59And replace it with this:
     10
     11
    612        $newcontent = ereg_replace("\r\n?", "\n", stripslashes($_POST['newcontent']));
     13
     14
    715And all is well.
    816I hope this gets included in the next update.