[wp-trac] [WordPress Trac] #10974: Theme Editor broken
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 19 13:31:55 UTC 2009
#10974: Theme Editor broken
--------------------------+-------------------------------------------------
Reporter: richardmtl | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.9
Severity: major | Keywords: has-patch tested
--------------------------+-------------------------------------------------
Changes (by sivel):
* cc: matt@… (added)
* keywords: needs-patch => has-patch tested
Comment:
get_real_file_to_edit is currently only used in theme-editor.php. If we
were to start using this file for other items we could run into problems
with this modification if $file is not a full file system path. Just
something to keep in mind for the future. To be honest we could probably
remove the use of this function all together since it is really doing
nothing for us at this point, except passing back exactly what we give it.
Let me know what you think, I can easily create a new patch to not use
get_real_file_to_edit.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10974#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list