svn: /web/php/trunk/manual/ add-note.php
| From: | Daniel P. Brown | Date: | Tue, 17 May 2011 16:44:03 +0000 |
| Subject: | svn: /web/php/trunk/manual/ add-note.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11024@lists.php.net to get a copy of this message | ||
danbrown Tue, 17 May 2011 16:44:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311142
Log:
Increase the length of the maximum note chunk size from a paltry 70 to a more-usable 120. Fixes
#51361 and about a dozen other monthly complaints in the user notes.
Bug: http://bugs.php.net/51361 (Open) Your
"feature" Wordwrap on user notes
Changed paths:
U web/php/trunk/manual/add-note.php
Modified: web/php/trunk/manual/add-note.php
===================================================================
--- web/php/trunk/manual/add-note.php 2011-05-17 15:08:15 UTC (rev 311141)
+++ web/php/trunk/manual/add-note.php 2011-05-17 16:44:03 UTC (rev 311142)
@@ -114,7 +114,7 @@
// Split the note by whitespace, and check length
foreach (preg_split("/\\s+/", $note) as $chunk) {
- if (strlen($chunk) > 70) {
+ if (strlen($chunk) > 120) {
$error = "Your note contains a bit of text that will result in a line that is
too long, even after using wordwrap().";
break;
}