#23680 closed enhancement (fixed)
Obsolete function previously used in Theme Editor
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | 2.9 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
get_real_file_to_edit()
is unused since [12063] and should probably be deprecated:
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/includes/file.php#L96
Attachments (2)
Change History (9)
#4
@
11 years ago
We should move this function to wp-admin/includes/deprecated.php. We should also remove the first part of the function that supports .htaccess and the root index.php file, and instead just return WP_CONTENT_DIR . $arg;
#5
@
11 years ago
Moving it makes absolute sense, I should have done that in the first place. Also just returning WP_CONTENT_DIR . $arg makes sense too, I just didn't want to amend the function too much. New Patch Added :)
Note: See
TracTickets for help on using
tickets.
Added a patch to place the _deprecated_function() call as well as updated the docblock to indicate the function has been deprecated, too.