[wp-trac] [WordPress Trac] #11969: Theme-Editor - Relocates to a URL containing full path after a change is saved.

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 29 09:41:29 UTC 2010


#11969: Theme-Editor - Relocates to a URL containing full path after a change is
saved.
----------------------------+-----------------------------------------------
 Reporter:  rocketshelley   |       Owner:  matdumsa        
     Type:  defect (bug)    |      Status:  accepted        
 Priority:  low             |   Milestone:  3.0             
Component:  Administration  |     Version:  2.9.2           
 Severity:  normal          |    Keywords:  has-patch commit
----------------------------+-----------------------------------------------

Comment(by ocean90):

 Replying to [comment:7 nacin]:
 > Is the only purpose here to move the dir to the end of the URL, so the
 URL better reflects the file being edited?
 No, it should fix the file parameter.
 Before saving:[[BR]]

 localhost/wp/wp-admin/theme-
 editor.php?file='''/themes/twentyten/404.php'''&theme=Twenty+Ten&dir=theme[[BR]]

 After saving:[[BR]]
 localhost/wp/wp-admin/theme-editor.php?file='''''H:\xampplite\htdocs\wp
 /wp-
 content''/themes/twentyten/404.php'''&theme=Twenty+Ten&a=te&scrollto=0[[BR]]

 The Reporter said, that this breaks his plugins, but for scribu and me it
 breaks nothing. Maybe it's fixed through [13994].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11969#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list