com web/php: 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.: manual/add-note.php

From: Date: Tue, 17 May 2011 16:44:03 +0000
Subject: com web/php: 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.: manual/add-note.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-23552@lists.php.net to get a copy of this message
Commit: df4ed4a81afaa62a9da3f844dfdbbc928d2e3faf Author: Daniel P. Brown <danbrown@php.net> Tue, 17 May 2011 16:44:03 +0000 Parents: aececee8e63f70439362abc2f01ce8141d027256 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=df4ed4a81afaa62a9da3f844dfdbbc928d2e3faf 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. Bugs: https://bugs.php.net/51361 Changed paths: M manual/add-note.php Diff: diff --git a/manual/add-note.php b/manual/add-note.php index 4f01e8d..a15bbba 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -114,7 +114,7 @@ if ($process) { // 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; }

« previous php.webmaster (#23552) next »