[wp-trac] Re: [WordPress Trac] #6992: Quotes in comment name prevent
"awaiting moderation" display
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 21 09:14:05 GMT 2008
#6992: Quotes in comment name prevent "awaiting moderation" display
-----------------------------------------+----------------------------------
Reporter: thomasperi | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone: 2.7
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: comments, quotes, has-patch |
-----------------------------------------+----------------------------------
Comment (by Hirvine):
Actually, 'ENT_COMPAT' does NOT translated single-quotes.
PHP says ''"ENT_COMPAT, Will convert double-quotes and leave single-quotes
alone."''
Also I wouldn't set $quote_style = null)
instead use $quote_style = ENT_COMPAT)
which makes it clear, ENT_COMPAT is the default option.
--
Ticket URL: <http://trac.wordpress.org/ticket/6992#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list