mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 00:52:55 +01:00
Fix from mailing list.
git-svn-id: https://develop.svn.wordpress.org/trunk@2424 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
66f5cbe5df
commit
dc25d8ac9f
@ -70,7 +70,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
$text = preg_split("/\n/",$text);
|
$text = preg_split("/\n/",$text);
|
||||||
foreach($text as $line){
|
foreach($text as $line){
|
||||||
$line = trim($line);
|
$line = rtrim($line);
|
||||||
$lineout[] = $line;
|
$lineout[] = $line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user