[wpmu-trac] [WordPress MU Trac] #965: Cannot preview themes with hyphen in directory name
WordPress MU Trac
wpmu-trac at lists.automattic.com
Mon Jul 13 21:57:17 UTC 2009
#965: Cannot preview themes with hyphen in directory name
-----------------------------+----------------------------------------------
Reporter: johnjamesjacoby | Owner: somebody
Type: defect | Status: closed
Priority: highest | Milestone: 2.7.1
Component: Administration | Version: 2.7.1
Severity: critical | Resolution: fixed
Keywords: theme preview |
-----------------------------+----------------------------------------------
Changes (by phoenixrises):
* status: new => closed
* resolution: => fixed
Comment:
Old and not an issue in 2.8, however, just for completeness (to small a
fix to write a patch for), to fix this, escape the hyphen characters in
the regex on lines 852 and 860.
I.e. replace |[^a-z0-9_.-/]|i with |[^a-z0-9_.\-/]|i
Please reopen if still an issue.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/965#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list