[wp-trac] [WordPress Trac] #3523: Permalink Options page needs to
'HTML
entitise' the displayed htaccess rules in the textarea element.
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 5 07:16:21 GMT 2007
#3523: Permalink Options page needs to 'HTML entitise' the displayed htaccess
rules in the textarea element.
----------------------------+-----------------------------------------------
Reporter: JeremyVisser | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
In {{{/wp-admin/options-permalink.php}}}, when your {{{.htaccess}}} file
isn't writable by the server, WordPress will display a textbox for you to
copy-and-paste the permalink rules from.
The rules contain the lines "{{{<IfModule mod_rewrite.c>}}}" and
"{{{</IfModule>}}}" which must be encoded with HTML entities if it is to
be well-formed XHTML. Encoding with {{{wp_specialchars()}}} does the
trick.
--
Ticket URL: <http://trac.wordpress.org/ticket/3523>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list