Req #53684 [Asn->Csd]: Deprecated HTML in sample php.ini
| From: | aharvey@php.net | Date: | Fri, 07 Jan 2011 03:43:26 +0000 |
| Subject: | Req #53684 [Asn->Csd]: Deprecated HTML in sample php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157726@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53684&edit=1
ID: 53684
Updated by: aharvey@php.net
Reported by: gengel at sonoma dot lib dot ca dot us
Summary: Deprecated HTML in sample php.ini
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: PHP options/info functions
PHP Version: Irrelevant
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-01-07 04:43:23] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=307206
Log: Implement request #53684 (Deprecated HTML in sample php.ini).
------------------------------------------------------------------------
[2011-01-07 03:18:54] gengel at sonoma dot lib dot ca dot us
Description:
------------
The error_prepend_string and error_append_string settings in the php.ini
sample file contain font tags. Font is deprecated since 1999
(http://www.w3.org/TR/1999/REC-html401-19991224/present/graphics.html#edef-FONT)
and should be replaced with span. The "Expected result" shows this
section of php.ini with the suggested change, and the "Actual result"
shows the same section of php.ini as it is currently shipping.
Expected result:
----------------
; String to output before an error message. PHP's default behavior is to
leave
; this setting blank.
; http://php.net/error-prepend-string
; Example:
;error_prepend_string = '<span style="color:#ff0000">'
; String to output after an error message. PHP's default behavior is to
leave
; this setting blank.
; http://php.net/error-append-string
; Example:
;error_append_string = '</span>'
Actual result:
--------------
; String to output before an error message. PHP's default behavior is to
leave
; this setting blank.
; http://php.net/error-prepend-string
; Example:
;error_prepend_string = "<font color=#ff0000>"
; String to output after an error message. PHP's default behavior is to
leave
; this setting blank.
; http://php.net/error-append-string
; Example:
;error_append_string = "</font>"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53684&edit=1